On Thu, Feb 12, 2026 at 10:30:30PM -0500, Davidson wrote:
> On Thu, 12 Feb 2026, Davidson wrote:
> 
> > On Thu, 12 Feb 2026, Davidson wrote:
> 
> > > So I then did
> > > 
> > > # ln -Tv /etc/newt/palette.dark /etc/newt/palette
> > 
> > It now occurs to me that this hard linking could bite me later, if
> > anything clobbers
> > 
> >  /etc/newt/palette
> > 
> > because palatte.dark, which is data I do not want to lose, would get
> > clobbered too. So I have done
> > 
> >  # ln -Tvsf /etc/newt/palette.dark /etc/newt/palette
> > 
> > to make palette a soft link instead.
> 
> LOL. A soft link suffers from the same problem as the hard link.
> 
>   # rm /etc/newt/palette
>   # cp -a /etc/newt/palette.dark /etc/newt/palette

Aha! So newt it is. Doing a "strings /usr/lib/x86_64-linux-gnu/libnewt.so.0.52 
| less"
yields, among lots of other stuff, this:

  white
  /etc/newt/palette
  NEWT_COLORS_FILE
  NEWT_COLORS
  LC_ALL
  LC_CTYPE
  LANG

...so perhaps you can point at another palette file with the environment
variable NEWT_COLORS_FILE or even (gasp! :) stuff colours directly into
NET_COLORS...

Cheers & thanks for investigating
-- 
tomás

Attachment: signature.asc
Description: PGP signature

Reply via email to