[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: command line formating problem



Thanks that fixed my problem.

I replaced my .bashrc file with yours. ;-)

I didn't have a /etc_colors file, so I created one.

dircolors -p > /etc/dir_colors 

The color aliases wouldn't work in .bashrc for my colors, so I put them in .bash_profile

Now everything looks pretty.

Thanks again.

On Thu, Aug 02, 2001 at 09:51:02PM -0700, Karsten M. Self wrote:
> on Fri, Aug 03, 2001 at 12:18:47AM -0400, Theodore Knab (tjk@annapolislinux.org) wrote:
> > Hello,
> > 
> > I have a screen formating question.
> > 
> > How do I prevent my screen from wrapping like this?
> > 
> > Normal Prompt:
> > tjk@annapolislinux:/home/httpd/html/docs/public_key$
> > 
> > Single line wrapping:
> > pgp.com --send-key tjkme/httpd/html/docs/public_key$ gpg --keyserver certserver.p
> 
> Looks like you've got a longish shell prompt.  There are various
> settings, following is from my .bashrc:
> 
> ------------------------------------------------------------------------
> # Following sets prompt to [userid@host dir], and puts the full 
> #   user@host:/full/path/spec in an xterm title bar.
> function proml
> {
> case $TERM in
>     xterm*|rxvt|eterm|wterm*)
>         local TITLEBAR='\[\033]0;\u@\h:\w\007\]'
> 	eval `dircolors /etc/dir_colors`
>         ;;
>     *)
>         local TITLEBAR=''
>         ;;
> esac
> 
> # shell prompt
> PS1="${TITLEBAR}\
> [\u@\h:\W]\
> \$ "
> PS2='> '
> PS4='+ '
> }
> 
> proml
> unset proml
> export PS1
> ------------------------------------------------------------------------
> 
> -- 
> Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
>   What part of "Gestalt" don't you understand?          There is no K5 cabal
>     http://gestalt-system.sourceforge.net/           http://www.kuro5hin.org
> Free Dmitry!! Boycott Adobe!! Repeal the DMCA!!  http://www.freesklyarov.org
> 



-- 
www.breezysolutions.com



Reply to: