diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-21 20:41:24 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-21 20:41:24 +0000 |
commit | ba9ac466324302dd6dae7d194cf4372a159e7274 (patch) | |
tree | 83bd84f63c86c9124cc77858ab566788caa5a508 /share/man/man4/syscons.4 | |
parent | 78494eacb612b3dd675aedf675157e7092ab1a72 (diff) | |
download | FreeBSD-src-ba9ac466324302dd6dae7d194cf4372a159e7274.zip FreeBSD-src-ba9ac466324302dd6dae7d194cf4372a159e7274.tar.gz |
Introduce new syscons(4) kernel options:
- SC_CUT_SPACES2TABS - when copying text into the cut buffer convert leading
spaces into the tabs;
- SC_CUT_SEPCHARS="XYZ" - treat supplied characters as possible words
separators when the driver searches for words boundaries when doing cut
operation.
Also unify cut code a bit to decrease amount of duplicated code. This fixes
line cut mode, so that it is no longer pads line with useless spaces.
Approved by: ru
Diffstat (limited to 'share/man/man4/syscons.4')
-rw-r--r-- | share/man/man4/syscons.4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/man/man4/syscons.4 b/share/man/man4/syscons.4 index f3bf035..5abb9c3 100644 --- a/share/man/man4/syscons.4 +++ b/share/man/man4/syscons.4 @@ -36,6 +36,8 @@ .Sh SYNOPSIS .Cd "options MAXCONS=N" .Cd "options SC_ALT_MOUSE_IMAGE" +.Cd "options SC_CUT_SEPCHARS=_characters_" +.Cd "options SC_CUT_SPACES2TABS" .Cd "options SC_DISABLE_DDBKEY" .Cd "options SC_DISABLE_REBOOT" .Cd "options SC_HISTORY_SIZE=N" @@ -259,6 +261,16 @@ Note that if you use the .Dv SC_NO_FONT_LOADING option then you must also use this option if you wish to be able to use the mouse. +.It Dv SC_CUT_SEPCHARS=_characters_ +This options specifies characters that will be looked for when the +driver searches for words boundaries when doing cut operation. By +default its value is +.Dq \e\\&x20 +- a space character. +.It Dv SC_CUT_SPACES2TABS +This options instructs the driver to convert leading spaces into tabs +when copying data into cut buffer. This might be useful to preserve +identation when copying tab-idented text. .It Dv SC_DISABLE_DDBKEY This option disables the ``debug'' key (by default, it is .Dv Alt-Esc , |