unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how can i run csh in emacs?
@ 2005-06-05  4:48 Bie Song
  2005-06-05  5:08 ` Travis Spencer
  2005-06-05 11:39 ` Peter Dyballa
  0 siblings, 2 replies; 4+ messages in thread
From: Bie Song @ 2005-06-05  4:48 UTC (permalink / raw)


i tried  to run csh in emacs :
M-x term RET 
then select /bin/csh,but shell return following
messages:
csh: Cannot open /etc/termcap.
csh: using dumb terminal settings
it seems  that shell is yet eterm,how can i run csh in
emacs?
thanks.


	

	
		
___________________________________________________________
欢迎注册雅虎超大容量免费邮箱 
http://cn.mail.yahoo.com 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how can i run csh in emacs?
  2005-06-05  4:48 how can i run csh in emacs? Bie Song
@ 2005-06-05  5:08 ` Travis Spencer
  2005-06-05 11:39 ` Peter Dyballa
  1 sibling, 0 replies; 4+ messages in thread
From: Travis Spencer @ 2005-06-05  5:08 UTC (permalink / raw)
  Cc: help-gnu-emacs

On 6/4/05, Bie Song <fellforan@yahoo.com.cn> wrote:
> i tried  to run csh in emacs :
> M-x term RET

Try 

M-x shell RET 

instead.  If csh is your regular shell, this will work.  Also, if you
would like to use a custom startup file (e.g., to change your prompt
or something) create a file called ~/.emacs_csh and emacs will run it
when you start a new shell.

HTH.

-- 

Regards,

Travis Spencer
Portland, OR USA

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how can i run csh in emacs?
  2005-06-05  4:48 how can i run csh in emacs? Bie Song
  2005-06-05  5:08 ` Travis Spencer
@ 2005-06-05 11:39 ` Peter Dyballa
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2005-06-05 11:39 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 05.06.2005 um 06:48 schrieb Bie Song:

> csh: Cannot open /etc/termcap.
>

In a regular shell inside GNU Emacs this shell needs from an entry for 
a terminal type emacs which usually comes from a file called termcap. 
Inside your GNU Emacs distribution you'll find 
/usr/local/share/emacs/<version number>/etc/termcap.src. If your system 
does not have its own termcap file, create an environment variable 
TERMPATH and let it point to the termcap.src file. Or create a symlink 
/etc/termcap pointing to /usr/local/share/emacs/<version 
number>/etc/termcap.src.

--
Greetings

   Pete

“I hope to die before I *have* to use Microsoft Word.”
      - Donald E. Knuth, 2001-10-02 in Tübingen.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how can i run csh in emacs?
@ 2005-06-06  3:13 Bie Song
  0 siblings, 0 replies; 4+ messages in thread
From: Bie Song @ 2005-06-06  3:13 UTC (permalink / raw)
  Cc: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 955 bytes --]

>In a regular shell inside GNU Emacs this shell needs from an entry for 
>a terminal type emacs which usually comes from a file called termcap. 
>Inside your GNU Emacs distribution you'll find 
>/usr/local/share/emacs/<version number>/etc/termcap.src. If your >system does not have its own termcap file, create an environment >variable TERMPATH and let it point to the termcap.src file. Or create a >symlink /etc/termcap pointing to /usr/local/share/emacs/<version 
>number>/etc/termcap.src.
 
 
thanks a lot for your reply
i  found termcap file in /etc in system(FREEBSD 5.3RC) and csh is my current  working shell 
then i set variable TERMCAP in ~/.cshrc:
setenv TERMCAP /etc/termcap
in ~/.emacs:
(setq explicit-term-file-name "/bin/csh")
but yesterday once more,csh doesn't work in emacs who still said "csh:can't open /etc/termcap"
so,what 's wrong  with what i did?

		
---------------------------------
DO YOU YAHOO!?
  欢迎使用雅虎超大容量免费邮箱 

[-- Attachment #1.2: Type: text/html, Size: 1187 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-06  3:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-05  4:48 how can i run csh in emacs? Bie Song
2005-06-05  5:08 ` Travis Spencer
2005-06-05 11:39 ` Peter Dyballa
  -- strict thread matches above, loose matches on Subject: below --
2005-06-06  3:13 Bie Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).