home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d501 / newlist.lha / NewList / Aliases next >
Text File  |  1991-06-27  |  2KB  |  46 lines

  1. ;Here are some aliases to try.
  2. ;
  3. ; dir     -  output similar to dir opt s
  4. ; mrdir   -  two column dir.
  5. ; list    -  normal list
  6. ; ls      -  output of ls
  7. ; script  -  basics to make a script file.  Only need to add custom
  8.              format (ie  script >ram:test dh0:*.c -F "copy %P to ram:")
  9. ; find    -  Like UNIX find.  Will print exact path of files without
  10. ;            anytype of headers or footers.  
  11. ;            usage  find RootPath[:/]FilePattern
  12. ; color   -  shows off ansi sequencing to produce color, italics, etc.
  13. ;            Here's some hints:
  14. ;               \e[0m  plain text          \e[30-39m  Forground color
  15. ;               \e[1m  bold  text          \e[41-49m  Background color
  16. ;               \e[3m  italic text         \e[7m      Inverse Video
  17. ;               \e[4m  underline text
  18. ;
  19. ; dirtype -  ls with filetypes!  If you use comments right you can have
  20. ;            nice informative directories.  Simply put a filenote on each
  21. ;            file giving it a category.  Now when you dirtype, you'll
  22. ;            have a new wealth of information.  Here's an example output:
  23. ;
  24. ;Directory of "Dh1:newlist5" on 14-Apr-91  18:33:39
  25. ; -s--rwed   Apr 14 18:04 script    1512 some_aliases
  26. ; ----rwed   Apr  6 19:04   text     352 Commodore.README
  27. ; ----rwed   Apr 12 11:04   text   16327 newlist.doc
  28. ; ----rwed   Apr  9 17:33   text    6915 history
  29. ; ----rwed   Apr  4 03:18   text    1782 times.doc
  30. ; ----rwed   Mar 15 12:24   icon     880 times.doc.info
  31. ; --p-rwed   Mar 16 17:03   util   15356 newlist
  32. ;6 files - 0 dirs - 90 blocks - 42244 bytes
  33. ; Neat eh?
  34.  
  35. alias dir    nl -qs -gb -y 2 []
  36. alias list   nl -z []
  37. alias ls     nl -s []
  38. alias mrdir  nl -q -gb -y 2
  39. alias script nl -h -T []
  40. alias find   nl -H -h -s -T -F "%P" []
  41. alias dirtype nl -F " %p   %d %6N %7v %n" -df "%3M %2d %02h:%02m" -sc []
  42. alias weird   nl -F " %22n  %-7s" -s []
  43. alias odd     nl -F " %d   %p %c %7v  %n" -df "%02m.%02d.%02y" -s []
  44. alias color   nl -F "\e[3;42;31m%22n \e[0m  \e[1;43;32m%p \e[0m  \e[0;32;41m%-7v\e[0m %d" -df "\e[4m%02d.%03M.%02y\e[0m \e[33m%02h:%02n:%02s\e[0m" -s -gb []
  45.