nedit.patch 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184
  1. diff -urN nedit-5.6/doc/Makefile nedit-5.6-patched/doc/Makefile
  2. --- nedit-5.6/doc/Makefile 2014-12-28 14:56:20.000000000 +0100
  3. +++ nedit-5.6-patched/doc/Makefile 2017-01-26 17:22:58.849450939 +0100
  4. @@ -69,7 +69,7 @@
  5. @ echo "Creating NEdit plain text documenation..."
  6. @ ./setext -c NEDITDOC -v version="`cat .version`" help.etx nedit.doc
  7. -nc.man: .version
  8. +ncl.man: .version
  9. nedit.man: .version
  10. .pod.man:
  11. @ echo "Creating $* man page..."
  12. @@ -78,13 +78,13 @@
  13. doc: .version nedit.doc nedit.html html/nedit.html
  14. -man: .version nedit.man nc.man
  15. +man: .version nedit.man ncl.man
  16. all: help doc man
  17. clean:
  18. @ echo "Removing generated NEdit documentation..."
  19. - @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man
  20. + @ rm -rf help nedit.html html nedit.doc .version nedit.man ncl.man
  21. #
  22. # FAQ targets. Requires an XSLT parser and processor, such as Java with the
  23. diff -urN nedit-5.6/doc/nc.man nedit-5.6-patched/doc/nc.man
  24. --- nedit-5.6/doc/nc.man 2015-03-31 04:25:14.000000000 +0200
  25. +++ nedit-5.6-patched/doc/nc.man 1970-01-01 01:00:00.000000000 +0100
  26. @@ -1,319 +0,0 @@
  27. -.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
  28. -.\"
  29. -.\" Standard preamble:
  30. -.\" ========================================================================
  31. -.de Sp \" Vertical space (when we can't use .PP)
  32. -.if t .sp .5v
  33. -.if n .sp
  34. -..
  35. -.de Vb \" Begin verbatim text
  36. -.ft CW
  37. -.nf
  38. -.ne \\$1
  39. -..
  40. -.de Ve \" End verbatim text
  41. -.ft R
  42. -.fi
  43. -..
  44. -.\" Set up some character translations and predefined strings. \*(-- will
  45. -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  46. -.\" double quote, and \*(R" will give a right double quote. \*(C+ will
  47. -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  48. -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  49. -.\" nothing in troff, for use with C<>.
  50. -.tr \(*W-
  51. -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  52. -.ie n \{\
  53. -. ds -- \(*W-
  54. -. ds PI pi
  55. -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  56. -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  57. -. ds L" ""
  58. -. ds R" ""
  59. -. ds C` ""
  60. -. ds C' ""
  61. -'br\}
  62. -.el\{\
  63. -. ds -- \|\(em\|
  64. -. ds PI \(*p
  65. -. ds L" ``
  66. -. ds R" ''
  67. -'br\}
  68. -.\"
  69. -.\" Escape single quotes in literal strings from groff's Unicode transform.
  70. -.ie \n(.g .ds Aq \(aq
  71. -.el .ds Aq '
  72. -.\"
  73. -.\" If the F register is turned on, we'll generate index entries on stderr for
  74. -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
  75. -.\" entries marked with X<> in POD. Of course, you'll have to process the
  76. -.\" output yourself in some meaningful fashion.
  77. -.ie \nF \{\
  78. -. de IX
  79. -. tm Index:\\$1\t\\n%\t"\\$2"
  80. -..
  81. -. nr % 0
  82. -. rr F
  83. -.\}
  84. -.el \{\
  85. -. de IX
  86. -..
  87. -.\}
  88. -.\"
  89. -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
  90. -.\" Fear. Run. Save yourself. No user-serviceable parts.
  91. -. \" fudge factors for nroff and troff
  92. -.if n \{\
  93. -. ds #H 0
  94. -. ds #V .8m
  95. -. ds #F .3m
  96. -. ds #[ \f1
  97. -. ds #] \fP
  98. -.\}
  99. -.if t \{\
  100. -. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  101. -. ds #V .6m
  102. -. ds #F 0
  103. -. ds #[ \&
  104. -. ds #] \&
  105. -.\}
  106. -. \" simple accents for nroff and troff
  107. -.if n \{\
  108. -. ds ' \&
  109. -. ds ` \&
  110. -. ds ^ \&
  111. -. ds , \&
  112. -. ds ~ ~
  113. -. ds /
  114. -.\}
  115. -.if t \{\
  116. -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  117. -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  118. -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  119. -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  120. -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  121. -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  122. -.\}
  123. -. \" troff and (daisy-wheel) nroff accents
  124. -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  125. -.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  126. -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  127. -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  128. -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  129. -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  130. -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  131. -.ds ae a\h'-(\w'a'u*4/10)'e
  132. -.ds Ae A\h'-(\w'A'u*4/10)'E
  133. -. \" corrections for vroff
  134. -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  135. -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  136. -. \" for low resolution devices (crt and lpr)
  137. -.if \n(.H>23 .if \n(.V>19 \
  138. -\{\
  139. -. ds : e
  140. -. ds 8 ss
  141. -. ds o a
  142. -. ds d- d\h'-1'\(ga
  143. -. ds D- D\h'-1'\(hy
  144. -. ds th \o'bp'
  145. -. ds Th \o'LP'
  146. -. ds ae ae
  147. -. ds Ae AE
  148. -.\}
  149. -.rm #[ #] #H #V #F C
  150. -.\" ========================================================================
  151. -.\"
  152. -.IX Title "NC 1"
  153. -.TH NC 1 "2014-12-28" "5.6" "NEdit documentation"
  154. -.\" For nroff, turn off justification. Always turn off hyphenation; it makes
  155. -.\" way too many mistakes in technical documents.
  156. -.if n .ad l
  157. -.nh
  158. -.SH "NAME"
  159. -nc \- Client program for NEdit text editor
  160. -.SH "SYNOPSYS"
  161. -.IX Header "SYNOPSYS"
  162. -nc [\fB\-read\fR] [\fB\-create\fR] [\fB\-line\fR \fIn\fR | \fB+\fR\fIn\fR] [\fB\-do\fR \fIcommand\fR]
  163. - [\fB\-ask\fR] [\fB\-noask\fR] [\fB\-svrname\fR \fIname\fR] [\fB\-svrcmd\fR \fIcommand\fR]
  164. - [\fB\-lm\fR \fIlanguagemode\fR]
  165. - [\fB\-geometry\fR \fIgeometry\fR | \fB\-g\fR \fIgeometry\fR] [\fB\-icon\fR | \fB\-iconic\fR]
  166. - [\fB\-display\fR \fI[host]:server[.screen]\fR]
  167. - [\fB\-timeout\fR \fIseconds\fR] [\fB\-wait\fR] [\fB\-xrm\fR \fIresourcestring\fR]
  168. - [\fB\-tabbed\fR] [\fB\-untabbed\fR] [\fB\-group\fR]
  169. - [\fB\-V\fR | \fB\-version\fR] [\fB\-h\fR | \fB\-help\fR] [\fB\-\-\fR] [file...]
  170. -.SH "DESCRIPTION"
  171. -.IX Header "DESCRIPTION"
  172. -\&\fBnc\fR is the client interface to the NEdit text editor. A server can be started
  173. -explicitly by running NEdit in server mode:
  174. -.PP
  175. -.Vb 1
  176. -\& nedit \-server
  177. -.Ve
  178. -.PP
  179. -If no server is running, \fBnc\fR will start one unless configured otherwise.
  180. -Client/server mode is useful for integrating NEdit with software development
  181. -environments, mailers, and other programs; or just as a quick way to open files
  182. -from the shell command line without starting a new NEdit session.
  183. -.SH "OPTIONS"
  184. -.IX Header "OPTIONS"
  185. -.IP "\fB\-read\fR" 4
  186. -.IX Item "-read"
  187. -Open the file read-only regardless of the actual file protection.
  188. -.IP "\fB\-create\fR" 4
  189. -.IX Item "-create"
  190. -Don't warn about file creation when a file doesn't exist.
  191. -.IP "\fB\-line\fR \fIn\fR, \fB+\fR\fIn\fR" 4
  192. -.IX Item "-line n, +n"
  193. -Go to line number \fIn\fR.
  194. -.IP "\fB\-do\fR \fIcommand\fR" 4
  195. -.IX Item "-do command"
  196. -Execute an NEdit macro or action on the file following the \-do argument on the
  197. -command line.
  198. -.Sp
  199. -If you use this command without a filename, \fBnc\fR would randomly choose one
  200. -window to focus and execute the macro in.
  201. -.IP "\fB\-ask\fR, \fB\-noask\fR" 4
  202. -.IX Item "-ask, -noask"
  203. -Instructs \fBnc\fR whether to automatically start a server if one is not
  204. -available. This overrides the X resource `nc.autoStart'.
  205. -.IP "\fB\-svrname\fR \fIname\fR" 4
  206. -.IX Item "-svrname name"
  207. -Explicitly instructs \fBnc\fR which server to connect to, an instance of
  208. -\&\fInedit\fR\|(1) with a corresponding \fB\-svrname\fR argument. By naming servers, you
  209. -can run several simultaneously, and direct files and commands specifically to
  210. -any one.
  211. -.IP "\fB\-svrcmd\fR \fIcommand\fR" 4
  212. -.IX Item "-svrcmd command"
  213. -The command which \fBnc\fR uses to start an NEdit server. It is also settable via
  214. -the X resource `nc.serverCommand', by default, \fI\*(L"nedit \-server\*(R"\fR.
  215. -.IP "\fB\-lm\fR \fIlanguagemode\fR" 4
  216. -.IX Item "-lm languagemode"
  217. -Initial language mode used for editing succeeding files.
  218. -.IP "\fB\-geometry\fR \fIgeometry\fR, \fB\-g\fR \fIgeometry\fR" 4
  219. -.IX Item "-geometry geometry, -g geometry"
  220. -The initial size and/or location of editor windows. The argument geometry has
  221. -the form:
  222. -.Sp
  223. -.Vb 1
  224. -\& [<width>x<height>][+|\-][<xoffset>[+|\-]<yoffset>]
  225. -.Ve
  226. -.Sp
  227. -where `<width>' and `<height>' are the desired width and
  228. -height of the window, and `<xoffset>' and `<yoffset>' are the
  229. -distance from the edge of the screen to the window, + for top or left, \- for
  230. -bottom or right. \fB\-geometry\fR can be specified for individual files on the
  231. -command line.
  232. -.IP "\fB\-icon\fR, \fB\-iconic\fR" 4
  233. -.IX Item "-icon, -iconic"
  234. -Initial window state for succeeding files.
  235. -.IP "\fB\-display\fR \fI[host]:server[.screen]\fR" 4
  236. -.IX Item "-display [host]:server[.screen]"
  237. -The name of the X server to use. host specifies the machine, server specifies
  238. -the display server number, and screen specifies the screen number. host or
  239. -screen can be omitted and default to the local machine, and screen 0.
  240. -.IP "\fB\-timeout\fR \fIseconds\fR" 4
  241. -.IX Item "-timeout seconds"
  242. -Basic time-out period (in seconds) used in communication with an NEdit server.
  243. -Default: 10 seconds. Also settable via the X resource `nc.timeOut'.
  244. -.Sp
  245. -Under rare conditions (such as a slow connection), it may be necessary to
  246. -increase the time-out period. In most cases, the default is fine.
  247. -.IP "\fB\-wait\fR" 4
  248. -.IX Item "-wait"
  249. -Instructs \fBnc\fR not to return to the shell until all files given
  250. -are closed.
  251. -.Sp
  252. -Normally, \fBnc\fR returns once the files given in its command line
  253. -are opened by the server. When this option is given, nc returns
  254. -only after the last file given in this call is closed.
  255. -Note that this option affects all files, not only the ones
  256. -following this option in the command line.
  257. -.IP "\fB\-xrm\fR \fIresourcestring\fR" 4
  258. -.IX Item "-xrm resourcestring"
  259. -Set the value of an X resource to override a default value.
  260. -.IP "\fB\-tabbed\fR" 4
  261. -.IX Item "-tabbed"
  262. -Open all subsequent files in new tabs. Resets \fB\-group\fR option.
  263. -.IP "\fB\-untabbed\fR" 4
  264. -.IX Item "-untabbed"
  265. -Open all subsequent files in new windows. Resets \fB\-group\fR option.
  266. -.IP "\fB\-group\fR" 4
  267. -.IX Item "-group"
  268. -Open all subsequent files as tabs in a new window.
  269. -.IP "\fB\-V\fR, \fB\-version\fR" 4
  270. -.IX Item "-V, -version"
  271. -Prints version and build information, to be mentioned when reporting bugs and
  272. -problems.
  273. -.IP "\fB\-h\fR, \fB\-help\fR" 4
  274. -.IX Item "-h, -help"
  275. -Prints the command line help and then exits.
  276. -.IP "\fB\-\-\fR" 4
  277. -.IX Item "--"
  278. -Treats all subsequent arguments as file names, even if they start with a dash.
  279. -This is so NEdit can access files that begin with the dash character.
  280. -.SH "ENVIRONMENT"
  281. -.IX Header "ENVIRONMENT"
  282. -.IP "\s-1DISPLAY\s0" 4
  283. -.IX Item "DISPLAY"
  284. -NEdit requires an X\-based workstation or X\-Terminal. If you have used \fBtelnet\fR
  285. -or \fBrlogin\fR to access the host Unix system, set the Unix environment variable
  286. -for your display:
  287. -.Sp
  288. -.Vb 1
  289. -\& % setenv DISPLAY devicename:0
  290. -.Ve
  291. -.SH "NOTES"
  292. -.IX Header "NOTES"
  293. -Communication between \fInc\fR\|(1) and \fInedit\fR\|(1) is through the X display. So as
  294. -long as X windows is set up and working properly, \fBnc\fR will work properly
  295. -as well. \fBnc\fR uses the `\s-1DISPLAY\s0' environment variable, the machine name and
  296. -your user name to find the appropriate server, meaning, if you have several
  297. -machines sharing a common file system, \fBnc\fR will not be able to find a server
  298. -that is running on a machine with a different host name, even though it may be
  299. -perfectly appropriate for editing a given file.
  300. -.PP
  301. -In typical Unix style, arguments affect the files which follow them on the
  302. -command line, for example:
  303. -.IP "incorrect:" 4
  304. -.IX Item "incorrect:"
  305. -.Vb 1
  306. -\& nc file.c \-line 25
  307. -.Ve
  308. -.IP "correct:" 4
  309. -.IX Item "correct:"
  310. -.Vb 1
  311. -\& nc \-line 25 file.c
  312. -.Ve
  313. -.PP
  314. -For more information see NEdit's online help, or \fInedit.doc\fR in the NEdit
  315. -distribution kit.
  316. -.SH "SEE ALSO"
  317. -.IX Header "SEE ALSO"
  318. -\&\fInedit\fR\|(1), X(1), \fImwm\fR\|(1), \fIctags\fR\|(1), \fIetags\fR\|(1)
  319. -.SH "AUTHORS"
  320. -.IX Header "AUTHORS"
  321. -NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim
  322. -Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken,
  323. -Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander
  324. -Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray,
  325. -and \s-1TK\s0 Soh.
  326. -.SH "COPYRIGHT"
  327. -.IX Header "COPYRIGHT"
  328. -This program is free software; you can redistribute it and/or modify it under
  329. -the terms of the \s-1GNU\s0 General Public License as published by the Free Software
  330. -Foundation; either version 2 of the License, or (at your option) any later
  331. -version.
  332. -.PP
  333. -In addition, as a special exception to the \s-1GNU\s0 \s-1GPL\s0, the copyright holders give
  334. -permission to link the code of this program with the Motif and Open Motif
  335. -libraries (or with modified versions of these that use the same license), and
  336. -distribute linked combinations including the two. You must obey the \s-1GNU\s0 General
  337. -Public License in all respects for all of the code used other than linking with
  338. -Motif/Open Motif. If you modify this file, you may extend this exception to your
  339. -version of the file, but you are not obligated to do so. If you do not wish to
  340. -do so, delete this exception statement from your version.
  341. -.PP
  342. -This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0
  343. -\&\s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A
  344. -\&\s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License in the Help section
  345. -\&\*(L"Distribution Policy\*(R" for more details.
  346. diff -urN nedit-5.6/doc/nc.pod nedit-5.6-patched/doc/nc.pod
  347. --- nedit-5.6/doc/nc.pod 2014-12-28 14:56:20.000000000 +0100
  348. +++ nedit-5.6-patched/doc/nc.pod 1970-01-01 01:00:00.000000000 +0100
  349. @@ -1,229 +0,0 @@
  350. -# $Id: nc.pod,v 1.7 2005/03/03 14:49:37 edg Exp $
  351. -=pod
  352. -
  353. -=head1 NAME
  354. -
  355. -nc - Client program for NEdit text editor
  356. -
  357. -=head1 SYNOPSYS
  358. -
  359. -nc [B<-read>] [B<-create>] [B<-line> I<n> | B<+>I<n>] [B<-do> I<command>]
  360. - [B<-ask>] [B<-noask>] [B<-svrname> I<name>] [B<-svrcmd> I<command>]
  361. - [B<-lm> I<languagemode>]
  362. - [B<-geometry> I<geometry> | B<-g> I<geometry>] [B<-icon> | B<-iconic>]
  363. - [B<-display> I<[host]:server[.screen]>]
  364. - [B<-timeout> I<seconds>] [B<-wait>] [B<-xrm> I<resourcestring>]
  365. - [B<-tabbed>] [B<-untabbed>] [B<-group>]
  366. - [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...]
  367. -
  368. -=head1 DESCRIPTION
  369. -
  370. -B<nc> is the client interface to the NEdit text editor. A server can be started
  371. -explicitly by running NEdit in server mode:
  372. -
  373. - nedit -server
  374. -
  375. -If no server is running, B<nc> will start one unless configured otherwise.
  376. -Client/server mode is useful for integrating NEdit with software development
  377. -environments, mailers, and other programs; or just as a quick way to open files
  378. -from the shell command line without starting a new NEdit session.
  379. -
  380. -=head1 OPTIONS
  381. -
  382. -=over
  383. -
  384. -=item B<-read>
  385. -
  386. -Open the file read-only regardless of the actual file protection.
  387. -
  388. -=item B<-create>
  389. -
  390. -Don't warn about file creation when a file doesn't exist.
  391. -
  392. -=item B<-line> I<n>, B<+>I<n>
  393. -
  394. -Go to line number I<n>.
  395. -
  396. -=item B<-do> I<command>
  397. -
  398. -Execute an NEdit macro or action on the file following the -do argument on the
  399. -command line.
  400. -
  401. -If you use this command without a filename, B<nc> would randomly choose one
  402. -window to focus and execute the macro in.
  403. -
  404. -=item B<-ask>, B<-noask>
  405. -
  406. -Instructs B<nc> whether to automatically start a server if one is not
  407. -available. This overrides the X resource `nc.autoStart'.
  408. -
  409. -
  410. -=item B<-svrname> I<name>
  411. -
  412. -Explicitly instructs B<nc> which server to connect to, an instance of
  413. -L<nedit(1)> with a corresponding B<-svrname> argument. By naming servers, you
  414. -can run several simultaneously, and direct files and commands specifically to
  415. -any one.
  416. -
  417. -=item B<-svrcmd> I<command>
  418. -
  419. -The command which B<nc> uses to start an NEdit server. It is also settable via
  420. -the X resource `nc.serverCommand', by default, I<"nedit -server">.
  421. -
  422. -=item B<-lm> I<languagemode>
  423. -
  424. -Initial language mode used for editing succeeding files.
  425. -
  426. -=item B<-geometry> I<geometry>, B<-g> I<geometry>
  427. -
  428. -The initial size and/or location of editor windows. The argument geometry has
  429. -the form:
  430. -
  431. - [<width>x<height>][+|-][<xoffset>[+|-]<yoffset>]
  432. -
  433. -where `<width>' and `<height>' are the desired width and
  434. -height of the window, and `<xoffset>' and `<yoffset>' are the
  435. -distance from the edge of the screen to the window, + for top or left, - for
  436. -bottom or right. B<-geometry> can be specified for individual files on the
  437. -command line.
  438. -
  439. -=item B<-icon>, B<-iconic>
  440. -
  441. -Initial window state for succeeding files.
  442. -
  443. -=item B<-display> I<[host]:server[.screen]>
  444. -
  445. -The name of the X server to use. host specifies the machine, server specifies
  446. -the display server number, and screen specifies the screen number. host or
  447. -screen can be omitted and default to the local machine, and screen 0.
  448. -
  449. -=item B<-timeout> I<seconds>
  450. -
  451. -Basic time-out period (in seconds) used in communication with an NEdit server.
  452. -Default: 10 seconds. Also settable via the X resource `nc.timeOut'.
  453. -
  454. -Under rare conditions (such as a slow connection), it may be necessary to
  455. -increase the time-out period. In most cases, the default is fine.
  456. -
  457. -=item B<-wait>
  458. -
  459. -Instructs B<nc> not to return to the shell until all files given
  460. -are closed.
  461. -
  462. -Normally, B<nc> returns once the files given in its command line
  463. -are opened by the server. When this option is given, nc returns
  464. -only after the last file given in this call is closed.
  465. -Note that this option affects all files, not only the ones
  466. -following this option in the command line.
  467. -
  468. -
  469. -=item B<-xrm> I<resourcestring>
  470. -
  471. -Set the value of an X resource to override a default value.
  472. -
  473. -=item B<-tabbed>
  474. -
  475. -Open all subsequent files in new tabs. Resets B<-group> option.
  476. -
  477. -=item B<-untabbed>
  478. -
  479. -Open all subsequent files in new windows. Resets B<-group> option.
  480. -
  481. -=item B<-group>
  482. -
  483. -Open all subsequent files as tabs in a new window.
  484. -
  485. -
  486. -=item B<-V>, B<-version>
  487. -
  488. -Prints version and build information, to be mentioned when reporting bugs and
  489. -problems.
  490. -
  491. -=item B<-h>, B<-help>
  492. -
  493. -Prints the command line help and then exits.
  494. -
  495. -=item B<-->
  496. -
  497. -Treats all subsequent arguments as file names, even if they start with a dash.
  498. -This is so NEdit can access files that begin with the dash character.
  499. -
  500. -
  501. -=back
  502. -
  503. -=head1 ENVIRONMENT
  504. -
  505. -=over
  506. -
  507. -=item DISPLAY
  508. -
  509. -NEdit requires an X-based workstation or X-Terminal. If you have used B<telnet>
  510. -or B<rlogin> to access the host Unix system, set the Unix environment variable
  511. -for your display:
  512. -
  513. - % setenv DISPLAY devicename:0
  514. -
  515. -=back
  516. -
  517. -=head1 NOTES
  518. -
  519. -Communication between L<nc(1)> and L<nedit(1)> is through the X display. So as
  520. -long as X windows is set up and working properly, B<nc> will work properly
  521. -as well. B<nc> uses the `DISPLAY' environment variable, the machine name and
  522. -your user name to find the appropriate server, meaning, if you have several
  523. -machines sharing a common file system, B<nc> will not be able to find a server
  524. -that is running on a machine with a different host name, even though it may be
  525. -perfectly appropriate for editing a given file.
  526. -
  527. -In typical Unix style, arguments affect the files which follow them on the
  528. -command line, for example:
  529. -
  530. -=over
  531. -
  532. -=item incorrect:
  533. -
  534. - nc file.c -line 25
  535. -
  536. -=item correct:
  537. -
  538. - nc -line 25 file.c
  539. -
  540. -=back
  541. -
  542. -For more information see NEdit's online help, or I<nedit.doc> in the NEdit
  543. -distribution kit.
  544. -
  545. -=head1 SEE ALSO
  546. -
  547. -nedit(1), X(1), mwm(1), ctags(1), etags(1)
  548. -
  549. -=head1 AUTHORS
  550. -
  551. -NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim
  552. -Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken,
  553. -Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander
  554. -Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray,
  555. -and TK Soh.
  556. -
  557. -=head1 COPYRIGHT
  558. -
  559. -This program is free software; you can redistribute it and/or modify it under
  560. -the terms of the GNU General Public License as published by the Free Software
  561. -Foundation; either version 2 of the License, or (at your option) any later
  562. -version.
  563. -
  564. -In addition, as a special exception to the GNU GPL, the copyright holders give
  565. -permission to link the code of this program with the Motif and Open Motif
  566. -libraries (or with modified versions of these that use the same license), and
  567. -distribute linked combinations including the two. You must obey the GNU General
  568. -Public License in all respects for all of the code used other than linking with
  569. -Motif/Open Motif. If you modify this file, you may extend this exception to your
  570. -version of the file, but you are not obligated to do so. If you do not wish to
  571. -do so, delete this exception statement from your version.
  572. -
  573. -This program is distributed in the hope that it will be useful, but WITHOUT ANY
  574. -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  575. -PARTICULAR PURPOSE. See the GNU General Public License in the Help section
  576. -"Distribution Policy" for more details.
  577. -
  578. -=cut
  579. diff -urN nedit-5.6/doc/ncl.man nedit-5.6-patched/doc/ncl.man
  580. --- nedit-5.6/doc/ncl.man 1970-01-01 01:00:00.000000000 +0100
  581. +++ nedit-5.6-patched/doc/ncl.man 2017-01-26 17:23:14.961450481 +0100
  582. @@ -0,0 +1,328 @@
  583. +.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29)
  584. +.\"
  585. +.\" Standard preamble:
  586. +.\" ========================================================================
  587. +.de Sp \" Vertical space (when we can't use .PP)
  588. +.if t .sp .5v
  589. +.if n .sp
  590. +..
  591. +.de Vb \" Begin verbatim text
  592. +.ft CW
  593. +.nf
  594. +.ne \\$1
  595. +..
  596. +.de Ve \" End verbatim text
  597. +.ft R
  598. +.fi
  599. +..
  600. +.\" Set up some character translations and predefined strings. \*(-- will
  601. +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  602. +.\" double quote, and \*(R" will give a right double quote. \*(C+ will
  603. +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  604. +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  605. +.\" nothing in troff, for use with C<>.
  606. +.tr \(*W-
  607. +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  608. +.ie n \{\
  609. +. ds -- \(*W-
  610. +. ds PI pi
  611. +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  612. +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  613. +. ds L" ""
  614. +. ds R" ""
  615. +. ds C` ""
  616. +. ds C' ""
  617. +'br\}
  618. +.el\{\
  619. +. ds -- \|\(em\|
  620. +. ds PI \(*p
  621. +. ds L" ``
  622. +. ds R" ''
  623. +. ds C`
  624. +. ds C'
  625. +'br\}
  626. +.\"
  627. +.\" Escape single quotes in literal strings from groff's Unicode transform.
  628. +.ie \n(.g .ds Aq \(aq
  629. +.el .ds Aq '
  630. +.\"
  631. +.\" If the F register is turned on, we'll generate index entries on stderr for
  632. +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
  633. +.\" entries marked with X<> in POD. Of course, you'll have to process the
  634. +.\" output yourself in some meaningful fashion.
  635. +.\"
  636. +.\" Avoid warning from groff about undefined register 'F'.
  637. +.de IX
  638. +..
  639. +.nr rF 0
  640. +.if \n(.g .if rF .nr rF 1
  641. +.if (\n(rF:(\n(.g==0)) \{
  642. +. if \nF \{
  643. +. de IX
  644. +. tm Index:\\$1\t\\n%\t"\\$2"
  645. +..
  646. +. if !\nF==2 \{
  647. +. nr % 0
  648. +. nr F 2
  649. +. \}
  650. +. \}
  651. +.\}
  652. +.rr rF
  653. +.\"
  654. +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
  655. +.\" Fear. Run. Save yourself. No user-serviceable parts.
  656. +. \" fudge factors for nroff and troff
  657. +.if n \{\
  658. +. ds #H 0
  659. +. ds #V .8m
  660. +. ds #F .3m
  661. +. ds #[ \f1
  662. +. ds #] \fP
  663. +.\}
  664. +.if t \{\
  665. +. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  666. +. ds #V .6m
  667. +. ds #F 0
  668. +. ds #[ \&
  669. +. ds #] \&
  670. +.\}
  671. +. \" simple accents for nroff and troff
  672. +.if n \{\
  673. +. ds ' \&
  674. +. ds ` \&
  675. +. ds ^ \&
  676. +. ds , \&
  677. +. ds ~ ~
  678. +. ds /
  679. +.\}
  680. +.if t \{\
  681. +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  682. +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  683. +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  684. +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  685. +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  686. +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  687. +.\}
  688. +. \" troff and (daisy-wheel) nroff accents
  689. +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  690. +.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  691. +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  692. +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  693. +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  694. +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  695. +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  696. +.ds ae a\h'-(\w'a'u*4/10)'e
  697. +.ds Ae A\h'-(\w'A'u*4/10)'E
  698. +. \" corrections for vroff
  699. +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  700. +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  701. +. \" for low resolution devices (crt and lpr)
  702. +.if \n(.H>23 .if \n(.V>19 \
  703. +\{\
  704. +. ds : e
  705. +. ds 8 ss
  706. +. ds o a
  707. +. ds d- d\h'-1'\(ga
  708. +. ds D- D\h'-1'\(hy
  709. +. ds th \o'bp'
  710. +. ds Th \o'LP'
  711. +. ds ae ae
  712. +. ds Ae AE
  713. +.\}
  714. +.rm #[ #] #H #V #F C
  715. +.\" ========================================================================
  716. +.\"
  717. +.IX Title "NCL 1"
  718. +.TH NCL 1 "2017-01-26" "5.6" "NEdit documentation"
  719. +.\" For nroff, turn off justification. Always turn off hyphenation; it makes
  720. +.\" way too many mistakes in technical documents.
  721. +.if n .ad l
  722. +.nh
  723. +.SH "NAME"
  724. +ncl \- Client program for NEdit text editor
  725. +.SH "SYNOPSYS"
  726. +.IX Header "SYNOPSYS"
  727. +ncl [\fB\-read\fR] [\fB\-create\fR] [\fB\-line\fR \fIn\fR | \fB+\fR\fIn\fR] [\fB\-do\fR \fIcommand\fR]
  728. + [\fB\-ask\fR] [\fB\-noask\fR] [\fB\-svrname\fR \fIname\fR] [\fB\-svrcmd\fR \fIcommand\fR]
  729. + [\fB\-lm\fR \fIlanguagemode\fR]
  730. + [\fB\-geometry\fR \fIgeometry\fR | \fB\-g\fR \fIgeometry\fR] [\fB\-icon\fR | \fB\-iconic\fR]
  731. + [\fB\-display\fR \fI[host]:server[.screen]\fR]
  732. + [\fB\-timeout\fR \fIseconds\fR] [\fB\-wait\fR] [\fB\-xrm\fR \fIresourcestring\fR]
  733. + [\fB\-tabbed\fR] [\fB\-untabbed\fR] [\fB\-group\fR]
  734. + [\fB\-V\fR | \fB\-version\fR] [\fB\-h\fR | \fB\-help\fR] [\fB\-\-\fR] [file...]
  735. +.SH "DESCRIPTION"
  736. +.IX Header "DESCRIPTION"
  737. +\&\fBncl\fR is the client interface to the NEdit text editor. A server can be started
  738. +explicitly by running NEdit in server mode:
  739. +.PP
  740. +.Vb 1
  741. +\& nedit \-server
  742. +.Ve
  743. +.PP
  744. +If no server is running, \fBncl\fR will start one unless configured otherwise.
  745. +Client/server mode is useful for integrating NEdit with software development
  746. +environments, mailers, and other programs; or just as a quick way to open files
  747. +from the shell command line without starting a new NEdit session.
  748. +.SH "OPTIONS"
  749. +.IX Header "OPTIONS"
  750. +.IP "\fB\-read\fR" 4
  751. +.IX Item "-read"
  752. +Open the file read-only regardless of the actual file protection.
  753. +.IP "\fB\-create\fR" 4
  754. +.IX Item "-create"
  755. +Don't warn about file creation when a file doesn't exist.
  756. +.IP "\fB\-line\fR \fIn\fR, \fB+\fR\fIn\fR" 4
  757. +.IX Item "-line n, +n"
  758. +Go to line number \fIn\fR.
  759. +.IP "\fB\-do\fR \fIcommand\fR" 4
  760. +.IX Item "-do command"
  761. +Execute an NEdit macro or action on the file following the \-do argument on the
  762. +command line.
  763. +.Sp
  764. +If you use this command without a filename, \fBncl\fR would randomly choose one
  765. +window to focus and execute the macro in.
  766. +.IP "\fB\-ask\fR, \fB\-noask\fR" 4
  767. +.IX Item "-ask, -noask"
  768. +Instructs \fBncl\fR whether to automatically start a server if one is not
  769. +available. This overrides the X resource `nc.autoStart'.
  770. +.IP "\fB\-svrname\fR \fIname\fR" 4
  771. +.IX Item "-svrname name"
  772. +Explicitly instructs \fBncl\fR which server to connect to, an instance of
  773. +\&\fInedit\fR\|(1) with a corresponding \fB\-svrname\fR argument. By naming servers, you
  774. +can run several simultaneously, and direct files and commands specifically to
  775. +any one.
  776. +.IP "\fB\-svrcmd\fR \fIcommand\fR" 4
  777. +.IX Item "-svrcmd command"
  778. +The command which \fBncl\fR uses to start an NEdit server. It is also settable via
  779. +the X resource `nc.serverCommand', by default, \fI\*(L"nedit \-server\*(R"\fR.
  780. +.IP "\fB\-lm\fR \fIlanguagemode\fR" 4
  781. +.IX Item "-lm languagemode"
  782. +Initial language mode used for editing succeeding files.
  783. +.IP "\fB\-geometry\fR \fIgeometry\fR, \fB\-g\fR \fIgeometry\fR" 4
  784. +.IX Item "-geometry geometry, -g geometry"
  785. +The initial size and/or location of editor windows. The argument geometry has
  786. +the form:
  787. +.Sp
  788. +.Vb 1
  789. +\& [<width>x<height>][+|\-][<xoffset>[+|\-]<yoffset>]
  790. +.Ve
  791. +.Sp
  792. +where `<width>' and `<height>' are the desired width and
  793. +height of the window, and `<xoffset>' and `<yoffset>' are the
  794. +distance from the edge of the screen to the window, + for top or left, \- for
  795. +bottom or right. \fB\-geometry\fR can be specified for individual files on the
  796. +command line.
  797. +.IP "\fB\-icon\fR, \fB\-iconic\fR" 4
  798. +.IX Item "-icon, -iconic"
  799. +Initial window state for succeeding files.
  800. +.IP "\fB\-display\fR \fI[host]:server[.screen]\fR" 4
  801. +.IX Item "-display [host]:server[.screen]"
  802. +The name of the X server to use. host specifies the machine, server specifies
  803. +the display server number, and screen specifies the screen number. host or
  804. +screen can be omitted and default to the local machine, and screen 0.
  805. +.IP "\fB\-timeout\fR \fIseconds\fR" 4
  806. +.IX Item "-timeout seconds"
  807. +Basic time-out period (in seconds) used in communication with an NEdit server.
  808. +Default: 10 seconds. Also settable via the X resource `nc.timeOut'.
  809. +.Sp
  810. +Under rare conditions (such as a slow connection), it may be necessary to
  811. +increase the time-out period. In most cases, the default is fine.
  812. +.IP "\fB\-wait\fR" 4
  813. +.IX Item "-wait"
  814. +Instructs \fBncl\fR not to return to the shell until all files given
  815. +are closed.
  816. +.Sp
  817. +Normally, \fBncl\fR returns once the files given in its command line
  818. +are opened by the server. When this option is given, ncl returns
  819. +only after the last file given in this call is closed.
  820. +Note that this option affects all files, not only the ones
  821. +following this option in the command line.
  822. +.IP "\fB\-xrm\fR \fIresourcestring\fR" 4
  823. +.IX Item "-xrm resourcestring"
  824. +Set the value of an X resource to override a default value.
  825. +.IP "\fB\-tabbed\fR" 4
  826. +.IX Item "-tabbed"
  827. +Open all subsequent files in new tabs. Resets \fB\-group\fR option.
  828. +.IP "\fB\-untabbed\fR" 4
  829. +.IX Item "-untabbed"
  830. +Open all subsequent files in new windows. Resets \fB\-group\fR option.
  831. +.IP "\fB\-group\fR" 4
  832. +.IX Item "-group"
  833. +Open all subsequent files as tabs in a new window.
  834. +.IP "\fB\-V\fR, \fB\-version\fR" 4
  835. +.IX Item "-V, -version"
  836. +Prints version and build information, to be mentioned when reporting bugs and
  837. +problems.
  838. +.IP "\fB\-h\fR, \fB\-help\fR" 4
  839. +.IX Item "-h, -help"
  840. +Prints the command line help and then exits.
  841. +.IP "\fB\-\-\fR" 4
  842. +.IX Item "--"
  843. +Treats all subsequent arguments as file names, even if they start with a dash.
  844. +This is so NEdit can access files that begin with the dash character.
  845. +.SH "ENVIRONMENT"
  846. +.IX Header "ENVIRONMENT"
  847. +.IP "\s-1DISPLAY\s0" 4
  848. +.IX Item "DISPLAY"
  849. +NEdit requires an X\-based workstation or X\-Terminal. If you have used \fBtelnet\fR
  850. +or \fBrlogin\fR to access the host Unix system, set the Unix environment variable
  851. +for your display:
  852. +.Sp
  853. +.Vb 1
  854. +\& % setenv DISPLAY devicename:0
  855. +.Ve
  856. +.SH "NOTES"
  857. +.IX Header "NOTES"
  858. +Communication between \fIncl\fR\|(1) and \fInedit\fR\|(1) is through the X display. So as
  859. +long as X windows is set up and working properly, \fBncl\fR will work properly
  860. +as well. \fBncl\fR uses the `\s-1DISPLAY\s0' environment variable, the machine name and
  861. +your user name to find the appropriate server, meaning, if you have several
  862. +machines sharing a common file system, \fBncl\fR will not be able to find a server
  863. +that is running on a machine with a different host name, even though it may be
  864. +perfectly appropriate for editing a given file.
  865. +.PP
  866. +In typical Unix style, arguments affect the files which follow them on the
  867. +command line, for example:
  868. +.IP "incorrect:" 4
  869. +.IX Item "incorrect:"
  870. +.Vb 1
  871. +\& ncl file.c \-line 25
  872. +.Ve
  873. +.IP "correct:" 4
  874. +.IX Item "correct:"
  875. +.Vb 1
  876. +\& ncl \-line 25 file.c
  877. +.Ve
  878. +.PP
  879. +For more information see NEdit's online help, or \fInedit.doc\fR in the NEdit
  880. +distribution kit.
  881. +.SH "SEE ALSO"
  882. +.IX Header "SEE ALSO"
  883. +\&\fInedit\fR\|(1), X(1), \fImwm\fR\|(1), \fIctags\fR\|(1), \fIetags\fR\|(1)
  884. +.SH "AUTHORS"
  885. +.IX Header "AUTHORS"
  886. +NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim
  887. +Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken,
  888. +Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander
  889. +Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray,
  890. +and \s-1TK\s0 Soh.
  891. +.SH "COPYRIGHT"
  892. +.IX Header "COPYRIGHT"
  893. +This program is free software; you can redistribute it and/or modify it under
  894. +the terms of the \s-1GNU\s0 General Public License as published by the Free Software
  895. +Foundation; either version 2 of the License, or (at your option) any later
  896. +version.
  897. +.PP
  898. +In addition, as a special exception to the \s-1GNU GPL,\s0 the copyright holders give
  899. +permission to link the code of this program with the Motif and Open Motif
  900. +libraries (or with modified versions of these that use the same license), and
  901. +distribute linked combinations including the two. You must obey the \s-1GNU\s0 General
  902. +Public License in all respects for all of the code used other than linking with
  903. +Motif/Open Motif. If you modify this file, you may extend this exception to your
  904. +version of the file, but you are not obligated to do so. If you do not wish to
  905. +do so, delete this exception statement from your version.
  906. +.PP
  907. +This program is distributed in the hope that it will be useful, but \s-1WITHOUT ANY
  908. +WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A
  909. +PARTICULAR PURPOSE. \s0 See the \s-1GNU\s0 General Public License in the Help section
  910. +\&\*(L"Distribution Policy\*(R" for more details.
  911. diff -urN nedit-5.6/doc/ncl.pod nedit-5.6-patched/doc/ncl.pod
  912. --- nedit-5.6/doc/ncl.pod 1970-01-01 01:00:00.000000000 +0100
  913. +++ nedit-5.6-patched/doc/ncl.pod 2017-01-26 17:20:28.785455207 +0100
  914. @@ -0,0 +1,229 @@
  915. +# $Id: ncl.pod,v 1.7 2005/03/03 14:49:37 edg Exp $
  916. +=pod
  917. +
  918. +=head1 NAME
  919. +
  920. +ncl - Client program for NEdit text editor
  921. +
  922. +=head1 SYNOPSYS
  923. +
  924. +ncl [B<-read>] [B<-create>] [B<-line> I<n> | B<+>I<n>] [B<-do> I<command>]
  925. + [B<-ask>] [B<-noask>] [B<-svrname> I<name>] [B<-svrcmd> I<command>]
  926. + [B<-lm> I<languagemode>]
  927. + [B<-geometry> I<geometry> | B<-g> I<geometry>] [B<-icon> | B<-iconic>]
  928. + [B<-display> I<[host]:server[.screen]>]
  929. + [B<-timeout> I<seconds>] [B<-wait>] [B<-xrm> I<resourcestring>]
  930. + [B<-tabbed>] [B<-untabbed>] [B<-group>]
  931. + [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...]
  932. +
  933. +=head1 DESCRIPTION
  934. +
  935. +B<ncl> is the client interface to the NEdit text editor. A server can be started
  936. +explicitly by running NEdit in server mode:
  937. +
  938. + nedit -server
  939. +
  940. +If no server is running, B<ncl> will start one unless configured otherwise.
  941. +Client/server mode is useful for integrating NEdit with software development
  942. +environments, mailers, and other programs; or just as a quick way to open files
  943. +from the shell command line without starting a new NEdit session.
  944. +
  945. +=head1 OPTIONS
  946. +
  947. +=over
  948. +
  949. +=item B<-read>
  950. +
  951. +Open the file read-only regardless of the actual file protection.
  952. +
  953. +=item B<-create>
  954. +
  955. +Don't warn about file creation when a file doesn't exist.
  956. +
  957. +=item B<-line> I<n>, B<+>I<n>
  958. +
  959. +Go to line number I<n>.
  960. +
  961. +=item B<-do> I<command>
  962. +
  963. +Execute an NEdit macro or action on the file following the -do argument on the
  964. +command line.
  965. +
  966. +If you use this command without a filename, B<ncl> would randomly choose one
  967. +window to focus and execute the macro in.
  968. +
  969. +=item B<-ask>, B<-noask>
  970. +
  971. +Instructs B<ncl> whether to automatically start a server if one is not
  972. +available. This overrides the X resource `nc.autoStart'.
  973. +
  974. +
  975. +=item B<-svrname> I<name>
  976. +
  977. +Explicitly instructs B<ncl> which server to connect to, an instance of
  978. +L<nedit(1)> with a corresponding B<-svrname> argument. By naming servers, you
  979. +can run several simultaneously, and direct files and commands specifically to
  980. +any one.
  981. +
  982. +=item B<-svrcmd> I<command>
  983. +
  984. +The command which B<ncl> uses to start an NEdit server. It is also settable via
  985. +the X resource `nc.serverCommand', by default, I<"nedit -server">.
  986. +
  987. +=item B<-lm> I<languagemode>
  988. +
  989. +Initial language mode used for editing succeeding files.
  990. +
  991. +=item B<-geometry> I<geometry>, B<-g> I<geometry>
  992. +
  993. +The initial size and/or location of editor windows. The argument geometry has
  994. +the form:
  995. +
  996. + [<width>x<height>][+|-][<xoffset>[+|-]<yoffset>]
  997. +
  998. +where `<width>' and `<height>' are the desired width and
  999. +height of the window, and `<xoffset>' and `<yoffset>' are the
  1000. +distance from the edge of the screen to the window, + for top or left, - for
  1001. +bottom or right. B<-geometry> can be specified for individual files on the
  1002. +command line.
  1003. +
  1004. +=item B<-icon>, B<-iconic>
  1005. +
  1006. +Initial window state for succeeding files.
  1007. +
  1008. +=item B<-display> I<[host]:server[.screen]>
  1009. +
  1010. +The name of the X server to use. host specifies the machine, server specifies
  1011. +the display server number, and screen specifies the screen number. host or
  1012. +screen can be omitted and default to the local machine, and screen 0.
  1013. +
  1014. +=item B<-timeout> I<seconds>
  1015. +
  1016. +Basic time-out period (in seconds) used in communication with an NEdit server.
  1017. +Default: 10 seconds. Also settable via the X resource `nc.timeOut'.
  1018. +
  1019. +Under rare conditions (such as a slow connection), it may be necessary to
  1020. +increase the time-out period. In most cases, the default is fine.
  1021. +
  1022. +=item B<-wait>
  1023. +
  1024. +Instructs B<ncl> not to return to the shell until all files given
  1025. +are closed.
  1026. +
  1027. +Normally, B<ncl> returns once the files given in its command line
  1028. +are opened by the server. When this option is given, ncl returns
  1029. +only after the last file given in this call is closed.
  1030. +Note that this option affects all files, not only the ones
  1031. +following this option in the command line.
  1032. +
  1033. +
  1034. +=item B<-xrm> I<resourcestring>
  1035. +
  1036. +Set the value of an X resource to override a default value.
  1037. +
  1038. +=item B<-tabbed>
  1039. +
  1040. +Open all subsequent files in new tabs. Resets B<-group> option.
  1041. +
  1042. +=item B<-untabbed>
  1043. +
  1044. +Open all subsequent files in new windows. Resets B<-group> option.
  1045. +
  1046. +=item B<-group>
  1047. +
  1048. +Open all subsequent files as tabs in a new window.
  1049. +
  1050. +
  1051. +=item B<-V>, B<-version>
  1052. +
  1053. +Prints version and build information, to be mentioned when reporting bugs and
  1054. +problems.
  1055. +
  1056. +=item B<-h>, B<-help>
  1057. +
  1058. +Prints the command line help and then exits.
  1059. +
  1060. +=item B<-->
  1061. +
  1062. +Treats all subsequent arguments as file names, even if they start with a dash.
  1063. +This is so NEdit can access files that begin with the dash character.
  1064. +
  1065. +
  1066. +=back
  1067. +
  1068. +=head1 ENVIRONMENT
  1069. +
  1070. +=over
  1071. +
  1072. +=item DISPLAY
  1073. +
  1074. +NEdit requires an X-based workstation or X-Terminal. If you have used B<telnet>
  1075. +or B<rlogin> to access the host Unix system, set the Unix environment variable
  1076. +for your display:
  1077. +
  1078. + % setenv DISPLAY devicename:0
  1079. +
  1080. +=back
  1081. +
  1082. +=head1 NOTES
  1083. +
  1084. +Communication between L<ncl(1)> and L<nedit(1)> is through the X display. So as
  1085. +long as X windows is set up and working properly, B<ncl> will work properly
  1086. +as well. B<ncl> uses the `DISPLAY' environment variable, the machine name and
  1087. +your user name to find the appropriate server, meaning, if you have several
  1088. +machines sharing a common file system, B<ncl> will not be able to find a server
  1089. +that is running on a machine with a different host name, even though it may be
  1090. +perfectly appropriate for editing a given file.
  1091. +
  1092. +In typical Unix style, arguments affect the files which follow them on the
  1093. +command line, for example:
  1094. +
  1095. +=over
  1096. +
  1097. +=item incorrect:
  1098. +
  1099. + ncl file.c -line 25
  1100. +
  1101. +=item correct:
  1102. +
  1103. + ncl -line 25 file.c
  1104. +
  1105. +=back
  1106. +
  1107. +For more information see NEdit's online help, or I<nedit.doc> in the NEdit
  1108. +distribution kit.
  1109. +
  1110. +=head1 SEE ALSO
  1111. +
  1112. +nedit(1), X(1), mwm(1), ctags(1), etags(1)
  1113. +
  1114. +=head1 AUTHORS
  1115. +
  1116. +NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim
  1117. +Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken,
  1118. +Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander
  1119. +Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray,
  1120. +and TK Soh.
  1121. +
  1122. +=head1 COPYRIGHT
  1123. +
  1124. +This program is free software; you can redistribute it and/or modify it under
  1125. +the terms of the GNU General Public License as published by the Free Software
  1126. +Foundation; either version 2 of the License, or (at your option) any later
  1127. +version.
  1128. +
  1129. +In addition, as a special exception to the GNU GPL, the copyright holders give
  1130. +permission to link the code of this program with the Motif and Open Motif
  1131. +libraries (or with modified versions of these that use the same license), and
  1132. +distribute linked combinations including the two. You must obey the GNU General
  1133. +Public License in all respects for all of the code used other than linking with
  1134. +Motif/Open Motif. If you modify this file, you may extend this exception to your
  1135. +version of the file, but you are not obligated to do so. If you do not wish to
  1136. +do so, delete this exception statement from your version.
  1137. +
  1138. +This program is distributed in the hope that it will be useful, but WITHOUT ANY
  1139. +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  1140. +PARTICULAR PURPOSE. See the GNU General Public License in the Help section
  1141. +"Distribution Policy" for more details.
  1142. +
  1143. +=cut
  1144. diff -urN nedit-5.6/util/check_lin_tif.c nedit-5.6-patched/util/check_lin_tif.c
  1145. --- nedit-5.6/util/check_lin_tif.c 2014-12-28 14:56:21.000000000 +0100
  1146. +++ nedit-5.6-patched/util/check_lin_tif.c 2017-01-26 16:36:33.825530142 +0100
  1147. @@ -103,28 +103,11 @@
  1148. if (stability == MotifUnknown)
  1149. {
  1150. /* This version is neither known-good nor known-bad */
  1151. - fprintf(stderr,
  1152. - "ERROR: Untested Motif Version:\n\t%s\n",
  1153. - XmVERSION_STRING);
  1154. -
  1155. - fprintf(stderr,
  1156. - "You are attempting to build NEdit with a version of Motif that\n"
  1157. - "has not been verified to work well with NEdit. This could be fine,\n"
  1158. - "but it could also lead to crashes and instability. Historically, \n"
  1159. - "older versions of Motif have quite often been more stable\n"
  1160. - "than newer versions when used with NEdit, so don't assume newer\n"
  1161. - "is better.\n");
  1162. + /* Yeah, whatevs, it's the only version we have, mister snottypants */
  1163. #ifdef BUILD_UNTESTED_NEDIT
  1164. {
  1165. - char buf[2];
  1166. - fprintf(stderr,
  1167. - "\n========================== WARNING ===========================\n"
  1168. - "You have chosen to build NEdit with an untested version of Motif.\n"
  1169. - "Please report your success or failure with this version to:\n"
  1170. - "\tdevelop@nedit.org\n"
  1171. - "\nHIT ENTER TO CONTINUE\n");
  1172. - fgets(buf, 2, stdin);
  1173. + /* Bollocks. */
  1174. return EXIT_SUCCESS;
  1175. }
  1176. #else