Xref: utzoo comp.unix.questions:23837 comp.unix.ultrix:3985 comp.unix.wizards:22914 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.questions,comp.unix.ultrix,comp.unix.wizards Subject: Re: Hotkey program -- help needed Message-ID: <21324:Jul1808:03:3890@kramden.acf.nyu.edu> Date: 18 Jul 90 08:03:38 GMT References: <2101@wheaton.UUCP> <1018@dekalb.UUCP> Distribution: usa Organization: IR Lines: 19 In article <1018@dekalb.UUCP> douglas@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