--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: /bin/ksh: ksh not interpreting PS1 variable
- From: "Nelson A. de Oliveira" <naoliv@biolinux.df.ibilce.unesp.br>
- Date: Sat, 07 Aug 2004 19:21:04 -0300
- Message-id: <20040807222105.34A03102FF5@biolinux.df.ibilce.unesp.br>
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 ---
- To: 264285-done@bugs.debian.org
- Subject: /bin/ksh: ksh not interpreting PS1 variable
- From: Thorsten Glaser <tg@mirbsd.de>
- Date: Wed, 27 Jun 2012 10:56:17 +0000 (UTC)
- Message-id: <Pine.BSM.4.64L.1206271055450.3110@herc.mirbsd.org>
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 ---