bugGNU Screen - Bugs: bug #38940, Increase maximum maxwidth value to...

 
 

bug #38940: Increase maximum maxwidth value to 511

Submitter:  None
Submitted:  Wed 08 May 2013 05:03:37 PM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  Cur Dev Sources
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 11 Sep 2014 03:12:00 PM UTC, comment #1: 
Amadeusz Sławiński <amade>
Group administrator
Wed 08 May 2013 05:03:37 PM UTC, original submission:  

I noticed a problem while playing around with the hardstatus option of .screenrc. When trying to use the %= option, I found that "right-aligned" text was aligning 15 columns to the left of where the right boundary should have been. My terminal size was 270 columns wide, and so this turns out to be exactly 255 characters.

I see in resize.c the line

    wi = ((wi + 1) + 255) & ~255;

I believe increasing 255 to 511 is a reasonable solution to this problem. I have attached my suggestion for patching this file.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28046:  0001-Increase-maximum-maxwidth-value-to-511.patch added by None (1KiB - application/octet-stream - Attaching my suggested patch for the problem.)

 

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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-11 amade StatusNone Fixed
        Open/ClosedOpen Closed
    2013-05-08 None Attached File- Added 0001-Increase-maximum-maxwidth-value-to-511.patch, #28046

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code