From owner-freebsd-questions@FreeBSD.ORG Fri Oct 27 23:46:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2E7C16A47B for ; Fri, 27 Oct 2006 23:46:56 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from achilles.leela.ws (achilles.leela.ws [66.207.162.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0658043D53 for ; Fri, 27 Oct 2006 23:46:15 +0000 (GMT) (envelope-from pgiessel@mac.com) Received: from [192.168.0.193] ([158.145.111.132]) (authenticated bits=0) by achilles.leela.ws (8.13.6/8.13.6) with ESMTP id k9RNk7l2056571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 27 Oct 2006 15:46:08 -0800 (AKDT) (envelope-from pgiessel@mac.com) Message-ID: <45429A3F.8020504@mac.com> Date: Fri, 27 Oct 2006 15:46:07 -0800 From: "Peter A. Giessel" User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: Noah References: <45425D61.6030209@enabled.com> <4542607E.8020101@mac.com> <45429451.3040706@enabled.com> <45429608.9090704@mac.com> <4542969E.1060903@enabled.com> In-Reply-To: <4542969E.1060903@enabled.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: replacing ^M with emacs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 23:46:56 -0000 On 2006/10/27 15:30, Noah seems to have typed: > where is the logic here? Logic? I thought we were using emacs here? just kidding... (mostly) > What is control-q for As Giorgos posted earlier: > The important trick here is that you use C-q to 'quote' the C-m > character in the substitution string :) so then its just a matter of knowing the character for newline: > what is control-j for? The character for new line. Which, if you are using the Xwindows version of emacs, it gives you the shortcut in the "Minibuf" menu for new line when you start a query...