Date: Sun, 18 Nov 2001 01:53:08 -0500 From: parv <parv_@yahoo.com> To: "Gary W. Swearingen" <swear@blarg.net> Cc: questions@FreeBSD.ORG Subject: Re: how to modify a "word" definition Message-ID: <20011118015308.B15285@moo.holy.cow> In-Reply-To: <5kzo5k4t8e.o5k@localhost.localdomain>; from swear@blarg.net on Sat, Nov 17, 2001 at 08:07:29PM -0800 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011118015308.B15285>