90s

Minimalist, customizable shell written in C99 with syntax highlighting
git clone https://codeberg.org/night0721/90s
Log | Files | Refs | README | LICENSE

constants.h (597B)


      1 #ifndef CONSTANTS_H_
      2 #define CONSTANTS_H_
      3 
      4 #define HISTFILE ".90s_history" // history file name
      5 #define TOK_BUFSIZE 64 // buffer size of each token
      6 #define RL_BUFSIZE 1024 // size of each command
      7 #define TOK_DELIM " \t\r\n\a" // delimiter for token
      8 #define MAX_HISTORY 8192 // maximum lines of reading history
      9 
     10 #define MAX_JOBS 64 // maximum number of jobs
     11 #define OPT_STDIN 0x01 // option for stdin
     12 #define OPT_STDOUT 0x02 // option for stdout
     13 #define OPT_STDERR 0x04 // option for stderr
     14 #define OPT_FGJ 0x08 // option for foreground job
     15 #define OPT_BGJ 0x10 // option for background job
     16 #endif