Re: [RFC] Initialisation of ssh-agent

From: Colin Watson (cjwatson_at_debian.org)
Date: 07/23/03

  • Next message: by way of Amit Shah: "X, font problems (woody->sid)"
    Date: Wed, 23 Jul 2003 11:46:52 +0100
    To: debian-user@lists.debian.org
    
    

    On Wed, Jul 23, 2003 at 12:31:51PM +0200, HdV@DTO.TUDelft.NL wrote:
    > On Wed, 23 Jul 2003, Colin Watson wrote:
    > > ps is probably the most inconsistent command in the entirety of Unix.
    > > No, 'ps ux' won't work on Unix systems which take most of their heritage
    > > from System V rather than BSD, and there is probably no one set of ps
    > > arguments that will work everywhere.
    >
    > Yeah, I was getting afraid of that after some testing. Would
    >
    > pgrep -U $USER ssh-agent
    >
    > be more portable?

    Probably less portable, if anything. I don't know of any portable way to
    handle process IDs; you have to test the operating system and act
    accordingly. :(

    If in doubt, you're probably best off dealing with the operating systems
    you know about and requesting patches for others while failing
    reasonably gracefully. If anybody cares, they'll do something about it.

    Cheers,

    -- 
    Colin Watson                                  [cjwatson@flatline.org.uk]
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: by way of Amit Shah: "X, font problems (woody->sid)"

    Relevant Pages

    • Re: question
      ... A short answer is that BSD stands for Berkeley Software Distribution ... first generally complete distribution of UNIX - in the previous century. ... BSD generally means the operating system that is somewhat ...
      (freebsd-questions)
    • Re: [SLE] SUSE = Ubuntu?
      ... thousands of dollars for their "proprietary" operating system. ... But what put them behind us was the GPL unix. ... less beneficial to keep your modifications hidden, so bsd prospered ... along with linux. ...
      (SuSE)
    • Re: Firefox
      ... >>> I do not use Firefox. ... I remember Unix creating thousands of pages of error logs because ... >>> that the whole operating system had lots of holes. ... > General Manager of Word Perfect and told the CEO / Chairman that they need ...
      (rec.boats)
    • Re: Firefox
      ... >> and Unix / derivatives there will always be bugs in them. ... >> that the whole operating system had lots of holes. ... > I never said there was no virus for linux but any that do come along (& ... General Manager of Word Perfect and told the CEO / Chairman that they need ...
      (rec.boats)
    • Re: Computer
      ... All the Unix commands are there. ... I don't care about the base operating system. ... I like the Mac interface better than the Windows ... businesses using old DOS programs in a DOS box, ...
      (rec.photo.digital)