DragonFly BSD
DragonFly commits List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - More pty fixes


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 4 Sep 2010 21:29:54 -0700 (PDT)

commit f5f1bbd4a15e29ccf3c5baafe1eaf2a25f660e03
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Sep 4 21:27:08 2010 -0700

    kernel - More pty fixes
    
    * Allow the pts to be closed and reopened while the ptc is held open
      (xterm issues a revoke + open).  This fixes xterm.
    
    * Add a flag to differentiate between a slave not yet initially opened
      and a slave which has been closed, so ptc reads and the kqfilter
      can properly return EOF (tmux).
    
    * Remove pt_flags2 and fold its flags into pt_flags.
    
    * Create a shim to track ttyunhold()'s for session releases and release
      the underlying pts (for screen).
    
    Reported-by: josepht (xterm issue)

Summary of changes:
 sys/kern/tty.c     |    5 ++-
 sys/kern/tty_pty.c |  107 ++++++++++++++++++++++++++++++++++-----------------
 sys/sys/tty.h      |    1 +
 3 files changed, 76 insertions(+), 37 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f5f1bbd4a15e29ccf3c5baafe1eaf2a25f660e03


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]