Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. -r or --raw-control-chars
  2. Causes "raw" control characters to be displayed. The default is
  3. to display control characters using the caret notation; for
  4. example, a control-A (octal 001) is displayed as "^A". Warning:
  5. when the -r option is used, less cannot keep track of the actual
  6. appearance of the screen (since this depends on how the screen
  7. responds to each type of control character). Thus, various
  8. display problems may result, such as long lines being split in
  9. the wrong place.
  10.  
  11. -R or --RAW-CONTROL-CHARS
  12. Like -r, but only ANSI "color" escape sequences are output in
  13. "raw" form. Unlike -r, the screen appearance is maintained
  14. correctly in most cases. ANSI "color" escape sequences are
  15. sequences of the form:
  16.  
  17. ESC [ ... m
  18.  
  19. where the "..." is zero or more color specification characters
  20. For the purpose of keeping track of screen appearance, ANSI
  21. color escape sequences are assumed to not move the cursor. You
  22. can make less think that characters other than "m" can end ANSI
  23. color escape sequences by setting the environment variable
  24. LESSANSIENDCHARS to the list of characters which can end a color
  25. escape sequence. And you can make less think that characters
  26. other than the standard ones may appear between the ESC and the
  27. m by setting the environment variable LESSANSIMIDCHARS to the
  28. list of characters which can appear.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement