Red Hat Bugzilla – Bug 221762
TinyFugue unusable due to display errors in visual mode, also crashes
Last modified: 2016-02-03 12:33:36 EST
Description of problem:
The 'visual' mode of TinyFugue (which features a status bar and separate input
and output areas) is unusable. The display of the status bar is distorted.
Keyboard input does not begin at the left of the screen, and may overflow from
the input area to cover portions of the status bar and output area.
Additionally, TinyFugue may sometimes crash for reasons which are not clear when
it is in non-visual mode while the Backspace key is being used.
Version-Release number of selected component (if applicable):
Visual mode errors always reproducible. Crashes when not in visual mode and when
the backspace key is being used only occur erratically.
Steps to Reproduce:
1. Launch TinyFugue with visual mode on (default)
TinyFugue status bar is not centered on the screen, but begins two or three
characters to the right of the screen's left edge. Input begins several
characters to the left of the screen's right edge.
TinyFugue status bar is centered on screen, stretching from the screen's left
edge to the screen's right edge.
The following crash message was displayed after TinyFugue crashed in non-visual
mode while attempting to use the Backspace key. This message has been produced
during the above circumstances on at least two occasions. I have reported this
message to hawkeye at tcp.com and the TinyFugue mailing list, email@example.com.
-- message follows --
Please report the following message verbatim to hawkeye at tcp.com.
Also describe what you were doing in tf when this
occured, and whether you can repeat it.
> TinyFugue version 5.0 beta 7
> Linux #1 SMP Tue Jul 11 22:53:56 EDT 2006 2.6.17-1.2157_FC5
> +256colors +core +float +ftime +history +IPv6 +locale +MCCPv1 +MCCPv2 +process
-SOCKS +ssl +subsecond +TZ
> virtscreen=1, visual=0, expnonvis=0, emulation=3, lp=0, sub=0
> Internal error: output.c, line 2501
> dSnadd: n==-1
Created attachment 145006 [details]
Screenshot, visual mode (broken)
This is a text-mode screenshot of the way that the buggy version of TinyFugue
appears when it starts up.
Created attachment 145007 [details]
Screenshot, visual mode (working)
This is a (text-mode) screenshot of a different version of TinyFugue starting
up in visual mode, with visual mode working properly. Note the status bar
separating the input area (three blank lines at the bottom) from the output
area (the rest of the screen).
So I'm not the only one using tf! Yeah, this broke a while back and... hmmm, why
isn't tf linked against ncurses? How long has it been like that...
It must be falling back on hardcoded (and broken) VT100 support because
ncurses-devel isn't being pulled into the buildroot. I just rebuilt it locally
with BR: ncurses-devel and that seems to fix it.
Apparently ncurses-devel got split out from the main ncurses package in FC6 for
reasons of multilib, and I didn't notice because it didn't break the build.
Pushing fixed builds now, they should hit the mirrors within a day.
Hey, this is still happening unfortunately - I realize that this bug is 8 years old, but having the same issue with unusable display in visual mode.
% TinyFugue version 5.0 beta 8.
% Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004,
2005, 2006-2007 Ken Keys (firstname.lastname@example.org).
% Built for Linux #1 SMP Sun Jan 24 04:20:14 EST 2016 4.3.4-grsec
Linux 4.3.4-grsec #1 SMP Sun Jan 24 04:20:14 EST 2016 x86_64 GNU/Linux