mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 13:15:05 +00:00
Make the TAB key tab. Under syscons, shift-TAB also performs a backtab.
This commit is contained in:
parent
a708cb4895
commit
a4cbe387f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60344
|
@ -94,6 +94,10 @@ macro 0 d 'eval ${com_sethalfscroll}; forw_scroll ${half_scroll}'
|
|||
macro 0 "" 'eval ${com_sethalfscroll}; forw_scroll ${half_scroll}'
|
||||
macro 0 u 'eval ${com_sethalfscroll}; back_scroll ${half_scroll}'
|
||||
macro 0 "" 'eval ${com_sethalfscroll}; back_scroll ${half_scroll}'
|
||||
# An argument can be made that we should move by whatever tab was set to
|
||||
# using the -x argument to more(1)
|
||||
macro 1 "\t" 'rscroll (${number} * 8)'
|
||||
macro 1 '[Z' 'lscroll (${number} * 8)'
|
||||
set com_rscroll 'condition (${number} != 0); \
|
||||
set lsthscr ${number}; \
|
||||
condition true; \
|
||||
|
|
|
@ -187,6 +187,9 @@ screen is cannot be scrolled leftwards.
|
|||
.It Ic RIGHT-ARROW
|
||||
Turn off line-wrapping or scroll rightwards N columns, default 1,
|
||||
if line wrapping is already off.
|
||||
.It Ic TAB
|
||||
Turn off line-wrapping or scroll rightwards N * 8 columns, default 8,
|
||||
if line-wrapping is already off.
|
||||
.It Ic HOME
|
||||
Toggle horizontal scrolling and associated line-wrapping on and off.
|
||||
.It Ic d No or Ic \&^D
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
G * Go to line N, default the end of the file.
|
||||
p, % * Position to N percent into the file.
|
||||
HOME Toggle horizontal scroll and line-wrap on and off
|
||||
tab * Tab N x 8 columns to the right
|
||||
|
||||
r, ^L Repaint screen.
|
||||
R Repaint screen, discarding buffered input.
|
||||
|
|
Loading…
Reference in a new issue