📄 redboot-editing-commands.html
字号:
<!-- Copyright (C) 2003 Red Hat, Inc. --><!-- This material may be distributed only subject to the terms --><!-- and conditions set forth in the Open Publication License, v1.0 --><!-- or later (the latest version is presently available at --><!-- http://www.opencontent.org/openpub/). --><!-- Distribution of the work or derivative of the work in any --><!-- standard (paper) book form is prohibited unless prior --><!-- permission is obtained from the copyright holder. --><HTML><HEAD><TITLE>RedBoot Editing Commands</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="Getting Started with RedBoot"HREF="getting-started-with-redboot.html"><LINKREL="PREVIOUS"TITLE="User Interface"HREF="user-interface.html"><LINKREL="NEXT"TITLE="RedBoot Startup Mode"HREF="startup-mode.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="user-interface.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 1. Getting Started with RedBoot</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="startup-mode.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="REDBOOT-EDITING-COMMANDS">RedBoot Editing Commands</H1><P>RedBootuses the following line editing commands. <DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>NOTE: </B>In this description, <SPANCLASS="GUIBUTTON">^A</SPAN> means the character formedby typing the letter “A” while holding down the control key.</P></BLOCKQUOTE></DIV><P></P><UL><LI><P><SPANCLASS="GUIBUTTON">Delete</SPAN> (0x7F) or <SPANCLASS="GUIBUTTON">Backspace</SPAN> (0x08) erases the character to the left of the cursor.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^A</SPAN>moves the cursor (insertion point) to the beginning of the line.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^K</SPAN>erases all characters on the line from the cursor to the end.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^E</SPAN>positions the cursor to the end of the line.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^D</SPAN>erases the character under the cursor.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^F</SPAN>moves the cursor one character to the right.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^B</SPAN>moves the cursor one character to the left.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^P</SPAN>replaces the current line by a previous line from the history buffer. A small number of linescan be kept as history. Using ^P (and ^N), the current line can be replacedby any one of the previously typed lines.</P></LI><LI><P><SPANCLASS="GUIBUTTON">^N</SPAN>replaces the current line by the next line from the history buffer. </P></LI></UL></P><P>In the case of the <BCLASS="COMMAND">fconfig</B>command, additional editing commands are possible. As data are entered for this command, the current/previous valuewill be displayed and the cursor placed at the end of that data.The user may use the editing keys (above) to move around in the datato modify it as appropriate.Additionally, when certaincharacters are entered at the end of the current value, i.e. entered separately, certain behavior is elicited.</P><P><P></P><UL><LI><P>^ (caret) switch to editing the previous item in the <BCLASS="COMMAND">fconfig</B> list. If fconfig edits item A, followed by item B,pressing ^ when changing item B, allows you to change item A. This is similarto the up arrow.Note: ^P and ^N do not have the same meaning while editing <BCLASS="COMMAND">fconfig</B> data and should not be used.</P></LI><LI><P>. (period) stop editing any further items. This does not changethe current item.</P></LI><LI><P><SPANCLASS="GUIBUTTON">Return</SPAN> leaves the valuefor this item unchanged. Currently it is not possible to step through thevalue for the start-up script; it must always be retyped.</P></LI></UL></P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="user-interface.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="startup-mode.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">User Interface</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="getting-started-with-redboot.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">RedBoot Startup Mode</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -