Bug 57497

Summary: Using decompression with X/Y-modem has problems
Product: [Retired] eCos Reporter: Jesper Skov <jskov>
Component: RedBootAssignee: George Thomas <gthomas>
Status: CLOSED CURRENTRELEASE QA Contact: George Thomas <gthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: CVSCC: hmt, jlarmour, jskov
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-03 21:20:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to strip extra ^Z characters at end of buffer none

Description Jesper Skov 2001-12-14 10:33:24 UTC
For some reason, the X/Y-modem protocol handling is messed up on the last
packet when using the decompression feature (-d), and minicom will hang
instead of closing the upload window.

Pressing ESC will get back the RedBoot prompt (possibly with a RedBoot
error/warning), but the data appears to have decompressed fine. This can be
verified using the 'cksum' command if critical.

Comment 1 George Thomas 2002-01-03 21:19:58 UTC
Created attachment 41712 [details]
patch to strip extra ^Z characters at end of buffer

Comment 2 George Thomas 2002-01-03 21:21:13 UTC
X-modem pads the final data record with ^Z characters.  The attached
patch strips them (if it finds at least 3 consecutive ones at the end).