delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/13/08:25:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C65398C.2000201@gmail.com>
Date: Fri, 13 Aug 2010 06:24:44 -0600
From: Morgan Gangwere <0 DOT fractalus AT gmail DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: XWin shows in "ps -a" but not in "ps"
References: <4C652612 DOT 2050807 AT bonhard DOT uklinux DOT net>
In-Reply-To: <4C652612.2050807@bonhard.uklinux.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Note-from-DJ: This may be spam

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/13/2010 05:01 AM, Fergus wrote:
> I have XWin running and it shows up as a process under
> ps -a
> but not under
> ps

Time for another round of the blame game!

What's happening is that your shell is getting instantiated on a new vty.

Even on my /linux/ box, ps only ever shows up with what's running under
the child of my shell, so its not ps's fault, its more than likely
/XWin's/ fault for how it handled shells before.

More than likely however is that in your ~/.bashrc at one point before
was the line

alias ps='ps -a'

Even I have a few lines like that:

alias egrep='egrep --color=auto'
alias ls='ls --color=auto'
alias ll=' ls -alF'

- -- 
Morgan Gangwere <0 dotpunct fractalus atpunct gmail dotpunct com>
http://sonof.bandit.name/

あなたのお母さんは、ハムスターとあなたの父エルダーベリーのワカサギでした
- - A frenchman.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMZTmMAAoJEEURiCSotvJD05oP/22AgyBPJFmOq02DwFXqCHZu
bUVuGJgaOttu28VvuqZnBiFyHFkZaPoQL4wlqoG0NDVLgqm3EAJHwZIDKK3fvt69
zn8mNaljNaQxwid4ERak8v53pBjIT8QwHh6CXWn8X+Kuto+cZoSl9qMlYl71cIv9
+eh7zLTTeZm2VydhCnVhqk4lcHZCyUHaGcX6md8YlHOiJKuv9xho7WF8g/kHFuCA
IJXeenCcVMQdcrUvC25mMzEkjlJZkv+VgVCsObV5085imPJqsVI8CJFwomsIXPpz
NX/jG17p9Ws/NmadhLUV9I0XnE/Us0y0CGS/fywerI3iHExAWB8M9+N/lRhoN1hD
2m7sLXG0WI9wgfnnT0Co6L5uGs5IwGlPpq5Bgvfesh2+6nmNeXwkEc0qiOiafnar
m4uIUfMQsG3/11ocaVijIJibXVsMAXLmmAphN3JuniavR+Z8SYZs8WCIH2z9dKFM
5UhpadRngtDIg2yHFlROrgYVamLdwKfHmQdHL8qOTsUQyUEm65PDR4Sx6YPWJG+0
3tIqQKTVsRd8uNEjlN+EdvFH537zBu7Q5pgJvb0iMuB0+2jssipdYaxB5U5H1IFW
w3MlyKaNj6l2XJMQCE0HFeztdzhMwSDNoExoCHqBR1FEBUuhBHTL3u7oCdggkfM7
bT2NDmPk5eCn15+h4lQr
=khr/
-----END PGP SIGNATURE-----

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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