[Konsole-devel] [konsole] [Bug 343248] New: The Bash prompt is losing position and text.

fpilee at gmail.com fpilee at gmail.com
Sat Jan 24 19:08:18 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=343248

            Bug ID: 343248
           Summary: The Bash prompt is losing position and text.
           Product: konsole
           Version: 2.13.2
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: history
          Assignee: konsole-devel at kde.org
          Reporter: fpilee at gmail.com

It's the prompt indicator but is not only the $ simbol is the entire "
[user]@[host] $" I'm not sure how is called but I will use prompt ... well the
trouble is that the prompt It's replaced with another text . It happens when
last line was presented without the new line. Example using cURL to get json
data from localhost I get a JSON response from the server but in this case the
prompt appears at the end of the response, then If I try to access to the Bash
History ( with up key) the first command in the history is fine, but if I do
again (up key again) to get an older command the prompt goes back to the
original place, but this time is the prompt is replaced with another text, in
this case with the json reponse.  

example:

note the bash prompt position to the end of the json response.

felipe at MiPC-Felipe:~ > curl -X GET https://www.googleapis.com/customsearch/
Not Foundfelipe at MiPC-Felipe:~ > 

Now I will access to the echo command in the bash history using two times the
up key.  Note that the bash prompt is replaced with the last line(server
response). 

felipe at MiPC-Felipe:~ > echo "hola"
hola
felipe at MiPC-Felipe:~ > curl -X GET https://www.googleapis.com/customsearch/
Not Foundfelipe at MiPC-Feecho "hola"
hola

Reproducible: Always

Steps to Reproduce:
1. Write some command example:$ echo "Hello".
2. Try to get JSON response from some server using cURL. example: $ curl -X GET
https://www.googleapis.com/customsearch/
3. Try to access to the first command tiped. (two times up key) 

Actual Results:  
The bash prompt is replaced with the response and the bash prompt appears after
the response

Expected Results:  
bash prompt no replaced or moved.

It looks like two bugs.  Is  present since the first kde version that I have
used, kde4.4 and still present.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list