(*** This bug was imported into bugs.kde.org ***) Package: konsole Version: KDE 2.2.2 Severity: normal Installed from: Slackware Packages Compiler: gcc OS: Linux OS/Compiler notes: Not Specified I updated to v 2.2.2 (yesterday -- nice job guys) and noted that the the Konsole does not open with my Korn shell environment settings! Bah! Phooey! (It doesn't read .profile and thus does not execute .kshrc so...). The old one did as does CDE in Solaris this one doesn't. What's the fix? Thanks (Submitted via bugs.kde.org)
I don't know Korn and I don't know how Konsole should trouble Korn. You are sure that you don't have to run it as login shell (--ls)?
Stephan Binner wrote: > I don't know Korn and I don't know how Konsole should trouble Korn. > > You are sure that you don't have to run it as login shell (--ls)? Stephan: Thanks for the reply -- Korn shell starts up (like everything else in UNIX and UNIX-like systems) by reading /etc/profile; then it reads the user's HOME directory .profile (if it exists) and within that .profile there is generally an environment variable defined ENV=.kshrc. When ksh encounters that on startup it executes whatever is in .kshrc (one time only it's for setting aliases and any other "personal" stuff). What I noticed (immediately) is the update to konsole did not do this the way the old version did and I had to fiddle with things to get PS1 set the way I want it and similar things (it did read and exeute the command in .kshrc -- which is where I wound up putting the PS1 setting). What ksh is supposed to do is inherit the environment from the initial login (I'm using xstart after I get logged in rather than having X start up on its own) and that it used to do but doesn't do no more (used to be's don't count anymore?). So if I wanted to run kde with a login shell (which is kind of what you have to do with say Hummingbird's X stuff for windoz) how would one start konsole from kde as a login shell? Ah technology! Ain't it great? Thanks. Thomas Ronayne
> how would one start konsole from kde as a login shell? Korn from Konsole as already told with Konsole parameter "--ls".
Thank you for your bug report. You have not provided enough information for us to be able to reproduce a bug. Please provide a detailed account of the steps required to trigger and reproduce the bug. Without this information we will not be able to reproduce identify and fix the bug.
I'm having trouble seeing that this bug is fixed. On the version I'm using KDE 3.0.1, Konsole 1.1.1, and ksh93 my settings in /etc/profile are not used. I think this should be the default. Starting ksh93 in a console outside of KDE environment achieves this. The difference is something in KDE.