home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / ZCPRNEWS / Z-NEWS.8Z3 / Z-NEWS.803
Text File  |  2000-06-30  |  19KB  |  302 lines

  1.  
  2. EI                           Z-NEWS  803                       31  August 1987
  3.  
  4. Of  Significance.  Don't miss universal TYPE command, one that  "types"  plain 
  5. text,  squeezed, crunched, and library files.  Command is created with  ZFILER 
  6. calling  LT, VTYPE, and a three-alias ALIAS.CMD suite.  It's described at  end 
  7. of Z-User's Corner below.  Power of such command separates Z-System from other 
  8. operating systems.
  9.      P.J.  Plauger, of C language and software tools fame, writes much  needed 
  10. business  ethics article in Computer Language, Sept., '87 issue, pages  13-19.
  11. "Just because they can get away with it doesn't make it right."  "Just because 
  12. you're right doesn't mean they can't get away with it." "Just because you  can 
  13. get away with it doesn't make it right."  "Just because they're right  doesn't 
  14. mean  you  can't get away with it."  Four seeming  contradictions,  much  like 
  15. "right of might" versus "might of Right" of Z-News 309, top of page 3, and  Of 
  16. Angels  and Eagles of 704.  P.J. starts slow but builds to a crescendo,  tells 
  17. it like it must be for personal growth.  Required reading!
  18. ------------------------------------------------------------------------------
  19. From The  Mail Box.  George Dremann writes asking our help to establish commu-
  20. nications with those who own Ithaca Intersystems S-100 computers,  "especially 
  21. 6MHz III Main Processor Boards."  Are there enough of you left out there  with 
  22. the soul to remember what S-100 is?)  Since the company is no longer in  busi-
  23. ness  present users should, may like to know who remains in  their  community.
  24. If interested in becoming part of the community, please contact Mr. Dremann at 
  25. 1940 Hopkins St., Berkeley, CA 94707, 415/524-7250.
  26.      From Orinda, CA, Richard Wood considers buying a DT42 (Z-News 501), sends 
  27. us some benchmarks of an IBM 10MHz AT clone (AST) with 2 megabytes of RAM  and 
  28. a  40-megabyte,  30-millisecond access hard disk--a powerful  (costly)  setup.
  29. Using MS-DOS TYPE function Richard, scanning a 160k-byte text file from top to 
  30. bottom, produces these impressive measurements:
  31.  
  32.              Condition                            Time, seconds
  33.              --------------------------------------------------
  34.              Standard DOS v3.1                    150
  35.              DOS 3.1 with Fansi-Console            74
  36.              Same but with F-C hardware scroll     24
  37.  
  38. Fansi-Console  has a fast mode by accessing the 6845 display controller  chip.
  39. F-C  makes  direct BIOS calls, bypassing the DOS  output-to-console  function.
  40. Speed is equivalent to 67k-baud.
  41.      We  used  our  Ampro 4MHz Z80 machine  with  20-megabyte,  65-millisecond 
  42. access  hard disk, Wyse 38.4k-baud terminal, testing three "type" programs  at 
  43. hand, to scan 160k-byte text file.  Echelon results: 
  44.  
  45.              Condition                            Time, seconds
  46.              --------------------------------------------------
  47.              VTYPE from ZRDOS v1.7                118
  48.              TYPE of ZCPR v3.3                     97
  49.              "V" command of ZFILER v1.0f           68
  50.  
  51. VTYPE  is slowest because of extensive character testing going on as  text  is 
  52. scrolled--scrolls  forwards and backwards line-to-line or  page-to-page,  near 
  53. instant goto bottom-of-file or top-of-file from anywhere within file, in  con-
  54. text help, plus many other bells and whistles.  TYPE is from command processor 
  55. (CCP) of ZCPR v3.3 and has option to stop automatically at screen page breaks.èZFILER's  V  command  has line-by-line and page-by-page,  and  to  end-of-file 
  56. scrolling  abilities.  Draw your conclusions as to how much faster a  SemiDisk 
  57. 9.2MHz DT42 would be over Ampro 4MHz Z80 (hint: see testing results in  Z-News 
  58. 409 and 501).
  59.      Thanks,  Richard,  for sharing your results with us.   We  recommend  you 
  60. order today your longed-for DT42 computer.
  61.  
  62. Z-Node  Activity.   A programmer's tip that comes from Al  Hawley,  Z-Node  #2 
  63. Sysop and present ZAS/ZLINK shepherd, suggests using ASET instead of EQU under 
  64. certain conditions.  If you are having trouble with multiple same-label  defi-
  65. nitions  coming from more-than-one, several "include" or "maclib" files,  ASET 
  66. may be an answer.  ZAS provides both these pseudo-op code possibilities.  ASET 
  67. is  useful  when  a label takes on more than one value during  the  course  of 
  68. assembly.  EQU permits a label to acquire but one value.  ASET accepts getting 
  69. identical values from several sources during an assembly.
  70.  
  71. Software Update Service Report.  Well, another SUS diskette is in the  making.
  72. Subscribers have received fair value: we promised you at least 9 diskettes per 
  73. year--we  have already shipped 11.  Here's how #12 looks at newsletter  go-to-
  74. press time:
  75.  
  76.     XDIR III, Version 2.0    Horizontal Listing by File Name/Type
  77.      Disk: F  User:   0 Name: BACKUP, File Attributes:  Non-System
  78.     Filename.Typ Size K RS   Filename.Typ Size K RS   Filename.Typ Size K RS
  79.     -------- --- ------ --   -------- --- ------ --   -------- --- ------ --
  80.     -SUS    .012      0      DD14    .LBR     16      FOR-NXT2.LBR     44
  81.     Z33VERR .LBR     14      Z3VARS  .LBR     18      ZF10F   .LBR     36
  82.     ZFILER  .CMD      4      ZLDIR   .LBR     10      ZMANG-20.LBR     48
  83.              9 Files Using 190K, 9 Files on Disk and 196K Left
  84.  
  85. Disk Directory v1.4 is alternative to DIR coming from Terry Hazen--a very nice 
  86. ZCPR3 utility.  FOR-NXT2 are useful batch (FOR-NEXT-PERFORM) utilities, espec-
  87. ially for RAM and fast hard disk users, from Dreas Nielsen, the Z-System shell 
  88. expert.   Also from flinty Dreas comes Z3VARS, a library he uses to make  easy 
  89. creation of shells and other utilities.
  90.      ZF10F is latest upgrade of ZFILER from Z-Team member, Jay Sage, author of 
  91. ZCPR  v3.3.   ZFILER  v1.0f has macro-command file tagging  facility,  a  real 
  92. break-thru  for  our shells.  Jay soon further upgrade ZF to more than  it  is 
  93. now.
  94.      ZLDIR  is NAOGer Bruce Morgen's update of Sigi Kluger's LDIR.   ZLDIR  is 
  95. fast, much faster than LLF but doesn't have some of LLF's bells and  whistles.
  96. We  use  ZLDIR in our TLF alias for seeing the text files to be scanned  in  a 
  97. library file (see below for an update to the TLF suite).
  98.      ZMANG-20 is Z-Node #60 Sysop Bob Peddicord's near-final product for  file 
  99. management under Z-System.  Menu shell is declared a "super utility" and  will 
  100. find uses by those wanting extreme flexibility to manage application  programs 
  101. and general housekeeping.  Syntax is near identical to ZFILER making menu pro-
  102. gramming easier.  Soon all our shells will have similar parametric syntax  and 
  103. grammar.
  104.    
  105. Z-User's  Corner.   Correctly placed hyphens within words permit lines  to  be 
  106. justified  neatly flush left and right, with even and not too much  space  be-
  107. tween words and characters.  WordStar, Release 4.0, comes with The Word  Plus, 
  108. TW for short, with expanded main dictionary of over 61,000 words.  Earlier  TW 
  109. had  only 45,000 words.  In addition to all the new WordStar  features,  math, èmacros, proportional spacing with right-margin alignment, TW adds word  handl-
  110. ing  tools: SPELL,  REVIEW,  LOOKUP,  FIND,  ANAGRAM,  MARKFIX,  HYPHEN,   WC,
  111. DICTSORT, and WORDFREQ.  You can run spell checks from WS's main menu and  you 
  112. can  run any command.  As a ZCPR3 shell and utility, WS v4.0 knows  paths  and 
  113. named directories, command errors are turned over to installed error  handler.
  114. (We  use Z33VERR from SUS #12.)  From within WordStar, using the  "R"  command 
  115. from  main menu, many aliases have been found useful, and actually at  lot  of 
  116. fun to design and develop.
  117.  
  118.    hyph if ~nu $1;echo $0 - d%>etermine word hyphenation;                  <<
  119.    echo        s%>yntax: $0<cr>;else;cls;echo e%>nter%< ctrl-c %>to exit;  <<
  120.    echo;PRIVATE:;hyphen;$d0$u0:;fi
  121.  
  122.    hf if //=$1;or nu $1;echo $0 - h%>yphenate words in a file;             <<
  123.    echo      s%>yntax: $0 <fn.ft><cr>;else;cls;A:;hyphen $d0:$1 $$4;$d0:;fi
  124.  
  125. HYPH followed by a <cr> causes TW's HYPHEN program to load and prompt the ope-
  126. rator  for  a word.  This word is the one you wish to know how  to  hyphenate.  
  127. Some  built-in  help is provided with alias script.  If you enter  other  than 
  128. verb name, i.e., HYPH, followed by a return, you get the title and syntax mes-
  129. sage.  We use ECHO's lowercase switch, %>, after the first letter of messages, 
  130. Z-News 801-3.  Leading spaces are used to line-up display text for a pleasing, 
  131. designed  appearance.   (Remember the "<<" convention.  It means the  line  is 
  132. one,  is continuous.  Break is required because page is too narrow for  multi-
  133. ple-command line length.)
  134.      HYPHEN, written by Wayne Holder of Oasis Systems five years ago, is not a 
  135. Z-System  utility.   So, we have to use our wits (facilities of  Z-System)  to 
  136. make  the  command  work  from  any directory.   Here's  what  we  do.   Place 
  137. HYPHEN.COM and its "exception" file, HYEXCEPT.TXT, in a PUBLIC directory.  Our 
  138. public  directory is named PRIVATE, directory A6.  After clearing screen  with 
  139. resident CLS Z-System RCP command, needed to remove WordStar's prompt  messag-
  140. es,  alias  logs  into PRIVATE, finds its TXT files and prompts  with  a  "?".
  141. Here,  enter word for which you wish to determine hyphenation.  A reminder  is 
  142. displayed to use ^C to exit.  On exit, you are automatically logged back  into 
  143. your previous directory, the one from which you gave the alias command.
  144.      You  may find HF, Hyphenate File, even more useful than HYPH.  It  places 
  145. soft hyphens into words of a selected file.  Hyphens appear as "=" from within 
  146. WordStar  v4.0 and Newword.  These are called soft hyphens.  Using ^OD  causes 
  147. the  hyphens to disappear, except the ones at the end of lines that  print  as 
  148. real  hyphens.  HF has built-in help we are accustomed to.  Notice how the  OR 
  149. is used to avoid repeating the help message.  Alias is, as they say,  "bullet-
  150. proof."   More tricks used here to make HYPHEN do what we want it to  do.   We 
  151. hard-log  into  directory A; HYPHEN is then given the  drive  letter  (current 
  152. drive) on which to find the file, represented by $1, the one you typed in,  in 
  153. which to place the hyphens.  After we log back into our current directory from 
  154. where  we placed the alias command.  The "$d0:$1" phrase means  current  drive 
  155. and  first parameter after verb on command line, in this case the filename  of 
  156. the  file  to  have hyphens placed into it.  Trailing  parameter  "$$4"  tells 
  157. HYPHEN to place hyphens in all words 4 or more characters long, the default is 
  158. 10.   Here's  the built-in designed help displayed by the  aliases  after  you 
  159. enter "<cmd> //<cr>":
  160.  
  161.      HYPH - Determine word hyphenation     HF - Hyphenate words in a file
  162.             Syntax: hyph<cr>                    Syntax: hf <fn.ft><cr>
  163. è     Aliases such as HYPH and HF are best put into an ARUNZ CMD script, saving 
  164. disk space over that occupied by normal one-file aliases.  Above examples  use 
  165. ARUNZ  syntax and grammar, ready for ALIAS.CMD script file.  See Z-News  701-3 
  166. for more on using ARUNZ as CMDRUN with LX and COMMAND.LBR, for speed and disk-
  167. space  conservation.  Scan back issues of newsletter for many other alias  ex-
  168. amples.  Now is the time to try your hand at creating more aliases to automate 
  169. further your operations.  Let us see the results!  To stimulate action...
  170.      We  show one more alias (actually three): the reincarnation of TLF,  Type 
  171. Library Files, originally developed by Rick Charnes from ideas of GH and  GLF, 
  172. Get  Help  and Get Library File, Z-News 507-3 and 508-4, as set  of  recursive 
  173. aliases  creatable  only  with VALIAS.  Here we use  Rick's  technique  inside 
  174. ALIAS.CMD  as  recursive  script  run by  Jay  Sage's  ARUNZ.COM,  renamed  to 
  175. CMDRUN.COM.  After, we show how we use TLF in a ZFILER script line to  produce 
  176. a universal TYPE command for files squeezed, crunched, in libraries, and  just 
  177. plain text.  
  178.  
  179.    tlf if //=$1;or nu $1;echo S%>yntax: $0 [du:]<libname><cr>;else;        <<
  180.    ROOT:quiet s;/tlib2 $1;fi
  181.  
  182.    tlib2 $z zif;ROOT:zldir $d1$u1:$:1;ROOT:getvar tlib file to type        <<
  183.    (x=exit):;ROOT:resolve if x=%tlib;/exit;else;ROOT:resolve ROOT:         <<
  184.    lt $d1$u1:$:1 %tlib;/$0 $1;fi
  185.  
  186.    exit $z zif;ROOT:quiet r;echo R%>eturning to%< Z-System...
  187.  
  188.      TLIB2  displays  list of files, ZLDIR actually does it,  within  library, 
  189. prompts  for  file  to be typed, the one you desire to scan.   After  you  are 
  190. finished with selected file, list is shown again, prompt asks for another file 
  191. or for an "x" to exit.
  192.      Now  for the ZFILER CMD line that pulls it  together--makes  magic--using 
  193. LT, TLF above, and VTYPE to scan various kinds of text files.
  194.  
  195.    t!$d$u:;if lbr=$t;/tlf $n;else;if co $f;ROOT:lt $f;else;                <<
  196.    ROOT:vtype $f;fi;fi;$h:
  197.  
  198.      If  file pointed-to is a library, TLF is run by ARUNZ renamed to  CMDRUN, 
  199. our  ECP.  Note: "/" causes CCP to go directly to ECP for speed.  If  file  is 
  200. squeezed  or crunched, i.e., compressed, detection occurs using "co"  operator 
  201. of  Z33FCP; LT is called to type file.  Finally, if file is plain text,  VTYPE 
  202. does typing to screen.
  203.      ZFILER  command script is run by pressing Escape key followed by "t"  key 
  204. for type.  You may wish instead to rename line "v" for view.  Of course point-
  205. er  should  be on file you wish to type, either file or library,  squeezed  or 
  206. crunched.
  207.      One  final  user  thought: don't overlook usefulness  of  TCVIEW  by  Jay 
  208. Roumman, on SUS #8 and Z-Nodes, to show what your TCAP is.
  209.  
  210. Terminal  Doings.  We periodically report ASCII/ANSI terminal developments  of 
  211. Wyse, IBM, DEC, and TeleVideo.  What a competition!  Now Hewlett-Packard jumps 
  212. into arena with its own models.  Model HP700/22 priced at $575 is  competitive 
  213. with  WY-60  and TVI 955.  IBM and DEC aren't in the running for  value  here.
  214. Model  HP700/41 takes ASCII low-end lead at $375 competing with WY-30 and  TVI 
  215. 905.   HP quality at this price?  Here again, IBM and DEC seem to have  little 
  216. interest in new contest.  Surely Wyse and TeleVideo counter recent HP moves?
  217. è              A word of caution to would-be giant killers:  everyone 
  218.          forgets  what would have happened to David if his shot  had 
  219.          missed Goliath (I Samuel 17).
  220.  
  221. In  Other Words.  Words!  Oh!  Words!  What words to use next!   Words  formed 
  222. from an alphabet make phrases into sentences, and in context, permit  transfer 
  223. of thoughts from one human to another.  That's language!  "A systematic  means 
  224. of  communicating ideas or feelings by the use of conventional signs,  sounds, 
  225. gestures,  or marks having understood meanings."--one definition of  the  word 
  226. language  from  Webster's  New Collegiate Dictionary, G&C  Merriam  Co.,  1980 
  227. edition.   Wow!   A book could be written just to describe the words  used  to 
  228. define  the word language: systematic, means, communicating, ideas,  feelings, 
  229. conventional, marks, understood, meanings.  Any wonder we fail to communicate.
  230. Fail so often!
  231.  
  232.          "When I use a word, it means just what I choose it to mean-
  233.          -neither  more nor less.  The question is, which is  to  be 
  234.          master"--Lewis Carroll in Through the Looking Glass.
  235.  
  236.      Usually  when thinking of language our minds are brought to  concepts  of 
  237. spoken and written words (the marks of our definition), "verbalization" as  we 
  238. often  say.  Now think of signs and gestures as elements of communication  and 
  239. we  know why we seem to do a better job when face-to-face as opposed to  using 
  240. the telephone.  These signs and gestures relay much of our inner being to any-
  241. one  in  tune, and most of us are, to receiving such signals.   Will  machines 
  242. ever have such tune?
  243.      "A  picture is worth a thousand words."  We get into contextual  mood  by 
  244. re-reading  Z-News  801, bottom of page 4 and all of 5.  What  and  where  are 
  245. thoughts?   Thoughts become "concrete" when they are verbalized.  Much of  the 
  246. magic  may  be lost in the process.  Why?  The words don't  fully  convey  the 
  247. vision they attempt to replace.  Replacement tends to create an unreal  vision 
  248. not of the original's quality.
  249. ==============================================================================
  250. Of Angels and Eagles.  USA drifts into mold of managing wealth instead of cre-
  251. ating  it.   Our brightest young people become lawyers engaged  in  litigation 
  252. with  each  other rather than making the country work.  Our schools  have  far 
  253. more courses offered in marketing, engineering, and finance than in  manufact-
  254. uring--symptom of misdirected emphasis.  Remember Z-News 606-3,  "Manufactured 
  255. products  lead  to research and development which lead  to  engineering  which 
  256. leads  to  manufacturing  more products--a neat closed  loop."   Some  of  you 
  257. thought engineering and R&D should come before manufacturing.  But manufactur-
  258. ing  usually  creates  the wealth of a nation.  From there we  get  the  money 
  259. ("Where does money fit into our picture..." Z-News 305-5) to do R&D.   Missing 
  260. this point is prime reason US has a $209 billion 1986 foreign debt.
  261.      Stanford University economist Nathan Rosenberg stated recently that near-
  262. ly half the US patents were given out to foreigners--lawyers and  arbitrageurs 
  263. don't create, they administer and manipulate that already created.  Japan  has 
  264. far  fewer engaged in legal and financial work than we do.  Most of  them  are 
  265. concerned  about  customers' needs and product design and quality.   Our  main 
  266. concern seems to be: when do we go home and start the weekend.
  267.      Nineteenth century England was birthplace of those causing the Industrial 
  268. Revolution: just about everything manual got electrically motorized.  The sons 
  269. and daughters of these materially and spiritually rich people lost interest in 
  270. what  their parents had wrought--so have most of us!  Is USA simply to be  one 
  271. of many players on the world economic stage, and not be lead-nation as we have èbeen for so many years?  See you down the lines...
  272.  
  273. Echelon, Inc.        885 North San Antonio Road        Los Altos, CA 94022 USA 
  274. Telephone: 415/948-3820   Telex: 4931646    Z-Node Central (RAS): 415/948-6656
  275.  
  276. Trademarks:  Little Board, Bookshelf, Ampro Computers; SB180, SB180FX,  GT180, 
  277. Micromint; ON!, Oneac; DT42, The SemiDisk, Deep Thought 42, SemiDisk  Systems; 
  278. XLR8, M.A.N. Systems; VAX, Digital Equipment; Macintosh, Apple; HD63484/64180, 
  279. Hitachi;  Z-System,  ZOS,  ZCPR3, ZRDOS, Z-Tools, Zas,  Zlink,  Z-Msg,  Term3, 
  280. Quick-Task, NuKey, Z80 Turbo Modula-2, Lasting-Value Software, Echelon;  CP/M, 
  281. Digital Research; Unix, AT&T; TurboROM, Advent; Graphix Toolbox, Turbo Pascal, 
  282. Borland  Int'l;  Ada,  U.S. Government;  WordStar,  Newword,  MicroPro  Int'l; 
  283. JetFind, Bridger Mitchell.
  284.  
  285.  
  286.                   *                                        *
  287.  
  288.  
  289.  
  290.                                  Fly with Z!
  291.  
  292.  
  293.  
  294.                   *                                        *
  295.  
  296.  
  297.  
  298.  
  299. Z-News  803  is  Copyright  MCMLXXXVII Echelon,  Inc.   All  Rights  Reserved.
  300. Permission  to reprint, wholly or partially, automatically granted  if  source 
  301. credit is given to Echelon.
  302.