[comp.os.minix] DEL and /dev/tty problems in 1.5.10

jrs2p@amsun26.apma.Virginia.EDU (Jonathan R. Senning) (07/24/90)

I am in the 1.3 -> 1.5.10 process.  I've got all the files, all the
correct crcs (with the exception of some ST stuff) and have build the OS
using the 1.3 compiler and the 1.5.10 library with the 8088 string stuff.

I have come across several problems which may all be related, and I was
hoping that someone could help me with them.

1. When using /bin/sh, the int key (ctrl-c or DEL) does not work.  When
   using clam it works fine.

2. /dev/tty does not work.  I've got it setup as follows:

        crw-rw-rw-  1 root       5,   0 Jul 17 14:50 /dev/tty

   This seems to behave just like /dev/null - when I read from it I get
   zero bytes and when I write to it the output disappears.  The problem
   was noticed when using getlf, which returns immediately with an
   error.

3. A simple line printer daemon which worked fine with 1.3 fails now.
   Actually the version compiled with the 1.3 library works with 1.5.10,
   but the version compiled with the 1.5.10 library does not work.  If
   I add printf statements to the program, it begins to work properly.
   The program finds the file to print, and prints it by using the
   popen subroutine to send the file to the printer.  (This is a program
   that I wrote, not the user group's lpd program).

Any help or comments would be appreciated.

-------------------------------------------------------------------------
Jonathan Senning                                jrs2p@virginia.edu
Department of Applied Mathematics               uunet!virginia!jrs2p
University of Virginia
-------------------------------------------------------------------------