From owner-freebsd-bugs Fri Jun 23 07:53:21 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA08919 for bugs-outgoing; Fri, 23 Jun 1995 07:53:21 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id HAA08878 ; Fri, 23 Jun 1995 07:53:05 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA01703; Fri, 23 Jun 1995 16:52:51 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id QAA12232; Fri, 23 Jun 1995 16:52:51 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id HAA28006; Fri, 23 Jun 1995 07:35:57 +0200 From: J Wunsch Message-Id: <199506230535.HAA28006@uriah.heep.sax.de> Subject: Re: bin/542: typeahead fails after rsh To: hsu@freefall.cdrom.com Date: Fri, 23 Jun 1995 07:35:57 +0200 (MET DST) Cc: freebsd-bugs@freefall.cdrom.com In-Reply-To: <199506230440.VAA20194@freefall.cdrom.com> from "Jeffrey Hsu" at Jun 22, 95 09:40:02 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 645 Sender: bugs-owner@FreeBSD.org Precedence: bulk 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. ;-)