[Konsole-devel] [Bug 151096] New: /usr/bin/script dies on ^G output in a fresh konsole window but not in a used one

bit4 b4kde at gogito.homeip.net
Sat Oct 20 14:39:55 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=151096         
           Summary: /usr/bin/script dies on ^G output in a fresh konsole
                    window but not in a used one
           Product: konsole
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: b4kde gogito homeip net


Version:            (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

1 - Open a new Konsole window
2 - In the Konsole window enter the command:
        script x
3 - Press the backspace key, to cause a bell character to be written
    The result is that the script command exists immediately, which should not happen.
4 - enter again the command
        script x
5 - press the backspace key
    This time the command does not terminate, which is the correct behavior.

If before step 2 you open and close the About dialog, or the Configure konsole dialog, then script does not crash.

The problem does not occur when using gnome-terminal or xterm instead of konsole.

The event that causes the crash seems to be outputting a bell character (^G) to the terminal. You can type the command
    echo ^G     #(type e, c, h, o, space, control-v, control-g, enter)
instead of pressing the backspace key and the results will be the same.

If before step 2 or before step 3 I open and close the Settings menu (by clicking twice on it), then the problem does not occur. If, however, I do the same with any other menu (Session, Edit, View, Bookmarks or Help), script still crashes.

The same actions did not cause a crash in Ubuntu 7.04. It only started happening when I upgraded to Ubuntu 7.10 (with the new KDE).

I tried the same after removing all ~/.kde/share/config/session/konsole_* files and the error still happens.

This *may* be a bug in /usr/bin/script, but the symptoms suggest it is very much affected by something in the Konsole environment, which changes when I open a dialog box or run a command in the window. I looked for a place to report a bug in /usr/bin/script, but could not find one. Does anybody know where I should report this in case the problem is really there?

Here are the contents of my .kde/share/config/konsolerc and konsole.eventsrc :
------------ start konsolerc ---------
[$Version]
update_info=konsole.upd:kde2.2/r1,konsole.upd:kde3.0/r1

[Desktop Entry]
ActiveSession=0
AllowResize=false
AutoResizeTabs=false
BlinkingCursor=false
CtrlDrag=true
CutToBeginningOfLine=true
DefaultSession=shell.desktop
DynamicTabHide=false
EnableBidi=false
EncodingName=Default
Fullscreen=false
Height 1024=341
LineSpacing=0
MatchTabWinTitle=false
SilenceSeconds=10
TabColor=0,0,0
TabViewMode=0
TerminalSizeHint=false
WarnQuit=true
Width 1280=622
XonXoff=false
bellmode=0
class=konsole-mainwindow#1
defaultfont=Andale Mono,9,-1,5,50,0,0,0,0,0
has frame=true
history=2000
historyenabled=true
keytab=linux
schema=BlackOnWhite.schema
scrollbar=2
tabbar=2
wordseps=: - /_~

[General]
ShowAlternativeShortcutConfig=false

[Shortcuts]
edit_copy=Ctrl+Insert

[TipOfDay]
TipLastShown=2007,10,20,1,3,17
------------ end ---------

------------ start konsole.eventsrc ---------
[Activity]
commandline=
logfile=
presentation=16
soundfile=

[BellInvisible]
commandline=
logfile=
presentation=16
soundfile=KDE_Beep_Connect.ogg

[BellVisible]
commandline=
logfile=
presentation=0
soundfile=

[Finished]
commandline=
logfile=
presentation=0
soundfile=

[Silence]
commandline=
logfile=
presentation=16
soundfile=
------------ end ---------



More information about the konsole-devel mailing list