diff options
| author | Beech Rintoul <beech@FreeBSD.org> | 2008-07-05 01:35:15 +0000 |
|---|---|---|
| committer | Beech Rintoul <beech@FreeBSD.org> | 2008-07-05 01:35:15 +0000 |
| commit | 7398ff7e5d55be456e46627ec0eb74abd427f86a (patch) | |
| tree | cefc80a62da8f4f64f75da2b275b96653a183931 /sysutils/tmux/files | |
| parent | [Patch] japanese/mh: port to termios (diff) | |
- Update to 0.4a
- Use distversion instead of portversion for 0.4a
PR: ports/125190
Submitted by: Wen heping <wenheping@gmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=216339
Diffstat (limited to 'sysutils/tmux/files')
| -rw-r--r-- | sysutils/tmux/files/patch-tty.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/tmux/files/patch-tty.c b/sysutils/tmux/files/patch-tty.c new file mode 100644 index 000000000000..d153dd8f73a2 --- /dev/null +++ b/sysutils/tmux/files/patch-tty.c @@ -0,0 +1,14 @@ +--- tty.c.orig 2008-07-03 07:48:22.000000000 +0800 ++++ tty.c 2008-07-03 07:48:46.000000000 +0800 +@@ -85,9 +85,9 @@ + if (tcgetattr(tty->fd, &tty->tio) != 0) + fatal("tcgetattr failed"); + memcpy(&tio, &tty->tio, sizeof tio); +- tio.c_iflag &= ~(IXON|IXOFF|ICRNL|INLCR|IGNCR|IMAXBEL|IUCLC|ISTRIP); ++ tio.c_iflag &= ~(IXON|IXOFF|ICRNL|INLCR|IGNCR|IMAXBEL|ISTRIP); + tio.c_iflag |= IGNBRK; +- tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET|OLCUC); ++ tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET); + tio.c_lflag &= ~(IEXTEN|ICANON|ECHO|ECHOE|ECHONL|ECHOCTL|ECHOPRT|ECHOKE|ECHOCTL|ISIG); + tio.c_cc[VMIN] = 1; + tio.c_cc[VTIME] = 0; |
