XINUシェルで使用される宣言と定数。
More...
Go to the source code of this file.
XINUシェルで使用される宣言と定数。
Definition in file shell.h.
◆ SH_AMPER
アンパサンド文字'&'(字句解析時に用いる)
Definition at line 60 of file shell.h.
Referenced by lexan().
◆ SH_BLANK
ブランク(空白)文字(字句解析時に用いる)
Definition at line 62 of file shell.h.
Referenced by lexan().
◆ SH_DQUOTE
ダブルクォート文字'"'(字句解析時に用いる)
Definition at line 68 of file shell.h.
Referenced by lexan().
◆ SH_EOF
End of File = Ctrl-D(字句解析時に用いる)
Definition at line 58 of file shell.h.
◆ SH_GREATER
◆ SH_LESS
◆ SH_NEWLINE
◆ SH_SQUOTE
シングルクォート文字'''(字句解析時に用いる)
Definition at line 66 of file shell.h.
Referenced by lexan().
◆ SH_TAB
◆ SH_TOK_AMPER
◆ SH_TOK_GREATER
◆ SH_TOK_LESS
◆ SH_TOK_OTHER
◆ SHELL_ARGLEN
引数の領域(長さ)
Definition at line 13 of file shell.h.
◆ SHELL_BAN0
#define SHELL_BAN0 "\033[31;1m" |
シェル起動時のバナー その0(文字色を赤くするANSIエスケープシーケンス)
Definition at line 18 of file shell.h.
Referenced by shell().
◆ SHELL_BAN1
#define SHELL_BAN1 "------------------------------------------" |
◆ SHELL_BAN2
#define SHELL_BAN2 " __ __ _____ _ _ _ _ " |
◆ SHELL_BAN3
#define SHELL_BAN3 " \\ \\ / / |__ __| | \\ | | | | | | " |
◆ SHELL_BAN4
#define SHELL_BAN4 " \\ \\/ / | | | \\| | | | | | " |
◆ SHELL_BAN5
#define SHELL_BAN5 " / /\\ \\ _| |_ | \\ | | | | | " |
◆ SHELL_BAN6
#define SHELL_BAN6 " / / \\ \\ | | | | \\ | \\ -- / " |
◆ SHELL_BAN7
#define SHELL_BAN7 " -- -- ----- - - ---- " |
◆ SHELL_BAN8
#define SHELL_BAN8 "------------------------------------------" |
◆ SHELL_BAN9
#define SHELL_BAN9 "\033[0m\n" |
シェル起動時のバナー その9(文字色をデフォルトに戻すANSIエスケープシーケンス)
Definition at line 36 of file shell.h.
Referenced by shell().
◆ SHELL_BGERRMSG
#define SHELL_BGERRMSG "Cannot redirect I/O or background a builtin\n" |
I/Oリダイレクトできなかった場合もしくはバックグラウンドのXINUシェルビルトインコマンドエラー用のメッセージ
Definition at line 53 of file shell.h.
Referenced by shell().
◆ SHELL_BUFLEN
◆ SHELL_CMDPRIO
◆ SHELL_CMDSTK
#define SHELL_CMDSTK 8192 |
コマンドを実行するプロセスに対するスタックサイズ
Definition at line 11 of file shell.h.
Referenced by shell().
◆ SHELL_CREATMSG
#define SHELL_CREATMSG "Cannot create process\n" |
コマンド実行時にプロセスを生成できなかった場合のエラーメッセージ
Definition at line 47 of file shell.h.
Referenced by shell().
◆ SHELL_ERROR
XINUシェルの処理失敗
Definition at line 86 of file shell.h.
◆ SHELL_EXIT
◆ SHELL_EXITMSG
#define SHELL_EXITMSG "Shell closed\n" |
◆ SHELL_INERRMSG
#define SHELL_INERRMSG "Cannot open file %s for input\n" |
インプットとして用いるファイルが開けなかった場合のエラーメッセージ
Definition at line 49 of file shell.h.
Referenced by shell().
◆ SHELL_MAXTOK
◆ SHELL_OK
XINUシェルの処理成功
Definition at line 84 of file shell.h.
◆ SHELL_OUTERRMSG
#define SHELL_OUTERRMSG "Cannot open file %s for output\n" |
アウトプットとして用いるファイルが開けなかった場合のエラーメッセージ
Definition at line 51 of file shell.h.
Referenced by shell().
◆ SHELL_PROMPT
#define SHELL_PROMPT "xsh $ " |
◆ SHELL_STRTMSG
#define SHELL_STRTMSG "Welcome to Xinu!\n" |
◆ SHELL_SYNERRMSG
#define SHELL_SYNERRMSG "Syntax error\n" |
◆ cmdtab
◆ ncmd