View Single Post
  #9   (View Single Post)  
Old 31st August 2014
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Quote:
Originally Posted by IdOp View Post
Similarly you could ... take input from another terminal.
I've just been fooling around with this a bit and been unable to demonstrate this part. Not sure if it can't be done, or more likely I haven't figured out the trick.

EDIT:

Partial success. What I was doing, on ttyE1, was:

$ cat >/dev/null </dev/ttyE2

then type in ttyE2. Nothing showed on ttyE1, but maybe it was being sent to /dev/null without echoing. So I changed it to:

$ cat >myfile </dev/ttyE2

This would put something into myfile, without echoing it. But not the first stuff coming from ttyE2. It would seem to "get stuck" and text typed then would go into myfile. Needed Ctrl-C to break out. Weird. Anyway, this part probably isn't what you wanted to do.

Last edited by IdOp; 31st August 2014 at 01:22 AM.
Reply With Quote