urxvtd and file descriptors

Marc Lehmann schmorp at schmorp.de
Thu Jan 29 01:00:25 CET 2009


On Wed, Jan 28, 2009 at 01:03:50PM -0500, Aron Griffis <agriffis at n01se.net> wrote:
> I recently switched to urxvtd.  Today I noticed that fds 5 and
> 8 are open in all my terminals.  Is that expected?

well, terminals can't have file descriptors, only processes have them. What
do you mean with "terminals"? urxvtd closes it's own file descriptors before
executing programs within a temrinal, but it doesn't do anything to file
descriptors unknowingly passed to it.

most likely you start urxvtd with these file descriptors already open,
then all processes started form urxvtd inherit them.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\




More information about the rxvt-unicode mailing list