commit | 5c60162e3c4f8ac9deede6c0fb5a21930d92e3b4 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Wed Sep 16 12:35:04 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Wed Sep 16 12:35:04 2009 +0000 |
tree | 16e91d61eed65cf74d3987cf9b7cd08ffea48288 | |
parent | a6dd9e8e7eb0d7734b0905a97f6e8b0087a2e09c [diff] |
Rather than constructing an entire termios struct from ttydefaults.h, just let forkpty do it and then alter the bits that should be changed after fork. A little neater and more portable.