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

Add a New Comment Rich Markup
   

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

 

(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

 

CC list is empty

 

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
2005-12-25 riastradh StatusNone Fixed
    Assigned toNone riastradh
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code