mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
On BSD, switching off ICANON does not disable LNEXT (^V) processing.
We explicitly need to unset IEXTEN.
This commit is contained in:
parent
6656cb7bf5
commit
4c684c5386
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406190
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= luit
|
||||
PORTVERSION= 1.1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
|
11
x11/luit/files/patch-sys.c
Normal file
11
x11/luit/files/patch-sys.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- sys.c.orig 2012-03-23 04:23:07 UTC
|
||||
+++ sys.c
|
||||
@@ -256,7 +256,7 @@ setRawTermios(void)
|
||||
rc = tcgetattr(0, &tio);
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
- tio.c_lflag &= (unsigned) ~(ECHO | ICANON | ISIG);
|
||||
+ tio.c_lflag &= (unsigned) ~(ECHO | ICANON | IEXTEN | ISIG);
|
||||
tio.c_iflag &= (unsigned) ~(ICRNL | IXOFF | IXON | ISTRIP);
|
||||
#ifdef ONLCR
|
||||
tio.c_oflag &= (unsigned) ~ONLCR;
|
Loading…
Reference in New Issue
Block a user