bugGNU Screen - Bugs: bug #42198, GNU Screen 4.2.0 with zh_CN.UTF-8...

 
 

bug #42198: GNU Screen 4.2.0 with zh_CN.UTF-8 locale breaks ncurses programs

Submitter:  None
Submitted:  Sat 26 Apr 2014 08:29:19 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.2.1
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 27 Apr 2014 11:09:55 PM UTC, comment #3: 

Ok, I added it to documentation.

Amadeusz Sławiński <amade>
Group administrator
Sat 26 Apr 2014 04:53:44 PM UTC, comment #2: 

Yes, I added 'cjkwidth off' and it works.

Anonymous
Sat 26 Apr 2014 11:41:14 AM UTC, comment #1: 

It was introduced with this commit
http://git.savannah.gnu.org/cgit/screen.git/commit/?id=b8fd0c833bbd910a525d270ebc8f7e87ee00cb0a

Anyway just add 'cjkwidth off' to your screenrc and everything should work again. I checked with few ncurses apps and they seem to work correctly

cjkwidth on = Treat ambiguous width characters as full width
cjkwidth off = Treat ambiguous width characters as half width

Amadeusz Sławiński <amade>
Group administrator
Sat 26 Apr 2014 08:29:19 AM UTC, original submission:  

I first submitted this bug in
https://bugs.archlinux.org/task/40091

I found that some ncurses programs such as dialog display abnormally when run in GNU Screen 4.2.0(see the attached file). After some test, I found out when I launch screen in zh_CN.UTF-8 locale, the problem will arise, and if I launch screen without
my system locale like 'LANG= screen', there's no problem.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #31254:  BmFONQOCMAIMxNF.png added by None (12KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-27 amade StatusNone Fixed
        Open/ClosedOpen Closed
        ReleaseCur Dev Sources 4.2.1
    2014-04-26 None Attached File- Added BmFONQOCMAIMxNF.png, #31254

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code