diff options
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/eshell.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index 6d57a78d170..4ed894e5a4c 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi | |||
| @@ -654,6 +654,16 @@ not @samp{git status} -- use @code{eshell-visual-subcommands}; and for | |||
| 654 | commands that are visual only when passed certain options, use | 654 | commands that are visual only when passed certain options, use |
| 655 | @code{eshell-visual-options}. | 655 | @code{eshell-visual-options}. |
| 656 | 656 | ||
| 657 | Caution: Some tools such as Git use the pager @samp{less} by default | ||
| 658 | to paginate their output but call it with its @samp{-F} option. This | ||
| 659 | option causes @samp{less} to echo the output instead of paginating it | ||
| 660 | if the output is less than one page long. This causes undesirable | ||
| 661 | behavior if, e.g., @samp{git diff}, is defined as a visual subcommand. | ||
| 662 | It'll work if the output is big enough and fail if it is less than one | ||
| 663 | page long. If that occurs to you, search for configuration options | ||
| 664 | for calling @samp{less} without the @samp{-F} option. For Git, you | ||
| 665 | can do that using @samp{git config --global core.pager 'less -+F'}. | ||
| 666 | |||
| 657 | @section Redirection | 667 | @section Redirection |
| 658 | Redirection is mostly the same in Eshell as it is in other command | 668 | Redirection is mostly the same in Eshell as it is in other command |
| 659 | shells. The output redirection operators @code{>} and @code{>>} as | 669 | shells. The output redirection operators @code{>} and @code{>>} as |