home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / flistfrontend / src / flist.bug < prev    next >
Encoding:
Text File  |  1995-10-27  |  16.0 KB  |  244 lines

  1. I have a hook for 'lib$get_symbol' in 'dirarg', which now tests for equates
  2. into FLIST's own commands.  FLIST should (if I figure how to do error-message
  3. intercept) allow any command to be spawned which doesn't fall into its own
  4. tables.  (Note: It should be able to execute a DCL-procedure as the current
  5. entry by typing "@/ ", followed by appropriate parms.)
  6.  
  7. The spawn-command supports a crude suspended-process operation.  Should I
  8. also disable control-Y?  (Must remember to re-init terminal, though)
  9.  
  10. RMS notes: look into UBI (shared access), RRL (read record locked), and
  11. block I/O (only if I did my own COPY).
  12.  
  13. Use of 'DIRPROT' is logically correct, but too slow if a wildcard is specified.
  14. Should either simply verify existence (keep your fingers crossed), or put
  15. a "working..." sign out.
  16.  
  17. The completion routine stuff I added to DDS.C is ok, but I must disable
  18. the messages still.  How do I interrogate/clear/set these flags (SET MESSAGE).
  19.  
  20. In FLCOPY, there is a problem with copying to lower version than an
  21. existing file: COPY emits an error message unless I put an explicit version
  22. (e.g., the version I would get anyway).  
  23.  
  24. I fixed some of the spacing needs of DCLARG ("/ opt = val"), but I note
  25. that this is primarily to fill in the needs for symbol substitution.
  26. DCL itself allows a space whenever a punctuation mark is pending.
  27.  
  28. (8-Aug-84) I ran FLIST on "SYS$EXAMPLES:", which SYS$PARSE expanded to
  29. "SYS$SYSROOT:[SYSHLP.EXAMPLES]".  Then I did a SPAWN into that directory.
  30. The SHOW-DEFAULT command showed the expanded string, but I was unable
  31. to do "DI" (DIR was ok), or "FORT", until I re-issued "SET DEF SYS$EXAMPLES:".
  32. A subsequent SHOW-DEFAULT showed no difference (???).
  33.  
  34. (17-aug-84) Implemented wildcard delete/purge.  For consistency, should also
  35. permit copy(?).
  36.  
  37. (15-aug-84) In cleanup, I should be more scrupulous about checking the
  38. result from calloc/realloc.  I might get burned sometime.  Also, I should
  39. get rid of constants for buffer sizes (80, 132, 256), replacing them with
  40. MAX_CRT and MAX_PATH/NAM$C_MAXRSS) as appropriate.
  41.  
  42. 03-sep-84: Should get rid of procedure-call to TOUPPER, TOLOWER to reduce
  43. code some more.
  44.  
  45. 06-sep-84: Not sure what to do about '"' in DCLARG, since it is stripped
  46. before unix-argv interface gives it to me.
  47.  
  48. 23-oct-84: The PURGE command can be confused by multiple directories,
  49. apparently inheriting the pathname from the current default, rather than
  50. properly testing for explicit-pathname (see: DIRFIND.C).
  51.  
  52. 14-nov-84: If a file is in a directory, but does not exist, then DIRECTORY
  53. will give the message "no such file".  This corresponds to the code
  54. RMS$_FNF, which FLIST uses as a magic code for deleted-file.  Should use
  55. instead a code which isn't used by RMS.
  56.  
  57. 12-dec-84: If I used my own parse (instead of SYS$PARSE) in DIRENT_CHOP,
  58. I could cut directory-read by 20% when going across decnet.  However,
  59. DIRECTORY itself is about 5 times faster than FLIST. ???
  60. (For this, test NAM.NAM$NOP |= NAM$M_SYNCHK).
  61.  
  62. 13-dec-84: FLIST is robust enough that I should put in ^C, ^Y intercepts.
  63.  
  64. 19-dec-84: It would be nice to have a control which can abort reading a long
  65. directory without killing the entire program.
  66.  
  67. 21-dec-84: It would be nice (in DELETE and PURGE) to update the number-of-files
  68. field in the status line, so that the user can see that something is happening.
  69. FILENT is currently 60 bytes.  If I added another 4 bytes this would
  70. make page boundaries even.  (E.g., record-size)
  71.  
  72. 25-dec-84: The current major problems are:
  73.  
  74.     - Find how to make this run faster on DECNET.
  75.     - Find how to fix the bug in VMS quota, and to display this in my
  76.       program.
  77.  
  78. 29-dec-84: Should permit a filespec argument for "?SIZE".
  79. In general, should get rid of unnecessary parse/search.
  80.  
  81. 30-dec-84: 'crt_refresh' assumes that the cursor position is not near home.
  82.  
  83. 08-jan-85: '/NOVERSIONS' changes only the default on directory read.
  84. This is a hole.  Should test the fnb on search to ensure that we don't
  85. put spurious versions into display list.
  86.  
  87. 10-jan-85: Would like to support VMS options:
  88.     /EXCLUDE, /EXPIRED, /FILEID, /SELECT
  89.  
  90. Also, would like to permit BROWSE to run in (given VT100), or start-in (VT52)
  91. a half-screen from FLIST.  This would make browsing much faster, since then
  92. I could integrate it with a mode which ensures that the current-entry is
  93. in the top half of the screen (problem if file is in the last ten entries!).
  94.  
  95. 11-jan-1985: fixed scrolling-margin reset.  however, if user alters SET TERM
  96. in a spawn, this affects the parent process also.
  97.  
  98. I would like to make the cursor invisible during screen refresh.  Can I
  99. do this in ANSI?
  100.  
  101. 28-jan-85: Running across decnet, the first SEARCH and the second and
  102. following OPEN RMS-calls are the time-consuming ones.  It appears that
  103. the first SEARCH-call caches some data for the OPEN.
  104.  
  105. 04-feb-85: Should investigate lib-set-buffer for throughput.
  106.  
  107. 05-feb-85: low-end aaa terminals do not support scrolling margins (i.e.,
  108. non-ANSI).  There appears to be no way VMS can tell my programs about this.
  109.  
  110. 08-feb-85: Is there any way to detect the current amount of stack usage
  111. relative to the maximum?  If not, I must put a hard-coded limit in the
  112. main program to limit recursion.  I would like to make the program tunable
  113. in terms of the linked stack-limit.
  114.  
  115. In 'dirpath_rename', I am not checking for the use of the root-node
  116. '[0,0]'.  The code is not conformable with 'pathdown'; probably need a
  117. test for root-node.
  118.  
  119. 23-mar-85:
  120. Added display of file-id.  I noticed that at the root level, there are some
  121. directories which are entered twice in the directory, once as a number, and
  122. also as a name.  This is a hole in FLIST which I don't think I should try to
  123. plug (yet).
  124.  
  125. 26-mar-85:
  126. Limited file-id to 5+1+5+1+1 = 13 columns.  Is the high-order word ever
  127. nonzero?
  128.  
  129. How do I clear an unused AST?
  130.  
  131. 29-mar-85:
  132. Both FLIST and BROWSE should return the worst-error code, as well as printing
  133. the error message.  (For example, FLIST does not now return an error code
  134. if the first-level could not be read.)
  135.  
  136. Should use lib$get_ef instead of having hard-coded event flag numbers (see
  137. 'getraw') for qio's.
  138.  
  139. The out-band qio stuff will let me get at CTRL/C.  However, it does not
  140. intercept while I am in help-library, and also it disables CTRL/C for
  141. a subprocess.
  142.  
  143. 13-apr-85:
  144. /LOG should cover results of COPY and APPEND
  145.  
  146. 26-apr-85:
  147. If I get a message from system, etc., while in BROWSE, it gets caught on
  148. the bottom of my screen as though it too were a scrolling region.
  149. Maybe I should leave scrolling margins normally set up to bracket the
  150. cursor-line, and enable them for scrolling only occasionally.
  151.  
  152. 9-may-85:
  153. Urbanski has a long-name file in his directory which cannot be found by
  154. acp (because it was generated on v4.1).  Shouldn't stop directory-lookup,
  155. but it does, because sys$search returns a no-more-files code immediately
  156. after.  Why does DIRECTORY give a full list?
  157.  
  158. 12-may-85:
  159. 'dirent' should give back only the worst error encountered, rather
  160. than on each error (making entry to a new level nicer).
  161.  
  162. 18-may-85:
  163. Should extend /COLUMNS to permit user to strip off all columns (/fast).
  164.  
  165. 30-may-85:
  166. The (apparent) speed of FLIST could be much enhanced by doing SYS$OPEN
  167. on demand (when we must first use the date, etc.) rather than on entry.
  168. However, this would make the *total* slower, since we would have to do
  169. SYS$SEARCH twice.  Should investigate this, to find how much time is
  170. involved.  Only need to modify the flsort and dirent modules; can use a
  171. convention of '0' in fstat for un-initialized data.
  172.  
  173. 08-jun-85:
  174. Should extend 'spawn' command to 'shell' (entry to DEC-shell).
  175.  
  176. 10-jun-85:
  177. Would like to show file-size in bytes; this is applicable to text files
  178. (but not really to indexed files, which contain a toc).
  179.  
  180. Also, would be nice to have FLIST provide a mode (like the IBM program)
  181. for selecting files from a list, return the list to a caller.
  182. DCL doesn't have pipes/stack, must return this in variable(?)
  183.  
  184. Should provide a display command to show /CWIDTH (or put it in the
  185. ?COLUMNS display).
  186.  
  187. For the display-commands, would like to be able to use these as options.
  188. To do this, consider making the option-interpretation of FLIST scan
  189. left-to-right interpreting the commands in no-echo mode.
  190.  
  191. 23-jun-85:
  192. In going to CC2.0, encountered flakey-bug (inconsistent) in calls on 'sscanf'.
  193. Coded around this with new module 'scanver'; ~10 hours of tests failed to
  194. isolate *any* code errors.
  195.  
  196. Should put a latched-data into 'dirfind_tst'.  Now it is called only from
  197. 'dirread' and 'dirfind'.
  198.  
  199. 26-jul-85:
  200. Must suppress /DATE, etc., in options for edit-dir (subset).
  201. Should provide entry for flcols to set column-list as an option-value,
  202. i.e., either
  203.     /c s d r
  204.     /c=(s,d,r)
  205. should be accepted by the scanner.
  206.  
  207. 15-aug-85:
  208. Should provide LOG, COM (CMD?) commands to permit dynamic use of FLIST.
  209. Could maintain multiple log-files (put them on a linked list), one per level.
  210.  
  211. Should provide a mechanism for entering BROWSE from an FLIST command file
  212. to permit it to revert to interactive mode for the duration of the
  213. browse.
  214.  
  215. 27-aug-85:
  216. If we RENAME a directory, which in turn propagates into lengthened pathnames
  217. for other entries, we do *not* increase 'ccolumns', since we do not scan the
  218. 'filelist[]' array to ensure that the lengthed pathnames are displayed.
  219.  
  220. 16-sep-85:
  221. STRWCMP does not check for the special case of '*' in a pathname conflicting
  222. with the VMS convention (i.e., '[a*b]' should not match '[a.c.b]').
  223.  
  224. 17-sep-85:
  225. Looked across the net at ATCSDB::DRA0:[SYS0.], found that the netserver-log
  226. file cannot be examined, since it is modified by observation.  However, some
  227. versions will become "file-not-found" on SYS$OPEN, but are not counted
  228. in deletions (probably because the dirent__read routine thinks that is a
  229. bit too early).  Sometimes, also, I get an error from RMS (on UPDATE) saying
  230. that the assign-channel service failed.  Could be either traffic-related,
  231. or because I do not $CLOSE if $OPEN fails.
  232.  
  233. 01-oct-85:
  234. Must update help-file to show SET/SHOW substitution, as well as the order-of-
  235. evaluation of synonyms.  Should permit FLIST's help command to accept argument.
  236. Should modify EDTCMD module to treat <LF> same as in VMS 4.x
  237.  
  238. 02-oct-85:
  239. Should use qio-IO$_M_TYPEAHDCNT (p-39) in 'gotraw' rather than the qio with
  240. timeout.
  241.  
  242. 12-nov-85:
  243. Should add optional arguments to SPAWN.  Also, add /ALL option to VERIFY.
  244.