🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by momogoma Tue, 21 May 2002 15:10
Meadowのshellにbashを使いたいのですが
#228
Author: momogoma
Date: Tue, 21 May 2002 15:10
12 lines
1974 bytes
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コードだから?)
で、日本語環境設定を有効にしつつ、コマンド入力を正常に実行できる
方法をご存じの方、その方法を教えてください。
Re: Meadowのshellにbashを使いたいのですが
#229
Author: Kazuhiro Mimura
Date: Thu, 23 May 2002 00:32
4 lines
1526 bytes
;; M-x shell (shell mode) で行末に^Mがつかないように
(add-hook 'shell-mode-hook
          (lambda ()
            (set-buffer-process-coding-system 'undecided-dos 'sjis-unix)))
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads