docs/118849: [PATCH] FAQ: add item about delete key in sh/csh

Alejandro Pulver alepulver at FreeBSD.org
Wed Dec 19 04:40:01 UTC 2007


>Number:         118849
>Category:       docs
>Synopsis:       [PATCH] FAQ: add item about delete key in sh/csh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 19 04:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP



>Description:


Add item to the FAQ about configuring the delete key in console/xterm with sh/csh.


>How-To-Repeat:





>Fix:


--- book.sgml.diff begins here ---
Index: book.sgml
===================================================================
RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/faq/book.sgml,v
retrieving revision 1.805
diff -u -r1.805 book.sgml
--- book.sgml	30 Jul 2007 09:18:51 -0000	1.805
+++ book.sgml	19 Dec 2007 04:33:32 -0000
@@ -2556,6 +2556,32 @@
         </answer>
       </qandaentry>
 
+      <qandaentry>
+        <question id="keyboard-delete-key">
+          <para>How do I use my delete key in <command>sh</command> and
+            <command>csh</command>?</para>
+        </question>
+
+        <answer>
+          <para>For the Bourne Shell, add the following lines to your
+            <filename>.shrc</filename>.  See &man.sh.1; and
+            &man.editrc.5;.</para>
+
+          <programlisting>bind ^? ed-delete-next-char # for console
+bind ^[[3~ ed-delete-next-char # for xterm</programlisting>
+
+          <para>For the C Shell, add the following lines to your
+            <filename>.cshrc</filename>.  See &man.csh.1;.</para>
+
+          <programlisting>bindkey ^? delete-char # for console
+bindkey ^[[3~ delete-char # for xterm</programlisting>
+
+          <para>For more information, see <ulink
+              url="http://www.ibb.net/~anne/keyboard.html">this page</ulink>.
+          </para>
+        </answer>
+      </qandaentry>
+
 	</qandaset>
 
       </sect1>
--- book.sgml.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list