From owner-freebsd-current@FreeBSD.ORG Thu Jul 15 11:10:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 641B916A4CE for ; Thu, 15 Jul 2004 11:10:42 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3D7A43D1F for ; Thu, 15 Jul 2004 11:10:41 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6FBAXNb001898; Thu, 15 Jul 2004 13:10:38 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: samy@kerneled.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 15 Jul 2004 06:58:19 EDT." <29087.62.3.32.33.1089889099.squirrel@www.kerneled.org> Date: Thu, 15 Jul 2004 13:10:33 +0200 Message-ID: <1897.1089889833@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@FreeBSD.org Subject: Re: The recent TIOCREMOTE removal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 11:10:42 -0000 In message <29087.62.3.32.33.1089889099.squirrel@www.kerneled.org>, samy@kernel ed.org writes: >The changes committed with revision 1.127 of tty_pty.c and the appropriate >changes to the ttycom.h file remove the TIOCREMOTE ioctl. The commit >message was as follows: > "It was added 22 years ago for emacs to use, but emacs gave up on it > it 17 years ago." > >Ignoring the fact that many operating systems have TIOCREMOTE implemented >(meaning, FreeBSD provides a nice new portability issue for now and the >unknowing future), several ports are *already* broken due to this. I'm only aware of two ? And I'm currently investigating them. >This ioctl is widely implemented, and even though not a fad of any >sort, it is used where it should be. The functionality it provides is >of use. I think it would be feasible if someone was to roll-back the >both sys/ttycom.h and kern/tty_pty.c Please provide better evidence of current usage. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.