[comp.windows.news] Standard I/O

adp@csug.cs.reading.ac.uk (David Dawkins) (11/09/90)

Hello folks. 

Firstly, my apologies if this is the wrong newsgroup..

Can anyone help me with such a simple thing as standard input in NeWS ?

I am running a Sun 4/65 (sparc 1+) SunOS 4.1, OpenWindows 2.

Whenever I run the following code (run as a psh script)

>
>	#!/openwin/bin/psh     <- This bit's fine..
>	
>	(%stdin) (r) file read 
>	

The machine barfs, hangs and even both, sometimes. Any clues, anybody?


It doesn't work from PageView either (sigh). :-(


My thanks in advance . (And of course, please let me know which newsgroup if 
not this one - Ta. )

David Dawkins.

------------------------------------------------------------------------------
David J Dawkins    | If you email, please use the following (mine is screwed)
Reading University | adp@uk.ac.reading.cs.csug OR
United Kingdom     | adp%uk.ac.reading.cs.csug@uk.ac.nfsnet-relay
------------------------------------------------------------------------------