Todd Tyrone Fries wrote:
> 
> > 	PS1="\[\033]0;\h:\w\007\033]1;\h\007\]\h\$ "
> > 
> > The \033 implies an ESC character. The \007 implies a ^G.
> 
> This wouldn't be so bad, except it redraws the entire line everytime you type
> a character.  Not too bad on localhost, but very slow over a modem ...
> 
> Anyone ever figure out how to keep the redraw from occurring?
> 
> My solution was to do this:
Well. . . .since you mentioned it, I actually do this:
        if [ "${TERM}" = "xterm" ]; then
                if [ "${GROUP:-}" != "" ]; then
                        PS1="\[\033]0;\h:${GROUP}:\w\007\033]1;\h\007\]\h\$ "
                else
                        PS1="\[\033]0;\h:\w\007\033]1;\h\007\]\h\$ "
                fi
        else
                if [ -n "${GROUP:-}" ]; then
                        PS1="${GROUP}\h:\w\$ "
                else
                        PS1="\h:\w\$ "
                fi
        fi
BUT, he wasn't asking about all the nitty-gritty details.
-Alan
-- 
Alan Wild                            arwild01_at_starbase.spd.louisville.edu       
f/s/c lou95                      http://www.spd.louisville.edu/~triangle/
IT-HSC Consultant                 http://www.spd.louisville.edu/~arwild01
--
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 Thu May 16 1996 - 14:40:19 BST