bugMIT/GNU Scheme - Bugs: bug #15069, Microcode ignores SIGWINCH, so...

 
 

bug #15069: Microcode ignores SIGWINCH, so console I/O port x & y sizes are never updated

Submitter:  Taylor R. Campbell <riastradh>
Submitted:  Sat 26 Nov 2005 06:03:59 AM UTC
   
 
Category:  microcode Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Suboptimal behavior
Status:  Fixed Privacy:  Public
Assigned to:  riastradh Originator Name: 
Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Tue 29 Nov 2005 01:38:44 AM UTC, comment #1: 

This is a historical oddity.  When that code was developed, we didn't have any machines that supported SIGWINCH, so support wasn't implemented.  Later, it never came up.

Do you want to fix it?

Chris Hanson <cph>
Group administrator
Sat 26 Nov 2005 06:03:59 AM UTC, original submission:  

Because the microcode's signal handlers ignore SIGWINCH, it never knows when to update tty_x_size & tty_y_size in microcode/uxtty.c if the terminal under which Scheme is running is resized, so the console I/O port's x & y sizes are never changed (since they are obtained from tty_x_size & tty_y_size).  This means that, among other things, Edwin cannot know when to resize according to the terminal's size if the terminal is resized.  RESIZE-SCREEN in edwin/tterm.scm could be modified to use tgetnum("li") & tgetnum("co") instead of relying on the console I/O port's x & y sizes being updated, but it would require manual intervention to resize the screen anyway.

Taylor R. Campbell <riastradh>
Group Member

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

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

History

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-12-25 riastradh StatusNone Fixed
    Assigned toNone riastradh
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.16-a7ba.
Corresponding source code