Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- vescinit

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
vescinit
Synopsis
/infobank/programs/share/vescinit.for
Description
  Subroutine to set "pretty-printing" variables for different terminals.

       
COMMENTS
  Known terminal types are "DEC", "NON-DEC", and "TEK".

  
  Symbol that is checked is LOG_TERM.
  If symbol is not set, the "Null" values are passed.
  Specifically, if the terminal does not support VT-100 or Tek 4014 escape 
    sequences, then these symbols should not (or need not) be set.
   
  This subroutine is called through the 
        INCLUDE 'DRSVT'
  statement in your source code.
         
    
USAGE
  "a" = argument, "r" = referenced, "s" = set

  
  call vescinit                         (with the following arguments)
         VEsc                        [variable char*1 sr]
         VBell                       [variable char*1 s]
         VKey                        [variable char*2 s]
         VNoKey                      [variable char*2 s]
         VRestore                    [variable char*2 variable char*2 s]
         VSave                       [variable char*2 s]
         VIndex                      [variable char*2 s]
         VLine                       [variable char*2 s]
         VRevIndex                   [variable char*2 s]
         VT100                       [variable char*2 s]
         VWindow                     [variable char*2 s]
         VTo                         [variable char*3 s]
         VUK                         [variable char*3 s]
         VUS                         [variable char*3 s]
         VGraph                      [variable char*3 s]
         VWhat                       [variable char*3 s]
         VTop                        [variable char*3 s]
         VBottom                     [variable char*3 s]
         VSingle                     [variable char*3 s]
         VWide                       [variable char*3 s]
         VUp                         [variable char*3 s]
         VDown                       [variable char*3 s]
         VRight                      [variable char*3 s]
         VLeft                       [variable char*3 s]
         VHome                       [variable char*4 s]
         VBlink                      [variable char*4 s]
         VBold                       [variable char*4 s]
         VUnder                      [variable char*4 s]
         VRev                        [variable char*4 s]
         VNone                       [variable char*4 s]
         VWhere                      [variable char*4 s]
         VClear                      [variable char*4 s]
         VXLine                      [variable char*4 s]
         VXBottom                    [variable char*4 s]
         VXTop                       [variable char*4 s]
         VXEndLine                   [variable char*4 s]
         VXStartLine                 [variable char*5 s]
         VNormal                     [variable char*5 s]
         VReverse                    [variable char*5 s]
         VAutoOn                     [variable char*5 s]
         VAutoOff                    [variable char*5 s]
         VAbs                        [variable char*5 s]
         VRel                        [variable char*5 s]
         V80                         [variable char*5 s]
         V132                        [variable char*5 s]
         VSmooth                     [variable char*5 s]
         VJump                       [variable char*5 s]
         VT52                        [variable char*6 s]
         VBlBo                       [variable char*6 s]
         VBlUnd                      [variable char*6 s]
         VBoUnd                      [variable char*6 s]
         VBlRev                      [variable char*6 s]
         VBoRev                      [variable char*6 s]
         VRevUnd                     [variable char*8 s]
         VBlBoRev                    [variable char*8 s]
         VBlBoUnd                    [variable char*8 s]
         VBoRevUnd                   [variable char*8 s]
         VBlRevUnd                   [variable char*10 s]
   
    
SUBROUTINES
  getsymbol           (shared DRS external routine) 

  getmode             (shared DRS external routine) 
    
    
FUNCTIONS
  char                (FORTRAN intrinsic function)  

   
    
MAINTENANCE
  New terminal types can be added by inserting a new layer in the 

  IF-THEN-ELSE structure and modifying DRS$UTIL:GETERMINL.COM
  so that it sets symbol LOG_TERM to a different value.
              
  Symbols were used, instead of system calls, to allow greater
  flexibility in defining future terminal types.
  DRS$UTIL:GETERMINL.COM sets symbol LOG_TERM
  If either symbol is not set, the "Null" values are passed
  (ie:  not using the above .COMs doesn't bomb the program).
  The above .COMs are normally run automatically when logging in.
   
    
DISCLAIMER
  Although this program has been used by the U.S. Geological Survey,

  no warranty, expressed or implied, is made by the Survey as to the
  accuracy and functioning of the program and related program
  material nor shall the fact of distribution constitute any such
  warranty, and no responsibility is assured by the Survey in
  connection therewith.
     
    
AUTHOR
  Clint Steele      1/22/85    .for           

  Clint Steele      2/12/85    Modified for MAT
  Clint Steele      9/27/88    Enhanced documentation.
  Clint Steele     11/23/88    Changed LOG_MODE to CALL GETMODE
  Carolyn Degnan    9/23/04    added implicit none.

    
Reads
Writes
Opens
Calls
      call getmode (Mode)
      call getsymbol ('TERM', TerminalType, Length)     ! UNIX SPEC

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/share/vescinit.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:36:51 PDT 2013  (chd)