Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 1995 07:35:57 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        hsu@freefall.cdrom.com
Cc:        freebsd-bugs@freefall.cdrom.com
Subject:   Re: bin/542: typeahead fails after rsh
Message-ID:  <199506230535.HAA28006@uriah.heep.sax.de>
In-Reply-To: <199506230440.VAA20194@freefall.cdrom.com> from "Jeffrey Hsu" at Jun 22, 95 09:40:02 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Jeffrey Hsu wrote:
> 
> Typing commands before receiving a return prompt from the shell after
> a rsh command fails.  The subsequent commands are lost.
> 
> >How-To-Repeat:
> 
> % rsh localhost sleep 5
> % echo ^G

I think this ain't a bug, it's a feature (and unless somebody objects,
i would close the PR again).  Rsh connects the stdin of the other side
with the local tty, so it's your own hard luck that the sleep 5
command didn't consume the input that has been propagated to the
remote end.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



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