[ale] X hangs at start
    Chris Fowler 
    cfowler at outpostsentinel.com
       
    Fri Mar 21 13:36:26 EST 2003
    
    
  
Now that I thank about it, STD's may not be on a controlling tty.  And
tty will just call ttyname().  With and FD of 0,1,or 2;
If only fails if the fd passed as an arg is not a tty.
On Fri, 2003-03-21 at 12:14, John Wells wrote:
> Chris Fowler said:
> >>tty > /dev/null && stty -ixon -ixoff
> >
> > Why would you want to send the output of the tty command to /dev/null.
> > All it does is disply the controlling ttyname to STDOUT.
> 
> I assume to make sure you are connected via a terminal before executing stty.
> 
> Course, I'm not sure what situations the file would be evaluated in while
> not connected via a terminal.
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
    
    
More information about the Ale
mailing list