home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / emacs / 2720 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  966 b 

  1. Path: sparky!uunet!stanford.edu!unixhub!mesun2.SLAC.Stanford.EDU!vallury
  2. From: vallury@mesun2.SLAC.Stanford.EDU (Vallury Prabhakar)
  3. Newsgroups: comp.emacs
  4. Subject: Need comint-prompt-regexp for tcsh
  5. Keywords: cmushell package, tcsh, comint-prompt-regexp
  6. Message-ID: <4867@unixhub.SLAC.Stanford.EDU>
  7. Date: 27 Jul 92 21:24:29 GMT
  8. Sender: news@unixhub.SLAC.Stanford.EDU
  9. Distribution: usa
  10. Organization: Stanford Linear Accelerator Center
  11. Lines: 19
  12. Nntp-Posting-Host: mesun2.slac.stanford.edu
  13.  
  14. I'm having trouble setting up a regexp so that the C-A
  15. key (comint-bol) goes to the end of the prompt.  My tcsh
  16. prompt is set to "(%m):%~ [%t] [%h]: " which tcsh evals to
  17.  
  18. (mesun2): ~ [2:20pm] {34}: 
  19.  
  20. and so on. 
  21.  
  22. Does anyone have a utility to convert the $prompt variable
  23. in tcsh to an appropriate regexp in emacs for the cmushell
  24. mode?  
  25.  
  26. Please reply via e-mail.  Will summarize if necessary.
  27.  
  28. Thanks!
  29.  
  30. -- Vallury Prabhakar
  31. -- rustcat@sunrise.stanford.edu
  32. -- [415] 725-0163
  33.