From owner-freebsd-arch Wed Jul 24 0:46:10 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 759D037B400; Wed, 24 Jul 2002 00:46:06 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0407E43E3B; Wed, 24 Jul 2002 00:46:04 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.10) id 17XGrq-000Emp-00; Wed, 24 Jul 2002 09:47:30 +0200 Date: Wed, 24 Jul 2002 09:47:30 +0200 From: Sheldon Hearn To: Johan Karlsson Cc: arch@freebsd.org Subject: Re: adding '-t tty' to biff(1)/mesg(1) Message-ID: <20020724074730.GE56717@starjuice.net> Mail-Followup-To: Johan Karlsson , arch@freebsd.org References: <20020723225247.G50574@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020723225247.G50574@numeri.campus.luth.se> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On (2002/07/23 22:52), Johan Karlsson wrote: > Currently there is no way of changing the biff/mesg > status of a tty where another program is running. > (except if you know all the gory details about biff and mesg) For mesg(1), you can use shell redirection to accomplish your goal, as with tools like vidcontrol(1): mesg y < /dev/ttyp7 This doesn't work for biff(1). I'm not saying you shouldn't consider adding new options, but suggesting that maybe the correct path forward is simply to fix biff(1) so that it operates like other tools designed to change the behaviour of a terminal. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message