"Richard Ulmer" <maillists.rul...@mailbox.org> wrote:
> Hi all,
> I find this behaviour unexpected:
> 
> $ printf foo | less --no-init | xxd
> 00000000: 666f 6f1b 5b41 1b5b 4b                   foo.[A.[K
> 
> less prints ANSI escape codes for 'cursor up' and 'erase in line' at the
> end of my message. Interestingly, when doing the same within tmux, the
> result is different:
> 
> $ printf foo | less --no-init | xxd
> 00000000: 666f 6f1b 4d1b 5b4b                      foo.M.[K
> 
> Is this intended behaviour? If so, is there any flag to disable this?
> 
> Greetings,
> Richard

Another user mentioned, that he couldn't reproduce the problem, which
made me check 'which less'. I found that I wasn't using /usr/bin/less,
but a script around it, which I forgot about. The script caused the
problem.

Sorry for the unnecessary mail.

Richard

Reply via email to