Public bug reported:

I was playing with my Korn Shell configuration, attempting to get a nice
[EMAIL PROTECTED] prompt as opposed to the default. I attempted to add
known working code to /etc/profile, in addition to  putting this code
into ~/.kshrc and ~/.profile.

The pdksh / ksh documentation explicitly states that upon startup, pd/ksh reads 
/etc/profile and ~/.profile, in that order, assuming that the respective file 
is present. x-terminal-emulator; gnome-terminal; and konsole were all 
independently launched while I was logged in as my default user (my shell is 
set to /bin/ksh, obtained from the pdksh package). None of them displayed the 
modified prompt. /etc/profile was further modified to include the lines
FOO="bar"
export FOO

x-terminal-emulator was restarted, and "echo $FOO" was met with a blank
line. Upon executing ". /etc/profile", my modified prompt appeared and
"echo $FOO" returned "bar".

Perhaps the documentation should be updated, or the respectiv e terminal
emulators need to emulate pd/ksh's startup more closely.

** Affects: Ubuntu
     Importance: Untriaged
         Status: Unconfirmed

-- 
pdksh's operation conflicts with documentation, /etc/profile and ~/.profile are 
not read
https://launchpad.net/bugs/49633

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to