Package: gearhead
Version: 1.302-2
Severity: wishlist

Dear Maintainer,

The upstream sources include a directory named 'xterm-boxdrawing',
which includes a patch to the Pascal standard library (thus why upstream
can't enable it by default, since vendoring the stdlib is just plain
evil).

Since the application is statically-linked, and fpc-source is already a
build-dep, there shouldn't be any problem applying it to this package.

Despite the name, the patch also fixes the irritating cursor-blinking
problem.


>From xterm-boxdrawing/README:

This directory contains a hack to allow linedrawing characters to be used on
Linux, both in the raw console and in an XTerm or PuTTY client.  It is
dependent on some modifications to the standard CRT library included with
FreePascal.

In addition, the CRT mods fix the cursor-off routines to use sequences
understood by XTerm, PuTTY and old versions of Linux, instead of sequences
specific to Linux.

These mods are specific to FPC version 3.0.0 on unix.

To use it:

1.  Obtain the files:
     fpc-3.0.0/packages/rtl-console/src/unix/crt.pp
     fpc-3.0.0/packages/rtl-console/src/inc/crth.inc
from the FreePascal sources.  Copy them into the the main gearhead
directory, alongside the existing *.pp files.

2. Apply the patch "crt.pp.diff" in this directory.

3. Copy the file "boxdraw.inc" in this directory to the main gearhead
directory, overwriting the original version.

4. Compile Gearhead normally.  The crt.pp in the current directory will
automatically be used instead of the standard version.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (600, 'testing-debug'), (600, 'testing'), (500, 
'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gearhead depends on:
ii  gearhead-data  1.302-2

gearhead recommends no packages.

Versions of packages gearhead suggests:
ii  gearhead-sdl  1.302-2

-- no debconf information

Reply via email to