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

Re: ¥×¥í¥ó¥×¥È¤Ë¤Ä¤¤¤Æ



Hajime Nosaka <nosaka@i-and-o.com> writes:

> ¤½¤Î¥æ¡¼¥¶¡¼¤Î¥×¥í¥ó¥×¥È¤ò¸«¤ë¤È¡¢
> hostname: {**}¡Ê¤³¤Î{**}¤Ë¤Ï¿ô»ú¤¬¼«Æ°Åª¤Ë²Ã»»¤µ¤ì¤Æ¤¤¤¯¡Ë
> ¤È¤Ê¤ë¤è¤¦¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£

¿ô»ú¤ÎÉôʬ¤Ï history ¤Î¥¤¥Ù¥ó¥ÈÈÖ¹æ¤Ç¤¹¡£csh(1) ¤Î man page ¤Ë¤Ï
°Ê²¼¤Î¤è¤¦¤Ë½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¡£

     For example, consider the following output from the history command:

            9  write michael
           10  ex write.c
           11  cat oldwrite.c
           12  diff *write.c

     The commands are shown with their event numbers.  It is not usually nec-
     essary to use event numbers, but the current event number can be made
     part of the prompt by placing an `!' in the prompt string.

> ¤¤¤Þ¡¢¤³¤Î¥×¥í¥ó¥È¤ò¡¢
> hostname >>
> ¤È¤¤¤¦¤Õ¤¦¤ËÊѹ¹¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
> ¤É¤¦¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©

> set prompt = "${mch:q}: {\!} "                 
> ¡¡¡¡¡¡¡¡¡¡¡¡¬Ø
> set prompt = "${mch:q}: >> "

¤³¤ì¤Ç OK ¤À¤È»×¤¤¤Þ¤¹¡£

-- ¤ä¤Þ¤Î