home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / unix / maclayer.doc < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  32.1 KB

  1. Date: Mon, 19 Mar 1990 6:24:51 CST
  2. From: Werner Uhrig <werner@rascal.ics.utexas.edu>
  3. Subject: here comes MacLayers_1.0_doc
  4.  
  5.                             MacLayers Document
  6.  
  7.                        Version 1.00 March 17, 1990
  8.  
  9.     MacLayers provides multi-window capability for a Macintosh connected
  10.     to a host UNIX(TM) system with sockets support. Each window may be 
  11.     associated with a shell, login to a different host, or an individual 
  12.     command. Complete facilities are available for controlling the window 
  13.     and the associated host processes attached thereto.
  14.  
  15.  
  16.                        What You Need To Run MacLayers
  17.  
  18.     1) A Unix host which supports the sockets protocol.
  19.  
  20.     2) A Macintosh with more than 128k of RAM and connected to the host. 
  21.  
  22.     3) The MacLayers Macintosh Application provided with this package.
  23.  
  24.     4) The Unix host server command 'layers' provided with this package.
  25.  
  26.     5) If you want to resize windows which are logged into a second BSD
  27.        machine or resize windows on a BSD machine running in non-layers 
  28.        mode then you need the 'layersize' command provided with this package.
  29.  
  30.     6) If you want to specify window titles on your own (such as to indicate
  31.        your current directory or other such information) you need the Unix 
  32.        'layertitle' command provided with this package.
  33.  
  34.  
  35.  
  36.                              MacLayers Operation
  37.  
  38.     The MacLayers Application on the Macintosh starts up as a garden variety 
  39.     host-to-terminal vt-100 emulator. (As such you can run it with any
  40.     host, not just a BSD machine.) Baud rate and other configurations 
  41.     are set by selections in the Control menu. MultiFinder is fully 
  42.     supported so you can use other applications while MacLayers is 
  43.     executing and downloading.
  44.  
  45.     The initial or any document window may be saved via the "Save As" File
  46.     menu option. When this happens the file is designated as a MacLayers
  47.     application document and contains not only logged text from the host 
  48.     communications in that window but also the current Control menu settings.
  49.     
  50.     Once the initial 'layers' command is executed on the host (use no options 
  51.     or parameters) MacLayers and the host start operating in MacLayers
  52.     protocol mode. Automatically the document file window is closed and
  53.     reopened as layer number 1 running with a new shell. The shell is either
  54.     /bin/sh or the shell indicated by your $SHELL environment variable.
  55.     The term 'layer' refers to a process group running on the Unix host 
  56.     and the associated MacLayers window to which the group is attached.
  57.  
  58.     The Macintosh Layer menu list shows the status of currently opened layers 
  59.     and read-only text files (described later). Selecting the menu item
  60.     brings the associated window up front.
  61.  
  62.     Layer number 1 is always associated with your startup document. Its
  63.     shell identifies itself to the host as your login shell so that broadcast 
  64.     messages and commands like 'talk' and 'write' will be properly redirected 
  65.     to that window. (The current mesg(1) state remains unchanged.)
  66.  
  67.     You can start a new shell layer via the New menu item from the Layers
  68.     menu. You can also start a new layer window by issuing the 'layers' 
  69.     command in a shell layer window. If you use no operands then the new 
  70.     layer window will be a shell. However, instead of a shell you can specify 
  71.     any command you wish by simply adding it as a parameter.  Examples: 
  72.  
  73.                           layers vi testfile.c
  74.  
  75.                           layers telnet earth
  76.  
  77.     If you are specifying a shell then you can also elect to have it be a 
  78.     login shell by adding a -l option. This allows broadcast/write/talk 
  79.     capabilities for that window. By default only the document layer 
  80.     (number 1) always starts out as a login shell.
  81.  
  82.     The host is always kept informed of your current window size and programs
  83.     using curses(3) like 'vi' and 'more' will properly adapt. However, most
  84.     utilities only size the window once when they start up so changing
  85.     the window size is verboten after they are running.  MacLayers normally
  86.     disallows window resizing when it recognizes that you are running such 
  87.     a program. This can be overridden by holding down the shift key when 
  88.     resizing the window. A 'vi' symbol appears in the lower right window 
  89.     'growbox' area when MacLayers detects you are running a cursor moving
  90.     type of program. Zooming also is disallowed at this time unless both the
  91.     zoomed and non-zoomed state have exactly the same character line width
  92.     and height.
  93.  
  94.     See the section "Logging Into Another Host" below for information on
  95.     proper window sizing when your window is being used to do a login command
  96.     into another host.
  97.  
  98.      Note: You may have to hit return once after some programs terminate 
  99.            to get MacLayers to recognize you are out of 'vi' mode.
  100.  
  101.     The "enter" key is typically used to send a break (SIGINT) to all 
  102.     processes associated with that layer window. The method can be configured 
  103.     in the Control menu Terminal item.
  104.  
  105.     You may terminate the window's processes with the Layers menu 
  106.     "SIGTERM/SIGHUP Layer" item. The layer may also be killed by closing its
  107.     window (SIGHUP). When a layer process group terminates on the host 
  108.     its window is automatically closed.
  109.     
  110.     MacLayers exits layers mode when the last (or only) layer window is closed.
  111.     You may also use the Layers menu "Shutdown" to terminate layers mode.
  112.     You cannot quit the MacLayers application while in layers mode but must 
  113.     Shutdown the multi-window mode first.
  114.  
  115.     You can abort host layers by using the Control menu "Abort Host Layers" 
  116.     item which is always available. This may be necessary if your Macintosh 
  117.     loses contact with the host and you restart the MacLayers application at
  118.     which time the application would not be in layers mode but the host would.
  119.     If the MacLayers application aborts due to a non-recoverable problem 
  120.     it will inform the host to terminate layers mode before returning to the 
  121.     Finder.
  122.  
  123.   More About Window Sizing
  124.  
  125.     Each MacLayers window has two complete window size environments, a zoomed
  126.     state size and a non-zoomed state size. Each state may have its own
  127.     associated font size and screen location. When you change the window size 
  128.     by dragging the grow corner (bottom right) you convert the window into 
  129.     its zoomed state. Clicking the zoom box in the title bar switches between 
  130.     the two states. Simply moving a window doesn't change its state. Both the 
  131.     font and size for the two states can be set by the Control menu "Default 
  132.     Window Settings" and "Current Window Settings" items. The default item 
  133.     settings are used when any new windows are created.
  134.  
  135.   Logging Into A Secondary Host
  136.  
  137.     If you log onto another system from within a layer window then that system 
  138.     will not know of your current window's size. MacLayers provides you with
  139.     a way to inform that system of this information if the system is a BSD 
  140.     or System V Unix.
  141.  
  142.     For remote BSD systems you can execute the 'layersize' command provided 
  143.     with this package. (The command must be copied or built on the remote 
  144.     system and be accessible by your shell there.) When at the shell command 
  145.     prompt select the Control menu item "Inform BSD of Window Size" and a 
  146.     string will be sent invoking the 'layersize' command. This informs the 
  147.     remote kernel of the current process window size. If your BSD .login or 
  148.     .profile uses the 'tset' command to set the terminal type then you must 
  149.     add the -I option to keep 'tset' from forcing each login window to be 
  150.     treated as always having 24 lines (the vt-100 default.)
  151.  
  152.     System V allows window (actually screen) sizes to be specified with
  153.     the environment variables "COLUMNS" and "LINES". You can automatically
  154.     set these shell variables when at a shell command prompt by selecting
  155.     the Control menu "Inform System V of Window Size" item. 
  156.  
  157.     It is up to you to inform the indirect login host of any window size 
  158.     changes by using the menu items. Your terminal type on such hosts 
  159.     should be specified as vt100 if you wish to execute screen oriented 
  160.     commands such as 'vi' or 'more'.
  161.  
  162.                             Other Capabilities
  163.  
  164.    Cursor Positioning In 'vi' Mode
  165.  
  166.     When in 'vi' mode MacLayers provides a useful cursor moving feature.
  167.     Double-clicking in the window causes a series of vi commands to be 
  168.     issued which cause the insertion cursor to move to that location.
  169.     You must not be in vi insert mode or the commands will simply be taken
  170.     to be text that you have typed. (You can do that just for fun to see
  171.     what MacLayers sends on a double-click.)
  172.  
  173.    Read-only Text Files
  174.  
  175.     MacLayers can open up text files as read-only windows by using the 
  176.     "Open Text" File menu. Such windows can have their contents copied to 
  177.     the clipboard but may never be altered in any way. Text window titles show
  178.     the circle-r (registered trademark) to let you know they are read-only 
  179.     and a "no-write" symbol appears at the bottom right portion of the
  180.     window (the "grow" area.)
  181.  
  182.    Window Aliasing
  183.  
  184.     At times you may wish to view two portions of a communication window's 
  185.     contents at one time. The File menu "Open Window Alias" will create a 
  186.     new read-only window for any communications window and this can be 
  187.     scrolled to any independent position desired just like a text-only window.
  188.  
  189.     Since in-coming text from the computer always forces a window to the 
  190.     bottom for proper capturing, the window aliasing feature can be used 
  191.     to open a surrogate window that is immune to this action.
  192.  
  193.    XMODEM Downloading
  194.  
  195.     MacLayers has a download facility for accepting downloaded XMODEM 
  196.     MacTerminal ('macput' command) and macbinary ('macbput' command) files. 
  197.     Straight vanilla XMODEM is not supported. A copy of the public domain 
  198.     macbinary downloading program 'macbput' is provided with this package.
  199.  
  200.     Only one window can be doing a XMODEM download at any one time.
  201.     Downloading does not effect any other MacLayers operations so you can
  202.     freely use any other windows or applications (with MultiFinder) while 
  203.     a download is in progress. Remember though that the topmost window 
  204.     receives the highest priority data transfer from the host so for the 
  205.     fastest downloading keep the XMODEM layer window the active window.
  206.  
  207.     The File menu "Download Site" can be used to preselect the location
  208.     where downloads are to occur. By default files are placed where the
  209.     startup document resides. This setting is forgotten each time the 
  210.     MacLayers application terminates.
  211.  
  212.     If you have an error-free line then setting the "Fast" mode in the 
  213.     Control menu "File Transfer" selection will speed up download by about
  214.     28%.
  215.  
  216.   Downloading Examples
  217.  
  218.     The macbput utility provided with this package can be run on the host
  219.     Unix system and is used to ship files to a Macintosh running MacLayers. 
  220.     (Some Unix systems already have a utility called macput which is used in 
  221.     exactly the same way. But macbput properly updates Macintosh file dates 
  222.     concerning the time of original creation and last use.)
  223.  
  224.     To download a standard Unix text file, for example one created by a 
  225.     editor such as vi or emacs, enter the following command:
  226.  
  227.               macbput -u filename
  228.  
  229.     The transfer will start automatically and will create a Macintosh file 
  230.     of type TEXT on the Macintosh which can be opened by applications such as 
  231.     MacWrite and Word.
  232.  
  233.     Other types of Macintosh files and applications may also be downloaded. 
  234.     On the host Unix system they may take on one of many forms. If you have 
  235.     a single file which ends in the name "hqx" then it must first be converted 
  236.     into three files with names ending in .info, .data and .rsrc with a 
  237.     utility such as xbin (not provided.)
  238.  
  239.         xbin  filename.sit.hqx
  240.  
  241.     If you have the .info, .data and .rsrc files then you are ready to 
  242.     download with the macbput (or macput) command. Specify only the front 
  243.     part of the file name, the part before the .info, .data and .rsrc.
  244.  
  245.         macbput  filename.sit
  246.  
  247.     The transfer will start automatically and upon completion a copy of the 
  248.     file will be available on the Macintosh.
  249.  
  250.     Sometimes the host version of the file will not be in three pieces but
  251.     instead exist as a single binary (non-text) file. These are called 
  252.     macbinary files and almost always end in the suffix ".bin". Macbinary 
  253.     files may be converted to the three file info, data and rsrc format with 
  254.     utilities such as "mcvert" (not provided) and then downloaded with macbput
  255.     as above. It is also possible to directly download a macbinary file if 
  256.     you have a so-called XMODEM download utility. (One such utility is 
  257.     called "xmodem".) To accomplish this, issue the download command on the 
  258.     host:
  259.  
  260.         xmodem -sb filename.bin
  261.  
  262.     and then select the File menu "Download File" item. The download 
  263.     should start at that time. But if it doesn't you may have to invert the 
  264.     Control menu "File Transfer ..." CRC/Checksum selection and try again.
  265.     Note that downloading via XMODEM utilities will not auto-start the
  266.     process on the Macintosh. You must use the "Download File" menu item
  267.     to start the Macintosh side of the operation.
  268.  
  269.   Paste Speed
  270.  
  271.     Unix is known for the ease with which its tty device drivers can be
  272.     overrun by input. (This causes data to be lost.) MacLayers provides
  273.     time delay options which can be set for pasting text into a window.
  274.     (Data pasted into a window is sent on to the host.) The options are 
  275.     in the Control menu "File Transfer" selections.
  276.  
  277.   Preferences Menu Item
  278.  
  279.     The Control menu Preferences item provides user selectable options for 
  280.     highlighted text format and cursor display among other things.
  281.  
  282.   Window or Selection Printing
  283.  
  284.     The entire window or the current selection may be printed by activating
  285.     the File menu "Print" entry. If you have an early Macintosh model with 
  286.     only 64K of ROM then printing will refuse to work due to Apple's lack of
  287.     support for that machine in the MPW programming environment.
  288.  
  289.   Vertical Window Scrolling With Keyboard Keys
  290.  
  291.     You can scroll the active window up or down via the key sequences given
  292.     below. The second sequence for each option is an alternate provided only 
  293.     for keyboards not having arrow keys:
  294.  
  295.         COMMAND+UPARROW          scroll back one page
  296.      or COMMAND+"'"
  297.  
  298.         COMMAND+DOWNARROW        scroll forward one page
  299.      or COMMAND+'/'
  300.  
  301.         COMMAND+OPTION+UPARROW   scroll back one line
  302.      or COMMAND+OPTION+"'"
  303.  
  304.         COMMAND+OPTION+DOWNARROW scroll forward one line
  305.      or COMMAND+OPTION+'/'
  306.  
  307.         COMMAND+SHIFT+UPARROW    scroll to the top of the file
  308.      or COMMAND+SHIFT+"'"
  309.  
  310.         COMMAND+SHIFT+DOWNARROW  scroll to the bottom of the file
  311.      or COMMAND+SHIFT+'/'
  312.  
  313.   Horizontal Window Movement With Keyboard Keys
  314.  
  315.     MacLayers does not directly support horizontal scrolling of window contents.
  316.     However, the entire window can be easily moved right or left with keyboard
  317.     sequences.  Requesting a movement right or left will bring the opposite 
  318.     edge of the window into view on the screen. If the opposite edge is 
  319.     already in view then the window is moved still further in the indicated 
  320.     direction.
  321.  
  322.     This capability when used with the vertical scrolling key sequences allows
  323.     small screen Macintosh users to comfortably manipulate windows that are 
  324.     wider than the screen.
  325.  
  326.     Here are the key sequences provided. The second sequence for each option 
  327.     is an alternate provided only for keyboards not having arrow keys:
  328.  
  329.         COMMAND+LEFTARROW
  330.      or COMMAND+'<'               move window left
  331.  
  332.         COMMAND+RIGHTARROW
  333.      or COMMAND+'<'               move window right
  334.  
  335.  
  336.   Tandem Scrolling
  337.  
  338.     Holding the shift key down while selecting a vertical line or page
  339.     scroll with the mouse will automatically cause the same scroll to be
  340.     attempted on the next lower MacLayers window (if any.) This is handy
  341.     when eyeballing two long similar sections of text for differences.
  342.     
  343.   Special Keyboard Sequences
  344.  
  345.     For emacs users MacLayers allows a metakey sequence to cause bit 7 (the
  346.     high bit in a character) to be set. Combining both the command and
  347.     option keys with any other key sequence will cause bit 7 to be forced
  348.     on. Thus, keyboards having a built-in control key can generate all 256
  349.     possible 8-bit characters. Macintoshes with old non-ADB keyboards will 
  350.     ignore this treatment for the "'" or "/" characters since they are 
  351.     required for the window scrolling movements indicated earlier.
  352.  
  353.     For users requiring the generation of ASCII NUL (a zero byte, sometimes
  354.     called the IDLE character) an alternative to CONTROL-@ (also CONTROL-2) 
  355.     is to issue CONTROL-space (also OPTION-space.) This follows vt-100 
  356.     terminal convention.
  357.  
  358.   Find Capabilities
  359.  
  360.     The Find menu items allow searching windows for specific contents or
  361.     going to the current selection.
  362.  
  363.   Iconed Window Capability
  364.  
  365.     A unique feature of MacLayers is the ability to shrink a window to an
  366.     icon. While iconed the window will still actively display its contents
  367.     and scroll just like a standard sized window.
  368.  
  369.     To iconize a window simply double-click its title bar or select the
  370.     Iconize menu item from the Layers menu. While iconed the window may be
  371.     moved around just like a Finder Icon and the miniaturized window retains
  372.     its own independent location.
  373.  
  374.     A window is deiconized when you double click it, type input to it as the 
  375.     top window, select it with a Layers menu item, or select the Deiconize 
  376.     Layers menu item.
  377.  
  378.     Just for fun MacLayers allows you to scroll a iconed window with the
  379.     vertical scroll keys (defined earlier) without causing it to deiconize.
  380.  
  381.     For users running under MultiFinder standard windows can be auto-iconed
  382.     temporarily while MacLayers is not the front most application. A check
  383.     box in the Preferences menu dialog box enables this action. If checked
  384.     then holding the shift key down while switching to another application
  385.     will temporarily inhibit the auto-iconing.
  386.  
  387.   Icons to Default Positions
  388.  
  389.     This menu selection from the Control menu item resets the positions of
  390.     all iconed windows such that when iconed they appear along the top, right,
  391.     left or bottom of the screen. There is also an option for the bottom where
  392.     only the titles show. This allows the user to treat the titles of iconed 
  393.     windows as though they are buttons at the bottom of the screen. By double
  394.     clicking the button (which is really the title of the iconed window) 
  395.     the window returns to its full size.
  396.  
  397.     The menu item simply resets the position for all icon windows to the
  398.     designated choice selected in the Preferences dialog. They may then be 
  399.     moved again by you to other areas of the screen.
  400.  
  401.   Shrink Window To Title
  402.  
  403.     At times the desktop becomes too cluttered so MacLayers provides yet 
  404.     another feature to ease the busy desktop problem. Any MacLayers window
  405.     can be shrunk to just its title bar by shift-double-clicking the title bar 
  406.     or selecting the Titleize item from the Layers menu item. In effect the
  407.     window is still there but only the title bar remains visible. The window
  408.     remains titled even if output is being sent to it. Moving the title bar 
  409.     has the same effect as moving the window.
  410.  
  411.     The window may be detitleized by double-clicking the title bar or selecting 
  412.     the Detitleize item from the Layers menu.
  413.  
  414.   Hide Window Capability
  415.  
  416.     You may also completely hide any MacLayers window at any time by selecting
  417.     the Hide item from the Layers menu. The window will stay hidden until 
  418.     output is sent to it from the host or you reactivate it from the Layers 
  419.     menu.
  420.  
  421.   Cycling Through Windows
  422.  
  423.     All active MacLayers windows may be displayed one after the other in
  424.     numerical order by selecting the Layers menu Cycle item. Hidden windows
  425.     do not appear in the cycle list.
  426.  
  427.   Specifying a Layer Window Title
  428.  
  429.     The 'layertitle' command provided with this package allows a single
  430.     argument (which may be a string) to specify a title to be displayed
  431.     for the controlling window of the process. The source for this command
  432.     should compile and execute on any Unix system and so can be used even for
  433.     windows which are logged into remote hosts.
  434.  
  435.     An example use of this feature is to create your own "cd" directory 
  436.     change shell command and have it always display the current directory 
  437.     name in the title bar.
  438.  
  439.     Expert users can examine the 'layertitle' source code to discover 
  440.     the control sequence needed to send the ANSI Private Message string which 
  441.     actually causes the new title to be recognized. Knowing this sequence 
  442.     standard shell echo facilities can be used in place of the 'layersize' 
  443.     command.
  444.  
  445.   Sending an Interrupt to a Window Process
  446.  
  447.     The Send Interrupt To Layer item of the Layers menu causes a internal
  448.     packet to be sent to the host indicating that a SIGINT signal be sent to 
  449.     the UNIX process group attached to the window. This is only available in 
  450.     layers mode.
  451.  
  452.     At times the UNIX tty mode settings for a process may become garbled
  453.     and if the Enter key is sending DEL or CONTROL-C this may not be enough
  454.     to interrupt the process. Selecting this menu item bypasses the tty
  455.     driver and so ensures that an interrupt signal is received.
  456.  
  457.   Reset Terminal
  458.  
  459.     Occasionally you may have bad data transmitted to the Macintosh which can
  460.     cause the vt-100 emulation to enter a special graphics mode or setup
  461.     a vt-100 screen scrolling area smaller than your full window size. If this 
  462.     occurs the Control menu item "Reset Terminal" will reinstate normal 
  463.     operation. This in no way affects layers mode operation.
  464.  
  465.   Sending Break in Layers Mode
  466.  
  467.     A hardware 'break' can be placed on the host serial line with the Control
  468.     menu Send Hardware Break item. However, when in layers mode this is only
  469.     allowed if the line is idle to guarantee that no internal control packets 
  470.     become garbled or lost. A beep occurs when the line is busy.
  471.  
  472.   Aborting Current Activity
  473.  
  474.     Paste and XMODEM operations may be aborted by entering COMMAND-period
  475.     (cmd-.).
  476.  
  477.   Use of the Macintosh RAM Cache
  478.  
  479.     For the last few years versions of the Macintosh operating system have
  480.     provided a RAM cache feature configurable in the control panel to speed 
  481.     up data transfers to floppy and hard disks. There are two types of 
  482.     environments where this option is especially useful with MacLayers.
  483.  
  484.     The first situation is for users running off of floppy disks. In this case
  485.     running with at least the minimal RAM cache size of 32K will inhibit the 
  486.     constant whirring of your diskettes and improve screen text display speed.
  487.  
  488.     Users using high-speed communication connections (9600 and above) make up 
  489.     the second group that may need to run with the RAM cache turned on. This 
  490.     is necessary to avoid data loss when receiving large amounts of 
  491.     uninterrupted data. An example of this would be the listing of a large 
  492.     source file directly to your window. Once the RAM cache is filled it
  493.     purges itself by writing the cached data to an output file. The Macintosh 
  494.     serial driver can lose high speed data coming in if diskette or hard disk 
  495.     accesses are being done at the same time. (This is called data overrun.) 
  496.     Users with this potential situation need to guarantee that the size of 
  497.     their ram cache is at least as big as the largest amount of data they 
  498.     want to capture. (This does not concern XMODEM transfers. They do not 
  499.     require RAM cache although cache of at least minimum size can speed 
  500.     these up as well.)
  501.  
  502.   Disk Full Processing
  503.  
  504.     MacLayers will put up a warning box and delete all data in the scroll 
  505.     file up to the current output position if the disk where the file resides 
  506.     becomes completely filled.
  507.  
  508.   Minimal Memory Environment
  509.  
  510.     For users with extremely tight memory requirements MacLayers can be forced 
  511.     to run in a memory partition approximately 95k bytes smaller than normal. 
  512.     When run in this manner MacLayers will beep at startup and issue a warning 
  513.     that only a single window is allowed. No more than one window can be open 
  514.     at a time and no read-only text windows are available in this mode. Also,
  515.     the maximum size of data handled by cut and paste operations is more
  516.     restrictive.
  517.  
  518.   Enhanced Terminal Capabilities
  519.  
  520.     MacLayers supports standard vt-100 terminal protocol as described in BSD
  521.     Termcap(5) and System V Terminfo(4). But there are also two extra
  522.     capabilities which can speed up screen updating particularly with screen
  523.     editors. UNIX users who specify vt100 terminal type only for the sake
  524.     of running MacLayers can include these extra capabilities by using the
  525.     replacement terminal descriptions below. These not only include the extra 
  526.     MacLayers terminal capabilities but also remove timing waits required 
  527.     by real vt-100's thus providing even further speed improvements.
  528.  
  529.     For BSD Termcap the following description can be used:
  530.  
  531.      #                    MacLayers vt-100 Termcap
  532.      d0|vt100|vt100-am|MacLayers dec vt100:\
  533.         :cr=^M:do=^J:nl=^J:bl=^G:co#80:li#44:cl=\E[;H\E[2J:\
  534.         :le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
  535.         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
  536.         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;24r\E[24;1H:\
  537.         :rf=/usr/lib/tabset/vt100:\
  538.         :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
  539.         :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
  540.         :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=\EM:vt#3:xn:\
  541.         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\
  542.         :dc=\ED:ic=\EI:
  543.  
  544.     The System V Terminfo specialized definition is:
  545.  
  546.      #        Special System V Terminfo definition for MacLayers vt100
  547.      vt100|vt100-am|dec vt100 without tabs and with MacLayers extras,
  548.         am, mir, msgr, xenl, xon, cols#80, lines#24, vt#3,
  549.         acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
  550.         bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=\r,
  551.         csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
  552.         cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
  553.         cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
  554.         dch1=\ED, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
  555.         home=\E[H, ich1=\EI, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr,
  556.         kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
  557.         kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ,
  558.         kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl,
  559.         kf9=\EOw, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E[?1l\E>,
  560.         rmso=\E[m, rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
  561.  sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
  562.         sgr0=\E[m^O, smacs=^N, smkx=\E[?1h\E=,
  563.         smso=\E[1;7m, smul=\E[4m, tbc=\E[3g,
  564.  
  565.  
  566.  
  567.                                      Hints
  568.  
  569.      *) MacLayers must internally handle your window display differently
  570.         whenever the cursor is being positioned above the bottom line such
  571.         as occurs during the execution of a screen editor on the host. The 
  572.         "vi" symbol is displayed in the grow box during this time to indicate 
  573.         this special mode. During so-called "vi" mode you are not allowed
  574.         to change the window size. Holding the shift key down will override
  575.         this restriction and allow you to resize the window. But remember 
  576.         that if you are running a utility then the utility may not be able 
  577.         to dynamically adjust to a new window size. If it can then you must 
  578.         do whatever is required of the utility to inform it of the change.
  579.  
  580.         At times MacLayers may think the window is still in "vi" mode even
  581.         after an editor or cursor controlling utility has finished. One
  582.         instance of this is immediately after a "clear screen" command.
  583.         MacLayers does not know to go out of "vi" mode until a new line is
  584.         added to the very bottom of the screen causing the screen to scroll
  585.         up a line. If the window has stayed in "vi" mode and you want to 
  586.         resize it simply hold the shift key down or type empty lines to the 
  587.         shell until the window begins to scroll again. (The "vi" will then 
  588.         disappear from the grow box.)
  589.  
  590.      *) When running in layers mode the host/MacLayers interface always
  591.         uses vt-100 protocol regardless of your TERM terminal type setting.
  592.         Thus if you only set your TERM variable to vt100 to run MacLayers 
  593.         and you always run in layers mode then you need not bother actually
  594.         setting vt100 as your Unix terminal type.
  595.  
  596.      *) As mentioned at the start of this document MacLayers can be used
  597.         as a normal vt-100 terminal emulator when connected to any host
  598.         computer. On BSD and System V systems you can also use the variable 
  599.         sized window feature in non-layers mode by following the same 
  600.         instructions given for logging into a remote host as described
  601.         in the "Logging Into A Secondary Host" section above. (This also
  602.         holds true for a layers host before the layers command is entered.) On 
  603.         systems other than BSD and System V changing the current window 
  604.         size may garble output unless there is a means for you to notify 
  605.         your connection of the new window size.
  606.  
  607.  
  608.                                 Problems/Caveats
  609.  
  610.      *) The current version does not do data validation with packet retry for 
  611.         MacLayers/host internal communication. Thus poor line conditions may 
  612.         cause a host internal message to be missed. This is usually not 
  613.         catastrophic but means something won't work correctly. For instance
  614.         a window might not auto-close when a host process death occurs or 
  615.         output might be sent to the wrong window.
  616.          
  617.      *) The shell TERM variable must have the same value in your 
  618.         layer shells as it does when you initially start layers up.
  619.  
  620.      *) If you set the BSD shell TERMCAP variable then that variable must
  621.         be set in your .login file. It may not be changed to something
  622.         different in .cshrc.
  623.  
  624.      *) The host/MacLayers system attempts to give highest data communication
  625.         priority to the topmost MacLayers window at all times by throttling
  626.         down output to other windows. However due to internal UNIX kernel I/O 
  627.         buffering the attempts may not always succeed.
  628.  
  629.      *) The "Download Site" folder is always kept open which means if you 
  630.         want to trash the folder you must first choose a new download site or 
  631.         quit MacLayers.
  632.  
  633.      *) MacLayers has U.S. keyboard dependencies.
  634.  
  635.      *) The layers command will not properly work when being issued from a 
  636.         remote login into the same machine which is already running the initial
  637.         layers startup command.
  638.  
  639.      *) If a layers window text file is read as a file of type TEXT by another
  640.         application and that file has highlighted characters (as sent by the
  641.         host) embedded within it then those characters will appear as garbage 
  642.         in that application. (Specifically such characters have the high bit
  643.         [bit 7] on.)
  644.  
  645.  
  646.                                      Bugs
  647.  
  648.      *) Occasionally during or after a cursor moving utility has executed if 
  649.         the window is scrolled backwards then when it is eventually scrolled 
  650.         forward to the bottom (last) line of the file the bottom line will 
  651.         be missing from the display. If you can reproduce this problem then 
  652.         please send a complete description of how to do so to 
  653.  
  654.                  uunet!rascal.ics.utexas.edu!layers-reply
  655.  
  656.  
  657.  
  658.                              Acknowledgement
  659.  
  660.   The author owes a big thanks to Werner Uhrig and his band of testers at the
  661.   University of Texas for the many bug reports and suggestions delivered 
  662.   during the intensive beta testing phase of this product. MacLayers is a 
  663.   substantially improved application as a result.
  664.  
  665.                                                     Dave Trissel
  666.                                                     Austin
  667.         
  668.         
  669.  
  670. UNIX(TM) is a registered trademark of American Telephone and Telegraph.
  671.  
  672. Macintosh is a trademark of McIntosh Laboratories and is licensed to Apple 
  673. Computer.
  674.  
  675.                          **** end of document ****
  676.  
  677.