File: NEWS

package info (click to toggle)
enscript 1.6.5.90-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 7,264 kB
  • ctags: 4,824
  • sloc: ansic: 33,705; sh: 5,383; makefile: 649; yacc: 457; lex: 428; perl: 340; lisp: 109; sed: 16
file content (378 lines) | stat: -rw-r--r-- 11,937 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378

		      What's new in GNU enscript
		      --------------------------

Summary of changes in enscript version 1.6.5.2:

* Fix CFG_FATAL macro in util.c; this prevents a segmentation fault
  when the configuration file contains unknown parameters. (Savannah
  bug #28769)

* Fix segmentation fault with line lengths over 90 characters.
  (Savannah bug #29198)

Summary of changes in enscript version 1.6.5.1:

* Typo corrections in the manual pages.

* Reorganise source tree to use a single ChangeLog file.

* Actually ship f90.st in the tarball.

* Reorganise INSTALL and README.


Noteworthy changes in enscript version 1.6.5:

* New maintainer.

* Licensing change: GNU Enscript is now distributed under version 3 or
  later of the GNU GPL.

* Build system fixes - distcheck now passes.

* At least four security bug fixes:
  - CAN-2004-1184
  - CAN-2004-1185
  - CAN-2004-1186
  - CVE-2008-3863, CVE-2008-4306

* Syntax highlighting fixes.
  - shell escaping rules from Shawn McMahon.
  - JavaScript regexps now recognised.
  - New highlighting rules for Fortran 90 from David Bowler.

See changelogs for more detailed notes.


Noteworthy changes in enscript version 1.6.4:

* Unknown - to be filled in at a later date.


Noteworthy changes in enscript version 1.6.3:

* Changes in the highlighting / pretty printing

  - The `States*' config file options have changed.  The new options
    are:
      - StatesBinary		specify an absolute path for `states'
      - StatesColor		use colors in the highlighting outputs?
      - StatesConfigFile	config file name (enscript.st)
      - StatesHighlightStyle	highlighting style
      - StatesPath		path from which the states is looking
				up the state definition files (.st)

  - Support for user defined local highlighting definitions and styles.
  - new option `--style=STYLE' to specify the highlighting style
  - Verbose highlighting for the C, C++, and Objective-C languages.
    In the verbose highlighting, some mathematical constructs (&&, ||,
    !=, etc.) are replaced with the corresponding mathematical symbols
    (logical and, logical or, not equal, etc.).  The mode can be
    enabled with option `--style=emacs_verbose'.
  - renamed `--pretty-print' and `--help-pretty-print' options to
    `--highlight' and `--help-highlight'

* states:

  - Support for state inheritance.

* new highlighting rules:

  - bash, csh, ksh, tcsh, zsh
	        Unix shells
  - m4		m4 macro preprocessor
  - skill	Cadence Design Systems lispy language
  - vrml	Virtual Reality Modeling Language (VRML97)
  - rfc		fix broken page breaks in RFCs and in Internet Drafts
  - inf		GUI INF Script language
  - matlab	Matlab files
  - outline	Emacs' outline text
  - tex		TeX/LaTeX source files.
  - diffs	side diff files
  - fortran_pp	fortran 77 with preprocessor
  - wmlscript	WMLScript language

  - new output language `ansi' to print color outputs on color xterm,
    etc.

* new encodings:

  - 88599	ISO-8859-9 (ISO Latin5)
  - 885910	ISO-8859-10 (ISO Latin6)

* new options:

  - -3, -4, -5, -6, -7, -8, -9	select 3-9 columns
  - --nup-columnwise 		layout pages in the N-up printing
                                columnwise
  - --swap-even-page-margins	swap left and right side margins for
				even numbered pages
  - --extended-return-values    encode more status information in the
				return value of the program
  - --footer=STRING             specify the page footer string

* misc:

  - It is possible to specify the font encoding in the ^@font{}
    escape.  But, it allows only `ps' or the enscript's global input
    encoding values.  For example, ^@font{Symbol@7:ps}b^@font{default}
    prints the beta symbol
  - New escape ^@bgcolor{} to change the text background color.
  - New fancy headers `squeeze' and `enscript-color'.
  - Minor fixes in the 88593 and 88594 encodings.
  - New highlighting style `msvc'.
  - Support for the matrix printers.  Try `enscript -fMatrix10' ;-)
  - Fixed some buffer overrun bugs.  Now all buffer space for unknown
    items (filenames, user-supplied tokens, etc.) is allocated
    dynamically.
  - Removed the `--list-options' option.  It was an old debugging
    option.  I can remember when I have used or updated it.


Noteworthy changes in enscript version 1.6.1:

* new options:

  - --ps-level=LEVEL, PostScriptLevel
			set the PostScript language level that
			enscript should use for its output
  - --rotate-even-pages
			Rotate each even-numbered page 180 degrees.

* misc

  - updated C, C++, and Objective-C highlighting
  - set the states to process the stdin if argument "-" is given
  - bug and portability fixes


Noteworthy changes in enscript version 1.6:

* new options:

  - StatesPath		define absolute path for the states program
  - GeneratePageSize	specify wheter the PageSize page device
			setting is generated to the output
  - -C, --line-numbers	option takes an optional argument to specify
			the number of the first line in the input
  - -W, --language=LANG set ouput language to LANG
  - --h-column-height=HEIGHT
			set the horizontal column height to HEIGHT
			PostScript points
  - --mark-wrapped-lines[=STYLE], MarkWrappedLines
			mark wrapped lines in the printout with STYLE
  - --margins=LEFT:RIGHT:TOP:BOTTOM
			adjust page marginals
  - --nup-xpad=NUM	set the page x-padding of N-up printing to NUM
  - --nup-ypad=NUM	set the page y-padding of N-up printing to NUM
  - --word-wrap		wrap long lines from word boundaries

* new highlighting rules:

  - ada		Ada95 programming language
  - asm		assembler listings
  - awk		awk scripting language
  - delphi	Delphi programming language
  - diff	diff files
  - diffu	unified diff files
  - elisp	Emacs Lisp
  - fortran	Fortran77 programming language
  - haskell	Haskell programming language
  - idl		CORBA interface definition language
  - java	Java programming language
  - javascript	JavaScript language
  - pascal	Pascal programming language
  - perl	Perl programming language
  - postscript	PostScript
  - python	Python programming language
  - sh		Bourne shell scripts
  - sql		Sybase 11 SQL
  - vba		Visual Basic (for Applications)

  - improved C, C++ and Objective-C highlighting

* new special escapes:

  - ^@bggray{GRAY} change text's background color
  - ^@escape{CODE} changes the escape character

* new encodings:

  - 88594	ISO-8859-4 (ISO Latin4)
  - 88597	ISO-8859-7 (ISO Greek)

* misc:

  - interpret formatting escapes from the page header strings
  - page header string can contain left, center and right aligned
    fields
  - support for HTML, RTF (Rich Text Format) and overstrike output
    languages
  - fixed tabulator character handling with variable width fonts
  - added support for regular expression character syntax tables in
    the states program
  - generates the PageSize page device setting to the PostScript
    output -- this should make the printer to select the correct paper
    tray automatically
  - replaced all stdarg functions with macros
  - fixed N-up printing to cooperate with the page margins
  - renamed the ISO-8859-* input encoding names to conform their
    ISO names

Noteworthy changes in enscript version 1.5:

* new options:

  -A ALIGN, --file-align=ALIGN
			align separate input files to even ALIGN page
			count
  -E, --pretty-print	pretty print program source files with states
  -U NUM, --nup=NUM	print NUM logical pages on each output page
			(N-up printing)
  --help-pretty-print	describe all supported --pretty-print
			languages and file formats
  --slice		print vertical slices of input files
  --toc			print table of contents

* config file options:

  - TOCFormat		set the table-of-contents line format
  - NoJobHeaderSwitch	set the spooler switch which disables job
			header (-h)
  - OutputFirstLine	set output's fist line
  - StatesColorModel	define color model for states
  - StatesConfigFile	set states' config file
  - StatesHighlightLevel
			define highlight level for states

* new utilities:

  - sliceprint 	print documents with long lines
  - states 	awk like state machine to highlight program listings
  - many2html 	convert files to HTML.  Program supports all file
		formats which can be pretty-printed with enscript.

* new encodings:

  - koi8		Adobe Standard Cyrillic Font KOI8 charset
  - 88595		ISO-8859-5 (ISO Cyrillic)
  - asciifise		7 bit ascii with fi and se encodings for {|}[\]
			(old asciiscands)
  - asciidkno		7 bit ascii with dk and no encodings for {|}[\]

* misc

  - ^@color{r g b} special escape
  - if input file (all input files) does not exist, enscript doesn't
    generate any output
  - -E, --pretty-print highlighting for: C, ChangeLog, C++, mail,
    Makefile, nroff output, Objective-C, Scheme, States, Synopsys,
    Tcl, Verilog, VHDL


Noteworthy changes in enscript version 1.4:

* new and changed options:

  -a, --pages		select pages to print
  -e, --escapes		option takes an optional argument which
			changes the escape character
  -h, --no-job-header	supress the job header page
  --title		sets the name of stdin
  -I, --filter		set input filter
  -j, --borders		print borders around columns
  -k, --page-prefeed	enable page prefeed
  -K, --no-page-prefeed	disable page prefeed
  --highlight-bars	enable highlight bars
  --highlight-bar-gray	set the gray-level for highlight bars
  --printer-options	pass extra options to the printer command
  --ul-style		specify how the underlay strings are printed

  - renamed option `--page-header' to `--header'
  - renamed option `--pass-through-ps-files' to `--pass-through'

* config file options:

  - AcceptCompositeCharacters
  - AppendCtrlD
  - FormFeedType	what to do when a formfeed character is
			encountered from input
  - EscapeChar		specify the escape character
  - UnderlayStyle	how underlays are printed: outline / filled

* new fancy headers: mp, frame

* escapes:

  - font 	works now over page boundaries
  - ps		include raw PostScript code to the output
  - shade 	new escape to highlight text regions
  - setfilename
  - setpagenumber
  - newpage

* new encodings:
  - hp8		HP Roman-8

* internationalization support with the GNU gettext

* changed to use GNU Automake

* program renamed from genscript to enscript

* new utility scripts:
  - diffpp - pretty-print diff outputs


Noteworthy changes in enscript version 1.3:

* new encodings:
  - 88593 	ISO-8859-3
  - pslatin1	PostScript interpreter's ISOLatin1Encoding

* new fancy header: edd, a2ps

* option changes:
  - option -Z, --pass-through-ps-files no longer wraps PS document
    inside enscript prolog and epilog.

  - renamed some options to conform the GNU coding standards:
      --output-file	=> 	--output
      --queue		=>	--printer
      --tab-size	=>	--tabsize

  - new command line / config file options:
    -z, --no-formfeed
    --ul-angle			UnderlayAngle
    --ul-position		UnderlayPosition
    --non-printable-format	NonPrintableFormat

* added some customization options to header description files:
    %Format		format and define string constants according
			to format string
    %HeaderHeight	explicit set the fancy header height
    %FooterHeight	allocate space for the page footer

  Note!  If you have defined your own fancy header, it will probably
  not work on enscript-1.3 without modifications.  Following constants
  are removed from the enscript prolog so you must define them with
  the `%Format' comment:

    usadatestr = %Format: usadatestr	%W
    eurdatestr = %Format: eurdatestr	%E
    findatestr = %Format: findatestr	%F
    timestr    = %Format: timestr	%C
    fmodstr    = %Format: fmodstr	$D{%a %b %e %T %Y}

  Check `lib/*.hdr' to see them in action.

* the library directory has changed from `<prefix>/lib/enscript' to
  `<prefix>/share/enscript'

* new Makefile targets: check, uninstall

* enscript must no longer be installed before it can be tested; you
  can print files directly after you have compiled enscript.

* support for Windows95/NT via the Win32 api