From owner-freebsd-questions Sat Nov 17 22:51:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hawk.prod.itd.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id F03AF37B418 for ; Sat, 17 Nov 2001 22:51:55 -0800 (PST) Received: from sdn-ar-007dcwashp017.dialsprint.net ([63.178.91.25] helo=moo.holy.cow) by hawk.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 165Lo2-0006ST-00; Sat, 17 Nov 2001 22:51:54 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 7038350B85; Sun, 18 Nov 2001 01:53:08 -0500 (EST) Date: Sun, 18 Nov 2001 01:53:08 -0500 From: parv To: "Gary W. Swearingen" Cc: questions@FreeBSD.ORG Subject: Re: how to modify a "word" definition Message-ID: <20011118015308.B15285@moo.holy.cow> Mail-Followup-To: "Gary W. Swearingen" , questions@FreeBSD.ORG References: <25403662@toto.iv> <15350.28513.309480.583151@guru.mired.org> <20011117140156.A82747@moo.holy.cow> <20011117141351.D63067@blossom.cjclark.org> <5kzo5k4t8e.o5k@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5kzo5k4t8e.o5k@localhost.localdomain>; from swear@blarg.net on Sat, Nov 17, 2001 at 08:07:29PM -0800 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 <5kzo5k4t8e.o5k@localhost.localdomain>, wrote Gary W. Swearingen thusly... > > [wrote Crist J. Clark] > > > > Look for 'IFS' in bash(1). > ... > "IFS" works for command line "words" as > parsed when interpreted, at least for my shell (ksh), doesn't work for > command line editing commands which involve "words" (like delete last > word). I see no control for these kind of words. i just experimented w/ this; of course, above is true. so setting IFS wouldn't help. > If you want really good control over mousing things (in or out of X), > use the XEmacs (or similar) shell mode where you can make the mouse > recognize any thing you want and even have it (with ctrl, shift, alt, > extra characters, etc.) grab words, lines, URLs, filenames, or whatever, > and have it run commands (eg "Netscape -remote", "xemacs --read-only") > on the selection. i see only 2 "standard" editing modes in bash and ksh: "emacs" and "vi". no "XEmacs" mode; i suppose you were referring to "emacs" mode... which i already have. > (Unfortunately, the terminal emulation is not as > good as xterm, so I wind up having to use xterm for running interactive > non-GUI programs. It has a second terminal emulator which is is good > enough for such programs but I don't use it for reasons I forget.) i am confused now as i thought you were referring to a shell and now you are referring to xterm (emulation)... going dizzy... > Of course, it's also much better than xterm for keybanging of shell > command input and output. You have all the standard editing features > and more. Searching of the input+output history (arbitrarily long) > is especially handy. Another handy command is "delete output of last > shell command" (ctrl-c ctrl-o). what exactly is "output history"? and, how is it possible to "delete output of last shell command" if the output was sent to stdout/stderr? > (The special shell-mode commands > all start with ctrl-c, so "ctrl-c ctrl-c" is xterm's "ctrl-c".) i will take a wild guess as i am thoroughly confused now, but could you be implying here "emacs-ctlx" keymap as introduced (but not explained) in the bash(1)? - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message