| Summary: | cat-ting file containing echo "ESC]" displays incorrectly | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Cédric Bellegarde <web> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.5 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Debian configuration file | ||
|
Description
Cédric Bellegarde
2005-03-30 21:45:56 UTC
Created attachment 10434 [details]
Debian configuration file
Need more info. What version of KDE/Konsole? Are you using non-English term? perhaps a screenshot of the offense? Always having this bug with kde 3.5.1 and kubuntu packages :( WELL!!! That is very strange.... Here's the offending line 51: echo -n "^[]R" Konsole doesn't like the the escape ]R If you 'less file.log', you'll see less changes the line to 'echo -n "R"'. Granted it works in xterm when you 'cat' the file. When catting from gnome-terminal, the line changes to 'echo -n "?]R"' where ? is the greater-than-equal to sign... If you want to cat files containing escape sequences you need to use "cat -v". It doesn't display as you would expect in xterm either - notice that the offending line appears as 'echo -n ""' instead of 'echo -n "^[]R"'. There is something to look into here because Xterm's behaviour is different from Konsole's. Closing as per comment #9, cat needs to be run with "-v" to cat files containing escape sequences. |