Remapping a keyboard
whb at vax135.UUCP
whb at vax135.UUCP
Tue Feb 10 08:30:52 AEST 1987
In article <4145 at brl-adm.ARPA> ucscd.public at 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.
More information about the Comp.unix.wizards
mailing list