Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Bashing away at Unix
- Date: Sat, 15 Mar 2008 12:44:28 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] Bashing away at Unix
- References: <47D7A519.70409@imaginatorium.org> <20080312101925.5b996fe6.gstewart@bonivet.net> <ed10ee420803140059s7f2c8398p9f06ae4c173f6f69@mail.gmail.com> <d8fcc0800803140116y55c25e29j532684ab055ee2fb@mail.gmail.com> <20080314095131.3fbe903d.gstewart@bonivet.net> <ed10ee420803140306m3a169960u8710d9e2a7e93a74@mail.gmail.com> <20080314103214.86001aab.gstewart@bonivet.net> <ed10ee420803140345s3fdf9987u8cd7bd9a65980673@mail.gmail.com> <d8fcc0800803140442p2b897b37y462263f2722319d7@mail.gmail.com> <ed10ee420803140931w68dd22abg9cb1b55366a36d2c@mail.gmail.com>
On 15/03/2008, SL Baur <steve@example.com> wrote: > On 3/14/08, Josh Glover <jmglov@example.com> wrote: > > > Firstly, how do I make ^H-Backspace delete a word like it does in > > bash? > > Try backward-kill-word, which is bound by default to C-w, ESC-C-h and > ESC-C-? in emacs line editing mode. C-w backward-kills a word in bash as well, but that would kill the entire path, rather than just the last component. ESC-Backspace is a GNU readline thing, I guess; it works the same way in the Perl debugger and other programs that use GNU readline. Googling... http://tiswww.case.edu/php/chet/readline/rluserman.html#SEC17 Searching for "ESC" reveals: prefix-meta (ESC) Metafy the next character typed. This is for keyboards without a meta key. Typing `ESC f' is equivalent to typing M-f. Ah sou... searching for "M-DEL" now tells me: M-DEL Kill from the cursor the start of the current word, or, if between words, to the start of the previous word. Word boundaries are the same as those used by M-b. Bugger! What about M-b? backward-word (M-b) Move back to the start of the current or previous word. Words are composed of letters and digits. Any of this spew help you to recognise whether zsh has an analogue? > Reason #24 to like zsh: > There isn't much regarding the command line editing that is hardcoded. > In particular, you can redefine any key to do pretty much exactly what > you want. This is a very good reason indeed, and is in fact the reason that I use Open Source software in the first place: so my software can do what *I* want, not what it wants. -- Cheers, Josh
- Follow-Ups:
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Stephen J. Turnbull
- References:
- [tlug] Bashing away at Unix
- From: Brian Chandler
- Re: [tlug] Bashing away at Unix
- From: Godwin Stewart
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Josh Glover
- Re: [tlug] Bashing away at Unix
- From: Godwin Stewart
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Godwin Stewart
- Re: [tlug] Bashing away at Unix
- From: SL Baur
- Re: [tlug] Bashing away at Unix
- From: Josh Glover
- Re: [tlug] Bashing away at Unix
- From: SL Baur
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: recursively printing html Howto's: Solution
- Next by Date: [tlug] Re: Gentoo ebuild for XEmacs-21.5
- Previous by thread: Re: [tlug] Bashing away at Unix
- Next by thread: Re: [tlug] Bashing away at Unix
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links