[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
set the PS1 env with SGR cause problem
From: |
tianlijian |
Subject: |
set the PS1 env with SGR cause problem |
Date: |
Fri, 17 Apr 2009 17:45:33 +0800 |
1. add the "export PS1='[\e[1;34m\W\e[0m]\$ " to /etc/profile or
~/.bash_profile .
The statement mush be putted in the configuration file, can not execute the
bash command line, otherwise the problem will not occur.
2. type the command 'one two three four five six' in the command line.
3. use 'M-7 C-b' command move the cursor , you will see the display in
confusion.
- set the PS1 env with SGR cause problem,
tianlijian <=