🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #392

bash vs rcp

#392
From: Jean-Francois Lamy
Date: Sat, 29 Jul 1989 03:29
19 lines
1246 bytes
rcp *copying from a remote machine* where the login shell is bash1.01 does not
work; i.e. if the login shell is bash on host neat, then
	rcp neat:file .
will transfer most of file, but will abort near the end with
	rcp: protocol screwup: expected control record

The machine running bash (neat) is a Sun 4 running SunOS 4.0.3; the local
machine is either a Sun or an SGI using the 4.3BSD rcp -- the same version
of the protocol used in 4.0.3.

Removing all bash configuration files (.bash*, .profile, .inputrc) does not
help.  Changing the shell on neat to /bin/tcsh solves the problem
immediately.

Has anyone else seen this? Is bash doing some oddity that would cause
characters to be sent, confusing rcp? Is this fixed in a current release?

Jean-Francois Lamy               lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy
AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4
Technical Details
Message-ID: <1989Jul28.232900.17127@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.toronto.edu!lamy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.toronto.edu!lamy
Newsgroups: gnu.bash.bug
From: lamy@cs.toronto.edu (Jean-Francois Lamy)
Subject: bash vs rcp
Message-ID: <1989Jul28.232900.17127@jarvis.csri.toronto.edu>
Organization: Department of Computer Science, University of Toronto
Date: 29 Jul 89 03:29:01 GMT