/usr/pkg/bin/xterm    -geometry 80x46+0+0    -title  "$(date "+%A
----- %d - %B - %Y")"

HOW do I add '[40m' into the  -title  arg to make the date printed in black?

On Fri, Dec 27, 2024 at 3:48 PM Robert Elz <k...@munnari.oz.au> wrote:
>
>     Date:        Fri, 27 Dec 2024 12:08:19 -0500
>     From:        Todd Gruhn <tgru...@gmail.com>
>     Message-ID:  
> <ca+9akf93n98k6kjnhw8s5gnb1hehp_wgva8y4qgs9gen+x4...@mail.gmail.com>
>
>   | "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

Reply via email to