[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#935: konsole exiting with error codes
From:       Lars Doelle <lars.doelle () on-line ! de>
Date:       1999-04-01 10:56:37
[Download RAW message or body]

Martin Jones wrote:

> Preston Brown wrote:
> >
> > Konsole quite often displays a dialog box reporting that the shell has
> > exited with an error code.  I have traced this to be the last status of
> > the error variable that the shell sets.  So for instance if you run the
> > command 'false' in a shell, then hit enter 5 times, and type exit, you
> > will get the dialog that the shell exited with an error code of 1.  This
> > isn't strictly true -- the shell had no error, the last command the shell
> > ran set the error code of the shell.  Lots of programs set exit/error
> > status codes, so you see this dialog quite often.
> >
> > I'm not sure if there is a solution, I kind of am in favor of commenting
> > out the code to display this dialog box for KDE 1.1.1.  Do people agree?
>
> Yes, I hate this.

Ok Folks,

i'll remove the message. The problem is that you will not get diagnostics
anymore in case you start konsole with -e (or with a program by other
means). If this program produces diagnostic output it goes onto another
tty then and will not end on the line from which you start konsole. So the
message is visible only in the konsole window (which closes immediately).

Perhaps i can make an option to keep a konsole window open even after
processing (which would be nice for stuff like -e ls also) and to close it
by other means.

See bug#935 for an explanation.

Lars

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic