Article View: comp.unix
Article #184Changing standard input from redirected file to keyboard in a program
From: Steven R Evans
Date: Wed, 18 Jul 1990 06:52
Date: Wed, 18 Jul 1990 06:52
15 lines
1002 bytes
1002 bytes
Help. Can any one tell me (by email) if and how to exept input from a key board after calling a 'c' programe using shell redirection. I have tried freopen, but I can not find the filename of the key board. I am trying to do this on an apollo network running SR10.1. thanks -- Steven R. Evans, | JANET: stevene@uk.ac.sussex.eaps VLSI& Graphics Research Group, | Sorry about the spelling I`m EAPS II, University of Sussex, Falmer, | a Dyslexic (I can see words. BRIGHTON, East Sussex, BN1 9QT | so DON`T call me word blind.)
Technical Details
Message-ID:
<3722@zorba.Tynan.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!mips!zorba!dtynanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!mips!zorba!dtynan From: stevene@syma.sussex.ac.uk (Steven R Evans) Newsgroups: comp.unix Subject: Changing standard input from redirected file to keyboard in a program Message-ID: <3722@zorba.Tynan.COM> Date: 18 Jul 90 06:52:24 GMT Sender: dtynan@zorba.Tynan.COM Organization: University of Sussex Lines: 15 Approved: dtynan@zorba.Tynan.COM