Date: Fri, 15 Jan 2010 13:55:51 GMT From: maya <maya@negeta.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/142860: lrzsz receive fails with xmodem protocol Message-ID: <201001151355.o0FDtpVC025601@www.freebsd.org> Resent-Message-ID: <201001151400.o0FE01vb029741@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001151355.o0FDtpVC025601>