home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3184 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  3.0 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!pki-nbg!hitkw14!smr
  2. From: smr@iti.org (Stephen Riehm)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: tcsh in the future - what should it be like?
  5. Message-ID: <smr.712419130@hitkw14>
  6. Date: 29 Jul 92 14:12:10 GMT
  7. References: <yeates.711122638@beryl17> <1992Jul16.153506.24366@bmerh85.bnr.ca>     <1992Jul27.031238.10376@chpc.utexas.edu> <1992Jul27.215202*Harald.Eikrem@delab.sintef.no>
  8. Sender: news@pki-nbg.philips.de
  9. Lines: 61
  10.  
  11. Harald.Eikrem@delab.sintef.no writes:
  12.  
  13. >! I'd like to see a history mechanism that works like VMS' RECALL, i.e. 
  14. >! type something like !vi .cs  and get the last vi command that edits 
  15. >! .cshrc.  Simple, powerful concept; only a single command to learn. 
  16.  
  17. >It's there.  You just need to try.
  18.  
  19. care to enlighten us?? or are you still telling failed entrepreneurs
  20. that there is a pot of gold at the end of every rainbow?
  21.  
  22. >! Also, the history list should save a command only if it is different 
  23. >! from the last one.
  24.  
  25. >No way.  You will be able to reach the next *different* command in the
  26.  
  27. DISAGREE!
  28. if you are developing something, and you get into a debug mode, the
  29. usual sequence of commands goes something like:
  30.     edit
  31.     compile
  32.     run ( or debug )
  33.     edit
  34.     compile
  35.     ... ( ad infinitum )
  36.  
  37. if after doing this 30 times, the last 100 entries in your history are
  38. the same three commands over and over, what if you then want to do
  39. that really complicated sequence of commands which sets up a real
  40. input file for this program, which has just been booted out of the
  41. history list because you filled it up with the same commands repeated
  42. n times. since most people I know ( myself EXcluded ) seem to have
  43. histories of 50 commands, it doesn't give you much of a 'history' does
  44. it? ( my history sits at around 250 at the moment, there are times
  45. when I really want to boot it up to 500 too! )
  46.  
  47. Also, I would really love a 'merge_histories' feature, this is relevant
  48. only if you have many tcsh's running at the same time, because when I
  49. quit my XWindows session, by dumb luck or whatever, the last tcsh to
  50. save the history seems to be the one I used the least, with all the
  51. most boring, and least used commands in the history, any solutions?
  52. anyone come up with some sort of .logout hack?
  53.  
  54. >! If both these questions have solutions already it only shows that tcsh 
  55. >! has too many features.  I can't remember them so I don't use them.
  56.  
  57. >You have probably never made the attempt to find out.
  58.  
  59. it has been scientifically proven that the human mind can only comfortably
  60. cope with between 5 and 7 things at one time ( under good stress free
  61. situations, add stress it goes down to about .5 ), this being the case,
  62. it is not a simply matter of reading the tcsh manual to find all the
  63. features, I have read it many times, and i still find new things every
  64. time, such is the price for not having hard disks in our heads!
  65.  
  66. catchya
  67.  
  68. -----------------------------------------------------------------
  69. Stephen Riehm                   smr@pki-nbg.philips.de
  70. PS: I know my From: line is wrong, but I don't know WHY!
  71. "I used to be apathetic, but now i just don't care anymore" - me
  72.