Article View: gnu.misc.discuss
Article #72962Re: Replace GNU long options with X resources (Re: Who wants long options anyway?)
From: David J. MacKenzie
Date: Thu, 21 Nov 1991 05:25
Date: Thu, 21 Nov 1991 05:25
14 lines
1416 bytes
1416 bytes
A nice idea, but I don't think it can work. The X conventions are not compatible with the POSIX requirements -- the X conventions are not a superset of the Unix getopt(). They would need to be changed similarly to how we are considering changing the current GNU getopt_long to allow POSIX conformance. Allowing utilities to get default option settings from ~/.Xdefaults (or wherever) could seriously break zillions of shell scripts, also. They wouldn't be expecting `rm' to automatically run with the `-i' option, or `ls' to run with `-FCB', or `chmod' to run with `-v', or whatever settings users might choose. -- David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>
Technical Details
Message-ID:
<DJM.91Nov21002521@frob.eng.umd.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!darwin.sura.net!mojo.eng.umd.edu!news!djmReferences:
<ANDREWFG.91Nov11124344@coral.dai.ed.ac.uk> <9111210308.AA03917@ifsrad>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,5071a1d1ccc07109 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-11-21 02:09:25 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wupost!darwin.sura.net!mojo.eng.umd.edu!news!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: gnu.misc.discuss Subject: Re: Replace GNU long options with X resources (Re: Who wants long options anyway?) Message-ID: <DJM.91Nov21002521@frob.eng.umd.edu> Date: 21 Nov 91 05:25:21 GMT References: <ANDREWFG.91Nov11124344@coral.dai.ed.ac.uk> <9111210308.AA03917@ifsrad> Distribution: gnu Organization: Project GLUE, University of Maryland Lines: 14 In-Reply-To: greg@vis.UUCP's message of 20 Nov 91 11:07:58 GMT