home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DIR / PUSH_POP.ZIP / POPD.DOC < prev    next >
Encoding:
Text File  |  1990-07-23  |  2.5 KB  |  69 lines

  1.      POPD version 1.2
  2.  
  3.     Usage:
  4.         POPD
  5.          Will change to the most recently stored directory on 
  6.          the stack.
  7.         POPD +n
  8.          Will delete the directory stored in position n from
  9.          the bottom of the stack, starting at one on the bottom.
  10.     Purpose: This program will either change to the topmost directory
  11.         on the stack created by PUSHD v. 1.1 (first usage), OR
  12.         will delete from the stack the directory stored at position
  13.         n, where 1 is the bottom of the stack.  In either case, 
  14.         the program will compress the stack, to remove any empty
  15.         storage space, and will update the position for the next
  16.         storage accordingly.
  17.     Requirements:
  18.         POPD v. 1.2 requires the use of PUSHD v. 1.1 or greater.
  19.     Notes:
  20.         POPD requires 1680 bytes free memory to run.
  21.     Error Codes:
  22.         0) Successful completion.
  23.           249) Error popping directory.
  24.           250) Directory Stack is empty.
  25.           251) Command Line parameter exceeds Directory Stack depth.
  26.           252) Illegal Characters on the Command Line.
  27.           253) Command Line parameter not in valid directory range (1-6).
  28.           254) Invalid Command Line delimiter.
  29.           255) PUSHD is not installed.
  30.     Version changes:
  31.         POPD v. 1.2:    July 23, 1990.
  32.             enhanced code using suggestions from David
  33.              Kirschbaum (Toad Hall).
  34.             "cleaned out" directory stack characters that 
  35.              were left after a POPD, which might not be over-
  36.              written on next PUSHD.
  37.         POPD v. 1.1:    July 14, 1990.
  38.             added "+n" option.
  39.             changed hooked interrupt to 13 from 16.
  40.             added error codes for abnormal termination.
  41.             changed writes from vector 9 to vector 40h of 
  42.              int 21h.
  43.             changed program termination from int 20h to vector
  44.              4Cxxh int 21h, where xx represents the error code
  45.              generated.
  46.             removed stack wrap around.
  47.         POPDIR v. 1.0: Copyright 1986, Ziff-Davis Publishing Co.
  48.             From PC Magazine, May 27, 1986
  49.             No changes.
  50.     Future Enhancements:
  51.         1) Change the "n" parameters so that it refers to the
  52.          top of the stack, not the bottom (RELATIVE from the top
  53.          NOT ABSOLUTE from the bottom).
  54.         2) Make program an .EXE file.
  55.         3) Correct error caused by 3 or more blanks on the
  56.          end of the command line tail.
  57.         4) Add a help option, ?, from the command line.
  58.         5) Add -c option to clear ALL directories on stack.
  59.         6) Add -n option to clear n topmost directories on stack.
  60.  
  61.     Created by:
  62.       (from ideas based in UNIX and from PC Magazine's POPDIR.COM)
  63.         William P. Sarra
  64.             CIS:71041,347
  65.             arpa: sarra@TOPAZ.RUTGERS.EDU
  66.     uucp: ...{ames,cbosgd, harvard, moss}!rutgers!topaz.rutgers.edu!sarra
  67.  
  68.  
  69.