Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 1995 20:42:09 +0200
From:      Joerg Wunsch <joerg>
To:        hsu, joerg, freebsd-bugs
Subject:   Changed information for PR bin/542
Message-ID:  <199506231842.UAA21896@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
Synopsis: typeahead fails after rsh

State-Changed-From-To: open-closed
State-Changed-By: joerg
State-Changed-When: Fri Jun 23 20:40:27 MET DST 1995
State-Changed-Why: 
The described behaviour is intentional:

~To: Jeffrey Hsu <hsu@freefall.cdrom.com>
~cc: freebsd-bugs@freefall.cdrom.com
~Subject: Re: bin/542: typeahead fails after rsh 
~Date: Fri, 23 Jun 1995 11:17:15 PDT

In message <199506230440.VAA20194@freefall.cdrom.com> you write:
>Typing commands before receiving a return prompt from the shell after
>a rsh command fails.  The subsequent commands are lost.

By default, rsh thinks the remote command wants input, so it sucks up stdin.  
Try rsh -n if the remote command doesn't require any input.

% rsh -n localhost sleep 5
echo hi jeffrey
% hi jeffrey

  Bill





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506231842.UAA21896>