Date: Sat, 17 Nov 2001 14:01:56 -0500 From: parv <parv_@yahoo.com> To: Mike Meyer <mwm@mired.org> Cc: questions@freebsd.org Subject: Re: how to modify a "word" definition Message-ID: <20011117140156.A82747@moo.holy.cow> In-Reply-To: <15350.28513.309480.583151@guru.mired.org>; from mwm@mired.org on Sat, Nov 17, 2001 at 08:08:33AM -0600 References: <25403662@toto.iv> <15350.28513.309480.583151@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
in message <15350.28513.309480.583151@guru.mired.org>, wrote Mike Meyer thusly... > > parv <parv_@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011117140156.A82747>