On Thu, Sep 04, 2014 at 12:08:36AM -0400, Alex Chernyakhovsky wrote: >Hi John, > >Could you please provide $TERM inside and outside of byobu? I suspect >this is an issue with tmux/screen; if inside byobu it is not >screen-256color-bce, could you perhaps try setting it to that before >running less? > >Sincerely, >-Alex
Hello Alex, I tried as you asked, but unfortunately it did not make any noticeable difference. Running under byobu/tmux: $ echo $TERM screen-256color $ TERM=screen-256color-bce less file.foo <output from less is unchanged from before> Running under bash without byobu: $ echo $TERM xterm-256color $ less file.foo <output from less looks normal> Just to try, I did the following under byobu: $ TERM=xterm-256color less file.foo Now the output from less looks proper, but this caused other unintended problems. For example, my home/end keys no longer functioned so I could not easily jump to the beginning/end of the file I was viewing. I'm sure there are likely other consequences to trying this, but this was the first I (quickly) ran across. -- --John Gruenenfelder Systems Manager, MKS Imaging Technology, LLC. Try Weasel Reader for PalmOS -- http://weaselreader.org "This is the most fun I've had without being drenched in the blood of my enemies!" --Sam of Sam & Max
signature.asc
Description: Digital signature

