From owner-freebsd-questions Sat Nov 17 0:43:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id A0B4937B405 for ; Sat, 17 Nov 2001 00:43:07 -0800 (PST) Received: from sdn-ar-007dcwashp312.dialsprint.net ([63.178.90.178] helo=moo.holy.cow) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 165141-0005zH-00 for freebsd-questions@freebsd.org; Sat, 17 Nov 2001 00:43:02 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 226A950B85; Sat, 17 Nov 2001 03:44:10 -0500 (EST) Date: Sat, 17 Nov 2001 03:44:10 -0500 From: parv To: f-q Subject: how to modify a "word" definition Message-ID: <20011117034410.A48396@moo.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 hi, 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". consider: a. p=q b. p&q c. p,q d. p?q ...in all the above four examples, in vi, only one letter is being selected, when i try to do "the X copy", instead of the whole character sequence. however, in some cases... e. p;q ...i would like only one character selected. something similar, but not exactly, happens in bash (2.04). 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. i got not very helpful results from google for "shell word definition change"... http://groups.google.com/groups?lr=lang_en&num=100&as_q=shell+word+definition+change ...so where and how should i look to modify the definition of "word"? thanks much. (ps: if you tried to "select" (copy in X) the above url, you would know my pain.) - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message