#117436 Bug#117436: Missing clearscreen, erratic terminal emulation.

Package:
gramofile
Source:
gramofile
Description:
transfer sound from gramophone records to CD
Submitter:
Date:
2011-08-14 12:42:04 UTC
Severity:
normal
#117436#5
Date:
2001-10-28 21:41:09 UTC
From:
To:
After upgrading from Potato to Woody Gramofile worked very well but
since version 1.6-2
gramofile doesn't record any more. Whenever I chosse "Start recording" I
get an empty screen and nothing happens. Furthermore typing text into
the "File name" field is absolutely impossible in KDE konsole. When I
then go back to the main menu and stop Gramofile by typing Control-C my
new bash prompt is written into the last line of gramofile's main menu
window. Trying to run gramofile in an ordinary xterm lets me type text
into the "File name" field, but this is the only advantage of xterm in
this case. Stopping gramofile by typing Q
doesn't clear the screen and puts my new bash prompt in the first row
overwriting gramofile's ruines. No recording at all!
I really have my Woody system updated every day.

        Stefan Deibel

#117436#10
Date:
2001-10-29 09:01:23 UTC
From:
To:
I can confirm the missing clearscreen on exit, but recording and text
input in konsole work fine for me. (This is on a sid system actually,
I'll try to get hold of a woody system soon. The gramofile version is
identical though.) Let's tackle the recording failures first. Can you
please try the following:

* Start gramofile in an xterm. When you're about to hit the "Start
  recording" button, launch another xterm and start "strace -f -o
  gramo.log -p `pidof gramofile`". Hit the "Start recording" button.
  -> gramofile hangs. Stop the strace command with Ctrl-C. Send me
  the contents of gramo.log.

* Send me the output of "ipcs" before, and after you've tried to record
  using gramofile.

* Tell me which kernel version you're running, and whether you've
  configured any of tmpfs, or shmfs.

Thanks,

Daniel.

#117436#15
Date:
2001-11-01 10:35:18 UTC
From:
To:
On Tue, Oct 30, 2001 at 10:06:41PM +0100, Stefan Deibel wrote:
[strace log]
(...)
inter-process communication, but your kernel is recent enough to handle it
transparently for you. As the strace log shows, your problem is related to
your sound setup. It's not a bug in gramofile as far as I can tell. A simple
"cat /dev/dsp" should hang as well. The most likely cause is a different
programm (like e.g. esd) keeping your sound device open. You can check this
with "fuser -v /dev/dsp". Also check your logfiles and the output of "dmesg"
for module autoloading going crazy.

Regards,

Daniel.

P.S.: I've tried to run gramofile on testing now. For me it works fine in
konsole, but delete doesn't work in an xterm unless I set TERM=vt100. Weird.

#117436#20
Date:
2001-11-05 21:29:13 UTC
From:
To:
retitle 117436 Bug#117436: Missing clearscreen, erratic terminal emulation.
thanks
[The above is voodoo for the bug tracking system. Just ignore.]

Great. I'll leave this bugs open though until the clearscreen and backspace
issues are fixed. (The latter probably not being a gramofile problem as
the identical version works in unstable while it fails randomly in testing.)
Good to know, however, that the worst problem is solved.

Regards,

Daniel.

#117436#27
Date:
2011-08-14 12:07:53 UTC
From:
To:
I just tried to reproduce this on my squeeze system, with a freshly
built gramofile, and in all terminal emulators I tried (xterm,
gnome-terminal & konsole), it behaved correctly:

I started gramofile, it's menu appeared, I pressed Q, it exited, and
cleared the screen, giving me a clean prompt back.

However, I could reproduce the problem on the console, where it left a
few things on the screen afterwards.

#117436#32
Date:
2011-08-14 12:37:53 UTC
From:
To:
tags 117436 + patch
thanks

Actually, I could reproduce this on the console, to some extent: the
gramofile screen remained there, but above my prompt.

Nevertheless, the attached patch (to be applied on top of the one in
#636885) modifies gramofile to clear the screen anyway. Tested the
result on the text console, in various terminal emulators, and it
behaved as it should have: cleared the screen when exiting.