From owner-freebsd-questions Sat Nov 17 6: 8:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 29DE737B417 for ; Sat, 17 Nov 2001 06:08:35 -0800 (PST) Received: (qmail 35332 invoked by uid 100); 17 Nov 2001 14:08:33 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15350.28513.309480.583151@guru.mired.org> Date: Sat, 17 Nov 2001 08:08:33 -0600 To: parv Cc: questions@freebsd.org Subject: Re: how to modify a "word" definition In-Reply-To: <25403662@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG parv types: > i need help to search for information on how to modify/change > a program's definition of a "word". the programs that i am > most interested are: bash 2.04, vi (bsd), mutt "reader", slrn > "reader". [...] > my definition of a word would be: > a character sequence which does not any white space and > other special character(s). the special characters are > adjustable. That's reasonable. The only real questions are whether you can adjust the special characters, and how you do so if you can. The answer is usually in the man pages - though it may not be one you like. > (ps: if you tried to "select" (copy in X) the above url, you would > know my pain.) This makes me think you're talking about select in X. That makes the programs - definitely for bash, and probably for the others as well, unless they've changed since I last used them - irrelevant. What handles selection is the *terminal emulator* you're running, so that's the man page you need to look at. I use good old xterm, and for that, the manual section in question is "Character classes". It's to long to quote completely, but I've been using it for years and it works like a charm. The relevant entry in my .Xresources file is "XTerm*charClass: 33-47:48,58-64:48,91-96:48,123-126:48". If you're using one of the alternative terminal emulators, you'll have to check their manual pages. Some of them dumped "relatively unusused" features like this, so it may not be there. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message