[comp.os.minix] Less pager, MINIX-ST

schilz@sbsvax.UUCP (Thomas Schilz) (03/31/89)

Hi,

I compiled the less-pager that was posted some time ago on MINIX-ST. I had
to change the line

	tty = 2;

in procedure `open_getchr' (file ttyin.c) to

	tty = open ("/dev/tty", 0);

to get it running. Obviously it's not possible to read from stderr on MINIX-ST.
Since the sources were posted for MINIX-PC 1.3, the two versions seem to be
incompatible on this point. Has anyone fixed this ?

-- 
 Thomas Schilz
 Universitaet des Saarlandes, FB 10 - Informatik (Dept. of CS)
 D-6600 Saarbruecken 11, W. Germany
 Phone: +49 681 302 2428 
 email:  ...!uunet!unido!sbsvax!schilz   or   schilz@sbsvax.UUCP