diff options
author | ps <ps@FreeBSD.org> | 2000-07-14 09:51:40 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-07-14 09:51:40 +0000 |
commit | b192628b0e5c11dfea108e4320c2ab0f7bf56518 (patch) | |
tree | deb3e616fca32e2a41f65f1fb1102c4997f17da7 /contrib/less/opttbl.c | |
parent | 58dad7500ca2c1fbe603212b0ee945d2491c31d0 (diff) | |
parent | 5d465776b9e058088e1f29636cf7cdcb0c13eb0d (diff) | |
download | FreeBSD-src-b192628b0e5c11dfea108e4320c2ab0f7bf56518.zip FreeBSD-src-b192628b0e5c11dfea108e4320c2ab0f7bf56518.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r63128,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/less/opttbl.c')
-rw-r--r-- | contrib/less/opttbl.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/less/opttbl.c b/contrib/less/opttbl.c index da4bef0..132de68 100644 --- a/contrib/less/opttbl.c +++ b/contrib/less/opttbl.c @@ -44,6 +44,8 @@ public int chopline; /* Truncate displayed lines at screen width */ public int no_init; /* Disable sending ti/te termcap strings */ public int twiddle; /* Show tildes after EOF */ public int show_attn; /* Hilite first unread line */ +public int shift_count; /* Number of positions to shift horizontally */ +public int status_col; /* Display a status column */ #if HILITE_SEARCH public int hilite_search; /* Highlight matched search patterns? */ #endif @@ -68,6 +70,7 @@ static struct optname g_optname = { "hilite-search", NULL }; static struct optname h_optname = { "max-back-scroll", NULL }; static struct optname i_optname = { "ignore-case", NULL }; static struct optname j_optname = { "jump-target", NULL }; +static struct optname J__optname = { "status-column", NULL }; #if USERFILE static struct optname k_optname = { "lesskey-file", NULL }; #endif @@ -98,6 +101,7 @@ static struct optname z_optname = { "window", NULL }; static struct optname quote_optname = { "quotes", NULL }; static struct optname tilde_optname = { "tilde", NULL }; static struct optname query_optname = { "help", NULL }; +static struct optname pound_optname = { "shift", NULL }; /* @@ -186,6 +190,12 @@ static struct option option[] = "Position target at screen line %d", NULL }, + { 'J', &J__optname, + BOOL|REPAINT, OPT_OFF, &status_col, NULL, + "Don't display a status column", + "Display a status column", + NULL + }, #if USERFILE { 'k', &k_optname, STRING|NO_TOGGLE|NO_QUERY, 0, NULL, opt_k, @@ -314,6 +324,12 @@ static struct option option[] = NOVAR, 0, NULL, opt_query, NULL, NULL, NULL }, + { '#', £_optname, + NUMBER, 0, &shift_count, NULL, + "Horizontal shift: ", + "Horizontal shift %d positions", + NULL + }, { '\0', NULL, NOVAR, 0, NULL, NULL, NULL, NULL, NULL } }; |