;
                                 EDITND.COM                                   

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               7k (51)   94C3  1.1b       Al Hawley 11/88          Z3COM3

  1- Syntax  2- Commands  3- Examples of Use                                  


   EDITND (EDIT the resident Named Directory) allows one to  change,  add,  or 
delete  NDR names and passwords.   The changes are to the resident NDR  buffer 
and  may be aborted (restored to original) if desired.   Multiple commands  on 
the  command  line  or in interactive more are  supported.   Commands  on  the 
invoking  command  line produce no unsolicited console output,  so EDITND  can 
execute  silently in an alias or RAS environment.   In the  interactive  mode, 
command erroes are explained only on request.  
:1

   Syntax:   EDITND   [<command>  [ \ <command>]...]
            <command> = <verb> [name] [,] [password]

Typical Commands ([xxx] means xxx is optional)
(DU/DIR)[:]             delete Named Directory entry
(DU/DIR)[:] NAME        add/change a directory name only
(DU/DIR)[:] NAME,[PW]   add/change name & password
(DU/DIR)[:] ,[PW]       Change password only
(DU/DIR)[:] [NAME],     Password is deleted.
? or / or //            Display Help & Explain last error.
<CR>                    empty cmd shows current NDR.
Q or q                  Quit & return to Z (no changes)
R or r                  Restart with original NDR
S or s                  Sort the NDR entries
X or x                  eXit to Z with .NDR updated
Z or z                  Zap (erase) ALL NDR entries
/oo...                  Other options. Type /O to see them.
:2

Rules for forming commands:

   '/' is the character which separates commands.

   Leading  and  trailing spaces are ignored,  except that at least one  space 
must  separate command arguments.   Comma is not a substitute for a  space  in 
most cases.

   A  comma is permitted in certain cases to imply a default DIR preceding the 
comma,  and a null (blank) argument after the comma.   If you supply a dirname 
before the comma or a PW after the comma, then these over-ride the default.

   As usual, nothing will happen until you enter a <cr> after a cmd line.

   Use of a colon after a DIR or DU is entirely optional.  

   <dir> means either DU or DIR may be used (a colon, again, is optional).     

The EDITND Commands:

  <cr> - displays current NDR buffer contents.  

     X - eXit to operating system after making sure that the NDR is in order.
         A sort is done automatically if required to put the entries into the
         normal order.

     Q - Quit to the operating system, restoring the NDR to its original
         condition.

     R - Reset the NDR to its original condition.

     Z - Zap the NDR.  All entries are erased.  

     S - Sorts the NDR entries into the order that you're used to.

 /oo.. - the '/' is the leading character for option commands.  '/O' will
         display the list of options on the console.  Multiple options may
         be given in any order and are executed in the sequence in which
         they are listed.  No spaces are allowed in the options list.

Commands to Change, Add, and Delete NDR entries:

   <dir>            ...deletes the entry
   <dir>,           ...deletes the password

   to change an entry, the DU or DIR must already exist in the NDR (if it
   shows in the NDR display, you can change it)

   <dir>,pw         ...change password to PW
   <dir> new pw     ...changes both DIR and password
   <dir> new,pw     ...changes both DIR and password
   <dir> new,       ...changes DIR to 'new' & deletes password
   <dir> new        ...changes DIR to 'new' and does not change any password

   to add a new entry, the new DU must be specified

   <newdu> name     ...adds a new entry, newdu:name, & do password
   <newdu> name pw  ...adds a new entry, newdu:name, password=pw
   <newdu> name,pw  ...comma is ok here instead of a space

EDITND Option Commands (preceded by "/"):

     / - display help.  If error, show error diagnostic
 
     H - toggle display of help after error diagnostic

     B - toggle audible notice of command error

     E - toggle visual notice of command error

 S<ch> - change command separator to character <ch>

     O - display the screen of option selections

     C - display the list of error codes

   Option  commands start with '/' and end with a carriage return  or  command 
separator.  Multiple options may be included in any order.
:3


Examples of Use:

   a. EDITND <cr>          <-- enter interactive mode, prompt user

   b. EDITND  <cr>         <-- same, but show current NDR first

   c. EDITND <commands>    <-- execute the commands, then enter interactive
                               mode.  Commands are separated by '\'.

   d. EDITND <commands>\x  <-- where 'x' means exit to the operating system.
                               The interactive mode is never entered.
