NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Tweeking xterm -title
Date: Fri, 27 Dec 2024 12:08:19 -0500
From: Todd Gruhn <tgruhn2%gmail.com@localhost>
Message-ID: <CA+9Akf93n98K6KJNhw8S5gnb1hehP_wGVA8Y4qgS9gen+x4UXg%mail.gmail.com@localhost>
| "startx -- -- " is always used because that is what I learned around 2005.
Weird. I don't think that was ever rational.
| Does this matter? Does it change how X starts?
No, and no.
Unless you give other options to startx, what matters is what is in the
xinitrc file that is used (~/.xinitrc or .../X11/xinit/xinitrc where ... is /etc
for the xsrc version, not sure if it moves with pkgsrc modular X11).
Startx is just a convenient way to run xinit properly.
For anyone reading, startx is an ancient script, predates getopts (probably
getopt(1) as well).
Any '--' args are simply ignored, except that args that precede the first -- are
for the client, and args that follow the first -- are for the server. Those args
can be the client name, server name, options to those, and other args (like which
DISPLAY to use). The '--' doesn't have its getopt[s] "options precede this, other
args follow" meaning.
startx without any other options can have as many --'s as desired, they do nothing
except waste a trivial amount of script processing time.
kre
Home |
Main Index |
Thread Index |
Old Index