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

Submitted by:  Taylor R. Campbell <riastradh>
Submitted on:  Sat 26 Nov 2005 06:03:59 AM UTC  
 
Category: microcodeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Suboptimal behavior
Status: FixedPrivacy: Public
Assigned to: Taylor R. Campbell <riastradh>Originator Name: 
Open/Closed: Closed
Keywords: 

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 25 Dec 2005 05:57:09 PM UTCriastradhStatusNone=>Fixed
  Assigned toNone=>riastradh
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1