vpix under x11r4 under 386/ix 2.02

Piercarlo Grandi pcg at cs.aber.ac.uk
Thu Oct 4 23:58:08 AEST 1990


On 1 Oct 90 09:18:00 GMT, roell at informatik.tu-muenchen.dbp.de (Thomas
Roell) said:

roell> This would be no problem, if vpix would recognice, that it runs
roell> not on the console directly and instead handle the I/O like on a
roell> serial terminal.  But vpix recoginces a terminal only, if the
roell> calling shell runs on a /dev/tty??.

This is clearly a stupid idea on the part of whoever did vp/ix. On the
other hand it is fairly easy to arrange things so that /bin/tty prints
'/dev/ttySOMETHING'. Examples:

	ln /dev/vtXX /dev/ttyvXX

or

	mv /dev/vtXX /dev/ttyvXX

or many other schemes. Or maybe VP/IX really cheats and instead of
looking at the output of /bin/tty it will fstat(2) stdin and see if the
major is the standard one for the tty driver. Even in this case it may
be possible to devise a workaround (much harder though).
--
Piercarlo "Peter" Grandi           | ARPA: pcg%uk.ac.aber.cs at nsfnet-relay.ac.uk
Dept of CS, UCW Aberystwyth        | UUCP: ...!mcsun!ukc!aber-cs!pcg
Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg at cs.aber.ac.uk



More information about the Comp.unix.sysv386 mailing list