From owner-cvs-all@FreeBSD.ORG Mon Sep 29 15:38:34 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99DB21065690; Mon, 29 Sep 2008 15:38:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 385688FC13; Mon, 29 Sep 2008 15:38:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m8TFcMlf045541; Mon, 29 Sep 2008 11:38:28 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ed Schouten Date: Mon, 29 Sep 2008 10:51:47 -0400 User-Agent: KMail/1.9.7 References: <200809281644.m8SGiNZD041087@repoman.freebsd.org> In-Reply-To: <200809281644.m8SGiNZD041087@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809291051.47759.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Mon, 29 Sep 2008 11:38:28 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8353/Mon Sep 29 05:57:09 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/bin/pkill pkill.1 pkill.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 15:38:34 -0000 On Sunday 28 September 2008 12:44:15 pm Ed Schouten wrote: > ed 2008-09-28 16:44:15 UTC > > FreeBSD src repository > > Modified files: > bin/pkill pkill.1 pkill.c > Log: > SVN rev 183438 on 2008-09-28 16:44:15Z by ed > > Don't automatically prepend the "tty" prefix to `pkill -t' arguments. > > Because we now enforce UNIX98-style PTY's, we now use a lot of TTY's > that don't have the traditional /dev/ttyXX naming scheme. pkill(1)'s -t > flag automatically prepended the word "tty" to each TTY that was passed > on the command line. This meant that `pkill -t pts/0' was actually > converted to /dev/ttypts/0. Disable this broken behaviour for now. > > Reported by: erwin Why not fix it to do what other utilities like ps, etc. do and just try it both ways? You want to be able to use the 'tty' column from ps output as an argument this, and serial port logins are still going to show up as 'd0' (sio0) or 'u0' (uart0). -- John Baldwin