On Sat, Dec 10, 2016 at 09:00:01PM +0100, Denys Vlasenko wrote: > On Thu, Dec 8, 2016 at 11:55 PM, ..mg.. <[email protected]> wrote: > > Hi folks. > > > > On my busybox 1.25.1 setup, 'man' and 'less' are conspiring to mangle > > terminal control commands, like this for 'PAGER=less man bash': > > > > BASH(1) General Commands Manual > > BASH(1) > > > > > > > > [1mNAME [0m > > bash - GNU Bourne-Again SHell > > > > [1mSYNOPSIS [0m > > [1mbash [22m[options] [command_string | file] > > > > except that I see the '^[' as a reverse-video '['. > > > > > > Running 'PAGER=cat man bash' shows the correct formatting, and programs > > like nano and mutt run just fine. TERM=linux and TERMINFO is the > > correct path to my terminfo database. > > Your "man" generates color escapes and expects pager to understand them. > You can suppress with GROFF_NO_SGR=1 env var.
Yes, that does it, thank you! -mg _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
