[Bug 458940] New: icewm-1.2.36: xterm -ls invocation in toolbar changes current dir to $HOME and produces 3 line output
https://bugzilla.novell.com/show_bug.cgi?id=458940 Summary: icewm-1.2.36: xterm -ls invocation in toolbar changes current dir to $HOME and produces 3 line output Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bartke@inf.fu-berlin.de QAContact: sndirsch@novell.com Found By: --- The line prog XTerm xterm xterm -ls in ~/.icewm/toolbar produces 3 lines output when starting an xterm: Have a lot of fun ... Directory: /home/<user> <date> Current directory is then $HOME. It was a _feature_ of icewm to start all xterms in subdir x/y/z, when it was invoked there by 'startx' from console. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User bartke@inf.fu-berlin.de added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c1 Peter bartke <bartke@inf.fu-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|icewm-1.2.36: xterm -ls invocation in toolbar |xterm, icewm 1.2.36: xterm -ls invocation in |changes current dir to $HOME and produces 3 line|toolbar changes current dir to $HOME and |output |produces 3 line output --- Comment #1 from Peter bartke <bartke@inf.fu-berlin.de> 2008-12-14 02:23:13 MST --- Seems to be caused by changed behaviour of option -ls in xterm version X.Org 6.8.99.903(236) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mmarek@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c2 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmarek@novell.com AssignedTo|mmarek@novell.com |werner@novell.com --- Comment #2 from Michal Marek <mmarek@novell.com> 2009-01-03 10:55:36 MST --- This is due to a change in /etc/profile: * Fri Jul 25 2008 werner@suse.de - Make login procedure of bash and tcsh more equal (bnc#401470) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User bartke@inf.fu-berlin.de added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c3 Peter bartke <bartke@inf.fu-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bartke@inf.fu-berlin.de --- Comment #3 from Peter bartke <bartke@inf.fu-berlin.de> 2009-01-04 09:02:07 MST --- Michal is right. Bug is caused by lines 385 -- 405 in /etc/profile. Forcing a file system positioning command in the main /etc/profile seems very questionable. The effect of lines 393-395 is not overrideable by user profile settings and could cause failing of existing user startup machinery. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c4 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Dr. Werner Fink <werner@novell.com> 2009-01-07 04:02:00 MST --- Simply do a touch $HOME/.hushlogin and the problem is gone. Beside this you may not use the option -ls and you've the same environment as already in use _and_ your new xterm stays at the current subdir. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User bartke@inf.fu-berlin.de added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c5 --- Comment #5 from Peter bartke <bartke@inf.fu-berlin.de> 2009-01-07 08:26:25 MST --- I solved this bug - thanks michals hint - by deleting lines 385 -- 405 in /etc/profile. This should be done in general. And THISWORKSFORME. Normal users don't know anything about .hushlogin. /etc/profile should serve users as much as possible, but should not harrass them. This bug was one in a series of problems with 11.1 (printing, sound,...) I and my collegue experienced. I'm with SuSE since version 1.0, 4.2 ff. We support a slim but configurable environment for our students, including conditional setting of colors for syntax highlighting in console and 256 color xterms with dark and light backgrounds. So we don't want the same environment as already in use and need -ls for starting xterms from buttons in icewm. We are now on the verge of shifting our recommendations - back to slack or archlinux, searching for a manageable distro without being forced to use too much bloat. Time lost was really high for the 11 releases ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c6 --- Comment #6 from Dr. Werner Fink <werner@novell.com> 2009-01-07 09:12:26 MST --- Then ... a simple question ... why do you never report this during beta test phase of openSuSE 11.1 ? This change was done due resolve bug #401470 and no one has ever reported a problem since ... even our several icewm users around here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User bartke@inf.fu-berlin.de added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c7 --- Comment #7 from Peter bartke <bartke@inf.fu-berlin.de> 2009-01-07 16:32:37 MST --- I asked michal for help in private email, he suggested to set this up as bug within bugzilla, I managed - first time - to do this. I am a user. I bought shrinkwrapped SuSE boxes as long as there was an equivalent value in form of a LaTeXed Admin Manual. Sorry, I don't have the time for beta testing. You got a timely bug report from a release user, they are alive. I stick with my opinion that the added lines in /etc/profile are harmful. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c8 --- Comment #8 from Dr. Werner Fink <werner@novell.com> 2009-01-08 03:26:11 MST --- Hmmm ... then I'd like to ask some questions about your setup. First of all why do you use the xterm with its option -ls to force a login shell for every new xterm? Do you have some more special configuration within your setup? Please could you provide the environment of an xterm used without the option -ls that is the output of the printenv comand within such an xterm. With this I'd like to see if there is a way to avoid the problem for startx users. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c9 --- Comment #9 from Michal Marek <mmarek@novell.com> 2009-01-08 03:39:02 MST --- BTW, bug 401470 asked about changing some paths for csh logins. While I don't use xterm -ls, I'm also not excited about this change. I sometimes edit something in my bash config and type 'exec bash -l' to source the new config. I would expect bash to stay in the directory and not chdir to $HOME in this case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User bartke@inf.fu-berlin.de added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c10 --- Comment #10 from Peter bartke <bartke@inf.fu-berlin.de> 2009-01-08 06:41:21 MST --- #8: Two lines from my ~/.icewm/toolbar as example: prog BigBlackXTerm xterm2 sh -c "export BG=dark; xterm -ls -bg black -fg white -fn -*-terminus-medium-*-*--24-*-*-*-*-*-iso10646-1" prog BigXTerm xterm sh -c "export BG=light; xterm -ls -bg white -fg black -fn -*-terminus-bold-*-*--24-*-*-*-*-*-iso10646-1" This clumsy xterm invocation has the effect of setting an envvar $BG conditional for black and white terminals (using black ones for work and white ones for presentation). There seems to be no other way to transfer specific envvars to xterms in icewm. Dependent on $BG I set eg dircolors in startup dotfiles, so I need option -ls to read the dotfiles. $BG is also needed for conditional syntax highlighting in vim. Another reason for -ls is I prefer to have a deterministic environment in each xterm, not dependent on prior work on console when startx-ed from console. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=458940 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458940#c11 --- Comment #11 from Dr. Werner Fink <werner@novell.com> 2009-01-08 11:21:40 MST --- Just submitted a version without the cd command -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com