diff options
author | Alessandro Pittaluga <agp@pittux.com> | 2017-01-26 20:45:01 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-28 07:38:08 +0700 |
commit | 066b0b5a9efdf61f6ed1b444c5aedc4b5e3ba2f1 (patch) | |
tree | 3caaebf9743063ad15df6d39e3ed603c8ad07482 /development | |
parent | 0aef9d394b74331feb7c54de36c9a086396d0468 (diff) | |
download | slackbuilds-066b0b5a9efdf61f6ed1b444c5aedc4b5e3ba2f1.tar.gz |
development/nedit: Install 'ncl' + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/nedit/README | 3 | ||||
-rw-r--r-- | development/nedit/nedit.SlackBuild | 14 | ||||
-rw-r--r-- | development/nedit/nedit.info | 4 | ||||
-rw-r--r-- | development/nedit/nedit.patch | 1155 |
4 files changed, 1166 insertions, 10 deletions
diff --git a/development/nedit/README b/development/nedit/README index f553800b4e..15f10f4004 100644 --- a/development/nedit/README +++ b/development/nedit/README @@ -3,3 +3,6 @@ NEdit (text editor with GUI) NEdit is a powerful plain text editor with a Motif GUI. It features advanced macros, line numbering and syntax highlighting. Despite being feature rich it is easy to use, even for casual users. + +The Slackbuild renames 'nc' (the client version of nedit) to 'ncl', +to avoid a clash with netcat. diff --git a/development/nedit/nedit.SlackBuild b/development/nedit/nedit.SlackBuild index 5e2d0be007..5c4b43825a 100644 --- a/development/nedit/nedit.SlackBuild +++ b/development/nedit/nedit.SlackBuild @@ -2,8 +2,10 @@ # Slackware build script for nedit -# Copyright 2014 Tomasz Konojacki <me@xenu.tk> +# Copyright 2017 Alessandro Pittaluga <agp@pittux.com> # All rights reserved. + +# Author and Previous Mantainer Tomasz Konojacki <me@xenu.tk> # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -25,12 +27,12 @@ PRGNAM=nedit VERSION=${VERSION:-5.6a} NUMVER=$(echo $VERSION | tr -d '[:alpha:]') -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -77,7 +79,9 @@ make CFLAGS="${SLKCFLAGS} -DBUILD_UNTESTED_NEDIT" linux mkdir -p $PKG/usr/bin $PKG/usr/man/man1 install -m 755 source/nedit $PKG/usr/bin/nedit +install -m 755 source/nc $PKG/usr/bin/ncl install -m 644 doc/nedit.man $PKG/usr/man/man1/nedit.1 +install -m 644 doc/ncl.man $PKG/usr/man/man1/ncl.1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/development/nedit/nedit.info b/development/nedit/nedit.info index 6b97d32cd5..b723d1648f 100644 --- a/development/nedit/nedit.info +++ b/development/nedit/nedit.info @@ -6,5 +6,5 @@ MD5SUM="f8d7e22879c7e9c62ad02eef078f1c2b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Tomasz Konojacki" -EMAIL="me@xenu.tk" +MAINTAINER="Alessandro Pittaluga" +EMAIL="agp@pittux.com" diff --git a/development/nedit/nedit.patch b/development/nedit/nedit.patch index 9eac5b9eb9..55f3528b26 100644 --- a/development/nedit/nedit.patch +++ b/development/nedit/nedit.patch @@ -1,6 +1,1155 @@ -diff -u -r nedit-5.6/util/check_lin_tif.c nedit-5.6-patched/util/check_lin_tif.c ---- nedit-5.6/util/check_lin_tif.c 2014-12-28 13:56:21.000000000 +0000 -+++ nedit-5.6-patched/util/check_lin_tif.c 2015-08-07 11:18:29.404307905 +0100 +diff -urN nedit-5.6/doc/Makefile nedit-5.6-patched/doc/Makefile +--- nedit-5.6/doc/Makefile 2014-12-28 14:56:20.000000000 +0100 ++++ nedit-5.6-patched/doc/Makefile 2017-01-26 17:22:58.849450939 +0100 +@@ -69,7 +69,7 @@ + @ echo "Creating NEdit plain text documenation..." + @ ./setext -c NEDITDOC -v version="`cat .version`" help.etx nedit.doc + +-nc.man: .version ++ncl.man: .version + nedit.man: .version + .pod.man: + @ echo "Creating $* man page..." +@@ -78,13 +78,13 @@ + + doc: .version nedit.doc nedit.html html/nedit.html + +-man: .version nedit.man nc.man ++man: .version nedit.man ncl.man + + all: help doc man + + clean: + @ echo "Removing generated NEdit documentation..." +- @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man ++ @ rm -rf help nedit.html html nedit.doc .version nedit.man ncl.man + + # + # FAQ targets. Requires an XSLT parser and processor, such as Java with the +diff -urN nedit-5.6/doc/nc.man nedit-5.6-patched/doc/nc.man +--- nedit-5.6/doc/nc.man 2015-03-31 04:25:14.000000000 +0200 ++++ nedit-5.6-patched/doc/nc.man 1970-01-01 01:00:00.000000000 +0100 +@@ -1,319 +0,0 @@ +-.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) +-.\" +-.\" Standard preamble: +-.\" ======================================================================== +-.de Sp \" Vertical space (when we can't use .PP) +-.if t .sp .5v +-.if n .sp +-.. +-.de Vb \" Begin verbatim text +-.ft CW +-.nf +-.ne \\$1 +-.. +-.de Ve \" End verbatim text +-.ft R +-.fi +-.. +-.\" Set up some character translations and predefined strings. \*(-- will +-.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +-.\" double quote, and \*(R" will give a right double quote. \*(C+ will +-.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +-.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +-.\" nothing in troff, for use with C<>. +-.tr \(*W- +-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +-.ie n \{\ +-. ds -- \(*W- +-. ds PI pi +-. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +-. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +-. ds L" "" +-. ds R" "" +-. ds C` "" +-. ds C' "" +-'br\} +-.el\{\ +-. ds -- \|\(em\| +-. ds PI \(*p +-. ds L" `` +-. ds R" '' +-'br\} +-.\" +-.\" Escape single quotes in literal strings from groff's Unicode transform. +-.ie \n(.g .ds Aq \(aq +-.el .ds Aq ' +-.\" +-.\" If the F register is turned on, we'll generate index entries on stderr for +-.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +-.\" entries marked with X<> in POD. Of course, you'll have to process the +-.\" output yourself in some meaningful fashion. +-.ie \nF \{\ +-. de IX +-. tm Index:\\$1\t\\n%\t"\\$2" +-.. +-. nr % 0 +-. rr F +-.\} +-.el \{\ +-. de IX +-.. +-.\} +-.\" +-.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +-.\" Fear. Run. Save yourself. No user-serviceable parts. +-. \" fudge factors for nroff and troff +-.if n \{\ +-. ds #H 0 +-. ds #V .8m +-. ds #F .3m +-. ds #[ \f1 +-. ds #] \fP +-.\} +-.if t \{\ +-. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +-. ds #V .6m +-. ds #F 0 +-. ds #[ \& +-. ds #] \& +-.\} +-. \" simple accents for nroff and troff +-.if n \{\ +-. ds ' \& +-. ds ` \& +-. ds ^ \& +-. ds , \& +-. ds ~ ~ +-. ds / +-.\} +-.if t \{\ +-. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +-. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +-. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +-. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +-. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +-. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +-.\} +-. \" troff and (daisy-wheel) nroff accents +-.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +-.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +-.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +-.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +-.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +-.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +-.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +-.ds ae a\h'-(\w'a'u*4/10)'e +-.ds Ae A\h'-(\w'A'u*4/10)'E +-. \" corrections for vroff +-.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +-.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +-. \" for low resolution devices (crt and lpr) +-.if \n(.H>23 .if \n(.V>19 \ +-\{\ +-. ds : e +-. ds 8 ss +-. ds o a +-. ds d- d\h'-1'\(ga +-. ds D- D\h'-1'\(hy +-. ds th \o'bp' +-. ds Th \o'LP' +-. ds ae ae +-. ds Ae AE +-.\} +-.rm #[ #] #H #V #F C +-.\" ======================================================================== +-.\" +-.IX Title "NC 1" +-.TH NC 1 "2014-12-28" "5.6" "NEdit documentation" +-.\" For nroff, turn off justification. Always turn off hyphenation; it makes +-.\" way too many mistakes in technical documents. +-.if n .ad l +-.nh +-.SH "NAME" +-nc \- Client program for NEdit text editor +-.SH "SYNOPSYS" +-.IX Header "SYNOPSYS" +-nc [\fB\-read\fR] [\fB\-create\fR] [\fB\-line\fR \fIn\fR | \fB+\fR\fIn\fR] [\fB\-do\fR \fIcommand\fR] +- [\fB\-ask\fR] [\fB\-noask\fR] [\fB\-svrname\fR \fIname\fR] [\fB\-svrcmd\fR \fIcommand\fR] +- [\fB\-lm\fR \fIlanguagemode\fR] +- [\fB\-geometry\fR \fIgeometry\fR | \fB\-g\fR \fIgeometry\fR] [\fB\-icon\fR | \fB\-iconic\fR] +- [\fB\-display\fR \fI[host]:server[.screen]\fR] +- [\fB\-timeout\fR \fIseconds\fR] [\fB\-wait\fR] [\fB\-xrm\fR \fIresourcestring\fR] +- [\fB\-tabbed\fR] [\fB\-untabbed\fR] [\fB\-group\fR] +- [\fB\-V\fR | \fB\-version\fR] [\fB\-h\fR | \fB\-help\fR] [\fB\-\-\fR] [file...] +-.SH "DESCRIPTION" +-.IX Header "DESCRIPTION" +-\&\fBnc\fR is the client interface to the NEdit text editor. A server can be started +-explicitly by running NEdit in server mode: +-.PP +-.Vb 1 +-\& nedit \-server +-.Ve +-.PP +-If no server is running, \fBnc\fR will start one unless configured otherwise. +-Client/server mode is useful for integrating NEdit with software development +-environments, mailers, and other programs; or just as a quick way to open files +-from the shell command line without starting a new NEdit session. +-.SH "OPTIONS" +-.IX Header "OPTIONS" +-.IP "\fB\-read\fR" 4 +-.IX Item "-read" +-Open the file read-only regardless of the actual file protection. +-.IP "\fB\-create\fR" 4 +-.IX Item "-create" +-Don't warn about file creation when a file doesn't exist. +-.IP "\fB\-line\fR \fIn\fR, \fB+\fR\fIn\fR" 4 +-.IX Item "-line n, +n" +-Go to line number \fIn\fR. +-.IP "\fB\-do\fR \fIcommand\fR" 4 +-.IX Item "-do command" +-Execute an NEdit macro or action on the file following the \-do argument on the +-command line. +-.Sp +-If you use this command without a filename, \fBnc\fR would randomly choose one +-window to focus and execute the macro in. +-.IP "\fB\-ask\fR, \fB\-noask\fR" 4 +-.IX Item "-ask, -noask" +-Instructs \fBnc\fR whether to automatically start a server if one is not +-available. This overrides the X resource `nc.autoStart'. +-.IP "\fB\-svrname\fR \fIname\fR" 4 +-.IX Item "-svrname name" +-Explicitly instructs \fBnc\fR which server to connect to, an instance of +-\&\fInedit\fR\|(1) with a corresponding \fB\-svrname\fR argument. By naming servers, you +-can run several simultaneously, and direct files and commands specifically to +-any one. +-.IP "\fB\-svrcmd\fR \fIcommand\fR" 4 +-.IX Item "-svrcmd command" +-The command which \fBnc\fR uses to start an NEdit server. It is also settable via +-the X resource `nc.serverCommand', by default, \fI\*(L"nedit \-server\*(R"\fR. +-.IP "\fB\-lm\fR \fIlanguagemode\fR" 4 +-.IX Item "-lm languagemode" +-Initial language mode used for editing succeeding files. +-.IP "\fB\-geometry\fR \fIgeometry\fR, \fB\-g\fR \fIgeometry\fR" 4 +-.IX Item "-geometry geometry, -g geometry" +-The initial size and/or location of editor windows. The argument geometry has +-the form: +-.Sp +-.Vb 1 +-\& [<width>x<height>][+|\-][<xoffset>[+|\-]<yoffset>] +-.Ve +-.Sp +-where `<width>' and `<height>' are the desired width and +-height of the window, and `<xoffset>' and `<yoffset>' are the +-distance from the edge of the screen to the window, + for top or left, \- for +-bottom or right. \fB\-geometry\fR can be specified for individual files on the +-command line. +-.IP "\fB\-icon\fR, \fB\-iconic\fR" 4 +-.IX Item "-icon, -iconic" +-Initial window state for succeeding files. +-.IP "\fB\-display\fR \fI[host]:server[.screen]\fR" 4 +-.IX Item "-display [host]:server[.screen]" +-The name of the X server to use. host specifies the machine, server specifies +-the display server number, and screen specifies the screen number. host or +-screen can be omitted and default to the local machine, and screen 0. +-.IP "\fB\-timeout\fR \fIseconds\fR" 4 +-.IX Item "-timeout seconds" +-Basic time-out period (in seconds) used in communication with an NEdit server. +-Default: 10 seconds. Also settable via the X resource `nc.timeOut'. +-.Sp +-Under rare conditions (such as a slow connection), it may be necessary to +-increase the time-out period. In most cases, the default is fine. +-.IP "\fB\-wait\fR" 4 +-.IX Item "-wait" +-Instructs \fBnc\fR not to return to the shell until all files given +-are closed. +-.Sp +-Normally, \fBnc\fR returns once the files given in its command line +-are opened by the server. When this option is given, nc returns +-only after the last file given in this call is closed. +-Note that this option affects all files, not only the ones +-following this option in the command line. +-.IP "\fB\-xrm\fR \fIresourcestring\fR" 4 +-.IX Item "-xrm resourcestring" +-Set the value of an X resource to override a default value. +-.IP "\fB\-tabbed\fR" 4 +-.IX Item "-tabbed" +-Open all subsequent files in new tabs. Resets \fB\-group\fR option. +-.IP "\fB\-untabbed\fR" 4 +-.IX Item "-untabbed" +-Open all subsequent files in new windows. Resets \fB\-group\fR option. +-.IP "\fB\-group\fR" 4 +-.IX Item "-group" +-Open all subsequent files as tabs in a new window. +-.IP "\fB\-V\fR, \fB\-version\fR" 4 +-.IX Item "-V, -version" +-Prints version and build information, to be mentioned when reporting bugs and +-problems. +-.IP "\fB\-h\fR, \fB\-help\fR" 4 +-.IX Item "-h, -help" +-Prints the command line help and then exits. +-.IP "\fB\-\-\fR" 4 +-.IX Item "--" +-Treats all subsequent arguments as file names, even if they start with a dash. +-This is so NEdit can access files that begin with the dash character. +-.SH "ENVIRONMENT" +-.IX Header "ENVIRONMENT" +-.IP "\s-1DISPLAY\s0" 4 +-.IX Item "DISPLAY" +-NEdit requires an X\-based workstation or X\-Terminal. If you have used \fBtelnet\fR +-or \fBrlogin\fR to access the host Unix system, set the Unix environment variable +-for your display: +-.Sp +-.Vb 1 +-\& % setenv DISPLAY devicename:0 +-.Ve +-.SH "NOTES" +-.IX Header "NOTES" +-Communication between \fInc\fR\|(1) and \fInedit\fR\|(1) is through the X display. So as +-long as X windows is set up and working properly, \fBnc\fR will work properly +-as well. \fBnc\fR uses the `\s-1DISPLAY\s0' environment variable, the machine name and +-your user name to find the appropriate server, meaning, if you have several +-machines sharing a common file system, \fBnc\fR will not be able to find a server +-that is running on a machine with a different host name, even though it may be +-perfectly appropriate for editing a given file. +-.PP +-In typical Unix style, arguments affect the files which follow them on the +-command line, for example: +-.IP "incorrect:" 4 +-.IX Item "incorrect:" +-.Vb 1 +-\& nc file.c \-line 25 +-.Ve +-.IP "correct:" 4 +-.IX Item "correct:" +-.Vb 1 +-\& nc \-line 25 file.c +-.Ve +-.PP +-For more information see NEdit's online help, or \fInedit.doc\fR in the NEdit +-distribution kit. +-.SH "SEE ALSO" +-.IX Header "SEE ALSO" +-\&\fInedit\fR\|(1), X(1), \fImwm\fR\|(1), \fIctags\fR\|(1), \fIetags\fR\|(1) +-.SH "AUTHORS" +-.IX Header "AUTHORS" +-NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim +-Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken, +-Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander +-Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray, +-and \s-1TK\s0 Soh. +-.SH "COPYRIGHT" +-.IX Header "COPYRIGHT" +-This program is free software; you can redistribute it and/or modify it under +-the terms of the \s-1GNU\s0 General Public License as published by the Free Software +-Foundation; either version 2 of the License, or (at your option) any later +-version. +-.PP +-In addition, as a special exception to the \s-1GNU\s0 \s-1GPL\s0, the copyright holders give +-permission to link the code of this program with the Motif and Open Motif +-libraries (or with modified versions of these that use the same license), and +-distribute linked combinations including the two. You must obey the \s-1GNU\s0 General +-Public License in all respects for all of the code used other than linking with +-Motif/Open Motif. If you modify this file, you may extend this exception to your +-version of the file, but you are not obligated to do so. If you do not wish to +-do so, delete this exception statement from your version. +-.PP +-This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 +-\&\s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A +-\&\s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License in the Help section +-\&\*(L"Distribution Policy\*(R" for more details. +diff -urN nedit-5.6/doc/nc.pod nedit-5.6-patched/doc/nc.pod +--- nedit-5.6/doc/nc.pod 2014-12-28 14:56:20.000000000 +0100 ++++ nedit-5.6-patched/doc/nc.pod 1970-01-01 01:00:00.000000000 +0100 +@@ -1,229 +0,0 @@ +-# $Id: nc.pod,v 1.7 2005/03/03 14:49:37 edg Exp $ +-=pod +- +-=head1 NAME +- +-nc - Client program for NEdit text editor +- +-=head1 SYNOPSYS +- +-nc [B<-read>] [B<-create>] [B<-line> I<n> | B<+>I<n>] [B<-do> I<command>] +- [B<-ask>] [B<-noask>] [B<-svrname> I<name>] [B<-svrcmd> I<command>] +- [B<-lm> I<languagemode>] +- [B<-geometry> I<geometry> | B<-g> I<geometry>] [B<-icon> | B<-iconic>] +- [B<-display> I<[host]:server[.screen]>] +- [B<-timeout> I<seconds>] [B<-wait>] [B<-xrm> I<resourcestring>] +- [B<-tabbed>] [B<-untabbed>] [B<-group>] +- [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...] +- +-=head1 DESCRIPTION +- +-B<nc> is the client interface to the NEdit text editor. A server can be started +-explicitly by running NEdit in server mode: +- +- nedit -server +- +-If no server is running, B<nc> will start one unless configured otherwise. +-Client/server mode is useful for integrating NEdit with software development +-environments, mailers, and other programs; or just as a quick way to open files +-from the shell command line without starting a new NEdit session. +- +-=head1 OPTIONS +- +-=over +- +-=item B<-read> +- +-Open the file read-only regardless of the actual file protection. +- +-=item B<-create> +- +-Don't warn about file creation when a file doesn't exist. +- +-=item B<-line> I<n>, B<+>I<n> +- +-Go to line number I<n>. +- +-=item B<-do> I<command> +- +-Execute an NEdit macro or action on the file following the -do argument on the +-command line. +- +-If you use this command without a filename, B<nc> would randomly choose one +-window to focus and execute the macro in. +- +-=item B<-ask>, B<-noask> +- +-Instructs B<nc> whether to automatically start a server if one is not +-available. This overrides the X resource `nc.autoStart'. +- +- +-=item B<-svrname> I<name> +- +-Explicitly instructs B<nc> which server to connect to, an instance of +-L<nedit(1)> with a corresponding B<-svrname> argument. By naming servers, you +-can run several simultaneously, and direct files and commands specifically to +-any one. +- +-=item B<-svrcmd> I<command> +- +-The command which B<nc> uses to start an NEdit server. It is also settable via +-the X resource `nc.serverCommand', by default, I<"nedit -server">. +- +-=item B<-lm> I<languagemode> +- +-Initial language mode used for editing succeeding files. +- +-=item B<-geometry> I<geometry>, B<-g> I<geometry> +- +-The initial size and/or location of editor windows. The argument geometry has +-the form: +- +- [<width>x<height>][+|-][<xoffset>[+|-]<yoffset>] +- +-where `<width>' and `<height>' are the desired width and +-height of the window, and `<xoffset>' and `<yoffset>' are the +-distance from the edge of the screen to the window, + for top or left, - for +-bottom or right. B<-geometry> can be specified for individual files on the +-command line. +- +-=item B<-icon>, B<-iconic> +- +-Initial window state for succeeding files. +- +-=item B<-display> I<[host]:server[.screen]> +- +-The name of the X server to use. host specifies the machine, server specifies +-the display server number, and screen specifies the screen number. host or +-screen can be omitted and default to the local machine, and screen 0. +- +-=item B<-timeout> I<seconds> +- +-Basic time-out period (in seconds) used in communication with an NEdit server. +-Default: 10 seconds. Also settable via the X resource `nc.timeOut'. +- +-Under rare conditions (such as a slow connection), it may be necessary to +-increase the time-out period. In most cases, the default is fine. +- +-=item B<-wait> +- +-Instructs B<nc> not to return to the shell until all files given +-are closed. +- +-Normally, B<nc> returns once the files given in its command line +-are opened by the server. When this option is given, nc returns +-only after the last file given in this call is closed. +-Note that this option affects all files, not only the ones +-following this option in the command line. +- +- +-=item B<-xrm> I<resourcestring> +- +-Set the value of an X resource to override a default value. +- +-=item B<-tabbed> +- +-Open all subsequent files in new tabs. Resets B<-group> option. +- +-=item B<-untabbed> +- +-Open all subsequent files in new windows. Resets B<-group> option. +- +-=item B<-group> +- +-Open all subsequent files as tabs in a new window. +- +- +-=item B<-V>, B<-version> +- +-Prints version and build information, to be mentioned when reporting bugs and +-problems. +- +-=item B<-h>, B<-help> +- +-Prints the command line help and then exits. +- +-=item B<--> +- +-Treats all subsequent arguments as file names, even if they start with a dash. +-This is so NEdit can access files that begin with the dash character. +- +- +-=back +- +-=head1 ENVIRONMENT +- +-=over +- +-=item DISPLAY +- +-NEdit requires an X-based workstation or X-Terminal. If you have used B<telnet> +-or B<rlogin> to access the host Unix system, set the Unix environment variable +-for your display: +- +- % setenv DISPLAY devicename:0 +- +-=back +- +-=head1 NOTES +- +-Communication between L<nc(1)> and L<nedit(1)> is through the X display. So as +-long as X windows is set up and working properly, B<nc> will work properly +-as well. B<nc> uses the `DISPLAY' environment variable, the machine name and +-your user name to find the appropriate server, meaning, if you have several +-machines sharing a common file system, B<nc> will not be able to find a server +-that is running on a machine with a different host name, even though it may be +-perfectly appropriate for editing a given file. +- +-In typical Unix style, arguments affect the files which follow them on the +-command line, for example: +- +-=over +- +-=item incorrect: +- +- nc file.c -line 25 +- +-=item correct: +- +- nc -line 25 file.c +- +-=back +- +-For more information see NEdit's online help, or I<nedit.doc> in the NEdit +-distribution kit. +- +-=head1 SEE ALSO +- +-nedit(1), X(1), mwm(1), ctags(1), etags(1) +- +-=head1 AUTHORS +- +-NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim +-Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken, +-Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander +-Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray, +-and TK Soh. +- +-=head1 COPYRIGHT +- +-This program is free software; you can redistribute it and/or modify it under +-the terms of the GNU General Public License as published by the Free Software +-Foundation; either version 2 of the License, or (at your option) any later +-version. +- +-In addition, as a special exception to the GNU GPL, the copyright holders give +-permission to link the code of this program with the Motif and Open Motif +-libraries (or with modified versions of these that use the same license), and +-distribute linked combinations including the two. You must obey the GNU General +-Public License in all respects for all of the code used other than linking with +-Motif/Open Motif. If you modify this file, you may extend this exception to your +-version of the file, but you are not obligated to do so. If you do not wish to +-do so, delete this exception statement from your version. +- +-This program is distributed in the hope that it will be useful, but WITHOUT ANY +-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +-PARTICULAR PURPOSE. See the GNU General Public License in the Help section +-"Distribution Policy" for more details. +- +-=cut +diff -urN nedit-5.6/doc/ncl.man nedit-5.6-patched/doc/ncl.man +--- nedit-5.6/doc/ncl.man 1970-01-01 01:00:00.000000000 +0100 ++++ nedit-5.6-patched/doc/ncl.man 2017-01-26 17:23:14.961450481 +0100 +@@ -0,0 +1,328 @@ ++.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) ++.\" ++.\" Standard preamble: ++.\" ======================================================================== ++.de Sp \" Vertical space (when we can't use .PP) ++.if t .sp .5v ++.if n .sp ++.. ++.de Vb \" Begin verbatim text ++.ft CW ++.nf ++.ne \\$1 ++.. ++.de Ve \" End verbatim text ++.ft R ++.fi ++.. ++.\" Set up some character translations and predefined strings. \*(-- will ++.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left ++.\" double quote, and \*(R" will give a right double quote. \*(C+ will ++.\" give a nicer C++. Capital omega is used to do unbreakable dashes and ++.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, ++.\" nothing in troff, for use with C<>. ++.tr \(*W- ++.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' ++.ie n \{\ ++. ds -- \(*W- ++. ds PI pi ++. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch ++. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch ++. ds L" "" ++. ds R" "" ++. ds C` "" ++. ds C' "" ++'br\} ++.el\{\ ++. ds -- \|\(em\| ++. ds PI \(*p ++. ds L" `` ++. ds R" '' ++. ds C` ++. ds C' ++'br\} ++.\" ++.\" Escape single quotes in literal strings from groff's Unicode transform. ++.ie \n(.g .ds Aq \(aq ++.el .ds Aq ' ++.\" ++.\" If the F register is turned on, we'll generate index entries on stderr for ++.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index ++.\" entries marked with X<> in POD. Of course, you'll have to process the ++.\" output yourself in some meaningful fashion. ++.\" ++.\" Avoid warning from groff about undefined register 'F'. ++.de IX ++.. ++.nr rF 0 ++.if \n(.g .if rF .nr rF 1 ++.if (\n(rF:(\n(.g==0)) \{ ++. if \nF \{ ++. de IX ++. tm Index:\\$1\t\\n%\t"\\$2" ++.. ++. if !\nF==2 \{ ++. nr % 0 ++. nr F 2 ++. \} ++. \} ++.\} ++.rr rF ++.\" ++.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). ++.\" Fear. Run. Save yourself. No user-serviceable parts. ++. \" fudge factors for nroff and troff ++.if n \{\ ++. ds #H 0 ++. ds #V .8m ++. ds #F .3m ++. ds #[ \f1 ++. ds #] \fP ++.\} ++.if t \{\ ++. ds #H ((1u-(\\\\n(.fu%2u))*.13m) ++. ds #V .6m ++. ds #F 0 ++. ds #[ \& ++. ds #] \& ++.\} ++. \" simple accents for nroff and troff ++.if n \{\ ++. ds ' \& ++. ds ` \& ++. ds ^ \& ++. ds , \& ++. ds ~ ~ ++. ds / ++.\} ++.if t \{\ ++. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" ++. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' ++. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' ++. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' ++. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' ++. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' ++.\} ++. \" troff and (daisy-wheel) nroff accents ++.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' ++.ds 8 \h'\*(#H'\(*b\h'-\*(#H' ++.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] ++.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' ++.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' ++.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] ++.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] ++.ds ae a\h'-(\w'a'u*4/10)'e ++.ds Ae A\h'-(\w'A'u*4/10)'E ++. \" corrections for vroff ++.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' ++.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' ++. \" for low resolution devices (crt and lpr) ++.if \n(.H>23 .if \n(.V>19 \ ++\{\ ++. ds : e ++. ds 8 ss ++. ds o a ++. ds d- d\h'-1'\(ga ++. ds D- D\h'-1'\(hy ++. ds th \o'bp' ++. ds Th \o'LP' ++. ds ae ae ++. ds Ae AE ++.\} ++.rm #[ #] #H #V #F C ++.\" ======================================================================== ++.\" ++.IX Title "NCL 1" ++.TH NCL 1 "2017-01-26" "5.6" "NEdit documentation" ++.\" For nroff, turn off justification. Always turn off hyphenation; it makes ++.\" way too many mistakes in technical documents. ++.if n .ad l ++.nh ++.SH "NAME" ++ncl \- Client program for NEdit text editor ++.SH "SYNOPSYS" ++.IX Header "SYNOPSYS" ++ncl [\fB\-read\fR] [\fB\-create\fR] [\fB\-line\fR \fIn\fR | \fB+\fR\fIn\fR] [\fB\-do\fR \fIcommand\fR] ++ [\fB\-ask\fR] [\fB\-noask\fR] [\fB\-svrname\fR \fIname\fR] [\fB\-svrcmd\fR \fIcommand\fR] ++ [\fB\-lm\fR \fIlanguagemode\fR] ++ [\fB\-geometry\fR \fIgeometry\fR | \fB\-g\fR \fIgeometry\fR] [\fB\-icon\fR | \fB\-iconic\fR] ++ [\fB\-display\fR \fI[host]:server[.screen]\fR] ++ [\fB\-timeout\fR \fIseconds\fR] [\fB\-wait\fR] [\fB\-xrm\fR \fIresourcestring\fR] ++ [\fB\-tabbed\fR] [\fB\-untabbed\fR] [\fB\-group\fR] ++ [\fB\-V\fR | \fB\-version\fR] [\fB\-h\fR | \fB\-help\fR] [\fB\-\-\fR] [file...] ++.SH "DESCRIPTION" ++.IX Header "DESCRIPTION" ++\&\fBncl\fR is the client interface to the NEdit text editor. A server can be started ++explicitly by running NEdit in server mode: ++.PP ++.Vb 1 ++\& nedit \-server ++.Ve ++.PP ++If no server is running, \fBncl\fR will start one unless configured otherwise. ++Client/server mode is useful for integrating NEdit with software development ++environments, mailers, and other programs; or just as a quick way to open files ++from the shell command line without starting a new NEdit session. ++.SH "OPTIONS" ++.IX Header "OPTIONS" ++.IP "\fB\-read\fR" 4 ++.IX Item "-read" ++Open the file read-only regardless of the actual file protection. ++.IP "\fB\-create\fR" 4 ++.IX Item "-create" ++Don't warn about file creation when a file doesn't exist. ++.IP "\fB\-line\fR \fIn\fR, \fB+\fR\fIn\fR" 4 ++.IX Item "-line n, +n" ++Go to line number \fIn\fR. ++.IP "\fB\-do\fR \fIcommand\fR" 4 ++.IX Item "-do command" ++Execute an NEdit macro or action on the file following the \-do argument on the ++command line. ++.Sp ++If you use this command without a filename, \fBncl\fR would randomly choose one ++window to focus and execute the macro in. ++.IP "\fB\-ask\fR, \fB\-noask\fR" 4 ++.IX Item "-ask, -noask" ++Instructs \fBncl\fR whether to automatically start a server if one is not ++available. This overrides the X resource `nc.autoStart'. ++.IP "\fB\-svrname\fR \fIname\fR" 4 ++.IX Item "-svrname name" ++Explicitly instructs \fBncl\fR which server to connect to, an instance of ++\&\fInedit\fR\|(1) with a corresponding \fB\-svrname\fR argument. By naming servers, you ++can run several simultaneously, and direct files and commands specifically to ++any one. ++.IP "\fB\-svrcmd\fR \fIcommand\fR" 4 ++.IX Item "-svrcmd command" ++The command which \fBncl\fR uses to start an NEdit server. It is also settable via ++the X resource `nc.serverCommand', by default, \fI\*(L"nedit \-server\*(R"\fR. ++.IP "\fB\-lm\fR \fIlanguagemode\fR" 4 ++.IX Item "-lm languagemode" ++Initial language mode used for editing succeeding files. ++.IP "\fB\-geometry\fR \fIgeometry\fR, \fB\-g\fR \fIgeometry\fR" 4 ++.IX Item "-geometry geometry, -g geometry" ++The initial size and/or location of editor windows. The argument geometry has ++the form: ++.Sp ++.Vb 1 ++\& [<width>x<height>][+|\-][<xoffset>[+|\-]<yoffset>] ++.Ve ++.Sp ++where `<width>' and `<height>' are the desired width and ++height of the window, and `<xoffset>' and `<yoffset>' are the ++distance from the edge of the screen to the window, + for top or left, \- for ++bottom or right. \fB\-geometry\fR can be specified for individual files on the ++command line. ++.IP "\fB\-icon\fR, \fB\-iconic\fR" 4 ++.IX Item "-icon, -iconic" ++Initial window state for succeeding files. ++.IP "\fB\-display\fR \fI[host]:server[.screen]\fR" 4 ++.IX Item "-display [host]:server[.screen]" ++The name of the X server to use. host specifies the machine, server specifies ++the display server number, and screen specifies the screen number. host or ++screen can be omitted and default to the local machine, and screen 0. ++.IP "\fB\-timeout\fR \fIseconds\fR" 4 ++.IX Item "-timeout seconds" ++Basic time-out period (in seconds) used in communication with an NEdit server. ++Default: 10 seconds. Also settable via the X resource `nc.timeOut'. ++.Sp ++Under rare conditions (such as a slow connection), it may be necessary to ++increase the time-out period. In most cases, the default is fine. ++.IP "\fB\-wait\fR" 4 ++.IX Item "-wait" ++Instructs \fBncl\fR not to return to the shell until all files given ++are closed. ++.Sp ++Normally, \fBncl\fR returns once the files given in its command line ++are opened by the server. When this option is given, ncl returns ++only after the last file given in this call is closed. ++Note that this option affects all files, not only the ones ++following this option in the command line. ++.IP "\fB\-xrm\fR \fIresourcestring\fR" 4 ++.IX Item "-xrm resourcestring" ++Set the value of an X resource to override a default value. ++.IP "\fB\-tabbed\fR" 4 ++.IX Item "-tabbed" ++Open all subsequent files in new tabs. Resets \fB\-group\fR option. ++.IP "\fB\-untabbed\fR" 4 ++.IX Item "-untabbed" ++Open all subsequent files in new windows. Resets \fB\-group\fR option. ++.IP "\fB\-group\fR" 4 ++.IX Item "-group" ++Open all subsequent files as tabs in a new window. ++.IP "\fB\-V\fR, \fB\-version\fR" 4 ++.IX Item "-V, -version" ++Prints version and build information, to be mentioned when reporting bugs and ++problems. ++.IP "\fB\-h\fR, \fB\-help\fR" 4 ++.IX Item "-h, -help" ++Prints the command line help and then exits. ++.IP "\fB\-\-\fR" 4 ++.IX Item "--" ++Treats all subsequent arguments as file names, even if they start with a dash. ++This is so NEdit can access files that begin with the dash character. ++.SH "ENVIRONMENT" ++.IX Header "ENVIRONMENT" ++.IP "\s-1DISPLAY\s0" 4 ++.IX Item "DISPLAY" ++NEdit requires an X\-based workstation or X\-Terminal. If you have used \fBtelnet\fR ++or \fBrlogin\fR to access the host Unix system, set the Unix environment variable ++for your display: ++.Sp ++.Vb 1 ++\& % setenv DISPLAY devicename:0 ++.Ve ++.SH "NOTES" ++.IX Header "NOTES" ++Communication between \fIncl\fR\|(1) and \fInedit\fR\|(1) is through the X display. So as ++long as X windows is set up and working properly, \fBncl\fR will work properly ++as well. \fBncl\fR uses the `\s-1DISPLAY\s0' environment variable, the machine name and ++your user name to find the appropriate server, meaning, if you have several ++machines sharing a common file system, \fBncl\fR will not be able to find a server ++that is running on a machine with a different host name, even though it may be ++perfectly appropriate for editing a given file. ++.PP ++In typical Unix style, arguments affect the files which follow them on the ++command line, for example: ++.IP "incorrect:" 4 ++.IX Item "incorrect:" ++.Vb 1 ++\& ncl file.c \-line 25 ++.Ve ++.IP "correct:" 4 ++.IX Item "correct:" ++.Vb 1 ++\& ncl \-line 25 file.c ++.Ve ++.PP ++For more information see NEdit's online help, or \fInedit.doc\fR in the NEdit ++distribution kit. ++.SH "SEE ALSO" ++.IX Header "SEE ALSO" ++\&\fInedit\fR\|(1), X(1), \fImwm\fR\|(1), \fIctags\fR\|(1), \fIetags\fR\|(1) ++.SH "AUTHORS" ++.IX Header "AUTHORS" ++NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim ++Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken, ++Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander ++Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray, ++and \s-1TK\s0 Soh. ++.SH "COPYRIGHT" ++.IX Header "COPYRIGHT" ++This program is free software; you can redistribute it and/or modify it under ++the terms of the \s-1GNU\s0 General Public License as published by the Free Software ++Foundation; either version 2 of the License, or (at your option) any later ++version. ++.PP ++In addition, as a special exception to the \s-1GNU GPL,\s0 the copyright holders give ++permission to link the code of this program with the Motif and Open Motif ++libraries (or with modified versions of these that use the same license), and ++distribute linked combinations including the two. You must obey the \s-1GNU\s0 General ++Public License in all respects for all of the code used other than linking with ++Motif/Open Motif. If you modify this file, you may extend this exception to your ++version of the file, but you are not obligated to do so. If you do not wish to ++do so, delete this exception statement from your version. ++.PP ++This program is distributed in the hope that it will be useful, but \s-1WITHOUT ANY ++WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A ++PARTICULAR PURPOSE. \s0 See the \s-1GNU\s0 General Public License in the Help section ++\&\*(L"Distribution Policy\*(R" for more details. +diff -urN nedit-5.6/doc/ncl.pod nedit-5.6-patched/doc/ncl.pod +--- nedit-5.6/doc/ncl.pod 1970-01-01 01:00:00.000000000 +0100 ++++ nedit-5.6-patched/doc/ncl.pod 2017-01-26 17:20:28.785455207 +0100 +@@ -0,0 +1,229 @@ ++# $Id: ncl.pod,v 1.7 2005/03/03 14:49:37 edg Exp $ ++=pod ++ ++=head1 NAME ++ ++ncl - Client program for NEdit text editor ++ ++=head1 SYNOPSYS ++ ++ncl [B<-read>] [B<-create>] [B<-line> I<n> | B<+>I<n>] [B<-do> I<command>] ++ [B<-ask>] [B<-noask>] [B<-svrname> I<name>] [B<-svrcmd> I<command>] ++ [B<-lm> I<languagemode>] ++ [B<-geometry> I<geometry> | B<-g> I<geometry>] [B<-icon> | B<-iconic>] ++ [B<-display> I<[host]:server[.screen]>] ++ [B<-timeout> I<seconds>] [B<-wait>] [B<-xrm> I<resourcestring>] ++ [B<-tabbed>] [B<-untabbed>] [B<-group>] ++ [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...] ++ ++=head1 DESCRIPTION ++ ++B<ncl> is the client interface to the NEdit text editor. A server can be started ++explicitly by running NEdit in server mode: ++ ++ nedit -server ++ ++If no server is running, B<ncl> will start one unless configured otherwise. ++Client/server mode is useful for integrating NEdit with software development ++environments, mailers, and other programs; or just as a quick way to open files ++from the shell command line without starting a new NEdit session. ++ ++=head1 OPTIONS ++ ++=over ++ ++=item B<-read> ++ ++Open the file read-only regardless of the actual file protection. ++ ++=item B<-create> ++ ++Don't warn about file creation when a file doesn't exist. ++ ++=item B<-line> I<n>, B<+>I<n> ++ ++Go to line number I<n>. ++ ++=item B<-do> I<command> ++ ++Execute an NEdit macro or action on the file following the -do argument on the ++command line. ++ ++If you use this command without a filename, B<ncl> would randomly choose one ++window to focus and execute the macro in. ++ ++=item B<-ask>, B<-noask> ++ ++Instructs B<ncl> whether to automatically start a server if one is not ++available. This overrides the X resource `nc.autoStart'. ++ ++ ++=item B<-svrname> I<name> ++ ++Explicitly instructs B<ncl> which server to connect to, an instance of ++L<nedit(1)> with a corresponding B<-svrname> argument. By naming servers, you ++can run several simultaneously, and direct files and commands specifically to ++any one. ++ ++=item B<-svrcmd> I<command> ++ ++The command which B<ncl> uses to start an NEdit server. It is also settable via ++the X resource `nc.serverCommand', by default, I<"nedit -server">. ++ ++=item B<-lm> I<languagemode> ++ ++Initial language mode used for editing succeeding files. ++ ++=item B<-geometry> I<geometry>, B<-g> I<geometry> ++ ++The initial size and/or location of editor windows. The argument geometry has ++the form: ++ ++ [<width>x<height>][+|-][<xoffset>[+|-]<yoffset>] ++ ++where `<width>' and `<height>' are the desired width and ++height of the window, and `<xoffset>' and `<yoffset>' are the ++distance from the edge of the screen to the window, + for top or left, - for ++bottom or right. B<-geometry> can be specified for individual files on the ++command line. ++ ++=item B<-icon>, B<-iconic> ++ ++Initial window state for succeeding files. ++ ++=item B<-display> I<[host]:server[.screen]> ++ ++The name of the X server to use. host specifies the machine, server specifies ++the display server number, and screen specifies the screen number. host or ++screen can be omitted and default to the local machine, and screen 0. ++ ++=item B<-timeout> I<seconds> ++ ++Basic time-out period (in seconds) used in communication with an NEdit server. ++Default: 10 seconds. Also settable via the X resource `nc.timeOut'. ++ ++Under rare conditions (such as a slow connection), it may be necessary to ++increase the time-out period. In most cases, the default is fine. ++ ++=item B<-wait> ++ ++Instructs B<ncl> not to return to the shell until all files given ++are closed. ++ ++Normally, B<ncl> returns once the files given in its command line ++are opened by the server. When this option is given, ncl returns ++only after the last file given in this call is closed. ++Note that this option affects all files, not only the ones ++following this option in the command line. ++ ++ ++=item B<-xrm> I<resourcestring> ++ ++Set the value of an X resource to override a default value. ++ ++=item B<-tabbed> ++ ++Open all subsequent files in new tabs. Resets B<-group> option. ++ ++=item B<-untabbed> ++ ++Open all subsequent files in new windows. Resets B<-group> option. ++ ++=item B<-group> ++ ++Open all subsequent files as tabs in a new window. ++ ++ ++=item B<-V>, B<-version> ++ ++Prints version and build information, to be mentioned when reporting bugs and ++problems. ++ ++=item B<-h>, B<-help> ++ ++Prints the command line help and then exits. ++ ++=item B<--> ++ ++Treats all subsequent arguments as file names, even if they start with a dash. ++This is so NEdit can access files that begin with the dash character. ++ ++ ++=back ++ ++=head1 ENVIRONMENT ++ ++=over ++ ++=item DISPLAY ++ ++NEdit requires an X-based workstation or X-Terminal. If you have used B<telnet> ++or B<rlogin> to access the host Unix system, set the Unix environment variable ++for your display: ++ ++ % setenv DISPLAY devicename:0 ++ ++=back ++ ++=head1 NOTES ++ ++Communication between L<ncl(1)> and L<nedit(1)> is through the X display. So as ++long as X windows is set up and working properly, B<ncl> will work properly ++as well. B<ncl> uses the `DISPLAY' environment variable, the machine name and ++your user name to find the appropriate server, meaning, if you have several ++machines sharing a common file system, B<ncl> will not be able to find a server ++that is running on a machine with a different host name, even though it may be ++perfectly appropriate for editing a given file. ++ ++In typical Unix style, arguments affect the files which follow them on the ++command line, for example: ++ ++=over ++ ++=item incorrect: ++ ++ ncl file.c -line 25 ++ ++=item correct: ++ ++ ncl -line 25 file.c ++ ++=back ++ ++For more information see NEdit's online help, or I<nedit.doc> in the NEdit ++distribution kit. ++ ++=head1 SEE ALSO ++ ++nedit(1), X(1), mwm(1), ctags(1), etags(1) ++ ++=head1 AUTHORS ++ ++NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim ++Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken, ++Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander ++Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray, ++and TK Soh. ++ ++=head1 COPYRIGHT ++ ++This program is free software; you can redistribute it and/or modify it under ++the terms of the GNU General Public License as published by the Free Software ++Foundation; either version 2 of the License, or (at your option) any later ++version. ++ ++In addition, as a special exception to the GNU GPL, the copyright holders give ++permission to link the code of this program with the Motif and Open Motif ++libraries (or with modified versions of these that use the same license), and ++distribute linked combinations including the two. You must obey the GNU General ++Public License in all respects for all of the code used other than linking with ++Motif/Open Motif. If you modify this file, you may extend this exception to your ++version of the file, but you are not obligated to do so. If you do not wish to ++do so, delete this exception statement from your version. ++ ++This program is distributed in the hope that it will be useful, but WITHOUT ANY ++WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A ++PARTICULAR PURPOSE. See the GNU General Public License in the Help section ++"Distribution Policy" for more details. ++ ++=cut +diff -urN nedit-5.6/util/check_lin_tif.c nedit-5.6-patched/util/check_lin_tif.c +--- nedit-5.6/util/check_lin_tif.c 2014-12-28 14:56:21.000000000 +0100 ++++ nedit-5.6-patched/util/check_lin_tif.c 2017-01-26 16:36:33.825530142 +0100 @@ -103,28 +103,11 @@ if (stability == MotifUnknown) { |