command prompt trouble
tcblack at wireless111.net
Sat Apr 24 19:21:45 PDT 2004
The command prompt code in my /etc/profile is:
PS1="[\[\e[31;40m\]\u\[\e[34;40m\] @ \[\e[35;40m\]\w\[\e[0m\]]\$"
The output however goes on two lines as:
[tcblack at Brandon
So I type (on one line)
$ export PS1="[\[\e[31;40m\]\u\[\e[34;40m\] @ [\e[35;40m\]\w\[\e[0m\]]\$"
and now it works.
[tcblack @ /etc]$
Somewhere there is a record of the wrong codes but "where"?
Linux Tutored by LFS 5.0
Linux From Scratch:.˜./V\//†\\/( )\^`˜´^
More information about the blfs-support