<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Command-line-editing</TITLE> <META NAME="description" CONTENT="Command-line-editing"> <META NAME="keywords" CONTENT="gnuplot"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="gnuplot.css"> <LINK REL="next" HREF="node17.html"> <LINK REL="previous" HREF="node15.html"> <LINK REL="up" HREF="node2.html"> <LINK REL="next" HREF="node17.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html962" HREF="node17.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html956" HREF="node2.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html950" HREF="node15.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html958" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html960" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html963" HREF="node17.html">Comments</A> <B> Up:</B> <A NAME="tex2html957" HREF="node2.html">Gnuplot</A> <B> Previous:</B> <A NAME="tex2html951" HREF="node15.html">Batch/Interactive Operation</A> <B> <A NAME="tex2html959" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html961" HREF="node467.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION02070000000000000000"></A> <A NAME="line-editing"></A><A NAME="280"></A> <A NAME="editing"></A><A NAME="282"></A> <A NAME="command-line-editing"></A><A NAME="284"></A> <BR> Command-line-editing </H1> 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. <P> The editing commands of the built-in version are given below. The gnu readline and BSD libedit libraries have their own documentation. <P> <DIV ALIGN="CENTER"> <TABLE CELLPADDING=3 BORDER="1"> <TR><TD ALIGN="CENTER" COLSPAN=2>Command-line Editing Commands</TD> </TR> <TR><TD ALIGN="CENTER">Character</TD> <TD ALIGN="LEFT">Function</TD> </TR> <TR><TD ALIGN="CENTER"> </TD> <TD ALIGN="CENTER" COLSPAN=1>Line Editing</TD> </TR> <TR><TD ALIGN="CENTER"><code>^B</code></TD> <TD ALIGN="LEFT">move back a single character.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^F</code></TD> <TD ALIGN="LEFT">move forward a single character.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^A</code></TD> <TD ALIGN="LEFT">move to the beginning of the line.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^E</code></TD> <TD ALIGN="LEFT">move to the end of the line.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^H, DEL</code></TD> <TD ALIGN="LEFT">delete the previous character.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^D</code></TD> <TD ALIGN="LEFT">delete the current character.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^K</code></TD> <TD ALIGN="LEFT">delete from current position to the end of line.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^L, ^R</code></TD> <TD ALIGN="LEFT">redraw line in case it gets trashed.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^U</code></TD> <TD ALIGN="LEFT">delete the entire line.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^W</code></TD> <TD ALIGN="LEFT">delete from the current word to the end of line.</TD> </TR> <TR><TD ALIGN="CENTER"> </TD> <TD ALIGN="CENTER" COLSPAN=1>History</TD> </TR> <TR><TD ALIGN="CENTER"><code>^P</code></TD> <TD ALIGN="LEFT">move back through history.</TD> </TR> <TR><TD ALIGN="CENTER"><code>^N</code></TD> <TD ALIGN="LEFT">move forward through history.</TD> </TR> </TABLE> </DIV><HR> <!--Navigation Panel--> <A NAME="tex2html962" HREF="node17.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html956" HREF="node2.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html950" HREF="node15.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html958" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html960" HREF="node467.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html963" HREF="node17.html">Comments</A> <B> Up:</B> <A NAME="tex2html957" HREF="node2.html">Gnuplot</A> <B> Previous:</B> <A NAME="tex2html951" HREF="node15.html">Batch/Interactive Operation</A> <B> <A NAME="tex2html959" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html961" HREF="node467.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> 2010-08-17 </ADDRESS> </BODY> </HTML>