diff options
author | Cy Schubert <cy@FreeBSD.org> | 2014-04-30 04:16:24 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2014-04-30 04:16:24 +0000 |
commit | 0d968e414cf268a76174fe0ece60523f2cc77606 (patch) | |
tree | 6c79c46b3e2f9e9866097c7e2c427f219e890c68 /sysutils/screen-legacy/files/patch-tty.sh | |
parent | Update to 6.0.3 (diff) |
Prepare for screen 4.2.1. Screen 4.0.3 becomes screen-legacy.
Notes
Notes:
svn path=/head/; revision=352668
Diffstat (limited to 'sysutils/screen-legacy/files/patch-tty.sh')
-rw-r--r-- | sysutils/screen-legacy/files/patch-tty.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/screen-legacy/files/patch-tty.sh b/sysutils/screen-legacy/files/patch-tty.sh new file mode 100644 index 000000000000..1b40f3c939fd --- /dev/null +++ b/sysutils/screen-legacy/files/patch-tty.sh @@ -0,0 +1,22 @@ +--- tty.sh ++++ tty.sh +@@ -76,7 +76,7 @@ + #endif + + #include "config.h" +-#ifdef SVR4 ++#if defined(SVR4) && !defined(__FreeBSD__) + #include <sys/stropts.h> /* for I_POP */ + #endif + +@@ -562,7 +562,9 @@ + XIF{VLNEXT} np->tio.c_cc[VLNEXT] = VDISABLE; + XIF{VSTATUS} np->tio.c_cc[VSTATUS] = VDISABLE; + XIF{VSUSP} np->tio.c_cc[VSUSP] = VDISABLE; +-XIF{VERASE} np->tio.c_cc[VERASE] = VDISABLE; ++ /* Set VERASE to DEL, rather than VDISABLE, to avoid libvte ++ "autodetect" issues. */ ++XIF{VERASE} np->tio.c_cc[VERASE] = 0x7f; + XIF{VKILL} np->tio.c_cc[VKILL] = VDISABLE; + # ifdef HPUX_LTCHARS_HACK + np->m_ltchars.t_suspc = VDISABLE; |