Package: nethack-console
Version: 3.4.3-7
Severity: normal

When starting nethack from a terminal with >255 lines, the display is
quite badly messed up. The effect is as if Nethack has interpreted the
terminal as having (far) fewer columns that it actually does, trying to
display text in a narrow strip down the left hand side of the terminal.

If the terminal has 256-258 (inclusive) columns, only one column is used
to display text. For n columns, where n >= 258 and n < 512, n-257
columns will be used to display the text. It appears that the problem
recurs as the terminals get wider. With 512-514 (inclusive) on the
terminal, only 1 columns gets used for displaying text. For >=514
columns (presumably up to 767 columns, though I've not tested this), if
there are n columns in the terminal, n-513 columns are used to display
the text.

For reference, these observations were made under X-based terminals
(Eterm, aterm and xterm), all giving the same results. To give you an
example, here is the initial display after running nethack with a 266
column, 79 line terminal:

>>>

NetHack, 
Copyright
 1985-200
3
         
By Sticht
ing Mathe
matisch C
entrum an
d M. Step
henson.
         
See licen
se for de
tails.


Shall I p
ick a cha
racter's 
race, rol
e, gender
 and alig
nment for
 you? [yn
q] 
<<<

Blank lines at the bottom have been omitted. The result is text
formatted into 266-257=9 columns, which gets fairly unreadable as you
start to play!

It's worth noting that not everything is forced into these nine columns.
The game view and status line seem to display as normal, with all other
things (such as the inventory, the extmenu and the like) all being
crammed into the first nine columns. To illustrate that point, here's
the display on the same terminal after starting the game fully:

>>>
Velkommen Darkhorse, welcome to NetHack!  You are a neutral human Valkyrie.


                                     ------------
                                     |..$.......|
                                     [EMAIL PROTECTED]|
                                     --- --------
















Darkhorse
Dlvl:1  $
<<<

Please do let me know if I can provide any further information to help
solve this problem.

All the best,
-Dave.


Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages nethack-console depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  nethack-common                3.4.3-7    Common files for Nethack dungeon c

nethack-console recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to