lkml.org 
[lkml]   [2003]   [Jul]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    DateFri, 11 Jul 2003 15:03:54 +0530
    FromRavikiran G Thirumalai <>
    Subjecttty: Line disc gets reset after close
    On a rs232 serial port, If i try 
    # stty -F /dev/ttyS0 line 2 
    and then execute
    # stty -F /dev/ttyS0 -a
    line disc was shown as line = 0.  Further investigation  showed that
    close on the tty fd and subsequent open to it resets the line disc to 0.
    
    My question is, is this the expected behaviour?  
    If change flags like icanon, it remains inspite of close and opens.  I'd
    expect ldisc to remain that way too.
    
    Thanks,
    Kiran
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    
    
    \
     
     \ /
      Last update: 2005-03-22 13:46    [from the cache]
    ©2003-2008