Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 1995 11:17:15 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Jeffrey Hsu <hsu@freefall.cdrom.com>
Cc:        freebsd-bugs@freefall.cdrom.com
Subject:   Re: bin/542: typeahead fails after rsh 
Message-ID:  <95Jun23.111723pdt.49859@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Thu, 22 Jun 95 21:40:02 PDT." <199506230440.VAA20194@freefall.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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?95Jun23.111723pdt.49859>