Date: Mon, 29 Sep 2008 10:51:47 -0400 From: John Baldwin <jhb@freebsd.org> To: Ed Schouten <ed@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/bin/pkill pkill.1 pkill.c Message-ID: <200809291051.47759.jhb@freebsd.org> In-Reply-To: <200809281644.m8SGiNZD041087@repoman.freebsd.org> References: <200809281644.m8SGiNZD041087@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809291051.47759.jhb>