home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!unixhub!mesun2.SLAC.Stanford.EDU!vallury
- From: vallury@mesun2.SLAC.Stanford.EDU (Vallury Prabhakar)
- Newsgroups: comp.emacs
- Subject: Need comint-prompt-regexp for tcsh
- Keywords: cmushell package, tcsh, comint-prompt-regexp
- Message-ID: <4867@unixhub.SLAC.Stanford.EDU>
- Date: 27 Jul 92 21:24:29 GMT
- Sender: news@unixhub.SLAC.Stanford.EDU
- Distribution: usa
- Organization: Stanford Linear Accelerator Center
- Lines: 19
- Nntp-Posting-Host: mesun2.slac.stanford.edu
-
- I'm having trouble setting up a regexp so that the C-A
- key (comint-bol) goes to the end of the prompt. My tcsh
- prompt is set to "(%m):%~ [%t] [%h]: " which tcsh evals to
-
- (mesun2): ~ [2:20pm] {34}:
-
- and so on.
-
- Does anyone have a utility to convert the $prompt variable
- in tcsh to an appropriate regexp in emacs for the cmushell
- mode?
-
- Please reply via e-mail. Will summarize if necessary.
-
- Thanks!
-
- -- Vallury Prabhakar
- -- rustcat@sunrise.stanford.edu
- -- [415] 725-0163
-