From owner-freebsd-hackers Sun Jul 12 17:08:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08796 for freebsd-hackers-outgoing; Sun, 12 Jul 1998 17:08:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from pobox.com (jaresh-112.mdm.mke.execpc.com [169.207.81.240]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA08782 for ; Sun, 12 Jul 1998 17:08:47 -0700 (PDT) (envelope-from hamilton@pobox.com) Message-Id: <199807130008.RAA08782@hub.freebsd.org> Received: (qmail 22974 invoked from network); 12 Jul 1998 19:10:54 -0500 Received: from localhost (HELO pobox.com) (127.0.0.1) by localhost with SMTP; 12 Jul 1998 19:10:54 -0500 To: "Allen Smith" Cc: hackers@FreeBSD.ORG Subject: Re: Improvemnet of ln(1). In-reply-to: Your message of "Sun, 12 Jul 1998 18:09:09 EDT." <9807121809.ZM18864@beatrice.rutgers.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 12 Jul 1998 19:10:53 -0500 From: Jon Hamilton Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ Cc: list trimmed, I assume everyone involved will read it on the list ] In message <9807121809.ZM18864@beatrice.rutgers.edu>, "Allen Smith" wrote: } I am somewhat reluctant to suggest this... but why not: } A. use isatty on the stderr file descriptor to decide the } default behavior } B. use -w to activate warnings for a non-tty } and C. use -q to deactivate warnings for a tty You forgot: D. Answer the resulting never-ending deluge of questions from people asking why it behaves differently in different circumstances, and why it differs from the behavior they're used to seeing in . I'm sure others will complain of bloat if another flag is added to turn on such warnings - and I'm not convinced that it's a bad argument, but it's nowhere near as objectionable as changing the default behavior. I still think a wrapper is a much better option, for those who want this. -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message