gfxgfx
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
logo
 
gfx gfx
gfx
847 Posts in 273 Topics by 2533 Members - Latest Member: pabloosbor September 10, 2010, 05:57:16 PM
*
gfx*HomeHelpSearchLoginRegistergfx
gfxgfx
      « previous next »
Pages: [1] Print
Author Topic: How do I expand the MRWE window beyond 30K?  (Read 994 times)
Paolo
Newbie
*
Posts: 8


View Profile
« on: March 12, 2010, 06:35:00 PM »

I'm running my first Fortran programs in 10.1 after several years of 9.2.

I use the MRWE approach, but in the application window I only find the last 30K of my output.  The User Guide doesn't say how to increase the size.  I have selected the option that automatically saves the output to file on quit, but what is saved is again only the last 30K. 

How do I increase the MRWE window size to, say, 500K?  Alternatively, how do I save all program output sent to unit "6" or "*"?

Thanks

Paolo
Logged
Mike Linacre
Full Member
***
Posts: 183


View Profile
« Reply #1 on: March 13, 2010, 05:44:44 AM »

Paolo, in my version of MRWE, the window-buffer-size code is in mrwe.inc

These are my settings:
* Input/Output window
   integer MAX_WIDTH; parameter (MAX_WIDTH = 500)
   integer MAX_LINES; parameter (MAX_LINES = 2000)
   integer MAX_CHARS; parameter (MAX_CHARS = 100000)
Logged
Mark Coxhead
Jr. Member
**
Posts: 57


View Profile Email
« Reply #2 on: March 15, 2010, 05:07:33 AM »

Hello Paolo,

Just to add that you can go much higher.  In both Abosft 5.0 and Absoft 10.0.2 I have had for some years now

integer MAX_LINES; parameter(MAX_LINES=32768)     
integer MAX_CHARS; parameter(MAX_CHARS=2097152)

whereby the former is 2 to the power of 15, and the later is 2 to the power of 21.


It is some years since I changed these values and I am pretty sure I tried even higher values.     It is rare that with the values above the buffer size is exceeded in a production environment, but when running test programs the resulting dialogue can still exceed the revised buffer size - but I normally give up at that point and start again.



Quote
In January 2010 I received a questionnaire from Absoft asking about improvements to the content matter of their manuals.   I gave a fairly comprehensive reply, but buffer size I did not mention.   Perhaps this is another area that could be explained in more detail.     I remember when I initially did increase the buffer size, I was very cautious as the explanation they gave in the manual was vague



 
Logged
forumadmin
Administrator
Full Member
*****
Posts: 131


View Profile Email
« Reply #3 on: March 16, 2010, 09:02:00 AM »

The suggested solutions will not work on Mac OS X. On Windows, MRWE handles all of the text editing so it is quite easy to increase the text buffer. However, on OS X, a Macintosh text edit record is used that is only 32K. The solution is to specify that MRWE saves all text to an output file (just as you did with V9.2). When the buffer is full, it will be flushed to a file. To set the up, select MRWE Preferences in the Project menu and choose to save text always.
Logged
gfx
Pages: [1] Print 
gfx
Jump to:  
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!