Your message dated Fri, 19 Jun 2026 05:53:24 +0200
with message-id <[email protected]>
and subject line Re: Bug#137897: lrzsz: rz/sz doesn't work from screen
has caused the Debian Bug report #137897,
regarding lrzsz: rz/sz doesn't work from screen
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
137897: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=137897
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lrzsz
Version: 0.12.21-4
Severity: important

rz and sz doesn't work if trying to transfer from 'screen'.

toni@perplex:~$ screen rz
rz waiting to receive.**B0100000023be50

...and it just waits there to be killed, works ok without screen

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux perplex 2.4.18-grsec-1.9.4 #1 SMP Thu Mar 7 00:08:20 EET 2002 i686

Versions of packages lrzsz depends on:
ii  libc6                         2.2.5-3    GNU C Library: Shared libraries an



--- End Message ---
--- Begin Message ---
Hi,

This behavior is not a bug in the lrzsz package, but rather a structural
limitation of how GNU screen handles the terminal stream by default. rz
and sz need an 8-bit transparent, flow-controlled connection. GNU screen
is a terminal emulator, not a transparent pipe.

When you run rz inside screen, rz emits its ZMODEM initialization header
(the **B0100000023be50 line shown in your report). By default screen
renders these bytes as ordinary screen output -- which is exactly the
"garbage" you see -- instead of relaying the raw ZMODEM stream to your
local terminal emulator. Your terminal's ZMODEM handler therefore never
recognizes the transfer and never starts sending, so rz waits forever.

To use rz/sz inside a screen session, tell screen to pass the ZMODEM
stream straight through to your terminal by adding this line to your
~/.screenrc:

    zmodem pass

You can also enable it in a running session: press Ctrl+A, then ":",
then type "zmodem pass" and press Enter.

This works because your local terminal emulator already supports ZMODEM
(which is why the transfer succeeds without screen). If instead you want
screen itself to handle the transfer, see "zmodem" in screen(1).

Since the lrzsz binaries work as intended and this is a question of
terminal-multiplexer configuration, I am closing this report.

Kind regards,

Martin


On Mon, Mar 11, 2002 at 22:16:22 +0200, Toni Viemero wrote:

> Package: lrzsz
> Version: 0.12.21-4
> Severity: important
> 
> rz and sz doesn't work if trying to transfer from 'screen'.
> 
> toni@perplex:~$ screen rz
> rz waiting to receive.**B0100000023be50
> 
> ...and it just waits there to be killed, works ok without screen
> 
> -- System Information
> Debian Release: 3.0
> Architecture: i386
> Kernel: Linux perplex 2.4.18-grsec-1.9.4 #1 SMP Thu Mar 7 00:08:20 EET 2002 
> i686
> 
> Versions of packages lrzsz depends on:
> ii  libc6                         2.2.5-3    GNU C Library: Shared libraries 
> an

--- End Message ---

Reply via email to