[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#264285: marked as done (/bin/ksh: ksh not interpreting PS1 variable)



Your message dated Wed, 27 Jun 2012 10:56:17 +0000 (UTC)
with message-id <Pine.BSM.4.64L.1206271055450.3110@herc.mirbsd.org>
and subject line /bin/ksh: ksh not interpreting PS1 variable
has caused the Debian Bug report #264285,
regarding /bin/ksh: ksh not interpreting PS1 variable
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 owner@bugs.debian.org
immediately.)


-- 
264285: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=264285
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: pdksh
Version: 5.2.14-12
Severity: normal
File: /bin/ksh

Hi

I am getting an esthetical bug on ksh. (well, I don't know how to describe it) :-)
The problem is that I have a line at my .bashrc, like this:

export PS1='\033[0;32m[\u@\h] \033[0;33m\w\033[0;39m
$ '

On bash, it interprets like that:

[naoliv@biolinux] ~
$

But when I change to ksh:

\033[0;32m[\u@\h] \033[0;33m\w\033[0;39m
$

It reades the PS1 variable, but it just print it, without interpreting.
I think that ksh should print the PS1 variable like bash, or at least,
use another thing in the place.

Thanks

Nelson

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-rc2-mm2
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (ignored: LC_ALL set to pt_BR)

Versions of packages pdksh depends on:
ii  libc6                       2.3.2.ds1-15 GNU C Library: Shared libraries an

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi,

as discussed earlier, this is not a bug.

bye,
//mirabilos
-- 
13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good
guy. But he's always right! In every fsckin' situation, he's right. Even
with his deeply perverted taste in software and borked ambition towards
broken OSes - in the end, he's damn right about it :(! […] works in mksh


--- End Message ---

Reply to: