Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Jul 10, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

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:

@GoogleCodeExporter
Copy link
Author

In fact, it's not a matter of colors, there is a "wrong" prompt and the PS1 I 
configured in .bashrc (see attachment).

Original comment by themi...@gmail.com on 13 Jan 2015 at 1:52

Attachments:

@GoogleCodeExporter
Copy link
Author

I am suffering the same issue. And on small screens the drama increases :(

Original comment by dmc.t061...@gmail.com on 12 May 2015 at 1:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant