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

 
 

bug #38940: Increase maximum maxwidth value to 511

Submitted by:  None
Submitted on:  Wed 08 May 2013 05:03:37 PM UTC  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: Cur Dev Sources
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

Attached Files
file #28046:  0001-Increase-maximum-maxwidth-value-to-511.patch added by None (1kB - 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

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Wed 08 May 2013 05:03:37 PM UTCNoneAttached File-=>Added 0001-Increase-maximum-maxwidth-value-to-511.patch, #28046

Back to the top


Powered by Savane 3.1-cleanup