Skip to content

Commit

Permalink
Move sysless file from /bin to /etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Dec 4, 2001
1 parent 97b35c2 commit 11b59ae
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ exec_prefix = @exec_prefix@
bindir = @bindir@
binprefix =

sysconfdir = @sysconfdir@

mandir = @mandir@
manext = 1
manprefix =
Expand All @@ -35,7 +37,7 @@ SHELL = /bin/sh
# This rule allows us to supply the necessary -D options
# in addition to whatever the user asks for.
.c.o:
${CC} -I. ${CFLAGS_COMPILE_ONLY} -DSYSDIR=\"${bindir}\" ${CPPFLAGS} ${CFLAGS} $<
${CC} -I. ${CFLAGS_COMPILE_ONLY} -DSYSDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} $<

OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
command.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
Expand Down
5 changes: 4 additions & 1 deletion NEWS.VER
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
======================================================================


Major changes between "less" versions 354 and @@VERSION@@
Major changes between "less" versions 358 and @@VERSION@@

* System-wide lesskey file now defaults to etc directory instead of bin.
Use "configure --sysconfdir=..." to change it.

* Windows version sets window title.

Expand Down
4 changes: 2 additions & 2 deletions less.hlp.VER
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
ESC-SPACE * Forward one window, but don't stop at end-of-file.
d ^D * Forward one half-window (and set half-window to _N).
u ^U * Backward one half-window (and set half-window to _N).
ESC-( RightArrow * Left 8 character positions (or _N positions).
ESC-) LeftArrow * Right 8 character positions (or _N positions).
ESC-( RightArrow * Left one half screen width (or _N positions).
ESC-) LeftArrow * Right one half screen width (or _N positions).
F Forward forever; like "tail -f".
r ^R ^L Repaint screen.
R Repaint screen, discarding buffered input.
Expand Down
6 changes: 3 additions & 3 deletions less.nro.VER
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ less \- opposite of more
.br
.B "less --version"
.br
.B "less [-[+]aBcCdeEfgGiImMnNqQrsSuUVwX]"
.B "less [-[+]aBcCdeEfFgGiIJmMnNqQrRsSuUVwWX]"
.br
.B " [-b \fIbufs\fP] [-h \fIlines\fP] [-j \fIline\fP] [-k \fIkeyfile\fP]"
.br
Expand Down Expand Up @@ -918,10 +918,10 @@ uses that as the name of the system-wide lesskey file.
Otherwise,
.I less
looks in a standard place for the system-wide lesskey file:
On Unix systems, the system-wide lesskey file is /usr/local/bin/.sysless.
On Unix systems, the system-wide lesskey file is /usr/local/etc/.sysless.
(However, if
.I less
was built with a different binary directory than /usr/local/bin,
was built with a different sysconf directory than /usr/local/etc,
that directory is where the .sysless file is found.)
On MS-DOS and Windows systems, the system-wide lesskey file is c:\\_sysless.
On OS/2 systems, the system-wide lesskey file is c:\\sysless.ini.
Expand Down
1 change: 1 addition & 0 deletions version.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ v358 7/8/00 Fix problems with #stop in lesskey file.
Posted to Web page.
-----------------------------------------------------------------
v359 9/10/00 Fixes for Win32 display problems (thanks to Maurizio Vairani).
v360 1/17/01 Move sysless to etc.
*/

Expand Down

0 comments on commit 11b59ae

Please sign in to comment.