FacetTerm  
 
FacetCorp
 

Configuring DoubleVIEW Screen Memory


Multiple Pages of Screen Memory With DoubleVIEW's WYSE 60

Note: This procedure was tested with DoubleVIEW 1.3.1 and FacetTerm 3.0.4. Other versions, or combination of versions, may require something different.

FacetTerm can take advantage of multiple pages of screen memory with terminals and emulators that have this capability. Most terminal emulators with WYSE 60 emulation can support multiple screen pages in memory but usually require additional setup. FacetTerm is expecting a WYSE 60 to have exactly 3 pages of screen memory, so if your emulator is already set to use 3 pages, and uses the same escape sequence as FacetTerm to switch screens, no additional setup is necessary.

DoubleVIEW's WYSE 60 emulator can be used with FacetTerm either with 1 page of screen memory or up to 7 pages of screen memory. Taking advantage of multiple pages of screen memory will improve the terminal's screen response. Screens may refresh almost instantly instead of having to scroll at the terminal's baud rate.

Single Page Setup

Setting up DoubleVIEW and FacetTerm to use 1 page of screen memory is easier to implement than multiple pages and will take up less RAM on the PC. This method is highly recommended for users uncomfortable dealing with basic UNIX.

Step 1) Disable the multiple screen pages in DoubleVIEW by setting the number of screens to 1. This setting is found below the <alt-s> setup menu, under the "A. General Setup" submenu. Just move the high-light cursor over to high-light the "1".

Step 2) Then tell FacetTerm that you are not using the 3 pages that it is expecting to be able to use with a normal WYSE 60, by setting the $FACETPAGES environment variable to 1. You could set this up in the .profile with the line:

   FACETPAGES=1; export FACETPAGES

Multiple Pages Setup

This method involves modifying terminal description files and should only be attempted by experienced UNIX users familiar with basic UNIX fundamentals. Multiple pages of screen memory are a little harder to implement, but will provide a snappier screen response, especially when switching FacetTerm windows. According to the DoubleVIEW manual, each screen requires about 5K of memory, and in the WYSE 60 emulation uses the following escape sequence to switch screens:

   <ESC>wn
(where n = screen number to switch to, i.e., 0 = screen 1)

In this example, we'll setup for using 7 pages of screen memory.

Step 1) In DoubleVIEW, set the number of screens to 7. This setting is found below the <alt-s> setup menu, under the "A. General Setup" submenu. Just move the high-light cursor over to high-light the "7".

Step 2) You can modify* FacetTerm's WYSE 60 description file to match your DoubleVIEW settings and ESC sequences by changing two parameters, the "pages=" and the "display_page_number=". In FacetTerm 3.0.4, these two parameters were found in the "wy60-2425.fi" file.**

Just comment out the old lines and add the new ones as shown below...

   # FacetTerm  wy60-2425  (80 column only)
   # description file  06/03/93
   #     WYSE 60 in 24 line native mode using 3 screen pages.
   #     switchable to 25 lines.
   ## Copyright (c) Structured Software Solutions, Inc. 1993.
   ## All Rights R.
   ## @(#) $Header$
   use=wy60ans.fc
   use=wy60.fm
   ...
   pages=7           <=== change to # screens in DoubleVIEW
   #pages=3
   display_page_number=\Ew%p1%d
   #display_page_number=\E-%p1%d\040\040
* Before you modify any of the FacetTerm description files, you should create a /usr/facetterm/localterm directory, copy the file to be modified there, and then modify the copy. FacetTerm will find it there before it looks in /usr/facetterm/term. You also may want to rename it to something like "dbvwy60.fi" and set the $FACETTERM variable to "dbvwy60", or start FacetTerm with the command line "facetterm dbvwy60". This way anybody with regular WYSE 60s will still use the original description file. For Example:
   $ cd /usr/facetterm
   $ mkdir localterm
   $ cp term/wy60-2425.fi localterm/dbvwy60.fi
   $ cd localterm
   $ vi dbvwy60.fi

If you are unsure about what you are doing, PLEASE contact FacetCorp Tech Support!