From owner-freebsd-questions@FreeBSD.ORG Mon May 19 09:35:49 2003 Return-Path: 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 975BD37B401 for ; Mon, 19 May 2003 09:35:49 -0700 (PDT) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F4704400D for ; Mon, 19 May 2003 09:35:47 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b159.otenet.gr [212.205.244.167]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h4JGZXNQ015423; Mon, 19 May 2003 19:35:44 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h4JGZMWK024436; Mon, 19 May 2003 19:35:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h4JG8IM3024082; Mon, 19 May 2003 19:08:18 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 19 May 2003 19:08:18 +0300 From: Giorgos Keramidas To: Robert Storey Message-ID: <20030519160818.GB23863@gothmog.gr> References: <20030519153402.22ac5d71.y2kbug@ms25.hinet.net> <20030519081717.GS77354@wantadilla.lemis.com> <20030519211845.3c614c69.y2kbug@ms25.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030519211845.3c614c69.y2kbug@ms25.hinet.net> cc: freebsd-questions@freebsd.org Subject: Re: Emacs weirdness at console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 16:35:49 -0000 On 2003-05-19 21:18, Robert Storey wrote: > I installed "most" (from the ports collection), a much more colorful > pager for man pages than plain old "more." I figured out that I can > use "most" as a pager by doing this: > > man -P most > > The question is: how can I set "most" to be my default pager so I don't > have to type "-P most"? Set PAGER='most' in your environment. On 2003-05-19 21:18, Robert Storey wrote: >On Mon, 19 May 2003 17:47:17 +0930 "Greg 'groggy' Lehey" wrote: >>> That's pretty major - without that key, about half the Emacs >>> commands are inaccessible. >> >> No, that's not correct. Hit Esc first, then the character. That has >> always worked. > > You're right again - except when you want to auto-repeat the command. Like > for example, M-f, to move forward one word. I'll often hold down M-f and > move forward 10 words or more. Trying doing that with ESC-f and it will > drive you crazy. A more "Emacsy" way of doing the same is: `C-u 10 M-f'. I like moving around in fast multiple-of-four runs by hitting C-u several times and then C-f. You're not supposed to have the same preferences like me though, so here are a few ways you can use: a. Set the left ALT key to 'meta' in your syscons keyboard map. This works on the console. You'd have to fool around with xmodmap or XKB to make it work under X11 too, but it can be done. Some people like using ALT for META. A lot. Others just hate it. Your call :) b. Use C-u with an argument. As shown above: `C-u 10 M-f'. This is relatively easy to type, but you have to count things and write an approximation of what you want to do, which isn't exactly optimal when the argument is >9. Single-digit movements like `C-u 4 M-f' are relatively ok and probably faster than holding down an arrow key for a while. But anything above `C-u 9 ...' is too much for me. c. Hit `C-u C-u C-u C-f'. This is my favorite, since holding down CTRL and hitting 'u' several times followed by 'f' is uber-fast for me and easy to type with either one hand or two, whatever I feel like doing at the moment.