ports/142860: lrzsz receive fails with xmodem protocol

maya maya at negeta.com
Fri Jan 15 14:00:03 UTC 2010


>Number:         142860
>Category:       ports
>Synopsis:       lrzsz receive fails with xmodem protocol
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 15 14:00:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     maya
>Release:        7.2-p4
>Organization:
>Environment:
FreeBSD 7.2-RELEASE-p4 i386
>Description:
Start to receive with `rx' command.

Send a file from Tera Term with Xmodem protocol.

Transfer starts but it doesn't progress.


It seems rx command fails to switch raw mode.
Because `stty raw && rx filename' success to transfer.
I refered man 3 termios of Linux. It contains "Raw mode" section.
>How-To-Repeat:
% lrx filename

Send a file with Tera Term.
>Fix:
http://ttssh2.sourceforge.jp/patch/lrzsz-raw.patch

--- 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 */


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list