Bug 156036 - konsole doesn't break newlines
Summary: konsole doesn't break newlines
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-17 21:28 UTC by Tony Wolf
Modified: 2008-03-17 18:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Wolf 2008-01-17 21:28:45 UTC
Version:           2.0 (using 4.00.00 (KDE 4.0.0), Debian packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.23-1-686

I got a command which breaks the konsole-output of lines.

Konsole jumps to newline but doesn't break the line - so typing is going on in the same line.

I can't figure out why. The line doesn't has any special characters.

Here are two screenshots:

http://www.os-forge.eu/kde4-bugs/konsole_doesnt_break_newline.png

and

http://www.os-forge.eu/kde4-bugs/konsole_doesnt_break_newline1.png

Best regards and many thanks for this great step with konsole

Tony
Comment 1 Robert Knight 2008-01-20 15:41:18 UTC
> I got a command which breaks the konsole-output of lines. 

Are you referring to "iptables -D OUTPUT -p" shown in the screenshot?  That doesn't appear to be valid syntax according to the output of "iptables --help" here, it just prints "Unknown argument '-p'".  



Comment 2 Tony Wolf 2008-01-21 09:12:04 UTC
The command is correct - ksnapshot cuts some args :).

Also if I return, the command execs successfully.
Comment 3 Robert Knight 2008-01-21 12:29:55 UTC
> The command is correct - ksnapshot cuts some args :). 

What is the complete command?
Comment 4 Tony Wolf 2008-01-22 13:25:07 UTC
I talk with a friend about this issue and he told me there could be a problem with the customized promt!?

But if I tried it with Konsole from 3.5.8 it works!

Here is the promt:
$(date +%H:%M:%S) \033[0;31m\u\033[0;32m@\h\033[0;34m:\w\033[0;37m\$

And here the command:
iptables -D OUTPUT -p TCP --sport 80 -j ACCEPT -j ACCEPT -m comment --comment 'HTTP OUT alle duerfen den Apache nutzen'
Comment 5 Robert Knight 2008-01-22 16:40:40 UTC
> I talk with a friend about this issue and he told me there could be a problem with the customized prompt!? 

I see the weird behaviour in xterm, gnome-terminal, Konsole/KDE 3 and Konsole/KDE 4 with the given prompt.

Perhaps on your system Konsole/KDE 3 is using a different shell or starting the shell with different arguments to Konsole/KDE 4?   
Comment 6 Robert Knight 2008-03-17 18:29:50 UTC
As far as I can tell this is a problem with bash or the prompt text rather than the terminal.