delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/04/10:37:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: aberdeen.fpcc.net: laubster set sender to cygwin AT laubster DOT org using -f
Date: Tue, 4 Feb 2003 08:42:22 -0700
From: "J.D. Laub" <cygwin AT laubster DOT org>
To: cygwin AT cygwin DOT com
Subject: extraneous 'I' in ps output
Message-ID: <20030204154222.GA3915@aberdeen.fpcc.net>
Mime-Version: 1.0
User-Agent: Mutt/1.4i
Organization: The Psychiatric Ward of Terrors

Here's a simple test case that shows the behavior I'm seeing:
$ dummy=`ps > /tmp/foo`
$ cat /tmp/foo
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
I    1268       1    1268       1268  con 12917 07:42:04 /usr/bin/bash
     1388    1268    1268       1388  con 12917 07:42:19 /usr/bin/bash
     1408    1388    1408       1332  con 12917 07:42:20 /usr/bin/ps

Anytime ps is called from command substitution, an 'I' gets
prepended to the line for the top shell.

I'm running install 2.249.2.5 on windoze2k which in running under
vmware hosted by deadrat8.0.

Due dilligence: I tried a fresh install of all of cygwin; same
results.  Nothing jumping out from the FAQ.  A search of the mail
archives on "ps" returned 0 hits (?!). There's no manpage for ps.
The online user guide doesn't mention that the floating 'I' should
be there.  Google turned up nothing obvious. ps isn't in its own
package, and I can't find docs on where to look to find out in which
package it was delivered. procps looked promising, so I installed
source for it as well as gdb, make, and gcc, but the build fails
with 'TIOCGWINSZ undeclared'.  Any other suggestions are most
welcome; I tend to prefer helping myself in an effort to minimizing
list noise, but I've run out of ideas.
-- 
J.D. Laub (Laubster) |"Your leg's too long / Your skull's too strong /
cygwin AT laubster DOT org  | Suppose your nose is wrong." - Renaldo & the Loaf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019