xterm title in the prompt
Vladimir Nadvornik
nadvornik at suse.cz
Thu Nov 1 15:14:35 UTC 2007
On pátek 26 říjen 2007, Lukasz Stelmach wrote:
> Greetings.
>
> There is a problem in with mc trying to display bash prompt
> for xterm which contains window title
>
> PS1='\[\033[?1034l\033]0;\h:\w\007\]\h:\W\$ '
>
> That is everything between \033]0; and \007. The patch removes
> this sequence.
>
Here is a similar patch that removes ESC(B sequence,
which appears in default prompt on openSUSE 10.3.
Vladimir Nadvornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-esc-seq.patch
Type: text/x-diff
Size: 265 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20071101/4800a484/attachment.patch>
More information about the mc-devel
mailing list