From owner-freebsd-questions Sat Nov 17 11: 0:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 1C5FF37B416 for ; Sat, 17 Nov 2001 11:00:44 -0800 (PST) Received: from sdn-ar-007dcwashp007.dialsprint.net ([63.178.91.15] helo=moo.holy.cow) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 165Ahm-0005Tp-00; Sat, 17 Nov 2001 11:00:43 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 6788650B85; Sat, 17 Nov 2001 14:01:56 -0500 (EST) Date: Sat, 17 Nov 2001 14:01:56 -0500 From: parv To: Mike Meyer Cc: questions@freebsd.org Subject: Re: how to modify a "word" definition Message-ID: <20011117140156.A82747@moo.holy.cow> Mail-Followup-To: Mike Meyer , questions@freebsd.org References: <25403662@toto.iv> <15350.28513.309480.583151@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15350.28513.309480.583151@guru.mired.org>; from mwm@mired.org on Sat, Nov 17, 2001 at 08:08:33AM -0600 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 in message <15350.28513.309480.583151@guru.mired.org>, wrote Mike Meyer thusly... > > 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. i didn't find much in manpages for bash, vi, and mutt. however, i did find some relevant information for zsh. but as you said... > > (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. obviously i combined the two problems; sorry about that. one is how to change "native" behaviour of bash, vi etc. as far as word definition goes like deleting, moving around, and copying. and other, that i 'm more concerned about, is, of course, selecting "word" in X. i realized later what you said above. thanks for the pointer to look for for terminal emulators documentations. > 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. thanks again. currently i am using aterm. if the problem isn't solved there, i will try xterm. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message