🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1161

Re: Questions about rewriting the History function.

#1161
From: Dan Bernstein
Date: Fri, 02 Nov 1990 19:30
12 lines
1080 bytes
In article <MEISSNER.90Oct31182112@osf.osf.org> meissner@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
Technical Details
Message-ID: <2765:Nov219:30:2690@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!linac!uwm.edu!cs.utexas.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <1990Oct21.220115.9458@watdragon.waterloo.edu> <4288@altos86.Altos.COM> <MEISSNER.90Oct31182112@osf.osf.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!linac!uwm.edu!cs.utexas.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.unix.programmer
Subject: Re: Questions about rewriting the History function.
Message-ID: <2765:Nov219:30:2690@kramden.acf.nyu.edu>
Date: 2 Nov 90 19:30:26 GMT
References: <1990Oct21.220115.9458@watdragon.waterloo.edu> <4288@altos86.Altos.COM> <MEISSNER.90Oct31182112@osf.osf.org>
Organization: IR
Lines: 12