Привет всем,
есть маленький вопросик
Если я делаю себе PROMPT без цветов, например
PS1=`echo -ne "[\u@\h\[ \w]\\\\$ "`
то при выполнении длинной команды, когда заканчивается ширина
терминала, остальные символы начинают рисоваться с новой строки
[root@h1 ~]#aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbb
bbbbbbb
А если я разукрашиваю PROMPT, например
PS1=`echo -ne "[\u@\033[7;31m\]\h\[\033[00m\] \w]\\\\$ "`
тогда получается, что "вылезшие" символы печатаются в этой же строке,
поверх уже напечатанных
bbbbbbh1 ~]# aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbb
мелочь, но не приятно
как побороть?
Заранее спасибо
--
С уважением, мазай.
MAZ-RIPE mailto:rassylkaformazaj@ukr.net
===================================================================
uanog mailing list.
To Unsubscribe: send mail to majordomo(a)uanog.kiev.ua
with "unsubscribe uanog" in the body of the message