Questions about rewriting the History function.
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Sat Nov 3 06:30:26 AEST 1990
In article <MEISSNER.90Oct31182112 at osf.osf.org> meissner at osf.org (Michael Meissner) writes:
> Actually on BSD systems, it is somewhat straight forward. You make
> the history function be a pty master, and spawn the shell with the
> slave pty as it's /dev/tty.
It's now exceedingly straightforward, as the ``pty'' program will handle
all the details of pseudo-terminal allocation and management. See
pmlined, just posted to alt.sources, for an example of how easy it is to
implement a line discipline using pty. Feel free to play with pmlined
and add features.
---Dan
More information about the Comp.unix.programmer
mailing list