bugMIT/GNU Scheme - Bugs: bug #14844, Edwin tutorial causes an internal...

 
 

bug #14844: Edwin tutorial causes an internal error if window is too small

Submitter:  Taylor R. Campbell <riastradh>
Submitted:  Sun 23 Oct 2005 05:44:17 PM UTC
   
 
Category:  edwin Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  Fixed Privacy:  Public
Assigned to:  cph Originator Name: 
Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 23 Oct 2005 08:42:55 PM UTC, comment #1: 

Thanks.  I've fixed this in the source.

Chris Hanson <cph>
Group administrator
Sun 23 Oct 2005 05:44:17 PM UTC, original submission:  

When the Edwin tutorial is invoked (i.e. C-h t), it builds text from
the TUTORIAL file by replacing the line that starts with << with a
number of newlines equal to the difference between the window's size
and four more than the point at which the << line starts.  The intent
is that the first tutorial message should be presented at the bottom of
the window, but if it does not fit in the window the INSERT-NEWLINES
call receives a negative argument for the number of newlines, because
the code does not consider this case.  24 lines for the enclosing
terminal or X window do not suffice, so this problem is exhibited in
standard 80x24 terminals.

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:
   

Attached Files
file #2822:  tutorial.scm added by riastradh (2KiB - www/unknown - replacement definition of HELP-WITH-TUTORIAL in hlpcom.scm)

 

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

Date Changed by Updated Field Previous Value => Replaced by
2005-10-23 cph CategoryNone edwin
    Item GroupNone Incorrect behavior
    StatusNone Fixed
    Assigned toNone cph
    Open/ClosedOpen Closed
2005-10-23 riastradh Attached File- Added tutorial.scm, #3054

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code