>>> Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx> schrieb am 13.10.2021 um 18:29 in Nachricht <d156e6c7-10f3-c480-4844-0c8074c66ee3@xxxxxxxxxxxxxx>: > Ulrich Windl wrote: > >> Stupid question: If you see bold face at the end of the serial line, > wouldn't >> changing the terminal type ($TERM) do? >> Maybe construct your own terminal capabilities. > > I'd need a TERM that has colors but disallows bold fonts. For some > reason I wasn't even able to construct a terminfo that would disallow > colors when using that $TERM inside xterm (and starting a new bash). > It seems that xterm always has certain capabilities, i.e. "ls --color" > is always showing colors in xterm, also with TERM=xterm-mono and > everything else I tried. You are mixing sender and receiver: You cannot disable colors in the xterm binary (receiver) via termcap; instead you must restrict what the sender outputs via termcap: Xterm won't add colors when not requested. Also, not all programs use termcap. Classic VI and Emacs are probably good example who do use termcap/terminfo. > > Anway, settings a translation to bind "allow-bold-fonts(toggle)" > to a key in xterm resources allows to block bold fonts whenever > watching systemd boot messages via ipmi or AMT in a xterm... That's a translation in the receiver. You could also represent bold by colored text, but that's something different. Also if the ANSI escape sequences are hard-coded (monoculture?), you're out of luck. > > > -- > Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ > Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ > LMU, Amalienstr. 17 Phone: +49 89 2180-4049 > 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 > * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *