%% "Jose' Manuel Pereira" <jmp_at_asterix.ist.utl.pt> writes:
jmp> Helas, unfortunately, I tend to step into such vanilla Bourne
jmp> shells daily... Mostly at login time. To be "always completely
jmp> accurate" you _have_ to use it.
Don't get it: if you're using sh, then you can use the PS1 test safely.
If you're using bash, you can use the $- test in .bashrc (which won't be
read by sh anyway).
jmp> And that's for login shells. Now, /bin/sh != /bin/bash, mostly
jmp> (only in Linux). zsh, never saw it. ksh, only in my Solaris
jmp> (since I'm in charge). Sigh.
jmp> (Not to mention the places where you are stuck with a *csh;
jmp> "if ($?prompt == 0)", anyone?)
Obviously. But the point is, the login scripts for shells are almost
never really portable, anyway. For bash (and ksh and zsh--zsh is also
free like bash, you have to go get it and compile and install it) you
can use the $- test. For Bourne use PS1, and it works.
Maybe I missed the point of what you wanted to do.
jmp> Now, where's that fvwm 2.1.0 someone mentioned? I missed the
jmp> announcement.
Fvwm development has moved to a release numbering scheme like Linux,
where odd releases are betas. The first in a series which will
hopefully culminate soon in the Fvwm 2.2 stable release is 2.1.0. It's
being announced and discussed on the fvwm-workers list; if you want to
use it you'll need to join the workers list and follow along... :)
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith_at_baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Nov 04 1998 - 23:46:38 GMT