memo.xight.org

Home > Changelogメモ > tcsh > 1ページ目 (全1ページ)
ChangeLog 最新ページ
2008-09 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

2003-05-21 Wed

 tcsh alias補完

- 1 つの引数は

% alias hoge 'hoge \!^'

  !^ で引数がとれる.
- 複数の引数は

% alias hoge 'hoge \!*'

  !* で引数がとれる.

カテゴリ: [UNIX][tcsh]

2003-02-06 Thu

簡易スケジュール

- Summary
  現在スケジュールされているリストを表示

% sched

  指定時刻にコマンドを実行

% sched hh:mm command
% sched hh:mm(am|pm) command

  一定時間後にコマンドを実行

% sched +hh:mm command

  n 番目のスケジュールを削除

% sched -n

- 例
  11:00 になったら It's eleven o'clock. を表示する

% sched 11:00 echo It\'s eleven o\'clock.

カテゴリ: [UNIX][tcsh]

2003-01-03 Fri

特殊な alias

- 一覧

precmd 各プロンプト表示前に実行される.
cwdcmd ワーキングディレクトリが変わったら実行される.
- Reference
  UNIX Tools - tcsh
  http://www2u.biglobe.ne.jp/~hsaka/tool.html#tcsh_title

カテゴリ: [tcsh]

2003-01-03 Fri

tcsh でカラー表示

- Summary
  カラー表示のためには,`\e[コードm' という形の特別なエスケープシークエンスを使用する.
- Reference
  UNIX Tools - tcsh
  http://www2u.biglobe.ne.jp/~hsaka/tool.html#tcsh_color

カテゴリ: [tcsh]

2003-01-03 Fri

tcsh カラー表

00 初期状態へ,理解しない端末もある
01 bold (太字)
04 アンダーライン
05 blink (太字になる端末が多い)
07 reverse (反転)
30 文字を black
31 文字を red
32 文字を green
33 文字を yellow
34 文字を blue
35 文字を magenta
36 文字を cyan
37 文字を white
40 背景を black
41 背景を red
42 背景を green
43 背景を yellow
44 背景を blue
45 背景を magenta
46 背景を cyan
47 背景を white

- Reference
  UNIX Tools - tcsh
  http://www2u.biglobe.ne.jp/~hsaka/tool.html#tcsh_color

カテゴリ: [tcsh]

2002-12-05 Thu

tcsh alias補完

- clgrep で clgrep <PATTERN> [file] を clgrep <PATTERN> で利用したい.

% alias clgrep 'clgrep \!^ /home/yoshiki/memo/ChangeLog'

  !^ で引数がとれる.

カテゴリ: [UNIX][tcsh]
2008-09 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
最終更新時間: 2008-09-05 14:14

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-09-05 14:14
Copyright © 2005 xight.org All Rights Reserved.