From: Aidan Kehoe (kehoea at domain parhasard.net)
Date: Tue 04 Jun 2002 - 14:26:09 IST
Ar an 4u la de mi 6, scriobh Brian Foster :
> #!/bin/bash #/bin/bash
> export COLUMNS=1000 exec ps.real -w "$ at domain "
> exec ps.real "$ at domain "
As I understand it, the left-hand one of those won't work, because GNU
ps _ignores_ terminal settings (of which COLUMNS) is part when writing
to a pipe. Of course, my local GNU ps doesn't do any of this at all;
$ ps --version
procps version 2.0.6
$ ps -ef | grep Maildir
root 228 1 0 May30 ? 00:00:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/lib/courier-imap/logger -maxprocs=40 -maxperip=4 -pid=/var/run/imapd.pid -forcebind -nodnslookup -noidentlookup 143 /usr/sbin/imaplogin /usr/lib/courier-imap/authlib/authcram /usr/lib/courier-imap/authlib/authuserdb /usr/lib/courier-imap/authlib/authpam /usr/lib/courier-imap/authlib/authldap /usr/bin/imapd Maildir
hcksplat 4760 4729 0 14:24 pts/0 00:00:00 grep Maildir
$
*shrug*
-- I'm not a pheasant plucker / I'm a pheasant plucker's son. I'm just a'plucking pheasants / 'Til the pheasant plucker comes.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:05 GMT