############################################################
### completion_user
############################################################
PAGE completion_user
  EXTENTRY complete
  {
    ENTRY command "make"
    RADIO type "pattern"
    ENTRY pattern "-f"
    RADIO word "previous"
    LABEL posLabel "pattern \"-f\" on previous word"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
  }
  {
    ENTRY command "make"
    CHECKBOX c1 "0"
    ENTRY com "perl -ne '\"'\"'if (/^([^.#][^:]+):/) \{print \"$1 \"\}'\"'\"' Makefile"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c17 "1"
    ENTRY out_com "perl -ne 'if (/^([^.#][^:]+):/) \{print \"$1 \"\}' Makefile"
    LABEL listLabel "Output from command"
  }
  {
    ENTRY command "\{kill,fg,bg\}"
    RADIO type "pattern"
    ENTRY pattern "%"
    LABEL posLabel "pattern \"%\" on current word"
    CHECKBOX c1 "0"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c13 "1"
    LABEL listLabel "Jobs"
  }
  {
    ENTRY command "\{kill,fg,bg\}"
    RADIO type "pattern"
    ENTRY pattern "-"
    LABEL posLabel "pattern \"-\" on current word"
    CHECKBOX c1 "0"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c11 "1"
    LABEL listLabel "Signals"
  }
  {
    ENTRY command "\{kill,fg,bg\}"
    CHECKBOX c1 "0"
    ENTRY com "ps -x | awk '\"'\"'\{print $1\}'\"'\"'"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c17 "1"
    ENTRY out_com "ps -x | awk '\{print $1\}'"
    LABEL listLabel "Output from command"
  }
  {
    ENTRY command "cd"
    CHECKBOX c1 "0"
    CHECKBOX c8 "1"
    LABEL listLabel "Directories"
  }
  {
    ENTRY command "latex"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
    ENTRY restrict "*.\{tex,dtx,ins\}"
  }
  {
    ENTRY command "\{dvips,xdvi\}"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
    ENTRY restrict "*.dvi"
  }
  {
    ENTRY command "ghostview"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
    ENTRY restrict "*.ps"
  }
  {
    ENTRY command "xfig"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
    ENTRY restrict "*.fig"
  }
  {
    ENTRY command "pu"
    RADIO type "pattern"
    ENTRY pattern "+"
    LABEL posLabel "pattern \"+\" on current word"
    CHECKBOX c1 "0"
    ENTRY com "dirs"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c17 "1"
    ENTRY out_com "dirs"
    LABEL listLabel "Output from command"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-name"
    RADIO word "previous"
    LABEL posLabel "pattern \"-name\" on previous word"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-newer"
    RADIO word "previous"
    LABEL posLabel "pattern \"-newer\" on previous word"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-\{,n\}cpio"
    RADIO word "previous"
    LABEL posLabel "pattern \"-\{,n\}cpio\" on previous word"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-exec"
    RADIO word "previous"
    LABEL posLabel "pattern \"-exec\" on previous word"
    CHECKBOX c1 "0"
    CHECKBOX c7 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "Commands"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-ok"
    RADIO word "previous"
    LABEL posLabel "pattern \"-ok\" on previous word"
    CHECKBOX c1 "0"
    CHECKBOX c7 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "Commands"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-user"
    RADIO word "previous"
    LABEL posLabel "pattern \"-user\" on previous word"
    CHECKBOX c1 "0"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c14 "1"
    LABEL listLabel "Usernames"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-group"
    RADIO word "previous"
    LABEL posLabel "pattern \"-group\" on previous word"
    CHECKBOX c1 "0"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c12 "1"
    LABEL listLabel "Groupnames"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-type"
    RADIO word "previous"
    LABEL posLabel "pattern \"-type\" on previous word"
    CHECKBOX c1 "0"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c16 "1"
    ENTRY predef "b c d f l p s"
    LABEL listLabel "Predefined list"
  }
  {
    ENTRY command "find"
    RADIO type "pattern"
    ENTRY pattern "-"
    LABEL posLabel "pattern \"-\" on current word"
    CHECKBOX c1 "0"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    CHECKBOX c16 "1"
    ENTRY predef "name newer cpio ncpio exec ok user group fstype type atime ctime depth inum ls mtime nogroup nouser perm print prune size xdev"
    LABEL listLabel "Predefined list"
  }
  {
    ENTRY command "find"
    CHECKBOX c1 "0"
    CHECKBOX c8 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "Directories"
  }
  {
    ENTRY command "emacs"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    LABEL listLabel "FileNames"
    ENTRY restrict "^*\{.dvi,.o,.log,.aux,~,.ps,.gif,.jpg,.bak\}"
  }
  {
    ENTRY command "rm"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
    ENTRY restrict "^*.\{tex,c,h,html\}"
  }
  {
    ENTRY command "lpr"
    CHECKBOX c1 "0"
    CHECKBOX c9 "1"
    COMMAND com_com ""
    COMMAND com_dir ""
    COMMAND com_file ""
    COMMAND com_text ""
    LABEL listLabel "FileNames"
    ENTRY restrict "^*\{.aux,.tex,.dvi,.log,.o,.a,~\}"
  }
