bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gv] [task #8675] speed up gv response time on macos when X is n


From: Karl Berry
Subject: Re: [bug-gv] [task #8675] speed up gv response time on macos when X is not running
Date: Sat, 27 Sep 2008 12:28:06 -0500

    > I personally see no big problem in gv trying to reach the Xserver for
    > -version or -help.

One compromise that I have implemented in other X programs is to
special-case --help and --version (only).  Those are the only two
standard option names for GNU programs.

if (argc == 2 && strcmp (argv[1], "--help"))
  print_help ();
...

I'm not saying you should necessarily do this.  Just for your
consideration.

karl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]