New answers tagged

0

Normally less "clears the screen" (which probably refers to switching back to the normal screen from the alternate screen) when the terminal description has the appropriate escape sequence in the rmcup capability. You would see a difference if you are using different values of TERM in the two programs. The infocmp program can show differences for the ...


1

For OSX, this refers to Emacs 22.1.1; Fedora with Emacs 24 has the same behavior. Emac's ansi-term supports 8 colors. That is all that ANSI specified, and "ansi-term" is named appropriately. The eterm-color terminal description in ncurses is used for this terminal type. Emacs sets TERM to this value (see source): (defvar term-term-name "eterm-color" "...


0

less does not provide fine-tuning on the features which it displays, preferring to use video attributes such as bold and reverse (or standout): the ~ character is printed with bold attribute, and only if the "twiddle" option is set ("Show tildes after end of file"). while you could modify the terminal capabilities used to draw bold text, the "END" is ...


0

The mention of LESS_TERMCAP_so was incomplete. That is less's special environment variable used to override the termcap so (standout) capability. To use this capability, you have to provide a se (standend) capability as well. The terminfo(5) manual page gives a summary of these features for terminfo (smso/rmso) and termcap (so/se) names: ...


1

If not already installed, this should do it : yum install less Edit: as you are actually running in a Docker environment, the correct way would be to rebuild it with less added. Otherwise, you might try this: docker exec -it <ol_container> yum install less but the risk is high yum isn't installed either. If neither yum nor rpm are available, you ...



Top 50 recent answers are included