Issue 688 in connectbot: Color prompt is shown twice. First without colorls then with.

8 views
Skip to first unread message

conne...@googlecode.com

unread,
Jan 5, 2015, 10:16:05 AM1/5/15
to connectbo...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 688 by themi...@gmail.com: Color prompt is shown twice. First
without colorls then with.
https://code.google.com/p/connectbot/issues/detail?id=688

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)

Attachments:
Screenshot_2015-01-05-15-56-59.png 171 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

conne...@googlecode.com

unread,
Jan 13, 2015, 8:52:23 AM1/13/15
to connectbo...@googlegroups.com

Comment #1 on issue 688 by themi...@gmail.com: Color prompt is shown twice.
In fact, it's not a matter of colors, there is a "wrong" prompt and the PS1
I configured in .bashrc (see attachment).

Attachments:
Screenshot_2015-01-13-14-43-06.png 223 KB

conne...@googlecode.com

unread,
May 12, 2015, 9:44:24 AM5/12/15
to connectbo...@googlegroups.com

Comment #2 on issue 688 by dmc.t061...@gmail.com: Color prompt is shown
twice. First without colorls then with.
https://code.google.com/p/connectbot/issues/detail?id=688

I am suffering the same issue. And on small screens the drama increases :(
Reply all
Reply to author
Forward
0 new messages