Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cuae2!ihnp4!houxm!vax135!whb From: whb@vax135.UUCP Newsgroups: comp.unix.wizards Subject: Re: Remapping a keyboard Message-ID: <1758@vax135.UUCP> Date: Mon, 9-Feb-87 17:30:52 EST Article-I.D.: vax135.1758 Posted: Mon Feb 9 17:30:52 1987 Date-Received: Wed, 11-Feb-87 05:25:33 EST References: <4145@brl-adm.ARPA> Reply-To: whb@vax135.UUCP (Wilson H. Bent) Organization: AT&T Bell Labs, Holmdel, NJ Lines: 18 Summary: check 'script' In article <4145@brl-adm.ARPA> ucscd.public@ucbvax.Berkeley.EDU writes: >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 - Assuming that you have accesss to the source code for your BSD utilities, it's fairly easy to modify script(1) to do this - just cut out all the code pertaining to the 'typescript' file, which you're no longer interested in, and add a filter to the routine which is reading File Descriptor 0. I know it's easy, because I just did it last week! Apologies to those who can't get the source. Lesser apologies to those not on BSD Systems :-) -- Wilson H. Bent, Jr. ... ihnp4!vax135!hoh-2!whb AT&T - Bell Laboratories (201) 949-1277 Disclaimer: My company has not authorized me to issue a disclaimer.