Article 6JHB8 Changing formatting strings used by man

Changing formatting strings used by man

by
jt1122
from LinuxQuestions.org on (#6JHB8)
Hi,

Code:LESS_TERMCAP_md=$'\e[1;38;5;82m' man -P "less" lswould show a coloured man page for ls.

As I understand man embeds the TERMCAP code into the text sent to less.

Can I change this TERMCAP code to some else, e.g. "ABC", which will be embedded in the resulting text?.

I tried
Code:LESS_TERMCAP_md=$'ABC' man -P "less" ls >odoesn't show ABC anywhere in the file o.

Thanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments