From alepulver@FreeBSD.org  Wed Dec 19 04:36:33 2007
Return-Path: <alepulver@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 52FDC16A41A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Dec 2007 04:36:33 +0000 (UTC)
	(envelope-from alepulver@FreeBSD.org)
Received: from relay00.pair.com (relay00.pair.com [209.68.5.9])
	by mx1.freebsd.org (Postfix) with SMTP id 2304513C458
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Dec 2007 04:36:33 +0000 (UTC)
	(envelope-from alepulver@FreeBSD.org)
Received: (qmail 85619 invoked from network); 19 Dec 2007 04:36:31 -0000
Received: from unknown (HELO deimos.mars.bsd) (unknown)
  by unknown with SMTP; 19 Dec 2007 04:36:31 -0000
Message-Id: <1198038994.62834@deimos.mars.bsd>
Date: Wed, 19 Dec 2007 01:36:34 -0300
From: "Alejandro Pulver" <alepulver@FreeBSD.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [PATCH] FAQ: add item about delete key in sh/csh
X-Send-Pr-Version: gtk-send-pr 0.4.8 
X-GNATS-Notify:

>Number:         118849
>Category:       docs
>Synopsis:       [PATCH] FAQ: add item about delete key in sh/csh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 19 04:40:01 UTC 2007
>Closed-Date:    Thu Dec 20 22:29:01 UTC 2007
>Last-Modified:  Thu Dec 20 22:29:01 UTC 2007
>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@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:
Responsible-Changed-From-To: freebsd-doc->gabor 
Responsible-Changed-By: gabor 
Responsible-Changed-When: Thu Dec 20 13:05:11 UTC 2007 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118849 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/118849: commit references a PR
Date: Thu, 20 Dec 2007 22:15:54 +0000 (UTC)

 gabor       2007-12-20 22:15:51 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/books/faq book.sgml 
   Log:
   - Add item to the FAQ about configuring the delete key in console/xterm with
     sh/csh
   
   PR:             docs/118849
   Submitted by:   alepulver
   
   Revision  Changes    Path
   1.807     +26 -0     doc/en_US.ISO8859-1/books/faq/book.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: gabor 
State-Changed-When: Thu Dec 20 22:26:38 UTC 2007 
State-Changed-Why:  
Committed, thanks! You will see the change some hours later, when our 
documentation set has been rebuilt from sources. 
I haven't touched the wording. The markup was pefect, except that we use 
tabs instead of 8 spaces. It's true that the context is nor correct in 
this way, but for new wntries we should follow the whitespace policy. 
Besides, I put "Bourne Shell" and "C Shell" into an 
<application> element. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118849 
>Unformatted:
