home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / netutils / alpha300.arj / NETWORK.TXT < prev    next >
Text File  |  1993-08-10  |  4KB  |  80 lines

  1. ALPHA MENU AND NETWORKS
  2.  
  3. ALPHA MENU has been enhanced to operate more smoothly with local area
  4. networks, and has been tested under Novell Netware(R) and Artisoft
  5. LANtastic(R).
  6.  
  7. The benefit in using ALPHA MENU (or any program) on a network is the
  8. fact that a SINGLE COPY of the program and associated data files can be
  9. SHARED by all users.
  10.  
  11. *Environmental Variables
  12.  
  13. For NETWORKING of ALPHA MENU to work properly, we must be able to
  14. somehow differentiate between users on a network system.
  15. This is typically done by specifying something called an Environmental
  16. Variable.
  17.  
  18. You will need to specify the value for it by placing a 
  19. "SET USER=USERNAME" statement within the network login or AUTOEXEC.BAT 
  20. procedure. You cannot exceed eight (8) characters.  For example, if
  21. user Susan logs onto the network, part of her login script should be
  22. DOS SET USER="SUSAN" or in the Autoexec.Bat, the statement should be
  23. SET USER=SUSAN, so that the variable "USER" will be placed in the DOS
  24. environment and set to a value of "SUSAN".  ALPHA MENU will automatically
  25. reference this variable and substitute the default ALPHA MENU data and batch
  26. files with Susan's name.
  27.  
  28. *The DOS Environment
  29.  
  30. In the above example, each time we use the "USER" variable,
  31. ALPHA MENU will look in the DOS environment for a variable of the same name
  32. and use its value instead. The "environment" is really just a common area of
  33. memory that programs can write to and read from - kind of a "general store" of
  34. program information. Some programs are geared to look specifically at the
  35. environment to find particular data important to their operation. If we were to
  36. look at the DOS environment (by typing the SET command), we might see a
  37. listing similar to the one below:
  38.  
  39.                          COMSPEC=C:\COMMAND.COM
  40.                          PATH=C:\;C:\DOS;C:\UTIL
  41.                          USER=SUSAN
  42.  
  43. Other values might be present, like PROMPT=$P$G, and more depending on the
  44. types and kinds of software you are running. Some programs ask you to place a
  45. variable into the environment equal to a certain value so that they can find
  46. support files which could not be found otherwise.
  47.  
  48.  
  49. *If Your Computer Displays an "Out of Environment Space" error
  50.  
  51.    -INCREASE THE ENVIRONMENT SIZE
  52.  
  53.    Depending on the DOS version, the environment's size may be up to 32 kbytes
  54.    (i.e. 32,768 decimal bytes) long.  The default environment size of COMMAND.
  55.    COM, however, is of 160 bytes in versions 2.2x through 3.3x, and in DOS 5
  56.    it is 256 bytes; this space can fill up quickly, in which case DOS displays
  57.    the message 'Out of environment space' when attempting to add a new 
  58.    variable or increasing an existing one.
  59.  
  60.    In DOS versions 3.10 and later, the size of the environment can be modified
  61.    by including the following statement in the CONFIG.SYS file:
  62.  
  63.                       SHELL=[d:][\path]COMMAND.COM /P /E:nn
  64.  
  65.    in which [d:] and [\path] are the drive and path specification, P indicates
  66.    that this is to be considered the initial loading of the command processor,
  67.    and /E:nn specifies the size of the environment in <nn> bytes (versions 3.2
  68.    and higher) or <nn> paragraphs (1 paragraph=16 bytes, version 3.1).  Notice
  69.    that version 3.1 allows a maximum environment of 992 bytes (62 paragraphs).
  70.  
  71.  
  72. *Mark the ALPHA.EXE and ALPHA.HLP files as shareable read-only.
  73.    
  74.    If you are a Novell user change directory to the Alpha Menu directory and
  75.    type FLAG ALPHA.* SRO <enter>.
  76.  
  77.    If you are a LANtastic user, set the attributes to READ-ONLY by changing
  78.    to the Alpha Menu directory and type ATTRIB ALPHA.* +R <enter>.
  79.  
  80.    Remember to remove the read-only settings when updating Alpha Menu.