Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Meadowのshellにbashを 使いたいのですが

25 views
Skip to first unread message

momogoma

unread,
May 21, 2002, 11:10:26 AM5/21/02
to
MeadowのshellにCYGWINのbashを使いたくて.emacsの
コメント行を有効にしました。shellはbashに変更され起動もできていますが
****(任意)コマンドをうつと ****^M: command not found に
なってしまいます。
エンターキーだけでも、 ^M: command not found ですから、
^M(LFでしたっけ?)が余計みたいです。
.emacsの日本語環境設定 (set-language-environment "Japanese")
をコメントにすれば、コマンドは正常に実行されます。
ですが、s-JISとEUCの漢字表示できなくなります。
何故だか.emacsは表示できますが・・・ (JISコードだから?)
で、日本語環境設定を有効にしつつ、コマンド入力を正常に実行できる
方法をご存じの方、その方法を教えてください。


Kazuhiro Mimura

unread,
May 22, 2002, 8:32:15 PM5/22/02
to
;; M-x shell (shell mode) で行末に^Mがつかないように
(add-hook 'shell-mode-hook
(lambda ()
(set-buffer-process-coding-system 'undecided-dos 'sjis-unix)))
0 new messages