Skip to content

Color prompt is shown twice. First without colorls then with. #688

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Change prompt on your profile to add colors. For example, here is my PS1 
variable in .bashrc : 
PS1='\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
2. Connect to the server with connectbot through ssh

What is the expected output? What do you see instead?
Prompt should be shown once. It's shown twice, first without color, second with 
(see attached file).

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?
v1.8.1-dirty 2014.10.23 (from f-droid)

What type of system are you trying to connect to?
Centos 7

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?
uuu@xxx:~$ echo $TERM
screen
uuu@xxx:~uuu@xxx:~$ uname -a
Linux xxx 3.10.0-123.13.2.el7.x86_64 #1 SMP Thu Dec 18 14:09:13 UTC 2014 x86_64 
x86_64 x86_64 GNU/Linux
uuu@xxx:~uuu@xxx:~$
uuu@xxx:~uuu@xxx:~$

Please provide any additional information below.
The prompt go back to "normal" after some actions (The only one I can reproduce 
is screen rotation)

Original issue reported on code.google.com by themi...@gmail.com on 5 Jan 2015 at 3:15

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions