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

<Cygwin>日本語のユーザ名+tcshの環境でユーザ名をプロンプトに表示したい

7 views
Skip to first unread message

IIJIMA Hiromitsu

unread,
Mar 4, 2007, 12:54:04 AM3/4/07
to
いいじまです。どなたかtcshに詳しい方のお知恵をお借りしたく…。

現在、日本語のユーザー名で Windows XP を使っているのですが、Cygwin の
tcsh を起動すると、Shift_JIS の部分が \ でエスケープされてしまい、
うまく日本語を表示してくれません。

どうにかして、.tcshrc の設定で日本語のユーザ名を表示するようにできない
でしょうか。

[\224\321\223\210\201@\215_\214\365@delmonta /pub]$ tcsh --version
tcsh 6.14.00 (Astron) 2005-03-25 (i386-intel-posix) options 8b,nls,dl,al,kan,rh,color,dspm

[\224\321\223\210\201@\215_\214\365@delmonta /pub]$ echo $prompt
[%n@%m %c02]$

========================================================================
飯嶋 浩光 / でるもんた・いいじま mailto:delm...@csc.jp
(Mr.) IIJIMA, Hiromitsu http://www.dennougedougakkai-ndd.org/~delmonta/

──[PR]─────────────────────────────
路線バス・ショッピング非対応の初期のSuicaイオカードを探しています。
表面に「西瓜とペンギン」のロゴのないSuicaをお持ちで、適価で譲って
いただける方がいらっしゃいましたら、ご一報ください。
─────────────────────────────────

IIJIMA Hiromitsu

unread,
Mar 4, 2007, 5:44:05 AM3/4/07
to
いいじまです。どなたかtcshに詳しい方のお知恵をお借りしたく…。

どうにかして、.tcshrc の設定で日本語のユーザ名を表示するようにできない
でしょうか。

--

========================================================================
飯嶋 浩光 / でるもんた・いいじま mailto:delm...@csc.jp
(Mr.) IIJIMA, Hiromitsu http://www.dennougedougakkai-ndd.org/~delmonta/

──[PR]─────────────────────────────
路線バス・ショッピング非対応の初期のSuicaイオカードを探しています。
表面に「西瓜とペンギン」のロゴのないSuicaをお持ちで、適価で譲って
いただける方がいらっしゃいましたら、ご一報ください。
─────────────────────────────────

──[PR]─────────────────────────────
【首都圏】鉄道代替経路Wiki 鋭意執筆中
http://www12.atwiki.jp/shutoken/
現在特に、山手線内JR各駅の情報を提供してくれる方を募集しています。
─────────────────────────────────

delm...@ht.sakura.ne.jp は2006年11月末をもって廃止しました。
 今後は delm...@dennougedougakkai-ndd.org または delm...@csc.jp
 お送りください。

───【今日のひとこと】────────────────────────
自分の才能を生かす職業を選ぶのではなく、自分の欲求を満足させる職業を選ぶ
べきなのです。  ――岡田斗司夫(『人生テスト ― 人を動かす4つの力』)


名所ばかり見たがるのは観光客だ、名所の下に拡がるスラムを見よ。
          ――町山智浩(「映画秘宝・エド・ウッドの世界」より)


大きなウソはついていい 小さなウソはついちゃいけない
       ――古内一成(『名探偵コナン 全映画パーフェクトガイド』)
         他同旨多数


There are more than one ways for doing the same thing. --- Larry Wall
Do not reinvent the wheel. --- Larry Wall


When you have eliminated the impossible, whatever remains,
however improbable, must be the truth. --- Sherlock Holmes


うそはうそであると見抜ける人でないと、難しいでしょうね。
        ――西村博之(西鉄バスジャック事件関連のテレビ出演より)


家族は 他人同士から始まるんだよ
             ――喜多尚江(『パパゴト』花とゆめコミックス)

ベストセラーがベストセラーたり得ているのは、内容ではなく、
社会の基層に蔓延した“感情”をすくいあげていることが、
大抵の場合その理由だからである。
オイルショックによる社会不安が『ノストラダムスの大予言』をベストセラーにし、
団塊の世代を中心とした中高年層の老いへのあせりが
渡辺淳一の不倫小説をベストセラーにする。
これらはその時点々々での日本の大多数の国民感情を映した鏡なのである。
       ――唐沢俊一(朝日新聞2005.09.26、『マンガ嫌韓流』への評で)

ナチスが共産主義者を攻撃したとき、自分はすこし不安であったが、
とにかく自分は共産主義者でなかった。だからなにも行動にでなかった。
次にナチスは社会主義者を攻撃した。自分はさらに不安を感じたが、
社会主義者でなかったから何も行動にでなかった。

それからナチスは学校、新聞、ユダヤ人等をどんどん攻撃し、自分はそのたびに
いつも不安をましたが、それでもなお行動にでることはなかった。

それからナチスは教会を攻撃した。自分は牧師であった。
だからたって行動にでたが、そのときはすでにおそかった。
    ――マルチン・ニーメラー(丸山真男『現代政治の思想と行動』より)


ロング・ライフ・クォリティー。明日捨てる物は作りません。
          ――舟橋紳吉郎(シヤチハタ(株)社長、テレビ出演より)


病気にも意味がある。私はそう思っています。
            ――石橋美和子(がん看護専門看護師、講演会より)


思而不学、則殆。 ――論語


ぜいたくは 敵だ!! ――戦時中の標語


足らぬ足らぬは工夫が足らぬ。 ――戦時中の標語


真似ることは学ぶことである。良いと思ったら、なんでも真似ろ。
言葉はわかるためにある。文章は読んでわかってもらうためにある。
すぐやらなければならないもので すぐやり得るものは すぐにやります。
仕事は好きなものにはかなわない。能力でもない。学歴でもない。
法は人のためにある。人のためなら曲げてもよい。
         ――松本清(薬局マツモトキヨシ創業者・第9代松戸市長)


木の葉を隠すなら森の中、死体を隠すなら死体の中。
         ――G.K.チェスタトン『ブラウン神父の童心』(1911発刊)


サギの被害にあわないいちばんの方法は サギの手ぎわを知りつくすことだ

あなたの……日本の不幸は ESPの判定をマスコミにまかせたことにあります
権威のある研究機関が日本にはなく
あなたがたの能力の真偽をはかる方法がなかった――

マスコミなんかにまかせてはいけなかったんです
彼らがほしいのは話題性(センセーション)であって 真実ではない
       ――いなだ詩穂・小野不由美『ゴーストハント(3)放課後の呪者』
                  講談社コミックスなかよし、1999 より


前へ。 ――北島忠治(元・明治大学ラグビー部監督)

過去に目をふさぐものは、現在にも盲目である。
        ――リヒャルト=フォン=ワイツゼッカー(元西ドイツ大統領)


ワシは東京大空襲を経験した
今度の地震のように なにもかも破壊され すべてがなくなり
みんなが絶望し 途方にくれた
じゃがな 時間はかかったが 焼け野原は生まれ変わった
生きてさえいれば 命さえあれば 必ず人は助け合い 復活していけるんじゃよ
陽はまたのぼるんじゃよ
            ――森本里菜『TOMORROW~陽がのぼる街~』
              集英社りぼんマスコットコミックス、2004 より


「……未来に行くための道は、幾通りもあると思うんです。だから、もしかしたら
 一つ曲がる角が違っただけでまったく別の人生になるかもしれないって。
 それもいいな、なんてふと考えたりして」
「何通りあっても、結局一通りしか歩めないよ」
            ――今野緒雪『マリア様が見てる ロサ・カニーナ』
              集英社コバルト文庫、1999、より


「どーせ」なんて言わないで
そんなこと言うあなたはとっても醜いわ
そんな言葉を使っているかぎり 一生 前へは進めないの

好きな人のために「キレイになりたい」って努力する
そんなあなたの姿を そんな気持ちを誰が笑うの
            ――武内こずえ『アゲハ100% (1)』
              集英社りぼんマスコットコミックス、2004 より


アメリカのNASAは、宇宙飛行士を最初に宇宙に送り込んだとき、
無重力状態ではボールペンが書けないことを発見した。
これではボールペンを持って行っても役に立たない。
NASAの科学者たちはこの問題に立ち向かうべく、
10年の歳月と120億ドルの開発費をかけて研究を重ねた。

その結果ついに、無重力でも上下逆にしても水の中でも氷点下でも摂氏300度でも、
どんな状況下でもどんな表面にでも書けるボールペンを開発した!!

一方ロシアは鉛筆を使った。

    ――典拠不明の作り話
      ※真相は<http://www.truthorfiction.com/rumors/s/spacepen.htm>


When NASA first started sending up astronauts, they discovered that
ball-point pens would not work in zero gravity. To combat this problem,
NASA scientists spent a decade and $12 million developing a pen that writes
in zero gravity, upside down, underwater, on almost any surface including
glass and at temperatures ranging from below freezing to over 300C.

When confronted with the same problem, the Russians used a pencil.

---- famous rumour, author unknown. The truth is at:
<http://www.truthorfiction.com/rumors/s/spacepen.htm>


人は歩みを止めたときにそして挑戦をあきらめたときに年老いていく。
この道を行けばどうなるものか。あやぶむなかれ、あやぶめば道はなし。
踏み出せばその一足が道となる。迷わず行けよ、行けばわかるはずだ。
                           ――アントニオ猪木

友達はね、損な役回りを引き受けるためにいるものなんだって。
          ――今野緒雪『マリア様がみてる チャオソレッラ!』p60
                      (集英社コバルト文庫、2004)

感情が先走って物を言っている人間は、正論で攻められればひとたまりもない。
          ――今野緒雪『マリア様がみてる 妹オーディション』p18
                      (集英社コバルト文庫、2005)

出すぎた杭は打たれない。   ――福島瑞穂

収めてくれる人がいるうちに、収めた方がいいのよ。
事が大きくなったら、誰が出ていったって収拾つかなくなるんだから。
              ――今野緒雪『マリア様がみてる 涼風さつさつ』
                      (集英社コバルト文庫、2003)

暗いと不平を言うよりも すすんであかりをつけましょう
                          ――心のともしび運動

それから名前ですね。
人の名前というのは容易に覚えるものじゃないんですよ。
だから何々さん何々さんと、もうその人の名前をとことん売り込む、と。
   ──三遊亭円楽(「笑点40周年だよ!さらば円楽スペシャル」2006.5.14)

お客様にご納得いただく前の売り上げは、あってはならない。
                   ――再春館製薬所(テレビCMより)

よく使われる「滅びゆく蒸気機関車」といういい方は嫌いです。
陸上競技のリレーにたとえていえば、第一走者がベストを尽くして走り切って、
第二走者にバトンタッチしていくその姿に、競技場は万雷の拍手を送る。
それと同じように、蒸気機関車も長い間全力を尽くして、
その当時の世の中には必要とされて、非常に大きな功績と効果を残して、
次の時代のディーゼルや電車にその場を譲っていくということだと思うのです。
私は蒸気機関車、ディーゼル、電車のすべてに関わってきましたが、
この移り変わりを非常に誇りを持って見ています。
         ――島秀雄(前間孝則『弾丸列車』、実業之日本社、1994)

サボるためには、どの部分は手を抜いても大丈夫で、最低でもどの部分はやる
しかないのか、区別ができなくてはならない。
ツボがわかっていれば、ツボだけ押さえて、あとはさらっと流すことができる。
         ――ニキ・リンコ『俺ルール!~自閉は急に止まれない~』
────────────────────────────────────

1――――――――10――13  P252i(メール縮小表示)用スケール

EHARA Jun-ichi

unread,
Mar 4, 2007, 9:47:30 AM3/4/07
to
江原です。

IIJIMA Hiromitsu wrote in <esdmtt$ran$1...@caraway.media.kyoto-u.ac.jp> ...


>現在、日本語のユーザー名で Windows XP を使っているのですが、Cygwin の
>tcsh を起動すると、Shift_JIS の部分が \ でエスケープされてしまい、
>うまく日本語を表示してくれません。
>
>どうにかして、.tcshrc の設定で日本語のユーザ名を表示するようにできない
>でしょうか。

Cygwin のtcsh では,6.14.00 あたりから,日本語を表示させようとした場合に
文字化けするようになっていました。

# 私が遭遇したのは,path に日本語を含むディレクトリ or ファイル名が
# あった場合だったか,日本語カタログを使用した場合だったか…

私の場合,この問題の起こらない 6.13.00 を延々使い続けています…


--
江原 純一 mailto:j-e...@pop17.odn.ne.jp

IIJIMA Hiromitsu

unread,
Mar 4, 2007, 11:22:38 PM3/4/07
to
> >現在、日本語のユーザー名で Windows XP を使っているのですが、Cygwin の
> >tcsh を起動すると、Shift_JIS の部分が \ でエスケープされてしまい、
> >うまく日本語を表示してくれません。

> Cygwin のtcsh では,6.14.00 あたりから,日本語を表示させようとした場合に
> 文字化けするようになっていました。

> 私の場合,この問題の起こらない 6.13.00 を延々使い続けています…

6.13に入れ替えればいいわけですね(笑)
早速やってみます。

EHARA Jun-ichi

unread,
Jan 24, 2008, 2:02:22 PM1/24/08
to
himself. Everything bears
this character.

.. Shall he alone who knows his nature know it only to be miserable? Shall
he alone who knows it be alone unhappy?

.. He must not see nothing at all, nor must he see sufficient for him to
believe he possesses it; but he must see enough to know that he has lost it.
For to know of his loss, he must see and not see; and that is exactly the
state in which he naturally is.

.. Whatever part he takes, I shall not leave him at rest.

557.... It is, then, true that everything teaches man his condition, but he
must understand this well. For it is not true that all reveals God, and it
is not true that all conceals God. But it is at the same time true that He
hides Himself from those who tempt Him, and that He reveals Himself to those
who seek Him, because men are both unworthy and capable of God; unworthy by
their corruption, capable by their original nature.

558. What shall we conclude from all our darkness, but our unworthiness?

559. If there never had been any appearance of God, this eternal deprivation
would have been equivocal, and might have as well corresponded with the
absence of all divinity, as with the unworthiness of men to know Him; but
His occasional, though not continual, appearances remove the ambiguity. If
He appeared once, He exists always; and thus we cannot but conclude both
that there is a God and that men are unworthy of Him.

560. We do not understand the glorious state of Adam, nor the nature of his
sin, nor the transmission of it to us. These are matters which took place
under conditions of a nature altogether different from ou


IIJIMA Hiromitsu

unread,
Jan 24, 2008, 4:56:00 PM1/24/08
to
any purpose. The devil took the advantage, and drove him into despairing
thoughts. He was kept awake at nights, meditating terror, so that he had
scarce any sleep at all for a long time together; and it was observed at
last, that he was scarcely well capable of managing his ordinary
business, and was judged delirious by the coroner's inquest. The news of
this extraordinarily affected the minds of people here, and struck them
as it were with astonishment. After this, multitudes in this and other
towns seemed to have it strongly suggested to them, and pressed upon
them, to do as this person had done. And many who seemed to be under no
melancholy, some pious persons who had no special darkness or doubts
about the goodness of their state-nor were under any special trouble or
concern of mind about any thing spiritual or temporal-had it urged upon
them as if somebody had spoke to them, Cut your throat, now is a good
opportunity. Now! now! So that they were obliged to fight with all their
might to resist it, and yet no reason suggested to them why they should
do it.

About the same time, there were two remarkable instances of persons led
away with strange enthusiastic delusions; one at Suffield, and another
at South Hadley. That which has made the greatest noise in the country
was the conduct of the man at South Hadley, whose delusion was, that he
thought himself divinely instructed to direct a poor man in melancholy
and despairing circumstances, to say certain words in prayer to God, as
recorded in Psalm cxvi. 4, for his own relief. The man is esteemed a
pious man. I have seen this error of his, had a particular acquaintance
with him, and I believe none would question his piety who had such
acquaintance. He gave me a particular account of the manner how he was
deluded, which is too long to be here inserted; but, in short, he
exceedingly rejoiced, and was elevated with the extraordinary work
carried on in this part of the country; and was possessed with an
opin


0 new messages