[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:25629] editor in rescue disk (Re: root でログインできない)



佐野@浜松です。

In <87d7fa4qek.wl@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  on "Sun, 3 Dec 2000 03:35:11 +0900',
   with "Re: root でログインできない",
 新井隆康 <takayasu@xxxxxxxxxxxxxx> さん wrote:

> シェルの機能はほとんど使えない上に、

これは ash だからですね。サイズの制限がきびしいので
インストーラのシェルは bash ではなく ash です。

> #mount デバイス名 /mnt
> の書式ではマウントできず、結局 -o ext2をつけて

これはインストーラの /etc/fstab にはターゲットの設定が
書かれてないだろうから無理ではないかと。

> なんとかマウントできました。
> で、vi /root/.bashrcとしたらaeしか使えない、と怒られました。

うーん、怒られた、っちゅうか、、、意図としては「なるべく親切に
説明とアドバイスをしよう」というつもりで書かれたメッセージでは
ないかと。

  Emacs and vi are available in Debian, but wouldn't fit on the
  installation floppies. Please type "ae" to invoke a tiny, but
  easy-to-learn editor. As soon as you have your system installed, you
  may install the "emacs" package, and/or the "vim" or "nvi"
  packages.  "vim" and "nvi" each provide a different version of "vi".

ですよね。一応 "Please" とかついてますし、理由も "wouldn't fit" の
部分で触れられていますし。

> 初めて使うエディタなので戸惑いましたが、
> なんとか.bashrcを書き変えられました。
> #ふつーみんなviを使いたがるんじゃないかなぁ。
> #なぜaeなんでしょ?まだ、edとかなら話しはわかるけど。

ed を初めて見ていきなり使える人なら何でも使えるんじゃないかと。

 emacs の etc/JOKES に ed の joke がありますね。

 =====  =====  =====  =====  =====  =====  =====  =====  =====  ===== 

Subject: The True Path (long)
Date: 11 Jul 91 03:17:31 GMT
Newsgroups: alt.religion.emacs,alt.slack

(snip)

"Ed is the standard text editor."

Let's look at a typical novice's session with the mighty ed:

golem> ed

?
help
?
?
?
quit
?
exit
?
bye
?
hello? 
?
eat flaming death
?
^C
?
^C
?
^D
?

---
Note the consistent user interface and error reportage.  Ed is
generous enough to flag errors, yet prudent enough not to overwhelm
the novice with verbosity.

"Ed is the standard text editor."

Ed, the greatest WYGIWYG editor of all.

ED IS THE TRUE PATH TO NIRVANA!  ED HAS BEEN THE CHOICE OF EDUCATED
AND IGNORANT ALIKE FOR CENTURIES!  ED WILL NOT CORRUPT YOUR PRECIOUS
BODILY FLUIDS!!  ED IS THE STANDARD TEXT EDITOR!  ED MAKES THE SUN
SHINE AND THE BIRDS SING AND THE GRASS GREEN!!

When I use an editor, I don't want eight extra KILOBYTES of worthless
help screens and cursor positioning code!  I just want an EDitor!!
Not a "viitor".  Not a "emacsitor".  Those aren't even WORDS!!!! ED!
ED! ED IS THE STANDARD!!!

TEXT EDITOR.

 =====  =====  =====  =====  =====  =====  =====  =====  =====  ===== 

ed を「普通の人」に初めて説明していきなりまともに使えるように
するのは、操作説明ビデオとかに CD-ROM まるごと一枚使ってもあまり
成功率の高いことだとは言えないような気が。ましてフロッピー数枚の
スペースでは無理があるでしょう。長すぎる文書は読んでもらえないし。

ae はサイズが小さいわりに最初に使い方の説明が出たり、
一応スクリーンエディタなのでアローキーで移動して入力と削除が
そのままできるから、誰にでも「なんとか使える」ようになる可能性が
高いというのが選択された理由ではないかと。

-- 
     # (わたしのおうちは浜松市、「夜のお菓子」で有名さ。)
    <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (佐野 武俊)