diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1996-12-28 03:07:51 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1996-12-28 03:07:51 +0000 |
commit | 3960a95f76cc7cde062342bfada1edfdbc987938 (patch) | |
tree | b12a772e36398f242d10f09a9005bd99ff9d17b0 /misc/xless/files | |
parent | Upgrade, 2.5.0 -> 2.6.0. (diff) |
This is a port of xless (version 1.7), a handy text file viewer for X.
Useful as a viewer tool for other apps (e.g., xfm, the X file manager),
or as a standalone viewer. Presents a scrollable text window (both
vertical and horizontal scrolling), with a number of clickable buttons.
Submitted by: Conrad Sabatier <conrads@neosoft.com>
Diffstat (limited to 'misc/xless/files')
-rw-r--r-- | misc/xless/files/patch-aa | 12 | ||||
-rw-r--r-- | misc/xless/files/patch-ab | 32 |
2 files changed, 44 insertions, 0 deletions
diff --git a/misc/xless/files/patch-aa b/misc/xless/files/patch-aa new file mode 100644 index 000000000000..a71f4ffc80ee --- /dev/null +++ b/misc/xless/files/patch-aa @@ -0,0 +1,12 @@ +--- Imakefile.orig Thu Jun 2 16:22:14 1994 ++++ Imakefile Fri Dec 27 18:52:23 1996 +@@ -5,7 +5,8 @@ + * -DPRINTCMD=\"/usr/ucb/lpr\" - path to send file to printer + * -DTILDE_EXPANSION - perform ~ expansion on filenames + */ +- DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION ++ DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION \ ++ -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" + + + SRCS = help.c init.c popup.c util.c callbacks.c window.c main.c \ diff --git a/misc/xless/files/patch-ab b/misc/xless/files/patch-ab new file mode 100644 index 000000000000..b41554543c29 --- /dev/null +++ b/misc/xless/files/patch-ab @@ -0,0 +1,32 @@ +*** ../work/xless-1.7/xless.h Mon Dec 23 15:57:37 1996 +--- xless.h Mon Dec 23 16:11:53 1996 +*************** +*** 38,50 **** + + #define XLESS_MAX_INPUT 256 + +! /* handle differences between K&R and ANSI C */ + #if __STDC__ + #define __P(a) a + #else + #define __P(a) () + #define const + #endif + + /* + * The default editor; make sure the file exists. +--- 38,51 ---- + + #define XLESS_MAX_INPUT 256 + +! /* handle differences between K&R and ANSI C + #if __STDC__ + #define __P(a) a + #else + #define __P(a) () + #define const + #endif ++ */ + + /* + * The default editor; make sure the file exists. |