PageRenderTime 3095ms CodeModel.GetById 1ms RepoModel.GetById 1ms app.codeStats 0ms

/konwert/patches/konwert_1.8-11.2.patch

https://gitlab.com/rychly-edu/openwrt-packages
Patch | 1440 lines | 1401 code | 39 blank | 0 comment | 0 complexity | c3c0b2cad27523eab64f6c32d175c5fa MD5 | raw file
  1. --- konwert-1.8.orig/konwert.conffiles
  2. +++ konwert-1.8/konwert.conffiles
  3. @@ -0,0 +1 @@
  4. +/etc/bash_completion.d/konwert
  5. --- konwert-1.8.orig/Makefile
  6. +++ konwert-1.8/Makefile
  7. @@ -181,6 +181,9 @@
  8. ###############################################################################
  9. +$(srcbindir)/filterm: $(srcbindir)/filterm.cc
  10. + $(CXX) $(CXXFLAGS) $< -lutil -o $@
  11. +
  12. $(installbindir)/konwert: $(srcbindir)/konwert
  13. sed 's|/usr/share/konwert/filters|$(filtersdir)|g' $< >$@
  14. chmod +x $@
  15. --- konwert-1.8.orig/debian/copyright
  16. +++ konwert-1.8/debian/copyright
  17. @@ -0,0 +1,8 @@
  18. +This package was debianized by Yann Dirson <dirson@debian.org>,
  19. +from sources available from:
  20. +
  21. +http://qrczak.ids.net.pl/programy/linux/konwert/
  22. +
  23. +Upstream author is Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>.
  24. +
  25. +Copyright: GPL (see /usr/share/common-licenses/GPL).
  26. --- konwert-1.8.orig/debian/rules
  27. +++ konwert-1.8/debian/rules
  28. @@ -0,0 +1,112 @@
  29. +#!/usr/bin/make -f
  30. +# -*- makefile -*-
  31. +# Made with the aid of dh_make, by Craig Small
  32. +# Uses debhelper, GNU copyright 1997 by Joey Hess.
  33. +# Some lines taken from debmake, by Cristoph Lameter.
  34. +
  35. +export LC_ALL=C
  36. +
  37. +topdir=$(shell pwd)
  38. +debdir=${topdir}/debian
  39. +tmpdir=${debdir}/tmp
  40. +docdir=${debdir}/konwert-filters/usr/share/doc
  41. +
  42. +build: build-stamp
  43. +build-stamp:
  44. + dh_testdir
  45. +
  46. + chmod +x filters/UTF8-prn7pl
  47. + make CXXFLAGS="-O2 -g -Wall" prefix=/usr
  48. +
  49. + touch build-stamp
  50. +
  51. +clean:
  52. + dh_testdir
  53. + dh_testroot
  54. + rm -f build-stamp
  55. +
  56. + -${MAKE} clean
  57. +
  58. + dh_clean
  59. +
  60. +install: build
  61. + dh_testdir
  62. + dh_testroot
  63. + dh_clean -k
  64. + dh_installdirs
  65. +
  66. + ${MAKE} install prefix=${tmpdir}/usr nofixmanconfig=1 \
  67. + mandir=${tmpdir}/usr/share/man
  68. +
  69. + mkdir -p ${tmpdir}/usr/share/doc
  70. + mv ${tmpdir}/usr/doc/* ${tmpdir}/usr/share/doc/
  71. + rmdir ${tmpdir}/usr/doc
  72. +
  73. + dh_movefiles
  74. +
  75. +# cd debian/konwert-filters/usr/share/konwert/filters/ && \
  76. +# mv 512bold 512bold1 ${tmpdir}/usr/share/konwert/filters
  77. +
  78. + test -z "`find ${tmpdir} -not -type d | tee /dev/fd/2`"
  79. +
  80. +binary-indep: install
  81. + dh_testdir -i
  82. + dh_testroot -i
  83. +
  84. + cd ${debdir}/konwert-dev/usr/share/doc && \
  85. + ln -s konwert konwert-dev
  86. +
  87. + # override hardlinks warnings
  88. + mkdir -p ${debdir}/konwert-filters/usr/share/lintian/overrides/
  89. + cp debian/lintian-override \
  90. + ${debdir}/konwert-filters/usr/share/lintian/overrides/konwert-filters
  91. +
  92. + # remove symlink to binary-arch filter (could be improved - is it worth ?)
  93. +# (cd ${debdir}/konwert-filters/usr/share/konwert/filters/ && \
  94. +# ( test -L 512bold && rm 512bold ; \
  95. +# test -L 512bold1 && rm 512bold1 ) )
  96. +
  97. + # rename docdir
  98. + cd ${docdir} && mv konwert-* konwert-filters
  99. +
  100. + # remove GPL and redundant files
  101. + cd ${docdir}/konwert-filters && rm */COPYING en/CHANGES pl/ZMIANY
  102. +
  103. + dh_installdocs -pkonwert-filters
  104. + dh_installchangelogs -pkonwert-filters doc/en/CHANGES
  105. + dh_compress -i
  106. + dh_fixperms -i
  107. + dh_installdeb -i
  108. + dh_perl -i
  109. + dh_gencontrol -i
  110. + dh_md5sums -i
  111. + dh_builddeb -i
  112. +
  113. +binary-arch: install
  114. + dh_testdir -a
  115. + dh_testroot -a
  116. +
  117. + install -d debian/konwert/etc/bash_completion.d/
  118. + install -m644 debian/konwert.bash-completion debian/konwert/etc/bash_completion.d/konwert
  119. +
  120. + # what is this empy dir for ?
  121. +# rmdir ${tmpdir}/usr/lib/konwert/devel/
  122. +
  123. + rm -rf ${tmpdir}/usr/share/doc/konwert-1.8
  124. + dh_installdocs -a
  125. + ln -s ../konwert-filters/en ../konwert-filters/pl debian/konwert/usr/share/doc/konwert/
  126. + dh_buildinfo -a
  127. + dh_installchangelogs -a
  128. +
  129. + dh_strip -a
  130. + dh_compress -a
  131. + dh_fixperms -a
  132. + dh_installdeb -a
  133. + dh_shlibdeps -a
  134. + dh_perl -a
  135. + dh_gencontrol -a
  136. + dh_md5sums -a
  137. + dh_builddeb -a
  138. +
  139. +binary: binary-indep binary-arch
  140. +.PHONY: build clean binary-indep binary-arch binary
  141. --- konwert-1.8.orig/debian/konwert-filters.files
  142. +++ konwert-1.8/debian/konwert-filters.files
  143. @@ -0,0 +1,3 @@
  144. +usr/share/konwert/aux
  145. +usr/share/konwert/filters
  146. +usr/share/doc
  147. --- konwert-1.8.orig/debian/README.debian
  148. +++ konwert-1.8/debian/README.debian
  149. @@ -0,0 +1,10 @@
  150. +The Debian Package `konwert'
  151. +----------------------------
  152. +
  153. +There are no shipped manpages in this version, but the 3 user-level
  154. +programs (konvert, filterm, trs) are documented in English and Polish
  155. +in the subdirs of this directory.
  156. +
  157. +These should surely be converted into manpages.
  158. +
  159. +Yann Dirson <dirson@debian.org>, Mon, 22 Jun 1998 09:19:36 +0200
  160. --- konwert-1.8.orig/debian/konwert.bash-completion
  161. +++ konwert-1.8/debian/konwert.bash-completion
  162. @@ -0,0 +1,39 @@
  163. +# Debian GNU/Linux konwert completion.
  164. +# Copyright (c) 2003 Vitalij K. Lysoff <vij@ptc.spbu.ru>
  165. +
  166. +have konwert &&
  167. +_konwert()
  168. +{
  169. + local cur prev special i
  170. +
  171. + COMPREPLY=()
  172. + cur=${COMP_WORDS[COMP_CWORD]}
  173. + prev=${COMP_WORDS[COMP_CWORD-1]}
  174. + filters=`ls /usr/share/konwert/filters/`
  175. + #filters="$COMP_CWORD "$filters
  176. +
  177. + if [[ $COMP_CWORD > 1 ]]; then
  178. + _filedir
  179. + return 0
  180. + fi
  181. +
  182. + case "$prev" in
  183. + -o)
  184. + _filedir
  185. + return 0
  186. + ;;
  187. + esac
  188. +
  189. + if [[ "$cur" == -* ]]; then
  190. +
  191. + COMPREPLY=( $( compgen -W '-o -O --help --version' -- $cur ) )
  192. + else
  193. +
  194. + COMPREPLY=( $( compgen -W '$filters' -- $cur ) )
  195. +
  196. + fi
  197. +
  198. +
  199. + return 0
  200. +}
  201. +[ -n "${have:-}" ] && complete -F _konwert $filenames konwert
  202. --- konwert-1.8.orig/debian/konwert.files
  203. +++ konwert-1.8/debian/konwert.files
  204. @@ -0,0 +1,4 @@
  205. +usr/bin
  206. +usr/lib/konwert/aux/512*
  207. +usr/share/konwert/filters/512*
  208. +usr/share/man
  209. --- konwert-1.8.orig/debian/control
  210. +++ konwert-1.8/debian/control
  211. @@ -0,0 +1,41 @@
  212. +Source: konwert
  213. +Section: text
  214. +Priority: optional
  215. +Maintainer: Yann Dirson <dirson@debian.org>
  216. +Standards-Version: 3.6.2
  217. +Build-Depends: debhelper (>> 5), dh-buildinfo
  218. +
  219. +Package: konwert
  220. +Architecture: any
  221. +Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, konwert-filters
  222. +Suggests: konwert-dev
  223. +Description: Charset conversion for files or terminal I/O
  224. + `konwert' is yet another charset converter. Some particular features are:
  225. + * one-to-many conversions
  226. + * context-dependent conversions
  227. + * approximations of some unavailable characters
  228. + * (as a result) ability to transcript e.g. Russian Cyrillic into Polish
  229. + phonetic equivalent
  230. + .
  231. + `filterm' applies filter conversion to a terminal's I/O, to get on-the-fly
  232. + charset conversion, and customized input methods.
  233. +
  234. +Package: konwert-filters
  235. +Architecture: all
  236. +Depends: ${perl:Depends}, ${misc:Depends}, libfile-temp-perl
  237. +Recommends: konwert
  238. +Description: Filters used by konwert for charset conversion
  239. + These files are needed by konwert.
  240. + .
  241. + They are also probably useless without konwert itself.
  242. +
  243. +Package: konwert-dev
  244. +Architecture: all
  245. +Priority: extra
  246. +Depends: konwert, ${misc:Depends}
  247. +Suggests: g++
  248. +Description: Tools to define new charset conversion for konwert
  249. + This package contains sources for some filters, and the scripts used to
  250. + build those filters from them.
  251. + .
  252. + The `512bold' filter is a C++ program.
  253. --- konwert-1.8.orig/debian/konwert-dev.files
  254. +++ konwert-1.8/debian/konwert-dev.files
  255. @@ -0,0 +1 @@
  256. +usr/share/konwert/devel
  257. --- konwert-1.8.orig/debian/changelog
  258. +++ konwert-1.8/debian/changelog
  259. @@ -0,0 +1,164 @@
  260. +konwert (1.8-11.2) unstable; urgency=medium
  261. +
  262. + * Non-maintainer upload.
  263. + * Use File::Temp in place of pid-based temporary filenames to prevent
  264. + against symlink-based attacks. (Closes: #496379)
  265. +
  266. + -- Chris Lamb <chris@chris-lamb.co.uk> Sat, 06 Sep 2008 17:15:01 +0100
  267. +
  268. +konwert (1.8-11.1) unstable; urgency=medium
  269. +
  270. + * Non-maintainer upload.
  271. + * Fix FTBFS with GCC 4.3 (Closes: #413416).
  272. +
  273. + -- Luk Claes <luk@debian.org> Fri, 07 Mar 2008 18:54:25 +0000
  274. +
  275. +konwert (1.8-11) unstable; urgency=low
  276. +
  277. + * Switch from debhelper v1 mode to v5:
  278. + * bash-completion script now maked as conffile (Closes: #358376).
  279. + * use ${misc:Depends} for every binary package.
  280. + * Fixed problem in a polish manpage (Closes: #296246).
  281. + * Fixed capitalization in README.Debian (lintian).
  282. + * Bumped Standards-Version to 3.6.2, no change.
  283. +
  284. + -- Yann Dirson <dirson@debian.org> Tue, 11 Apr 2006 01:22:10 +0200
  285. +
  286. +konwert (1.8-10) unstable; urgency=low
  287. +
  288. + * Build with g++-4.0.
  289. +
  290. + -- Yann Dirson <dirson@debian.org> Tue, 5 Jul 2005 23:25:19 +0200
  291. +
  292. +konwert (1.8-9) unstable; urgency=low
  293. +
  294. + * Fixed rtf-8bit to recognize the good escape sequences (Closes: #182439).
  295. + * Include bash-completion script for konwert(1) from Vitalij K. Lysoff.
  296. + * Fixed dh_buildinfo call to occur in binary-arch; ship a docdir in
  297. + konwert package instead of a symlink to allow this; create symlinks to
  298. + en and pl docdirs to leave docs easily found.
  299. + * Reworked debian/rules a bit: added an install target to help
  300. + accomodating for this change.
  301. + * Updated my email in README.Debian and copyright; updated upstream URL
  302. + in copyright.
  303. +
  304. + -- Yann Dirson <dirson@debian.org> Thu, 29 Apr 2004 00:30:26 +0200
  305. +
  306. +konwert (1.8-8) unstable; urgency=low
  307. +
  308. + * Applied longstanding patch from Radovan Garabik to use UNIX98 ptys
  309. + (Closes: #108583, #195451). Link filterm with libutil.
  310. + * Avoid redifinition of PATH_MAX in filterm.cc.
  311. + * Use dh-buildinfo.
  312. +
  313. + -- Yann Dirson <dirson@debian.org> Fri, 9 Jan 2004 16:31:57 +0100
  314. +
  315. +konwert (1.8-7) unstable; urgency=low
  316. +
  317. + * Added support for mik from Kaloian Doganov (Closes: #196510).
  318. + * Added filters/UTF8-prn7pl and associated documentation from Grzegorz
  319. + B. Prokopski (Closes: #195908).
  320. + * Bumped Standards-Version from 3.0.1 to 3.5.10 (no change).
  321. +
  322. + -- Yann Dirson <dirson@debian.org> Sun, 8 Jun 2003 16:32:09 +0200
  323. +
  324. +konwert (1.8-6) unstable; urgency=low
  325. +
  326. + * Converted bin/trc.cc to use <sstream> since g++ 3.3 dropped
  327. + <strstream.h> (Closes: #194942).
  328. + * Fixed konwert-filters short desc (lintian).
  329. +
  330. + -- Yann Dirson <dirson@debian.org> Thu, 29 May 2003 23:23:48 +0200
  331. +
  332. +konwert (1.8-5) unstable; urgency=low
  333. +
  334. + * Rebuild for g++-3.2.
  335. + * Removed manually-inserted /usr/doc/-symlinks logic from maintainer
  336. + scripts.
  337. +
  338. + -- Yann Dirson <dirson@debian.org> Mon, 13 Jan 2003 16:03:50 +0100
  339. +
  340. +konwert (1.8-4) unstable; urgency=low
  341. +
  342. + * Fix typos in package descriptions (Closes: #124848, #146488). Ran
  343. + ispell and found a couple more.
  344. + * Added a lintian override for hardlinks usage. Nothing forbids
  345. + hardlinks here, and they don't break anything.
  346. +
  347. + -- Yann Dirson <dirson@debian.org> Fri, 24 May 2002 00:55:17 +0200
  348. +
  349. +konwert (1.8-3) unstable; urgency=medium
  350. +
  351. + * Include stdlib.h in trs.cc (Closes: #105180).
  352. + * Aknowledge previous NMU (Closes: #105304).
  353. + * Updated path to GPL in debian/copyright.
  354. +
  355. + -- Yann Dirson <dirson@debian.org> Wed, 1 Aug 2001 00:26:07 +0200
  356. +
  357. +konwert (1.8-2.1) unstable; urgency=low
  358. +
  359. + * NMU
  360. + * Add build-depends header. Closes: #105304
  361. +
  362. + -- LaMont Jones <lamont@smallone.fc.hp.com> Sat, 14 Jul 2001 22:52:34 -0600
  363. +
  364. +konwert (1.8-2) unstable; urgency=low
  365. +
  366. + * Moved doc and man to /usr/share, as per FHS.
  367. + * Manually added handling of /usr/doc symlinks to konwert{,-dev}
  368. + packages.
  369. + * Changed the name of zmienna member in struct zmienna in trs.cc to
  370. + allow compilation.
  371. + * Bumped Standards-Version to 3.0.1.
  372. +
  373. + -- Yann Dirson <dirson@debian.org> Sun, 24 Oct 1999 19:32:48 +0200
  374. +
  375. +konwert (1.8-1) unstable; urgency=low
  376. +
  377. + * New upstream release.
  378. + * Closes: Bug#38463 by recompilation.
  379. + * Make use of dh_perl for perl dependencies.
  380. +
  381. + -- Yann Dirson <dirson@debian.org> Tue, 6 Jul 1999 00:52:24 +0200
  382. +
  383. +konwert (1.7-3) frozen unstable; urgency=low
  384. +
  385. + * Made konwert-filters to Recommend konwert because it is mostly
  386. + useless without the latter, and it makes an excuse for a lintian
  387. + override on "E: konwert-filters: trs-script-but-no-konwert-dep"
  388. + stuff.
  389. + * Recompiled against libstdc++-2.9 (Fixes: Bug#29044).
  390. + * Passed lintian 0.9.3 (well, with the restriction stated above...).
  391. +
  392. + -- Yann Dirson <dirson@debian.org> Thu, 12 Nov 1998 20:48:33 +0100
  393. +
  394. +konwert (1.7-2) unstable; urgency=low
  395. +
  396. + * Incorporated patch from upstream to `512bold' filter so that
  397. + colors aren't reversed after dselect exists.
  398. +
  399. + -- Yann Dirson <dirson@debian.org> Fri, 31 Jul 1998 16:28:49 +0200
  400. +
  401. +konwert (1.7-1) unstable; urgency=low
  402. +
  403. + * New upstream release:
  404. + * Install `CHANGES' as `changelog'.
  405. + * Passed lintian 0.6.0.
  406. +
  407. + -- Yann Dirson <dirson@debian.org> Fri, 24 Jul 1998 23:28:35 +0200
  408. +
  409. +konwert (1.6-1) unstable; urgency=low
  410. +
  411. + * New upstream release:
  412. + ** Provides english manpages.
  413. + ** Uses /usr/share/ upstream.
  414. + ** Charset aliases.
  415. +
  416. + -- Yann Dirson <dirson@debian.org> Tue, 7 Jul 1998 21:42:02 +0200
  417. +
  418. +konwert (1.5-1) unstable; urgency=low
  419. +
  420. + * Initial Release.
  421. + * Passed lintian 0.4.8.
  422. +
  423. + -- Yann Dirson <dirson@debian.org> Mon, 22 Jun 1998 09:19:36 +0200
  424. --- konwert-1.8.orig/debian/konwert-dev.dirs
  425. +++ konwert-1.8/debian/konwert-dev.dirs
  426. @@ -0,0 +1 @@
  427. +usr/share/doc
  428. --- konwert-1.8.orig/debian/compat
  429. +++ konwert-1.8/debian/compat
  430. @@ -0,0 +1 @@
  431. +5
  432. --- konwert-1.8.orig/debian/lintian-override
  433. +++ konwert-1.8/debian/lintian-override
  434. @@ -0,0 +1 @@
  435. +konwert-filters: package-contains-hardlink
  436. --- konwert-1.8.orig/debian/substvars
  437. +++ konwert-1.8/debian/substvars
  438. @@ -0,0 +1,2 @@
  439. +shlibs:Depends=libc6 (>= 2.3.2.ds1-21), libgcc1 (>= 1:4.0.0-7), libstdc++6 (>= 4.0.0-10)
  440. +perl:Depends=perl
  441. --- konwert-1.8.orig/filters/rtf-8bit
  442. +++ konwert-1.8/filters/rtf-8bit
  443. @@ -1,130 +1,130 @@
  444. #!/usr/bin/trs -f
  445. - '\\80 \x80
  446. - '\\81 \x81
  447. - '\\82 \x82
  448. - '\\83 \x83
  449. - '\\84 \x84
  450. - '\\85 \x85
  451. - '\\86 \x86
  452. - '\\87 \x87
  453. - '\\88 \x88
  454. - '\\89 \x89
  455. - '\\8a \x8A
  456. - '\\8b \x8B
  457. - '\\8c \x8C
  458. - '\\8d \x8D
  459. - '\\8e \x8E
  460. - '\\8f \x8F
  461. - '\\90 \x90
  462. - '\\91 \x91
  463. - '\\92 \x92
  464. - '\\93 \x93
  465. - '\\94 \x94
  466. - '\\95 \x95
  467. - '\\96 \x96
  468. - '\\97 \x97
  469. - '\\98 \x98
  470. - '\\99 \x99
  471. - '\\9a \x9A
  472. - '\\9b \x9B
  473. - '\\9c \x9C
  474. - '\\9d \x9D
  475. - '\\9e \x9E
  476. - '\\9f \x9F
  477. - '\\a0 \xA0
  478. - '\\a1 \xA1
  479. - '\\a2 \xA2
  480. - '\\a3 \xA3
  481. - '\\a4 \xA4
  482. - '\\a5 \xA5
  483. - '\\a6 \xA6
  484. - '\\a7 \xA7
  485. - '\\a8 \xA8
  486. - '\\a9 \xA9
  487. - '\\aa \xAA
  488. - '\\ab \xAB
  489. - '\\ac \xAC
  490. - '\\ad \xAD
  491. - '\\ae \xAE
  492. - '\\af \xAF
  493. - '\\b0 \xB0
  494. - '\\b1 \xB1
  495. - '\\b2 \xB2
  496. - '\\b3 \xB3
  497. - '\\b4 \xB4
  498. - '\\b5 \xB5
  499. - '\\b6 \xB6
  500. - '\\b7 \xB7
  501. - '\\b8 \xB8
  502. - '\\b9 \xB9
  503. - '\\ba \xBA
  504. - '\\bb \xBB
  505. - '\\bc \xBC
  506. - '\\bd \xBD
  507. - '\\be \xBE
  508. - '\\bf \xBF
  509. - '\\c0 \xC0
  510. - '\\c1 \xC1
  511. - '\\c2 \xC2
  512. - '\\c3 \xC3
  513. - '\\c4 \xC4
  514. - '\\c5 \xC5
  515. - '\\c6 \xC6
  516. - '\\c7 \xC7
  517. - '\\c8 \xC8
  518. - '\\c9 \xC9
  519. - '\\ca \xCA
  520. - '\\cb \xCB
  521. - '\\cc \xCC
  522. - '\\cd \xCD
  523. - '\\ce \xCE
  524. - '\\cf \xCF
  525. - '\\d0 \xD0
  526. - '\\d1 \xD1
  527. - '\\d2 \xD2
  528. - '\\d3 \xD3
  529. - '\\d4 \xD4
  530. - '\\d5 \xD5
  531. - '\\d6 \xD6
  532. - '\\d7 \xD7
  533. - '\\d8 \xD8
  534. - '\\d9 \xD9
  535. - '\\da \xDA
  536. - '\\db \xDB
  537. - '\\dc \xDC
  538. - '\\dd \xDD
  539. - '\\de \xDE
  540. - '\\df \xDF
  541. - '\\e0 \xE0
  542. - '\\e1 \xE1
  543. - '\\e2 \xE2
  544. - '\\e3 \xE3
  545. - '\\e4 \xE4
  546. - '\\e5 \xE5
  547. - '\\e6 \xE6
  548. - '\\e7 \xE7
  549. - '\\e8 \xE8
  550. - '\\e9 \xE9
  551. - '\\ea \xEA
  552. - '\\eb \xEB
  553. - '\\ec \xEC
  554. - '\\ed \xED
  555. - '\\ee \xEE
  556. - '\\ef \xEF
  557. - '\\f0 \xF0
  558. - '\\f1 \xF1
  559. - '\\f2 \xF2
  560. - '\\f3 \xF3
  561. - '\\f4 \xF4
  562. - '\\f5 \xF5
  563. - '\\f6 \xF6
  564. - '\\f7 \xF7
  565. - '\\f8 \xF8
  566. - '\\f9 \xF9
  567. - '\\fa \xFA
  568. - '\\fb \xFB
  569. - '\\fc \xFC
  570. - '\\fd \xFD
  571. - '\\fe \xFE
  572. - '\\ff \xFF
  573. + \\'80 \x80
  574. + \\'81 \x81
  575. + \\'82 \x82
  576. + \\'83 \x83
  577. + \\'84 \x84
  578. + \\'85 \x85
  579. + \\'86 \x86
  580. + \\'87 \x87
  581. + \\'88 \x88
  582. + \\'89 \x89
  583. + \\'8a \x8A
  584. + \\'8b \x8B
  585. + \\'8c \x8C
  586. + \\'8d \x8D
  587. + \\'8e \x8E
  588. + \\'8f \x8F
  589. + \\'90 \x90
  590. + \\'91 \x91
  591. + \\'92 \x92
  592. + \\'93 \x93
  593. + \\'94 \x94
  594. + \\'95 \x95
  595. + \\'96 \x96
  596. + \\'97 \x97
  597. + \\'98 \x98
  598. + \\'99 \x99
  599. + \\'9a \x9A
  600. + \\'9b \x9B
  601. + \\'9c \x9C
  602. + \\'9d \x9D
  603. + \\'9e \x9E
  604. + \\'9f \x9F
  605. + \\'a0 \xA0
  606. + \\'a1 \xA1
  607. + \\'a2 \xA2
  608. + \\'a3 \xA3
  609. + \\'a4 \xA4
  610. + \\'a5 \xA5
  611. + \\'a6 \xA6
  612. + \\'a7 \xA7
  613. + \\'a8 \xA8
  614. + \\'a9 \xA9
  615. + \\'aa \xAA
  616. + \\'ab \xAB
  617. + \\'ac \xAC
  618. + \\'ad \xAD
  619. + \\'ae \xAE
  620. + \\'af \xAF
  621. + \\'b0 \xB0
  622. + \\'b1 \xB1
  623. + \\'b2 \xB2
  624. + \\'b3 \xB3
  625. + \\'b4 \xB4
  626. + \\'b5 \xB5
  627. + \\'b6 \xB6
  628. + \\'b7 \xB7
  629. + \\'b8 \xB8
  630. + \\'b9 \xB9
  631. + \\'ba \xBA
  632. + \\'bb \xBB
  633. + \\'bc \xBC
  634. + \\'bd \xBD
  635. + \\'be \xBE
  636. + \\'bf \xBF
  637. + \\'c0 \xC0
  638. + \\'c1 \xC1
  639. + \\'c2 \xC2
  640. + \\'c3 \xC3
  641. + \\'c4 \xC4
  642. + \\'c5 \xC5
  643. + \\'c6 \xC6
  644. + \\'c7 \xC7
  645. + \\'c8 \xC8
  646. + \\'c9 \xC9
  647. + \\'ca \xCA
  648. + \\'cb \xCB
  649. + \\'cc \xCC
  650. + \\'cd \xCD
  651. + \\'ce \xCE
  652. + \\'cf \xCF
  653. + \\'d0 \xD0
  654. + \\'d1 \xD1
  655. + \\'d2 \xD2
  656. + \\'d3 \xD3
  657. + \\'d4 \xD4
  658. + \\'d5 \xD5
  659. + \\'d6 \xD6
  660. + \\'d7 \xD7
  661. + \\'d8 \xD8
  662. + \\'d9 \xD9
  663. + \\'da \xDA
  664. + \\'db \xDB
  665. + \\'dc \xDC
  666. + \\'dd \xDD
  667. + \\'de \xDE
  668. + \\'df \xDF
  669. + \\'e0 \xE0
  670. + \\'e1 \xE1
  671. + \\'e2 \xE2
  672. + \\'e3 \xE3
  673. + \\'e4 \xE4
  674. + \\'e5 \xE5
  675. + \\'e6 \xE6
  676. + \\'e7 \xE7
  677. + \\'e8 \xE8
  678. + \\'e9 \xE9
  679. + \\'ea \xEA
  680. + \\'eb \xEB
  681. + \\'ec \xEC
  682. + \\'ed \xED
  683. + \\'ee \xEE
  684. + \\'ef \xEF
  685. + \\'f0 \xF0
  686. + \\'f1 \xF1
  687. + \\'f2 \xF2
  688. + \\'f3 \xF3
  689. + \\'f4 \xF4
  690. + \\'f5 \xF5
  691. + \\'f6 \xF6
  692. + \\'f7 \xF7
  693. + \\'f8 \xF8
  694. + \\'f9 \xF9
  695. + \\'fa \xFA
  696. + \\'fb \xFB
  697. + \\'fc \xFC
  698. + \\'fd \xFD
  699. + \\'fe \xFE
  700. + \\'ff \xFF
  701. --- konwert-1.8.orig/filters/UTF8-mik
  702. +++ konwert-1.8/filters/UTF8-mik
  703. @@ -0,0 +1,3 @@
  704. +APPROX='
  705. +' APPROX1='
  706. +' REPLACE='?' "${0%/*}/../aux/UTF8-charset" -rf "${0%/*}/../aux/charsets/mik"
  707. --- konwert-1.8.orig/filters/any-UTF8
  708. +++ konwert-1.8/filters/any-UTF8
  709. @@ -1,5 +1,7 @@
  710. #!/usr/bin/perl
  711. +use File::Temp qw(tempfile);
  712. +
  713. ($katalog = $0) =~ s|/[^/]*$||;
  714. # Konwersja any-test wypisuje tylko oznaczenie rozpoznanego standardu zamiast
  715. @@ -61,8 +63,10 @@
  716. # Musimy przelecieæ tekst dwa razy - raz, ¿eby zliczyæ znaki, i drugi
  717. # raz, ¿eby go skonwertowaæ. Podczas pierwszego przebiegu zapamiêtujemy
  718. # wiêc test w tymczasowym pliku:
  719. - open TEMP, "+>/tmp/any-$$";
  720. - unlink "/tmp/any-$$";
  721. + ($fh, $filename) = tempfile();
  722. + close $fh;
  723. + open TEMP, "+>$filename";
  724. + unlink $filename;
  725. }
  726. # Zliczamy wyst±pienia poszczególnych bajtów (w @ile) i znaków d³u¿szych ni¿
  727. # jeden bajt (w %ile):
  728. --- konwert-1.8.orig/filters/UTF8-prn7pl
  729. +++ konwert-1.8/filters/UTF8-prn7pl
  730. @@ -0,0 +1,64 @@
  731. +#!/bin/bash -
  732. +#
  733. +# Wykorzystuje standardowe mozliwosci drukarki zgodnej ze standardem
  734. +# EPSON do emulacji polskich znaczkow. Dziala na zasadzie sekwencji:
  735. +#
  736. +# <literka_podstawowa><cofnij>[w gore/dol]<znaczek ,`.>[w dol/gore]
  737. +#
  738. +# Sekwencje zostaly przetestowane na starej 9-iglowej drukarce
  739. +# Star NL-10 we wszystkich jakosciach/czcionkach na niej dostepnych,
  740. +# a takze w trybie NLQ.
  741. +#
  742. +# Wersja domyslna z parametrem 'nlq' wyglada lepiej w lepszej jakosci
  743. +# czy rozdzielczosci wydruku, natomiast 'draft' w gorszej/nizszej.
  744. +#
  745. +# (c) by Grzegorz B. Prokopski 2003 <gadek@debian.org> licencja GPL2
  746. +#
  747. +
  748. +# rozpoznajemy parametry ARG: domyslny 'nlq' i 'draft'
  749. +P_WAY=nlq
  750. +for A in $ARG; do
  751. + case $A in
  752. + nlq) P_WAY=nlq;;
  753. + draft) P_WAY=draft;;
  754. + esac
  755. +done
  756. +
  757. +# domyslnie ustawiamy zmienne dla DRAFTu
  758. +P_MOGN=\\b\\e\\112\\004,\\e\\152\\004
  759. +P_MAKC=\\b\\'`'
  760. +P_MKRP=\\b\\e\\152\\021.\\e\\112\\021
  761. +P_DOGN=\\b\\e\\112\\004,\\e\\152\\004
  762. +P_DAKC=\\b\\e\\152\\010\\'`'\\e\\112\\010
  763. +P_DKRP=\\b\\e\\152\\027.\\e\\112\\027
  764. +P_UKN=\\b/
  765. +
  766. +# zmieniamy dla NLQ
  767. +if [ $P_WAY == nlq ]; then
  768. +P_MAKC=\\b\\e\\152\\025,\\e\\112\\025
  769. +P_MKRP=\\b\\e\\152\\023.\\e\\112\\023
  770. +P_DAKC=\\b\\e\\152\\033,\\e\\112\\033
  771. +P_DKRP=\\b\\e\\152\\031.\\e\\112\\031
  772. +fi
  773. +
  774. +trs -e "
  775. + Ä… a$P_MOGN
  776. + ć c$P_MAKC
  777. + Ä™ e$P_MOGN
  778. + Å‚ l$P_UKN
  779. + Å„ n$P_MAKC
  780. + ó o$P_MAKC
  781. + Å› s$P_MAKC
  782. + ź z$P_MAKC
  783. + ż z$P_MKRP
  784. + Ä„ A$P_DOGN
  785. + Ć C$P_DAKC
  786. + Ę E$P_DOGN
  787. + Å L$P_UKN
  788. + Ń N$P_DAKC
  789. + Ó O$P_DAKC
  790. + Åš S$P_DAKC
  791. + Ź Z$P_DAKC
  792. + Å» Z$P_DKRP
  793. +"
  794. +
  795. --- konwert-1.8.orig/bin/512bold.cc
  796. +++ konwert-1.8/bin/512bold.cc
  797. @@ -1,6 +1,6 @@
  798. #include <stdlib.h>
  799. -#include <iostream.h>
  800. +#include <iostream>
  801. #define NPAR 16
  802. @@ -83,7 +83,7 @@
  803. for (int i = 0; i < 8; i++)
  804. if (zmien[i])
  805. {
  806. - cout << "\33]P" << hex[i] << normalny[nastare[i]];
  807. + std::cout << "\33]P" << hex[i] << normalny[nastare[i]];
  808. zmien[i] = 0;
  809. }
  810. zmiencos = 0;
  811. @@ -93,7 +93,7 @@
  812. {
  813. int attr = color;
  814. if (reverse) attr = (attr & 0x88) | (((attr >> 4) | (attr << 4)) & 0x77);
  815. - cout << 30 + kolory
  816. + std::cout << 30 + kolory
  817. (
  818. (underline ? ulcolor :
  819. intensity == 0 ? halfcolor :
  820. @@ -141,7 +141,7 @@
  821. switch (par[i])
  822. {
  823. case 0: /* all attributes off */
  824. - cout << "0;";
  825. + std::cout << "0;";
  826. default_attr();
  827. update_attr();
  828. break;
  829. @@ -200,9 +200,9 @@
  830. update_attr();
  831. }
  832. else
  833. - cout << par[i];
  834. + std::cout << par[i];
  835. }
  836. - if (i != npar) cout << ';';
  837. + if (i != npar) std::cout << ';';
  838. }
  839. npar = -1;
  840. }
  841. @@ -218,7 +218,7 @@
  842. if (underline)
  843. {
  844. update_attr();
  845. - cout << "m\33[";
  846. + std::cout << "m\33[";
  847. }
  848. }
  849. break;
  850. @@ -229,7 +229,7 @@
  851. if (intensity == 0)
  852. {
  853. update_attr();
  854. - cout << "m\33[";
  855. + std::cout << "m\33[";
  856. }
  857. }
  858. break;
  859. @@ -240,21 +240,21 @@
  860. intensity == 0 ? halfcolor :
  861. (color & 0x0F)) ^ (intensity == 2) * 8
  862. ) | (color & 0xF0);
  863. - cout << 30 + (def_color & 0x07) << ';' << 40 + (def_color >> 4);
  864. - if (def_color & 0x08) cout << ";1";
  865. - cout << "m\33[8]\33[";
  866. - if (def_color & 0x08) cout << "22;";
  867. + std::cout << 30 + (def_color & 0x07) << ';' << 40 + (def_color >> 4);
  868. + if (def_color & 0x08) std::cout << ";1";
  869. + std::cout << "m\33[8]\33[";
  870. + if (def_color & 0x08) std::cout << "22;";
  871. default_attr();
  872. update_attr();
  873. - cout << 'm';
  874. + std::cout << 'm';
  875. return;
  876. }
  877. for (int i = 0; i <= npar; i++)
  878. {
  879. - cout << par[i];
  880. - if (i < npar) cout << ';';
  881. + std::cout << par[i];
  882. + if (i < npar) std::cout << ';';
  883. }
  884. - cout << ']';
  885. + std::cout << ']';
  886. }
  887. void con_write (unsigned char c)
  888. @@ -292,7 +292,7 @@
  889. save_cur();
  890. break;
  891. case '8':
  892. - cout << "8\33[";
  893. + std::cout << "8\33[";
  894. restore_cur();
  895. c = 'm';
  896. break;
  897. @@ -341,13 +341,13 @@
  898. }
  899. for (int i = 0; i <= npar; i++)
  900. {
  901. - cout << par[i];
  902. - if (i < npar) cout << ';';
  903. + std::cout << par[i];
  904. + if (i < npar) std::cout << ';';
  905. }
  906. }
  907. }
  908. }
  909. - cout << c;
  910. + std::cout << c;
  911. if (zmiencos) update_pal();
  912. }
  913. @@ -383,9 +383,9 @@
  914. {
  915. licz_odleglosci();
  916. reset_terminal();
  917. - cout << "\30\33]R\33[0;"; update_attr(); cout << "m";
  918. + std::cout << "\30\33]R\33[0;"; update_attr(); std::cout << "m";
  919. update_pal();
  920. int c;
  921. - while ((c = cin.get()) != -1) con_write (c);
  922. - cout << "\30\33]R\33[0m";
  923. + while ((c = std::cin.get()) != -1) con_write (c);
  924. + std::cout << "\30\33]R\33[0m";
  925. }
  926. --- konwert-1.8.orig/bin/filterm.cc
  927. +++ konwert-1.8/bin/filterm.cc
  928. @@ -1,4 +1,5 @@
  929. -#include <iostream.h>
  930. +#include <iostream>
  931. +#include <limits.h>
  932. #include <signal.h>
  933. #include <stdio.h>
  934. #include <stdlib.h>
  935. @@ -10,20 +11,20 @@
  936. #include <sys/stat.h>
  937. #include <sys/types.h>
  938. #include <sys/wait.h>
  939. +#include <pty.h>
  940. #define WERSJA "1.8"
  941. char *nazwaprogramu;
  942. char *shell;
  943. int master;
  944. -int slave;
  945. +int slave = -1;
  946. struct termios tt;
  947. struct winsize win;
  948. -char line[] = "/dev/ptyXX";
  949. void uzycie (int status)
  950. {
  951. - (status ? cerr : cout) << "\
  952. + (status ? std::cerr : std::cout) << "\
  953. Usage: " << nazwaprogramu << " INPUT OUTPUT [COMMAND [ARGS]]\n\
  954. Execute the specified COMMAND (default is the shell), filtering terminal\n\
  955. input and/or output.\n\
  956. @@ -47,43 +48,38 @@
  957. void wersja()
  958. {
  959. - cout << "\
  960. + std::cout << "\
  961. filterm, version " WERSJA "\n\
  962. Copyright 1998 Marcin Kowalczyk <qrczak@knm.org.pl>\n\
  963. ";
  964. exit (0);
  965. }
  966. -void getmaster()
  967. +static char linedata[PATH_MAX];
  968. +char *line = linedata;
  969. +
  970. +int getpty(void) {
  971. + if (openpty(&master, &slave, line, NULL, NULL)) {
  972. + return -1;
  973. + } return master;
  974. +}
  975. +
  976. +
  977. +void getmasterslave()
  978. {
  979. - char *pty = &line[strlen ("/dev/ptyp")];
  980. - for (char *bank = "pqrs"; *bank; bank++)
  981. - {
  982. - line[strlen ("/dev/pty")] = *bank;
  983. - *pty = '0';
  984. - struct stat stb;
  985. - if (stat (line, &stb) < 0) break;
  986. - for (char *cp = "0123456789abcdef"; *cp; cp++)
  987. - {
  988. - *pty = *cp;
  989. - if ((master = open (line, O_RDWR)) >= 0)
  990. - {
  991. - char *tp = &line[strlen("/dev/")];
  992. - *tp = 't';
  993. - int ok = !access (line, R_OK|W_OK);
  994. - *tp = 'p';
  995. - if (ok)
  996. - {
  997. - tcgetattr (0, &tt);
  998. - ioctl (0, TIOCGWINSZ, (char *) &win);
  999. - return;
  1000. - }
  1001. - close (master);
  1002. - }
  1003. - }
  1004. + int r;
  1005. + r = getpty();
  1006. + if (r==-1) {
  1007. + std::cerr << "Error opening pty\n";
  1008. + exit (1);
  1009. }
  1010. - cerr << "Out of pty's\n";
  1011. - exit (1);
  1012. +
  1013. + tcgetattr (0, &tt);
  1014. + ioctl (0, TIOCGWINSZ, (char *) &win);
  1015. + tcsetattr (slave, TCSAFLUSH, &tt);
  1016. + ioctl (slave, TIOCSWINSZ, (char *) &win);
  1017. + setsid();
  1018. + ioctl (slave, TIOCSCTTY, 0);
  1019. }
  1020. void terminalsurowy()
  1021. @@ -114,24 +110,8 @@
  1022. exit (1);
  1023. }
  1024. -void getslave()
  1025. -{
  1026. - line[strlen ("/dev/")] = 't';
  1027. - slave = open (line, O_RDWR);
  1028. - if (slave < 0)
  1029. - {
  1030. - perror (line);
  1031. - exit (1);
  1032. - }
  1033. - tcsetattr (slave, TCSAFLUSH, &tt);
  1034. - ioctl (slave, TIOCSWINSZ, (char *) &win);
  1035. - setsid();
  1036. - ioctl (slave, TIOCSCTTY, 0);
  1037. -}
  1038. -
  1039. void komenda (int argc, char *argv[])
  1040. {
  1041. - getslave();
  1042. dup2 (slave, 0);
  1043. dup2 (slave, 1);
  1044. dup2 (slave, 2);
  1045. @@ -181,7 +161,7 @@
  1046. }
  1047. if (argc < 3) uzycie (0);
  1048. - getmaster();
  1049. + getmasterslave();
  1050. signal (SIGCHLD, koniec);
  1051. if (strcmp (argv[2], "-"))
  1052. --- konwert-1.8.orig/bin/konwert
  1053. +++ konwert-1.8/bin/konwert
  1054. @@ -1,5 +1,7 @@
  1055. #!/usr/bin/perl
  1056. +use File::Temp qw(tempfile);
  1057. +
  1058. ######## STA£E ################################################################
  1059. $wersja = "1.8";
  1060. @@ -152,7 +154,8 @@
  1061. {
  1062. if ($wy eq "=")
  1063. {
  1064. - $temp = "/tmp/konwert-$$";
  1065. + ($fh, $temp) = tempfile();
  1066. + close $fh;
  1067. open STDOUT, ">$temp" or die "$ja: $temp: $!\n"
  1068. }
  1069. elsif (-d _)
  1070. --- konwert-1.8.orig/bin/512bold1.cc
  1071. +++ konwert-1.8/bin/512bold1.cc
  1072. @@ -1,5 +1,5 @@
  1073. -#include <iostream.h>
  1074. +#include <iostream>
  1075. int kolory[2][8] = { { 0, 1, 2, 1, 4, 1, 2, 7 }, { 0, 5, 6, 6, 5, 5, 6, 3 } };
  1076. @@ -15,7 +15,7 @@
  1077. void update_attr()
  1078. {
  1079. - cout << 30 + (underline ? ulcolor : intensity == 0 ? halfcolor :
  1080. + std::cout << 30 + (underline ? ulcolor : intensity == 0 ? halfcolor :
  1081. kolory[intensity == 2][color & 0x0F])
  1082. << ';' << 40 + kolory[0][color >> 4];
  1083. }
  1084. @@ -54,7 +54,7 @@
  1085. switch (par[i])
  1086. {
  1087. case 0: /* all attributes off */
  1088. - cout << "0;";
  1089. + std::cout << "0;";
  1090. default_attr();
  1091. update_attr();
  1092. break;
  1093. @@ -105,9 +105,9 @@
  1094. update_attr();
  1095. }
  1096. else
  1097. - cout << par[i];
  1098. + std::cout << par[i];
  1099. }
  1100. - if (i != npar) cout << ';';
  1101. + if (i != npar) std::cout << ';';
  1102. }
  1103. npar = -1;
  1104. }
  1105. @@ -191,25 +191,25 @@
  1106. }
  1107. for (int i = 0; i <= npar; i++)
  1108. {
  1109. - cout << par[i];
  1110. - if (i < npar) cout << ';';
  1111. + std::cout << par[i];
  1112. + if (i < npar) std::cout << ';';
  1113. }
  1114. }
  1115. }
  1116. }
  1117. - cout << c;
  1118. + std::cout << c;
  1119. }
  1120. main()
  1121. {
  1122. reset_terminal();
  1123. - cout << "\33]P0000000\33]P1AA0000\33]P200AA00\33]P3FFFFFF"
  1124. + std::cout << "\33]P0000000\33]P1AA0000\33]P200AA00\33]P3FFFFFF"
  1125. "\33]P40000AA\33]P5FF55FF\33]P655FFFF\33]P7AAAAAA"
  1126. "\33]P8000000\33]P9AA0000\33]PA00AA00\33]PBFFFFFF"
  1127. "\33]PC0000AA\33]PDFF55FF\33]PE55FFFF\33]PFAAAAAA"
  1128. "\33[0;";
  1129. - update_attr(); cout << "m";
  1130. + update_attr(); std::cout << "m";
  1131. int c;
  1132. - while ((c = cin.get()) != -1) con_write (c);
  1133. - cout << "\33]R\33[0m";
  1134. + while ((c = std::cin.get()) != -1) con_write (c);
  1135. + std::cout << "\33]R\33[0m";
  1136. }
  1137. --- konwert-1.8.orig/bin/trs.cc
  1138. +++ konwert-1.8/bin/trs.cc
  1139. @@ -8,13 +8,16 @@
  1140. // ^^ http://qrczak.home.ml.org/
  1141. #include <string.h>
  1142. -#include <iostream.h>
  1143. -#include <fstream.h>
  1144. -#include <strstream.h>
  1145. +#include <iostream>
  1146. +#include <fstream>
  1147. +#include <sstream>
  1148. #include <ctype.h>
  1149. #include <unistd.h>
  1150. +#include <stdlib.h>
  1151. #define _(String) (String)
  1152. +using namespace std;
  1153. +
  1154. #define WERSJA "1.8"
  1155. #define WLKSLOWA 64*1024 // Maksymalna d³ugo¶æ s³owa do zamiany
  1156. // albo s³owa, na które zamieniamy
  1157. @@ -133,7 +136,7 @@
  1158. struct zmienna
  1159. {
  1160. - int zmienna, wartosc;
  1161. + int zmienna2, wartosc;
  1162. zmienna *nast;
  1163. };
  1164. @@ -315,7 +318,7 @@
  1165. )
  1166. {
  1167. *zmienne = new zmienna;
  1168. - (*zmienne)->zmienna =
  1169. + (*zmienne)->zmienna2 =
  1170. s1[0] >= 'A' && s1[0] <= 'Z' ?
  1171. s1[0] - 'A'
  1172. :
  1173. @@ -474,7 +477,7 @@
  1174. void regulyzarg (char *s)
  1175. {
  1176. - istrstream f (s);
  1177. + istringstream f (s);
  1178. czytajreguly (f);
  1179. }
  1180. @@ -542,7 +545,7 @@
  1181. zmienna *z = r->warunki;
  1182. while (z)
  1183. {
  1184. - if (zmienne[z->zmienna] != z->wartosc)
  1185. + if (zmienne[z->zmienna2] != z->wartosc)
  1186. goto niepasuje;
  1187. z = z->nast;
  1188. }
  1189. @@ -572,7 +575,7 @@
  1190. z = r->zmienne;
  1191. while (z)
  1192. {
  1193. - zmienne[z->zmienna] = z->wartosc;
  1194. + zmienne[z->zmienna2] = z->wartosc;
  1195. z = z->nast;
  1196. }
  1197. goto zamienione;
  1198. --- konwert-1.8.orig/aux/charsets/mik
  1199. +++ konwert-1.8/aux/charsets/mik
  1200. @@ -0,0 +1,129 @@
  1201. + ~ ~
  1202. + Ð
  1203. + Б
  1204. + Ð’
  1205. + ƒ Г
  1206. + Д
  1207. + Е
  1208. + Ж
  1209. + З
  1210. + ˆ И
  1211. + Й
  1212. + Š К
  1213. + Л
  1214. + Œ Ðœ
  1215. + Ð
  1216. + Ž О
  1217. + П
  1218. + Р
  1219. + С
  1220. + Т
  1221. + У
  1222. + Ф
  1223. + Х
  1224. + Ц
  1225. + Ч
  1226. + ˜ Ш
  1227. + Щ
  1228. + š Ъ
  1229. + Ы
  1230. + œ Ь
  1231. + Э
  1232. + ž Ю
  1233. + Ÿ Я
  1234. +   а
  1235. + ¡ б
  1236. + ¢ в
  1237. + £ г
  1238. + ¤ д
  1239. + ¥ е
  1240. + ¦ ж
  1241. + § з
  1242. + ¨ и
  1243. + © й
  1244. + ª к
  1245. + « л
  1246. + ¬ м
  1247. + ­ н
  1248. + ® о
  1249. + ¯ п
  1250. + ° Ñ€
  1251. + ± Ñ
  1252. + ² Ñ‚
  1253. + ³ у
  1254. + ´ Ñ„
  1255. + µ Ñ…
  1256. + ц
  1257. + · ч
  1258. + ¸ ш
  1259. + ¹ щ
  1260. + º ÑŠ
  1261. + » Ñ‹
  1262. + ¼ ÑŒ
  1263. + ½ Ñ
  1264. + ¾ ÑŽ
  1265. + ¿ Ñ
  1266. + À â””
  1267. + Á â”´
  1268. +  ┬
  1269. + à ├
  1270. + Ä â”€
  1271. + Š┼
  1272. + Æ â•£
  1273. + Ç â•‘
  1274. + È â•š
  1275. + É â•”
  1276. + Ê â•©
  1277. + Ë â•¦
  1278. + Ì â• 
  1279. + Í â•
  1280. + Π╬
  1281. + Ï â”
  1282. + Ð â–‘
  1283. + Ñ â–’
  1284. + Ò â–“
  1285. + Ó â”‚
  1286. + Ô â”¤
  1287. + Õ â„–
  1288. + Ö Â§
  1289. + × â•—
  1290. + Ø â•
  1291. + ٠┘
  1292. + Ú â”Œ
  1293. + Û â–ˆ
  1294. + Ü â–„
  1295. + Ý â–Œ
  1296. + Þ â–
  1297. + ß â–€
  1298. + à α
  1299. + á β
  1300. + â Γ
  1301. + ã Ï€
  1302. + ä Σ
  1303. + å σ
  1304. + æ μ
  1305. + ç Ï„
  1306. + è Φ
  1307. + é Θ
  1308. + ê Ω
  1309. + ë δ
  1310. + ì ∞
  1311. + í ∅
  1312. + î ∈
  1313. + ï ∩
  1314. + ð ≡
  1315. + ñ ±
  1316. + ò ≥
  1317. + ó ≤
  1318. + ô ⌠
  1319. + õ ⌡
  1320. + ö ÷
  1321. + ÷ ≈
  1322. + ø °
  1323. + ù ∙
  1324. + ú ·
  1325. + û √
  1326. + ü â¿
  1327. + ý ²
  1328. + þ â– 
  1329. + ÿ  
  1330. --- konwert-1.8.orig/doc/en/filters
  1331. +++ konwert-1.8/doc/en/filters
  1332. @@ -194,6 +194,12 @@
  1333. toupper, tolower - Self-explanatory. Currently ASCII only.
  1334. +prn7pl - Converts polish chars to control sequences for EPSON-compatible
  1335. +printer. Using only 7-bit chars, backspacing printer's head and vertical
  1336. +positioning chars ,.'` it creates pseudo-polish gryphs. You can specify
  1337. +options: /nlq (default) which optimalizes output for better quality
  1338. +printers and /draft - useful for ex. for 9-nails printer.
  1339. +
  1340. ADDITIONAL FILTERS FOR FILTERM
  1341. --- konwert-1.8.orig/doc/pl/filtry
  1342. +++ konwert-1.8/doc/pl/filtry
  1343. @@ -200,6 +200,12 @@
  1344. toupper, tolower - Zamienia tekst na du¿e / ma³e litery. Na razie tylko
  1345. ASCII.
  1346. +prn7pl - Konwertuje polskie znaki na sekwencje sterujêce drukarki zgodnej
  1347. +z EPSON wykorzystuj±c jedynie podstawowe znaki 7-bitowe, cofaj±c g³owicê
  1348. +drukarki i drukuj±c na odpowiedniej wysokoci ,.'` daj±ce w sumie pseudo-
  1349. +polskie znaki. Przyjmuje opcje: /nlq (domylne) optymalizowane do drukarek
  1350. +o lepszej rozdzielczoci i /draft - np. dla trybu draft 9-ig³ówki.
  1351. +
  1352. DODATKOWE FILTRY DLA FILTERMA
  1353. --- konwert-1.8.orig/man/man1/konwert.1
  1354. +++ konwert-1.8/man/man1/konwert.1
  1355. @@ -533,6 +533,17 @@
  1356. .B tolower
  1357. .PD
  1358. Self-explanatory. Currently ASCII only.
  1359. +.TP
  1360. +.B prn7pl
  1361. +Converts polish chars to control sequences for EPSON-compatible
  1362. +printer. Using only 7-bit chars, backspacing printer's head and vertical
  1363. +positioning chars ,.'` it creates pseudo-polish gryphs. You can specify
  1364. +options:
  1365. +.B /nlq
  1366. +(default) which optimalizes output for better quality
  1367. +printers and
  1368. +.B /draft
  1369. +- useful for ex. for 9-nails printer.
  1370. .SH FILES
  1371. .TP
  1372. .PD 0
  1373. --- konwert-1.8.orig/man/pl/man1/konwert.1
  1374. +++ konwert-1.8/man/pl/man1/konwert.1
  1375. @@ -52,7 +52,7 @@
  1376. .PP
  1377. .B konwert
  1378. .BI '( "KOMENDA ARG\fR.\|.\|.\|" )'
  1379. -wykonuje dane polecenie szela. Jest to przydatne z opcjami
  1380. +wykonuje dane polecenie pow³oki. Jest to przydatne z opcjami
  1381. .B \-o
  1382. albo
  1383. .BR \-O .
  1384. @@ -531,6 +531,17 @@
  1385. .B tolower
  1386. .PD
  1387. Zamienia tekst na du¿e / ma³e litery. Na razie tylko ASCII.
  1388. +.TP
  1389. +.B prn7pl
  1390. +Konwertuje polskie znaki na sekwencje sterujêce drukarki zgodnej
  1391. +z EPSON wykorzystuj±c jedynie podstawowe znaki 7-bitowe, cofaj±c g³owicê
  1392. +drukarki i drukuj±c na odpowiedniej wysokoci ,.'` daj±ce w sumie pseudo-
  1393. +polskie znaki. Przyjmuje opcje:
  1394. +.B /nlq
  1395. +(domylne) optymalizowane do drukarek
  1396. +o lepszej rozdzielczoci i
  1397. +.B /draft
  1398. +- np. dla trybu draft 9-ig³ówki.
  1399. .SH PLIKI
  1400. .TP
  1401. .PD 0