### 1.8 Command-line-editing

Command-line editing and command history are supported using either an external gnu readline library, an external BSD libedit library, or a built-in equivalent. This choice is a configuration option at the time gnuplot is built.

The editing commands of the built-in version are given below. Please note that the action of the DEL key is system-dependent. The gnu readline and BSD libedit libraries have their own documentation.

          `Line-editing`:

          ^B    moves back a single character.
          ^F    moves forward a single character.
          ^A    moves to the beginning of the line.
          ^E    moves to the end of the line.
          ^H    deletes the previous character.
          DEL   deletes the current character.
          ^D    deletes current character, sends EOF if the line is empty.
          ^K    deletes from current position to the end of line.
          ^L,^R redraws line in case it gets trashed.
          ^U    deletes the entire line.
          ^W    deletes previous word.

          `History`:

          ^P    moves back through history.
          ^N    moves forward through history.