home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / flistfrontend / doc / d3.rno < prev    next >
Encoding:
Text File  |  1995-10-25  |  18.5 KB  |  512 lines

  1. .; $Id: d3.rno,v 1.2 1995/10/25 01:02:55 tom Exp $
  2. .req    "d0.req"
  3. .; directory sorting and display format commands
  4. .;
  5. FLIST's most powerful function is the dynamic display formatting,
  6. which permits you to view the directory in a wide variety of
  7. formats.
  8.  
  9. .hl    Directory Sorting
  10. .x Sorting commands
  11. Using FLIST, you may sort by anything on the screen:
  12. .lm+8
  13. .b.i-4
  14. o    Name fields (e.g., the file name, type and directory-path).
  15. .b.i-4
  16. o    Date fields (the creation, backup, expired and revision dates),
  17. and their major components (day-of-week, hour-of-day).
  18. .b.i-4
  19. o    Size (of the file, in blocks, or its allocated space).
  20. .b.i-4
  21. o    Anything (file protection, format, record attributes).
  22. .b.lm-8
  23. For each display-column on the screen, FLIST defines a normal
  24. and reverse sorting function.
  25. The names for the sorting commands are derived from the sorting
  26. sense and the column type.
  27. Normal sorting commands begin "/S", reverse sorting with "/R".
  28. The remainder of the command is the column-keyword (e.g., "/SDATE").
  29. .;
  30. .hl+1    Sorting and Column Keywords
  31. .x Column keywords
  32. The display column names are chosen to be unique with the first
  33. character (the minimum abbreviation):
  34. .lm+16
  35. .b.i-12;ALLOC
  36. .x Column keywords>ALLOC
  37. .x Sorting commands>/SALLOC, sort by allocation
  38. .x /SALLOC, sort by allocation
  39. .x Sorting commands>/RALLOC, sort by allocation
  40. .x /RALLOC, sort by allocation
  41.     The file allocation, in blocks (generally larger than the file size).
  42. .b.i-12;BACKUP
  43. .x Column keywords>BACKUP
  44. .x Sorting commands>/SBACKUP, sort by BACKUP date
  45. .x /SBACKUP, sort by BACKUP date
  46. .x Sorting commands>/RBACKUP, sort by BACKUP date
  47. .x /RBACKUP, sort by BACKUP date
  48.     The last date on which the file was backed-up.
  49. .b.i-12;CREATED
  50. .x Column keywords>CREATED
  51. .x Sorting commands>/SCREATED, sort by CREATED date
  52. .x /SCREATED, sort by CREATED date
  53. .x Sorting commands>/RCREATED, sort by CREATED date
  54. .x /RCREATED, sort by CREATED date
  55.     The creation date of the file.
  56. .b.i-12;DATE
  57. .x Column keywords>DATE
  58. .x Sorting commands>/SDATE, sort by DATE
  59. .x /SDATE, sort by DATE
  60. .x Sorting commands>/RDATE, sort by DATE
  61. .x /RDATE, sort by DATE
  62.     Any of the file dates, depending on the current display mode
  63. .x DATE-toggle
  64. (see "/D" commands).
  65. .b.i-12;EXPIRED
  66. .x Column keywords>EXPIRED
  67. .x Sorting commands>/SEXPIRED, sort by EXPIRED date
  68. .x /SEXPIRED, sort by EXPIRED date
  69. .x Sorting commands>/REXPIRED, sort by EXPIRED date
  70. .x /REXPIRED, sort by EXPIRED date
  71.     The expiration date of the file.
  72. .b.i-12;FORMAT
  73. .x Column keywords>FORMAT
  74. .x Sorting commands>/SFORMAT, sort by format
  75. .x /SFORMAT, sort by format
  76. .x Sorting commands>/RFORMAT, sort by format
  77. .x /RFORMAT, sort by format
  78.     The file format (e.g., VAR for variable,
  79. VFC for variable-with-fixed-control).
  80. .b.i-12;HOUR
  81. .x Sorting commands>/SHOUR, sort by hour of DATE
  82. .x /SHOUR, sort by hour of DATE
  83. .x Sorting commands>/RHOUR, sort by hour of DATE
  84. .x /RHOUR, sort by hour of DATE
  85.     The hour-of-the-day component from the DATE field.
  86. .b.i-12;MASK
  87. .x Column keywords>MASK
  88. .x Sorting commands>/SMASK, sort by protection mask
  89. .x /SMASK, sort by protection mask
  90. .x Sorting commands>/RMASK, sort by protection mask
  91. .x /RMASK, sort by protection mask
  92.     The file's protection mask, from left to right
  93. is SYSTEM, OWNER, GROUP and WORLD.
  94. .b.i-12;NAME
  95. .x Column keywords>NAME
  96. .x Sorting commands>/SNAME, sort by NAME
  97. .x /SNAME, sort by NAME
  98. .x Sorting commands>/RNAME, sort by NAME
  99. .x /RNAME, sort by NAME
  100.     The file name.
  101. This field always appears in the leftmost display column.
  102. .b.i-12;OWNER
  103. .x Column keywords>OWNER
  104. .x Sorting commands>/SOWNER, sort by owner
  105. .x /SOWNER, sort by owner
  106. .x Sorting commands>/ROWNER, sort by owner
  107. .x /ROWNER, sort by owner
  108.     The file owner's identification code
  109. (two octal numbers separated by ",").
  110. .b.i-12;PATH
  111. .x Column keywords>PATH
  112. .x Sorting commands>/SPATH, sort by PATH
  113. .x /SPATH, sort by PATH
  114. .x Sorting commands>/RPATH, sort by PATH
  115. .x /RPATH, sort by PATH
  116.     The file's node-device-directory path.
  117. FLIST displays the PATH for the current file in the status line.
  118. It may also be put in a display column.
  119. .b.i-12;REVISED
  120. .x Column keywords>REVISED
  121. .x Sorting commands>/SREVISED, sort by REVISED date
  122. .x /SREVISED, sort by REVISED date
  123. .x Sorting commands>/RREVISED, sort by REVISED date
  124. .x /RREVISED, sort by REVISED date
  125.     The file's revision date (i.e., when it was last modified).
  126. .b.i-12;SIZE
  127. .x Column keywords>SIZE
  128. .x Sorting commands>/SSIZE, sort by SIZE
  129. .x /SSIZE, sort by SIZE
  130. .x Sorting commands>/RSIZE, sort by SIZE
  131. .x /RSIZE, sort by SIZE
  132.     The file size, in blocks.
  133. .b.i-12;TYPE
  134. .x Column keywords>TYPE
  135. .x Sorting commands>/STYPE, sort by TYPE
  136. .x /STYPE, sort by TYPE
  137. .x Sorting commands>/RTYPE, sort by TYPE
  138. .x /RTYPE, sort by TYPE
  139.     The file type (without the leading ".").
  140. TYPE always appears as the second display column.
  141. .b.i-12;VERSION
  142. .x Column keywords>VERSION
  143. .x Sorting commands>/SVERSION, sort by VERSION
  144. .x /SVERSION, sort by VERSION
  145. .x Sorting commands>/RVERSION, sort by VERSION
  146. .x /RVERSION, sort by VERSION
  147.     The file's version number, left-justified and separated from the
  148. TYPE field by a ";".
  149. VERSION always appears as the third display column.
  150. .b.i-12;USER
  151. .x Sorting commands>/SUSER, sort by file owner's user name
  152. .x /SUSER, sort by file owner's user name
  153. .x Sorting commands>/RUSER, sort by file owner's user name
  154. .x /RUSER, sort by file owner's user name
  155.     The file's owner in symbolic format
  156. .b.i-12;WEEK
  157. .x Sorting commands>/SWEEK, sort by DATE's weekday
  158. .x /SWEEK, sort by DATE's weekday
  159. .x Sorting commands>/RWEEK, sort by DATE's weekday
  160. .x /RWEEK, sort by DATE's weekday
  161.     The day-of-the-week component of the DATE display field.
  162. .b.i-12;XAB
  163. .x Column keywords>XAB
  164. .x Sorting commands>/SXAB, sort by extra attributes
  165. .x /SXAB, sort by extra attributes
  166. .x Sorting commands>/RXAB, sort by extra attributes
  167. .x /RXAB, sort by extra attributes
  168.     Literally "extra-attributes", this is the set of record attributes.
  169. It is considered an augmentation of the FORMAT display column, and is
  170. always sorted within the FORMAT field's value.
  171. .lm-16
  172. .;
  173. .hl    Sorting Order
  174. The normal sorting order for text fields (PATH, NAME, TYPE) is in
  175. increasing ASCII collating order.
  176. For all numeric fields (e.g., DATE, MASK) the normal sorting order
  177. is in decreasing numeric order.
  178. .b
  179. FLIST makes adjustments to the PATH string so that it will sort properly
  180. (i.e., in the conventional order used by VMS) rather than in a strict
  181. collating order.
  182. It also treats specially the date-fields of file entries which are
  183. not initialized properly by the directory lookup operation:
  184. .lm+8
  185. .b.i-4
  186. o    Files which cannot be viewed (due to insufficient privilege)
  187. have a date of zero (the oldest).
  188. This field is blanked in the display.
  189. .b.i-4
  190. o    Backup dates of files which are otherwise accessible may
  191. be internally set to a large number if the file has not been backed-up.
  192. This forces files which have not been backed-up to appear at the
  193. top of a normal sort-by-date.
  194. .b.lm-8
  195. There are two types of sorts performed by FLIST.
  196. Either it is sorting some combination only of PATH, NAME, TYPE and VERSION,
  197. or it is sorting one of the non-filename fields.
  198. In the latter case, FLIST always follows the non-filename comparison
  199. with NAME, TYPE, PATH and VERSION.
  200. The name-only sorts are performed by permuting the filename components:
  201. .b.lm+8
  202. .br;PATH####NAME####TYPE####VERSION
  203. .br;NAME####TYPE####PATH####VERSION
  204. .br;TYPE####NAME####PATH####VERSION
  205. .br;VERSION#NAME####TYPE####PATH
  206. .lm-8
  207. .b;The ordering of the sort keys (e.g., NAME, TYPE, PATH, VERSION)
  208. is designed to yield the most informative display:
  209. .lm+8
  210. .b.i-4
  211. o    Sorting by PATH (PATH, NAME, TYPE, VERSION) corresponds to
  212. the ^*normal\* sorting order obtained by a wildcard directory listing
  213. of the form
  214. .b;########DIRECTORY#[...]
  215. .b;All files for each directory are listed before proceeding to
  216. the next directory.
  217. All files are listed alphabetically by name, and by type within
  218. the name.
  219. Versions are listed in descending order.
  220. .b.i-4
  221. o    Sorting by NAME (NAME, TYPE, PATH, VERSION), on the other
  222. hand, permits you to easily see files which appear in more than one
  223. directory, or those which differ only by type.
  224. It is the most natural way of sorting the directory entries,
  225. because the file name carries the most ^*meaning\*.
  226. .b.i-4
  227. o    Sorting by TYPE (TYPE, NAME, PATH, VERSION)
  228. groups together files having the same type.
  229. This is valuable when managing a large collection of different
  230. types of files.
  231. The file type is usually related to the ^*use\* of the file.
  232. .b.i-4
  233. o    Sorting by VERSION (VERSION, NAME, TYPE, PATH)
  234. shows the files with the highest version numbers.
  235. Using this sort, you may easily determine the files which
  236. have been most ^*modified\*.
  237. .b.lm-8
  238. The sort-by-NAME (NAME, TYPE, PATH, VERSION) is the default sorting
  239. order used by FLIST.
  240. NAME is first, because this is most natural to users.
  241. VERSION is last, because this will cause files having the same version
  242. in different directories to be display on consecutive lines.
  243. PATH, then, is a super-version of the file, and is sorted immediately
  244. above VERSION.
  245. .;
  246. .hl    Fixed-Point Sorting
  247. When performing a sort, FLIST normally concludes the operation by
  248. scrolling the cursor to the top of the display list.
  249. You may inhibit this scrolling by making one file entry into a fixed-point.
  250. There are two types of fixed-point sorting, temporary and latching:
  251. .lm+8
  252. .b.i-4
  253. o    A temporary fixed-point sort is invoked by typing the sort-command
  254. with an extra "/" prefix (e.g., "//SD" instead of "/SD").
  255. The current file entry acts as a fixed-point;
  256. after the sort the cursor will be scrolled to wherever this entry has been
  257. moved.
  258. .b.i-4
  259. o    A latching fixed-point sort is invoked by the mark-command:
  260. .lm+8
  261. .b.i-4
  262. .x Sorting commands>/MARK, latch fixed-point
  263. .x Fixed-point sorting>/MARK
  264. -    The "/MARK" (/MAR) command sets the current file entry as a
  265. fixed-point, which lasts until it is explicitly reset.
  266. .x Highlighting>fixed-point sorting
  267. FLIST highlights the selected filename in the display.
  268. .b.i-4
  269. .x Sorting commands>/NOMARK, unlatch fixed-point
  270. .x Fixed-point sorting>/NOMARK
  271. -    The "/NOMARK" (/NOM) command clears a latched fixed-point,
  272. wherever it is.
  273. .lm-8
  274. .b.lm-8
  275. .b
  276. If no changes are made to display as a result of the sort,
  277. FLIST will not move the cursor.
  278. If changes are made, and a fixed-point is active, FLIST will
  279. always reposition the cursor to the fixed-point with higher priority.
  280. A temporary fixed-point overrides a latching fixed-point.
  281. .b
  282. FLIST may make changes to the display, even if no change has
  283. occurred in the ^&order\& of display entries.
  284. When you delete files, FLIST blanks the entries which appear
  285. on the screen, rather than redrawing the screen.
  286. When FLIST performs a sort, it also compacts the portion of the
  287. display list which is visible.
  288. .x Display list>compaction
  289. (The portion of the display-list which is not visible is always
  290. kept up to date, since this requires much less time).
  291.  
  292. .hl-1    Display Format Commands
  293. .x Display commands
  294. Using simple FLIST commands you can easily alter the screen format
  295. to show various file attributes.
  296. .;
  297. .hl+1    /COLUMNS (/C)
  298. .x Display commands>/COLUMNS
  299. .x Column-list
  300. The principal display command is the column-set command "/COLUMNS".
  301. This command accepts a list of the display-columns which FLIST displays.
  302. It may be invoked at any time.
  303. .b
  304. The "/COLUMNS" command accepts an optional list of keywords.
  305. These keywords (which may be abbreviated to a single character) are
  306. the portions of the FLIST display which are not permanently
  307. assigned:
  308. .b.lm+8.nj
  309. ALLOC, BACKUP, CREATED, DATE, EXPIRED, FORMAT, MASK, OWNER, PATH, REVISED,
  310. SIZE, USER, XAB
  311. .j.lm-8
  312. .b;The remaining display keywords
  313. .b;########NAME, TYPE, VERSION
  314. .b;and
  315. .b;########HOUR, WEEK
  316. .b;are respectively fixed, or part of other display fields.
  317. .b
  318. If no arguments are given, "/COLUMNS" restores the display to its
  319. default state:
  320. .b;########/COLUMNS SIZE DATE MASK
  321. .b;If the token "_*" is given, the current column-list is used
  322. as an argument to simplify appending a new column to the current display.
  323. No column may be repeated, however.
  324. .;
  325. .hl    DATE Toggle Commands
  326. .y    Display commands>see also DATE-toggle
  327. .x    DATE-toggle
  328. There is one instance in which FLIST permits you to display the
  329. same information twice on the screen.
  330. The DATE display column is treated specially,
  331. and is separate from the BACKUP, CREATED, EXPIRED and REVISED columns.
  332. The contents of the DATE column may be changed without issuing a
  333. "/COLUMNS" command.
  334. By providing a toggle-command "/D", FLIST can reserve a single key
  335. .x Key assignments>Keypad#2, sort by DATE
  336. on the keypad for sort-by-date without losing generality.
  337. FLIST interprets the sort-by-DATE function as
  338. "sort by whatever DATE is assigned to."
  339. .tp5.b
  340. To toggle DATE, type the command "/D" with the (abbreviated) name of
  341. the type of date you wish:
  342. .b.lm+8
  343. .x    DATE-toggle>/DBACKUP
  344. .br;/DBACKUP (/DB)
  345. .x    DATE-toggle>/DCREATED
  346. .br;/DCREATED (/D)
  347. .x    DATE-toggle>/DEXPIRED
  348. .br;/DEXPIRED (/D)
  349. .x    DATE-toggle>/DREVISED
  350. .br;/DREVISED (/DR)
  351. .b.lm-8
  352. You may also change the date format.
  353. Normally FLIST displays the date in the form
  354. .x    Date format
  355. .b;########dd-mmm-yyyy hh_:mm
  356. .b;By issuing the command "/DLONG" (/DL), you make FLIST show the day of the
  357. .x    Date format>/DLONG
  358. .y    DATE-toggle>see also Date format
  359. .x    DATE-toggle>/DLONG
  360. week as well:
  361. .b;########www dd-mmm-yyyy hh_:mm
  362. .b;Normally FLIST does not show the day of the week, since it costs
  363. four extra columns of the display for each date-field.
  364. To restore the date to the shorter form, type
  365. .x    Date format>/DSHORT
  366. .x    DATE-toggle>/DSHORT
  367. "/DSHORT" (/DS).
  368. .;
  369. .hl    Display Column Rotation
  370. .x    Column-rotation
  371. Under VMS version 4, file names may be quite long (up to 39 characters
  372. in each of the NAME and TYPE fields).
  373. FLIST automatically reserves enough space on the screen that the
  374. NAME, TYPE and VERSION columns line up properly.
  375. However, this may leave little room on an 80-column terminal for
  376. auxiliary information.
  377. In particular, the protection-edit
  378. .x Protection edit
  379. will not run unless the entire protection mask is visible.
  380. (The PROTECT command can still be issued, but the cursor cannot
  381. move about.)
  382. .b
  383. To make FLIST somewhat more agile (and to avoid retyping "/COLUMNS"
  384. simply to juggle existing columns),
  385. FLIST provides column-rotation commands
  386. .y    Column-list>see also Column-rotation
  387. .x Column-rotation>/CLEFT
  388. "/CLEFT" (/CL) and
  389. .x Column-rotation>/CRIGHT
  390. "/CRIGHT" (/CR).
  391. These functions are assigned to the PF4 key.
  392. .x Key assignments>PF4>/CLEFT
  393. .x PF4>/CLEFT
  394. .x Key assignments>PF4>/CRIGHT (GOLD)
  395. .x PF4>/CRIGHT (GOLD)
  396. The column rotation commands rotate the column-list left or right.
  397. They use no arguments.
  398.  
  399. .hl-1    Status Commands
  400. .x    Status commands
  401. FLIST provides a set of status commands,
  402. analogous to the VMS "SHOW" commands.
  403. .lm+8
  404. .b.i-4;?COLUMNS
  405. .x Display columns>Showing status
  406. .x Status commands>?COLUMNS, show column-list
  407. .br;The COLUMNS status command summarizes the current display format,
  408. by showing the keywords which describe it.
  409. Its primary use is to show which date-columns correspond to
  410. the various file dates (BACKUP, CREATED, EXPIRED, REVISED).
  411. .;
  412. .b.i-4;?DATE
  413. .x Status commands>?DATE, show current date
  414. .br;The DATE status command shows the current time and date.
  415. .;
  416. .b.i-4;?HELP
  417. .y Status commands>?HELP>see also /HELP
  418. .y Status commands>?HELP>see also HELP
  419. .x Status commands>?HELP, show command summary
  420. .br;The HELP status command is one of several ways you may invoke
  421. FLIST's help-display.
  422. .;
  423. .b.i-4;?LEVEL
  424. .x Status commands>?LEVEL, show display level
  425. .x Display level>?LEVEL
  426. .y Display level>see also QUIT
  427. .br;The LEVEL status command shows you the current display level
  428. (i.e., how many times you have told FLIST to enter a new display-list).
  429. If you wish to quit one or more levels of FLIST, but do not wish to
  430. exit it entirely, this command can tell you how deep you actually are.
  431. .;
  432. .b.i-4;?SIZE
  433. .x Status commands>?SIZE, show blocks in display list
  434. .br;The SIZE status command displays the total number of blocks
  435. both used (size) and allocated by the files in the current display
  436. level.
  437. This is analogous to the "/TOTAL" option of DIRECTORY.
  438. .;
  439. .b.i-4;?TIMES
  440. .x ?TIMES, show timer
  441. .x Status commands>?TIMES, show timer
  442. .y Status commands>?TIMES>see also /TIMES
  443. .x Key assignments>Keypad#6, display timer
  444. .br;FLIST keeps track of the amount of time you have spent in
  445. this process, both in elapsed time and CPU time.
  446. Use this command to interrogate the timer.
  447. .;
  448. .b.i-4;?VERSION
  449. .x Status commands>?VERSION, show FLIST version
  450. .br;The VERSION status command displays the version and date
  451. of the copy of FLIST which you are running.
  452. .lm-8
  453.  
  454. .tp10
  455. .hl    Other Display Commands
  456. .hl+1    Refresh-Hold
  457. Occasionally you will attempt to perform an operation with FLIST
  458. which does not succeed, and it will not be clear why, because
  459. FLIST gets rid of the message before you can read it.
  460. This will happen in operations which FLIST spawns,
  461. waits for a response, and gets an ambiguous return status from VMS.
  462. To prevent FLIST from eradicating VMS's message, use the
  463. "/HOLD" (/HOL) command.
  464. .x Display commands>/HOLD
  465. .y Display commands>/HOLD>see also SPAWN
  466. .x Spawned subprocesses
  467. .x VMS error messages>/HOLD
  468. With /HOLD, FLIST waits after spawned commands (even editor calls)
  469. for you to hit RETURN.
  470. .x Display commands>/NOHOLD
  471. To clear this mode (it is really only useful when you are not
  472. successfully issuing commands), use "/NOHOLD" (/NOH).
  473. .;
  474. .hl    Screen Refresh
  475. Even the best terminal driver occasionally makes a mess of your screen.
  476. Or the system operator persists in sending you messages.
  477. Unsolicited messages make FLIST's display difficult to read.
  478. .x Key assignments>CTRL/W, refresh display
  479. .x CTRL/W, refresh display
  480. .x Display commands>CTRL/W, refresh display
  481. To restore your screen to what it should be, type CTRL/W.
  482. .;
  483. .hl    Screen Dump
  484. Figure#1-1 was generated via a screen-dump.
  485. FLIST (and the BROWSE program) provide a screen-dump command
  486. which may be invoked at any point where FLIST (or BROWSE) is accepting input.
  487. (The VMS editor does not presently support this feature).
  488. .x Key assignments>CTRL/K, screen dump
  489. .x CTRL/K, screen dump
  490. .x Display commands>CTRL/K, screen dump
  491. .x Screen dump>CTRL/K
  492. .x Screen dump>see Files
  493. When you type CTRL/K, the screen driver makes a copy of the
  494. current screen, and writes it to a file:
  495. .b;########SYS_$LOGIN:SNAPSHOT.CRT
  496. .b
  497. When you exit from FLIST, this file is closed and you may print it.
  498. Highlighting is represented in the snapshot-file by underlining.
  499. .x Highlighting>screen dump
  500. The time and date of the snapshot are written to the file as well.
  501. Each time you invoke the screen dump,
  502. FLIST informs you of how many times you have done so.
  503. .;
  504. .hl    Reset Timer
  505. .x /TIMES, reset timer
  506. .x Display commands>/TIMES
  507. .y Display commands>/TIMES>see also ?TIMES
  508. FLIST keeps track of the amount of time (both elapsed and CPU) which
  509. you have used in running (current process only).
  510. To reset the timer, use the "/TIMES" (/TI) command.
  511. To display the elapsed time, use the status command "?TIMES".
  512.