On Sun, Jan 20, 2019 at 03:02:33AM +0000, Ben Hutchings wrote: >On Sun, 2019-01-20 at 01:21 +0000, Wookey wrote:
... >> My current code leaves all this alone and just records/uses all >> enabled consoles on the command line, not just the last one, but >> ideally we'd autodetect and/or hardcode all the sensible available >> consoles and run on them. >> >> If 'read /proc/consoles (and check the devices exist)' does this, then >> that sounds very sensible. > >Reading /proc/consoles is exactly what you should do. Aha, thanks! I genuinely wasn't aware of /proc/consoles, and it does sound like exactly the right thing to be looking at. :-) -- Steve McIntyre, Cambridge, UK. st...@einval.com Into the distance, a ribbon of black Stretched to the point of no turning back