Contents | < Browse | Browse >
CTRL [max_16_chars | -C [ignore_name] | -R 8_colour_digits]

This command is for changing the default settings.
* CTRL is for command-line-editing-keys-definitions (great word :).
  In other words: You can change the meaning of keys pressed with
  CTRL (Control) and some other keys (TAB ^I, Backspace ^H,
  Return ^M, Shift-Return ^J, ESC ^[).
* "CTRL" without arguments shows the current definitions.
eg.     ctrl

* "CTRL WQSEIX[RYHJMLAVn" (case dependent) sets the default settings.
  To change something, just change the character corresponding to
  the key pressed with CTRL. See some lines above for some CTRL-
  equivalents ( eg. TAB is same as CTRL-I ).
  You may get confused if you define one key twice.
eg.     ctrl QWKU         {half line deleting like KS2.0 shell}
        ctrl QWSEAXTIYMJH {...and you will have lots of fun}

* There is a special meaning with the 16th character. This is by
  default the point (.), which is displayed as a "n" (don't get
  confused). The point has a special meaning in some commands
  ( ECHO , SEARCH , PUTMSG , dir back, force disk, abbreviation)
  and can be redefined using "CTRL WQSEIX[RYHJMLAVn", but replace the
  point by the character desired. The ASCII code must be between
  32 and 64.
eg.     ctrl WQSEIX[RYHJMLAV#  {# is now a special character}

* "CTRL -C" shows the ignored filenames for  filenamecompletion .
  By default this is unset. (-C means here -Complete)
* "CTRL -C filedescription" defines which names are not completed.
  "filedescription" contains  wild card (s) in most cases.
eg.     ctrl -c         {display ignore_name}
        ctrl -c *.info  {ignore *.info-files}
        ctrl -c *.info|*.bak {ignore files ending in .info and .bak}
        ctrl -c ~*.tex|*.dvi {complete only *.tex and *.dvi-files}
        ctrl -c ""      {unset ignore_name}

* "CTRL -R colours" defines the use of colours. "colours" has to be a
  8 digit number. The digit at position x defines to what colour number
  the default colour x is mapped to. Everything clear ? (I think no!)
eg.     ctrl -r 01234567   {sets the default colours}
        ctrl -r 01111111   {switches to one colour mode, very useful with
                            OS3.0+ to speed up scrolling}
        ctrl -r 01233321   {if you want to use only 4 colours}