bugGforth - Bugs: bug #16710, FORM (under Windows) returns wrong...

 
 

bug #16710: FORM (under Windows) returns wrong dimensions

Submitted by:  None
Submitted on:  Wed 31 May 2006 03:11:43 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Anton Ertl <anton>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 01 Apr 2007 05:35:42 PM UTC, comment #2:

The wrong default is now fixed in the CVS version (no fixed
binary is available currently).

Anton Ertl <anton>
Project AdministratorIn charge of this item.
Sat 31 Mar 2007 07:44:32 PM UTC, comment #1:

Thanks for the report. Actually FORM should return 25 80 on
Windows by default. However, in any case you should be able to use
environment variables to tell Gforth the terminal size (see below).
I have now added documentation on FORM:

`form' - urows ucols gforth "form"
The number of lines and columns in the terminal. These numbers may
change with the window size. Note that it depends on the OS whether
this reflects the actual size and changes with the window size
(currently only on Unix-like OSs). On other OSs you just get a
default, and can tell Gforth the terminal size by setting the
environment variables `COLUMNS' and `LINES' before starting Gforth.

Anton Ertl <anton>
Project AdministratorIn charge of this item.
Wed 31 May 2006 03:11:43 PM UTC, original submission:

D:\MYDOCU~1\text\gforth>gforth.exe
Gforth 0.6.2, Copyright (C) 1995-2003 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
form .s <2> 24 80 ok

This is in a DOS-box under windows xp or windows 2000.

Correct on my systems would be
form .s <2> 25 80 ok

After resizing the window to 25x79, FORM still reports
24 80.

The documentation seems to have nothing about FORM.

Anonymous

 

(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

 

Carbon-Copy List
  • -unavailable- added by anton (Posted a comment)
  •  

    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 01 Apr 2007 05:35:41 PM UTCantonStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 31 Mar 2007 07:44:32 PM UTCantonAssigned toNone=>anton

    Back to the top


    Powered by Savane 3.1-cleanup1