Todd C. Miller
|
9afe6a842e
|
Back out revision 1.10 as the signal that interrupts us may be
SIGTTOU or SIGTTIN which the caller must handle.
|
2009-10-11 13:02:06 +00:00 |
|
Todd C. Miller
|
3a343d499c
|
Handle getting/setting terminal attributes when the fd is in non-blocking
mode.
|
2009-10-11 12:24:31 +00:00 |
|
Todd C. Miller
|
fe9fc5ad1b
|
Retain NL to NLCR conversion on the real tty and skip it on the pty
we allocate. That way, if stdout is not a pty there are no extra carriage
returns.
|
2009-09-30 02:12:35 +00:00 |
|
Todd C. Miller
|
0d9e1e7b6d
|
Instead of messing with line endings, just set terminal to raw mode
in sudoreplay.
|
2009-09-27 22:39:40 +00:00 |
|
Todd C. Miller
|
929f13fdfc
|
When copying the terminal attributes to the pty, be sure not to set ONLCR.
This prevents extra carriage returns from ending up in the script output file.
|
2009-09-27 22:12:45 +00:00 |
|
Todd C. Miller
|
92dcfa8963
|
For raw mode, don't bother clearing BRKINT or PARMRK and clear IUCLC
if it is defined.
|
2009-08-07 21:06:54 +00:00 |
|
Todd C. Miller
|
3bfce30a85
|
First cut at session logging for sudo. Still need to write get_pty()
for Unix 98 and old-style BSD ptys. Also needs documentation and
general cleanup.
|
2009-08-06 00:04:14 +00:00 |
|
Todd C. Miller
|
2e8d722ae4
|
Fix term_restore
|
2009-02-25 10:47:12 +00:00 |
|
Todd C. Miller
|
380c953e6a
|
remove duplicate include
|
2009-02-21 13:06:34 +00:00 |
|
Todd C. Miller
|
bd05b56a8d
|
This is new code, no DARPA notice.
|
2009-02-11 00:58:17 +00:00 |
|
Todd C. Miller
|
2c8e1a45eb
|
Move terminal setting bits from tgetpass.c to term.c
|
2009-02-08 15:27:51 +00:00 |
|