- force raw mode

PR:		142860
Obtained from:	http://ttssh2.sourceforge.jp/patch/lrzsz-raw.patch
This commit is contained in:
Dirk Meyer 2010-01-16 12:23:45 +00:00
parent 9081650543
commit f9c348c80f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247975
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= lrzsz
PORTVERSION= 0.12.20
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= comms
MASTER_SITES= http://www.netsw.org/net/modem/protocols/zmodem/lrzsz/ \
http://www.ohse.de/uwe/releases/

View File

@ -0,0 +1,11 @@
--- src/rbsb.c.org 2010-01-15 22:41:21.000000000 +0900
+++ src/rbsb.c 2010-01-15 22:41:34.000000000 +0900
@@ -296,7 +296,7 @@
tty.c_iflag |= IXOFF;
/* No echo, crlf mapping, INTR, QUIT, delays, no erase/kill */
- tty.c_lflag &= ~(ECHO | ICANON | ISIG);
+ tty.c_lflag &= ~(ECHO | ICANON | ISIG | IEXTEN);
tty.c_oflag = 0; /* Transparent output */
tty.c_cflag &= ~(PARENB); /* Same baud rate, disable parity */