bugGNU Screen - Bugs: bug #17842, a bug in encoding.c in Screen 4.0.2

 
 

bug #17842: a bug in encoding.c in Screen 4.0.2

Submitter:  Juergen Weigert <jnweiger>
Submitted:  Mon 25 Sep 2006 11:53:42 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 15 Jun 2008 06:54:02 AM UTC, comment #3: 

Appears to be present in the repo.

Micah Cowan <micahcowan>
  Spam posted by anonymous
Tue 03 Oct 2006 02:38:09 PM UTC, comment #1: 

Yes, this seems to be the right fix. Thanks!

Michael Schröder <mls>
Group administrator
Mon 25 Sep 2006 11:53:42 AM UTC, original submission:  

From: Hiroaki Sengoku <sengoku@mn.gcd.org>
Organization: Personal Site GCD, JAPAN
To: -email is unavailable-
Subject: [screen-devel] a bug in encoding.c in Screen 4.0.2
Date: Sat, 23 Sep 2006 22:28:49 +0900

Hi,

First of all, let me express my appreciation of the great software GNU
Screen.  I can't do any work without it.

I've found a bug in the Screen 4.0.2 (latest ?): Run screen in SJIS
mode, and use eucJP in the window, then a extra 0x8E will be inserted
before every character.

I described the detail of the bug in my blog:

  http://blog.gcd.org/archives/50663205.html

Unfortunately it was written in Japanese, and I'm sorry for your
inconvenience.  I hope some of developers of Screen can read Japanese.

The patch to fix the bug follows:

--- encoding.c.org      Mon Sep  8 23:25:23 2003
+++ encoding.c  Mon Aug 28 18:11:57 2006
@@ -1151,6 +1151,7 @@
              *statep = c;
              return -1;
            }
+         if (!(c & 0x80)) return c;
          return c | (KANA << 16);
        }
       t = c;

If it was a known bug, and already fixed, please ignore this mail.
I shall be very happy if this mail is a little help.


#9291.
http://www.gcd.org/sengoku/             Hiroaki Sengoku <sengoku@gcd.org>


Juergen Weigert <jnweiger>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by micahcowan (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-15 micahcowan StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code