🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1171

Re: pipes and stdin (want keyboard back)

#1171
From: Rich Salz
Date: Tue, 18 Sep 1990 19:29
13 lines
938 bytes
In article <4753@nisca.ircc.ohio-state.edu>
bobd@nisca.ircc.ohio-state.edu (Bob Debula) writes that when doing
	s|fnews
inside rn, the article is on stdin, and later he needs to read the keyboard.

Open up /dev/tty:
	cat >/tmp/article$$
	trap "exec rm -f /tmp/article" 0 1 2 3 15
	exec </dev/tty
	....
-- 
Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.
Technical Details
Message-ID: <2849@litchi.bbn.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!olivea!orc!bbn.com!papaya.bbn.com!rsalz
References: <4753@nisca.ircc.ohio-state.edu> <MEISSNER.90Sep18132524@osf.osf.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!olivea!orc!bbn.com!papaya.bbn.com!rsalz
From: rsalz@bbn.com (Rich Salz)
Newsgroups: comp.unix.shell
Subject: Re: pipes and stdin (want keyboard back)
Message-ID: <2849@litchi.bbn.com>
Date: 18 Sep 90 19:29:22 GMT
References: <4753@nisca.ircc.ohio-state.edu> <MEISSNER.90Sep18132524@osf.osf.org>
Organization: BBN Systems and Technology, Inc.
Lines: 13