* John Baldwin <[EMAIL PROTECTED]> wrote: > 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).
Yeah, that's true. My fix was the best I could do in 5 minutes, but trying both device names would seem like a fair approach. I'll see if I can get to something this evening. -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://80386.nl/
pgpao4IPDRg7v.pgp
Description: PGP signature
