From owner-freebsd-stable Sat Dec 9 22:46: 5 2000 From owner-freebsd-stable@FreeBSD.ORG Sat Dec 9 22:46:03 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 0BFC637B400 for ; Sat, 9 Dec 2000 22:46:03 -0800 (PST) Received: from [212.238.77.116] (helo=buffy.raggedclown) by post.mail.nl.demon.net with smtp (Exim 3.14 #2) id 1450FF-0007H9-00; Sun, 10 Dec 2000 06:46:01 +0000 Received: from localhost (localhost [[UNIX: localhost]]) by buffy.raggedclown (8.10.2/8.10.2) id eBA6jxX03645; Sun, 10 Dec 2000 07:45:59 +0100 From: Cliff Sarginson Date: Sun, 10 Dec 2000 07:45:58 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: Gerhard Sittig , FreeBSD stable References: <20001209214755.D27042@speedy.gsinet> In-Reply-To: <20001209214755.D27042@speedy.gsinet> Subject: Re: telnet's exit status on normal exit MIME-Version: 1.0 Message-Id: <00121007455801.01488@buffy> Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by buffy.raggedclown id eBA6jxX03645 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday 09 December 2000 21:47, Gerhard Sittig wrote: > On Sat, Dec 09, 2000 at 17:01 +0100, Trond Endrest=F8l wrote: > > Why does telnet always exit with exit status 1 when run > > non-interactive? > Mmm. I guess 'cos it was programmed that way :) But here we have a fine example of why open source is nice. You can change it's behaviour ! vi telnet.c ... :) good luck ! Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message