how to stty another terminal?

Roger Nelson - Grad Student rnelson at eecs.wsu.edu
Fri Dec 7 16:51:42 AEST 1990


------

How to you stty a terminal line that you are not currently connected to.

Specifically I have written a small C shell script that prints to a local
printer connected to a terminal (even if you are not logged in with that
terminal).  This works fine (NL is mapped to CR LF) as long as someone is
logged in with the terminal.  When no one is logged in with the terminal, 
NL is only mapped to LF.

So what I would like to do is specify the device, something like:

     stty -d ttyd4 onlcr
     
Is there a way?

_____________________________________________________________________
      ______________
____  | ^          |    Roger Nelson          rnelson at yoda.eecs.wsu.edu
\^^ |*| ^          |    Agricultural Engineering Department     ///
 |^^//  ^^         |    Computer Science Department            ///
 |  '  ^          +|    Washington State University        \\\///
 \_  ^    _________|    Pullman, WA 99164                   \XX/
   `-----'
   



More information about the Comp.unix.questions mailing list