[haiku-bugs] [Haiku] #15206: StyledEdit (and other editors) stumbling over control(?) codes

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 28 Jul 2019 07:09:49 -0000

#15206: StyledEdit (and other editors) stumbling over control(?) codes
-----------------------+------------------------------
 Reporter:  humdinger  |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  normal     |    Milestone:  Unscheduled
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 This is hrev53280, 32bit.

 Scott Hacker recently posted a WordPress dump of the BeTipserver. I've
 attached the archive, it'll unpack to a 2.24 MiB text file.

 Opening the file in StyledEdit shows only up to line 4,934 (of 44,756).
 The same happens with Koder. Only Pe shows all, put when saving the file,
 only the lines up to 4,934 are written.

 sed -n 4934,4943p thehaikubeostipserver.wordpress.2019-07-24.xml says:
 {{{
 YEL='33[1;33m'
 BRN='33[43m'
 WHT='33[1;37m'
 RED='33[1;31m'
 NONE='33[0m'
 CYAN='33[1;36m'
 BLUE='33[1;34m'

 PS1=$RED'[d     ]'$YEL'$PWD/ '$NONE
 }}}

 So, StyledEdit and Koder stop at {{{YEL='}}}, Pe shows all, but shows that
 upside-down-?-symbol instead those colour codes.

 What's wrong here? Not sure about the category for this ticket...

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15206>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: