summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-03-24xman 1.2.0HEADxman-1.2.0masterAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-13unifdef NO_COMPRESSAlan Coopersmith1-6/+0
Had only been defined if defined(__SCO__) || defined(__UNIXWARE__) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-13unifdef INCLUDE_XPRINT_SUPPORTAlan Coopersmith5-155/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef ATHENAAlan Coopersmith1-7/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef BSD < 199103Alan Coopersmith1-9/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef __bsdi__Alan Coopersmith1-8/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef defined(SVR4) && !defined(sun)Alan Coopersmith2-22/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef sonyAlan Coopersmith1-4/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef SCO, __SCO__, and __UNIXWARE__Alan Coopersmith4-93/+13
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef hpuxAlan Coopersmith2-13/+1
Since NO_MANPATH_SUPPORT was only defined if hpux was defined, removes it too. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef __osf__Alan Coopersmith2-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef sgiAlan Coopersmith1-9/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-12unifdef ISCAlan Coopersmith3-11/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-06Restore formatting with modern man-dbgldrk1-1/+2
2023-09-30Free buffered file contents when closing man pagegldrk1-1/+4
2023-09-28xman 1.1.6xman-1.1.6Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-25Fix spelling/wording issuesAlan Coopersmith5-5/+5
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-18Install WM_DELETE_WINDOW handler for search windowAlan Coopersmith3-0/+26
Allows using window manager close icon to close search window without killing the entire program. Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720266 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-04Add -version optionAlan Coopersmith2-0/+21
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-20configure: Use AC_SYS_LARGEFILE to enable large file supportAlan Coopersmith2-0/+12
While xman can't handle files more than 2gb in size, due to libXt API limits, it can handle files with large inodes. (Not that any man page should ever be more than even 1mb in size in reality.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-20gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-02man page: remove out-of-date reference to X(7)Alan Coopersmith1-2/+0
The X(7) man page doesn't list any license information as this had claimed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-07Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-07gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-07-14xman 1.1.5xman-1.1.5Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-05-31Pass -D_CONST_X_STRING to make libXt declare String as const char *Alan Coopersmith1-1/+1
Clears up 62 gcc -Wdiscarded-qualifiers warnings in the xman build Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-05-31Change fallback_resources from char * to String typeAlan Coopersmith1-1/+1
Matches declaration of the libXt XtAppInitialize function that the array is passed to. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-05-31Make CreateManpageWidget use String type for name argumentAlan Coopersmith2-2/+2
Matches declaration of the libXt XtCreatePopupShell function that the name argument is passed to. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-05-31Delete unused function Name() from tkfuncs.cAlan Coopersmith2-18/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-08Fix typo in manual page.Matthieu Herrb1-1/+1
reported by Alejandro G. Peregrina on OpenBSD tech@ list Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-03If we have man-db, don't try and emulate man's pipelineJulien Cristau2-0/+13
Just let man itself do the formatting / zsoelim / ... dance. This became necessary with man-db 2.7.0 moving zsoelim out of $PATH. Debian bug#764792 <https://bugs.debian.org/764792> Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith3-25/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-05-05Change fall through comment in ScrollByL.c to match gcc's requirementsAlan Coopersmith1-1/+1
Needs to match one of the regexps shown under https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough Silences warning from gcc 7.3 of: ScrollByL.c: In function ‘PrintText’: ScrollByL.c:1109:16: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*(c + 1) == BACKSPACE) { ^ ScrollByL.c:1125:9: note: here default: ^~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2015-03-06xman 1.1.4xman-1.1.4Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-11-12Ask groff for text instead of postscript on SolarisAlan Coopersmith1-1/+1
In the last case fallback to groff in #ifdef HANDLE_ROFFSEQ, it was just running "groff -man", which generates postscript output, which xman displays as a text dump of the postscript source, not very readable. Hit on Solaris since it wasn't caught by the earlier checks for CSRG_BASED, linux, __CYGWIN__, and __DARWIN__, which cover most other cases. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-11Fix typos & wording issues in source commentsAlan Coopersmith3-5/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith1-2/+5
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-23Fix shadow warning.Thomas Klausner1-4/+4
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2014-05-23Fix tautology to the intended check.Jörg Sonnenberger1-1/+1
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2014-02-21Use same FORMAT command on cygwin as on linux in HANDLE_ROFFSEQ case as wellJon TURNEY1-1/+1
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2013-10-18Ensure fgets read at least one byte before modifying stringAlan Coopersmith3-4/+13
If a file has a \0 byte (binary file, strange encoding, corruption), fgets() can return a string starting with a \0 byte - check for that before checking to see if the byte before the \0 is a \n, so we don't reach back before the start of our memory buffer. Also check that the penultimate byte is a \n before we chop it off, in case we're reading from a file missing a newline, or a line longer than fit in the buffer provided to fgets(). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-09-08Fix "no search will be preformed" typo in dialog box messageAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-09-06xman 1.1.3xman-1.1.3Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-09-06COPYING: Remove notice for Xprint code removed in 5722ca728763e7Alan Coopersmith1-22/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>