Your message dated Sun, 7 Jun 2026 19:50:43 +0530
with message-id <[email protected]>
and subject line Closing #597776 (unreproducible)
has caused the Debian Bug report #597776,
regarding ksh: issues with colour prompt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
597776: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597776
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ksh
Version: 93s+20080202-1
Severity: normal

Background - on my previous computer running Lenny I did almost all my console
stuff in gnu screen which is not effected by this bug. On my new computer using
Squeeze I've opted for a tiling window manager and lots of terminals in place
of gnu screen.

At the moment I am being forced to use a mono prompt

PS1=`uname -n`':${PWD/#$HOME/\~} [!]\$ '

because of issues with my colour prompt

PS1="^[[0;33m`uname -n`^[[0m:^[[1;33m"'${PWD/#$HOME/\~} ^[[0m
^[[0;33m[^[[0m!^[[0;33m]^[[0m\$ '

This color prompt works fine most of the time but when using tab completion I
end up with something like

host:~ [1]$ cl
1) cls
2) /usr/bin/clear
3) /usr/bin/clear_console
4) /usr/bin/cleanlinks
host[0m:~ [0;33m[[0m1][0m$ cl

hitting enter returns the prompt to normal


I do not observe this behaviour in gnu screen is being run nor if the prompt is
being run on a remote computer over ssh or on the linux console (no X).

This behaviour has been observed using rxvt-unicode (urxvt) and vte based
terminals (roxterm and sakura).

Now it could be that I've made mistakes in my prompt if so I apologise for
wasting your time but it may also be a bug.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-4.dmz.2-liquorix-686 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ksh depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib

ksh recommends no packages.

ksh suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
tags -1 + unreproducible
thanks

Version: 1.0.10-4

I wasn't able to reproduce this issue. Given the age of this issue, I'm
going to close this, but if you're able to recreate it in the most
recent version, please feel free to reopen.

Anuradha

--- End Message ---

Reply via email to