Bug#247217: konsole: exiting a session gives error message "session exited with error status xxx"

2004-05-25 Thread Chris Vanden Berghe
Hi Thibaut and Tomas,

Thanks for your replies concerning the error status message of konsole.

I've disabled the 'feature' as suggested, but still find that its use is
not very intuitive.  E.g. I would find it more logical that the
following commands don't give this non-zero error code message, since
the error was not on the last line before the exit:

[EMAIL PROTECTED]:~$ fdsfasdf
bash: fdsfasdf: command not found
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ exit

I actually think that the feature would probably be better off by
default...

I guess this bug can be closed.

Thanks for the reply,
Chris.

---
On Mon, 2004-05-17 at 19:22, Adeodato Simó wrote:
> * Tomas Hoger [Mon, 17 May 2004 18:46:32 +0200]:
> 
> >   Konsole prints this error message each time program executed for
> > given session (typically it's shell) exits with non-zero exit status.
> 
> > Anyway, I agree that it's quite annoying feature (at least sometimes / for
> > some users).  Maybe it should be configurable.  Try filing wishlist bug on
> > KDE's bug tracking system.
> 
>   it can be disabled in konsole menu -> settings -> configure
>   notifications -> "a session has exited with non-zero status". you can
>   assign no notifications to such event and get rid of the message.
> 
>   hth.




Bug#247217: konsole: exiting a session gives error message "session exited with error status xxx"

2004-05-17 Thread Adeodato Simó
* Tomas Hoger [Mon, 17 May 2004 18:46:32 +0200]:

>   Konsole prints this error message each time program executed for
> given session (typically it's shell) exits with non-zero exit status.

> Anyway, I agree that it's quite annoying feature (at least sometimes / for
> some users).  Maybe it should be configurable.  Try filing wishlist bug on
> KDE's bug tracking system.

  it can be disabled in konsole menu -> settings -> configure
  notifications -> "a session has exited with non-zero status". you can
  assign no notifications to such event and get rid of the message.

  hth.

-- 
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Loan-department manager:  "There isn't any fine print.  At these
interest rates, we don't need it."



Bug#247217: konsole: exiting a session gives error message "session exited with error status xxx"

2004-05-17 Thread Tomas Hoger
On Mon, May 03, 2004 at 11:02:50PM +0200, Chris Vanden Berghe wrote:
> When I exit a session in Konsole (by typing 'exit'), I almost always get
> an error message saying that the session exited with error status xxx,
> where xxx is quite often '1' or '127'.  But also other numbers are possible.
> 
> This is repeatable on my system:
>   open a new konsole tab
>   type a non-existent command
>   get 'a command not found message from bash'
>   type 'exit'
> 
> This always results in such an error status message, but this is
> certainly not the only way to get one.  I never had this behavior with
> older versions of konsole...
> 
> Any ideas?  Thanks,

I may be wrong, but I think this is *feature*, not bug ;).  I finally
realized after reading your report (especially description how to reproduce
it).  Konsole prints this error message each time program executed for
given session (typically it's shell) exits with non-zero exit status.
Shells exit with exit status of last executed command.  If you type
non-existent command, "its" exit status is 127, which is then used by shell
as it's exit status.

Anyway, I agree that it's quite annoying feature (at least sometimes / for
some users).  Maybe it should be configurable.  Try filing wishlist bug on
KDE's bug tracking system.

th.




Bug#247217: konsole: exiting a session gives error message "session exited with error status xxx"

2004-05-03 Thread Chris Vanden Berghe
Package: konsole
Version: 4:3.2.2-1
Severity: normal

Hi,

When I exit a session in Konsole (by typing 'exit'), I almost always get
an error message saying that the session exited with error status xxx,
where xxx is quite often '1' or '127'.  But also other numbers are possible.

This is repeatable on my system:
open a new konsole tab
type a non-existent command
get 'a command not found message from bash'
type 'exit'

This always results in such an error status message, but this is
certainly not the only way to get one.  I never had this behavior with
older versions of konsole...

Any ideas?  Thanks,
Chris.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=C, LC_CTYPE=C

Versions of packages konsole depends on:
ii  kdelibs4  4:3.2.2-2  KDE core libraries
ii  libart-2.0-2  2.3.16-5   Library of functions for 2D graphi
ii  libc6 2.3.2.ds1-12   GNU C Library: Shared libraries an
ii  libfam0c102   2.7.0-5client library to control the FAM 
ii  libgcc1   1:3.3.3-7  GCC support library
ii  libice6   4.3.0.dfsg.1-1 Inter-Client Exchange library
ii  libpng12-01.2.5.0-6  PNG library - runtime
ii  libqt3c102-mt 3:3.2.3-2  Qt GUI Library (Threaded runtime v
ii  libsm64.3.0.dfsg.1-1 X Window System Session Management
ii  libstdc++51:3.3.3-7  The GNU Standard C++ Library v3
ii  libx11-6  4.3.0.dfsg.1-1 X Window System protocol client li
ii  libxext6  4.3.0.dfsg.1-1 X Window System miscellaneous exte
ii  libxrender1   0.8.3-7X Rendering Extension client libra
ii  libxtst6  4.3.0.dfsg.1-1 X Window System event recording an
ii  xlibs 4.3.0.dfsg.1-1 X Window System client libraries m
ii  zlib1g1:1.2.1-5  compression library - runtime

-- no debconf information