Hotkey program -- help needed
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Wed Jul 18 18:03:38 AEST 1990
In article <1018 at dekalb.UUCP> douglas at dekalb.UUCP (Douglas B. Jones) writes:
> Under BRL 4.2 there was a "hot key" (default ^T) that would print the
> current load averages up.
The hot key found its way into one of the BSD 4.3 variants here.
> I believe you could change the hot key to
> what ever character you wanted.
Yes. TIOCGAUXC and TIOCSAUXC retrieve and set struct auxchars, which
specifies the key and the kernel values to print.
> This being the case, then you could put this in your
> tty driver.
Pseudo-terminals solve the problem with much less work, when they are
available.
---Dan
More information about the Comp.unix.questions
mailing list