Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!brl-adm!adm!ucscc!ucscd.public@ucbvax.Berkeley.EDU From: ucscd.public@ucbvax.Berkeley.EDU Newsgroups: comp.unix.wizards Subject: Remapping a keyboard Message-ID: <4145@brl-adm.ARPA> Date: Fri, 30-Jan-87 17:56:20 EST Article-I.D.: brl-adm.4145 Posted: Fri Jan 30 17:56:20 1987 Date-Received: Sat, 31-Jan-87 08:24:24 EST Sender: news@brl-adm.ARPA Lines: 20 One thing that I can think of that will get a keyboard remapped in BSD 4.[23] and still get around the problem of a program getting input from /dev/tty is to have the filter work as through a pty - disassociate filter process from tty set tty to RAW, ~ECHO get a pty set pty to same as tty was initially fork, one side read 0, filter write to pty slave read pty slave, write 1 other side dup pty over 0, 1 exec a [login] shell ---------------------------- Nathaniel Ingersoll ...!ucbvax!ucscc!public