home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10219 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  4.9 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!sicsun!disuns2!lsesun3!ebel
  2. From: ebel@lsesun3.epfl.ch (Norbert EBEL)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Question: what is the unix equivalent of VMS's "verbs"??
  5. Keywords: VMS, unix
  6. Message-ID: <4536@disuns2.epfl.ch>
  7. Date: 20 Aug 92 16:05:50 GMT
  8. References: <1992Aug2.001043.4958@u.washington.edu>
  9. Sender: news@disuns2.epfl.ch
  10. Organization: Laboratoire de Systemes d'Exploitation - E P F Lausanne, Switzerland
  11. Lines: 90
  12. Nntp-Posting-Host: lsesun5.epfl.ch
  13.  
  14. In article <1992Aug2.001043.4958@u.washington.edu>, sue@byron.u.washington.edu (Shu-Chen Eclipse) writes:
  15. |> Hellow,
  16. I came also from VMS and suffered from some of the same ills You did. Let me give
  17. you some advice which may help you become more cynical sooner in regard of Unix.
  18. Life will be easier and you may even ENJOY Unix
  19.  
  20. 1)When you ask a Unix guru you always get an answer which may be Do man blah or
  21. just may be wrong. You NEVER get the following answer "Sorry I don't know". So...
  22.  
  23. 2) Everything IS in the man pages, but most of the time not where you look,
  24. or is hidden under a strange verb, or even when it is where it should you don't
  25. see it because a man page is so unreadable
  26.  
  27. 3) You must live with the fact that everything is only approximatly like you 
  28. believe unless it was so under the last release or the other Unix you used last 
  29. week
  30.  
  31. 4) Unix is very simple has few concepts (but many many features) and so it is
  32. in fact easy to learn
  33.  
  34. 5) You should definitely read one simple Unix introductory Book
  35. I will try to give you my answers to some of your questions
  36.  
  37. |> 
  38. |> Just what is Unix's equivalent of VMS's "verbs"?
  39.  
  40. The first 'word' on a command line to the shell is the equivalent of the VMS
  41. verb (the next ones are used as options or parameters, something like VMS)
  42. When you are typing a command or Unix reads it from a script file it is a
  43. ordinary promgram which reads it, This program is called the shell (ans is like
  44. DCL in VMS. There are plenty of kinds of shells which looks very like BUT are
  45. all different in some kind (sh, csh, tcsh, ksh, bash, ...)
  46. Every one shell has a number of INTERNAL commands and if this command is not
  47. known as internal, a path VARIABLE is searched through for looking if a program
  48. with that same verb can be found there. So whether 'blah' is internal or not
  49. or even is not available depends on the shell. ( To be able to know a priori if
  50. a command can be or cannot be internal is a good measure if you get the good
  51. feeling of your Unix. :-)
  52. |> 
  53. |> How does unix define its commands?
  54. |> --let's see, correct me if I'm wrong:
  55. |>    "alias" are the VMS equivalent of defining process global symbols for
  56. |>      some command strings,
  57.  
  58. alias is an internal command of csh but not available on sh. It is then used
  59. like a symbol definition in VMS
  60. |> 
  61. |>    "set" are like VMS's local symbol defininitions are only valid for the
  62. |> login process and are not inherited by any spawned processes
  63. |> 
  64. |>   "setenv" are like VMS's global symbols, and are inherited by background
  65. |> and spawned(?) processes.
  66. mmhh mmhh ! approximatly
  67. |> 
  68. |>  -- but how are the strings like "set", "setenv", "fork", "fortran", "basic",
  69. |> "awk","vi", etc defined for Unix? In vms, they're kept in dcltables.exe and
  70. |> can be modified systems or per process (loca) -wide. What is Unix's equivalent
  71. |> of "DCLTABLES.EXE". Does unix have vms's equivalent of PPF files?
  72. |> 
  73. |> What is unix's equivalent to VMS's hierachy of "logicals"??
  74. Remember that in VMS you have 2 notions variables called symbols (only two kinds
  75. local and globals) and logicals which are hierachical via the 4 tables, BUT the
  76. important here is that the whole file system tries to make translation
  77. implicitely. In Unix you have only variables, which must be asked for their values
  78. via $. there is no hierarchy (well there are also globals and locals)
  79. |> 
  80. |> Does UNix have "batch" ques? "run/detached"?
  81. |> Is "ln" unix's equivent of vms's "set file /enter" and backlins?
  82. I would say so but see the distinction between hard links (like VMS) and 
  83. symbolic links (man ln)
  84.  Or more like
  85. |> Vms's "logicals" for file/directory/device names?
  86. |> 
  87. |> What is unix's equivalent of vms's "set file watch"? does not exist, but can
  88. be built in the kernel needs hard gurus.
  89. |> Do unix shells have vms's equivalent of "lexical functions?" They dont exist
  90. in the same manner but most informatuon and services you got via them on VMS can
  91. bet gotten in an appropiate way on unix
  92. |> Can you "install" images in Unix like in VMS??
  93. No there is a 'better' solution with the setuid bit see chmod
  94. |> -- well, I guess, I'm getting off track here, but just trying to make sense
  95. |> of this VERRY difficult and rather EERRIE BEAST you guys call "UNIX".
  96. |> 
  97. |> thans for answering,
  98. |> sue@ks 4 
  99. |> byron.u.washington.edu
  100. As a kind of exercice to get angry against unix : whow can you be told e-mail
  101. has come. Try to finf that by man if you do'nt know it (the answer is biff y)
  102.  
  103. Norbert Ebel
  104.