IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Nope, it's a registry entry
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Command Processor has CompletionChar and a PathCompletionChar variables. Set them to 9 (tab) and there you go.

If you want to do it on a per user basis, you can use the same settings at HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor
Expand Edited by hnick Dec. 9, 2005, 01:59:29 PM EST
New Cool! So how do you set it to <esc>?
(or, better still, 2 <esc>s, like tcsh?)
jb4
shrub●bish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT

New ASCII escape char is 27 decimal.
Put that in and <esc> should work. I don't know if it takes multiple character strings.
New Re: Cool! So how do you set it to <esc>?
Erm, jb, which tcsh are you using? Every single tcsh that I've ever used1 has supported tab-completion. I believe that it also supports double-escape as a bash/ksh compatibility feature, but AFAIK, tab-completion is the native-to-tcsh one.

(Edit: Oh yeah...this part...)

1I've been using tcsh since at least 1995 while at UTexas.
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
Expand Edited by Yendor Dec. 9, 2005, 03:00:30 PM EST
New Was going to post something similar.
ksh and the original "sh" had the esc-esc
along with esc-k, esc-j, esc-h and esc-l history "browsing"

Twas very, umm, well you know, not fun.

--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
New ksh supports tab or esc completion
Put either of the following in .profile

set -o vi-tabcomplete
set -o vi-esccomplete

And yeah, the esc-hjkl browsing is unfun.. but whne you put your mind in vi mode, it's not so bad.
--
Steve
[link|http://www.ubuntulinux.org|Ubuntu]
New Not on Solaris ksh
Closest I can get to bash is 'export VISUAL=emacs', which has the bash navigation keys, but still uses esc-esc for "tab" completion.

Drives me nuts.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New ooo. We're using pdksh on Linux
legacy holdover from SVR4 Unix.
--
Steve
[link|http://www.ubuntulinux.org|Ubuntu]
New Good. I'ts not just me...
...and the pile of inpenetrable and untranslatable TLAs that occupies my .cshrc file....
jb4
shrub●bish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT

New tcsh & <esc>
How the he-double hockeysticks am I supposed to know what version of tcsh I'm using?, it's not like there's a 'ver' command or anything. And we wouldn't want the 14 or so different shells to have anything resembling a common command structure or anything...that would be so....unUNIX! And while the literati might wish to while away countless hours debating the relative merits of csh's method for doing foo, against bash's method for doing bar...I ain't got time for that. I just need to get the occasional task done on the unix/unix-like systems we have here, and one of the time saving things I can remember is autocompletion using double escape. Course, the systems here seem to want you to use csh whenrver they want, which doesn't support double escape (or up-arrow for history, for that matter). But armed with 'exec tcsh' I can make even the most recalcitrant unix/unix-like system (here, anyway) do my bidding (which, as I have come to understand, is no small feat!).

My next great experiment is to understand which of the set {^Z ^X ^C ^D} actually terminates which program. Especially which one aborts 'man'. I'll keep you posted....
jb4
shrub●bish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT

New Guess M$ changed the default setting
Darrell Spice, Jr.                      [link|http://spiceware.org/gallery/ArtisticOverpass|Artistic Overpass]\n[link|http://www.spiceware.org/|SpiceWare] - We don't do Windows, it's too much of a chore
New Changes around 2003 & XP I think
or at least, the Win2K servers I occasionally have to play with won't autocomplete, but the XP and W2k3 ones will.

Except, of course, when HP-UX muscle-memory makes me hit Esc-Esc and erases the command line...
Two out of three people wonder where the other one is.
New Correct.
Autocomplete was in 2000, but the regpatch was required to make it work. XP was the first MS OS where it was enabled by default.
When somebody asks you to trade your freedom for security, it isn't your security they're talking about.
New Autocomplete was present in NT4.


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
     Whoa - (SpiceWare) - (14)
         Nope, it's a registry entry - (hnick) - (13)
             Cool! So how do you set it to <esc>? - (jb4) - (8)
                 ASCII escape char is 27 decimal. - (hnick)
                 Re: Cool! So how do you set it to <esc>? - (Yendor) - (5)
                     Was going to post something similar. - (folkert) - (4)
                         ksh supports tab or esc completion - (Steve Lowe) - (3)
                             Not on Solaris ksh - (admin) - (2)
                                 ooo. We're using pdksh on Linux - (Steve Lowe)
                                 Good. I'ts not just me... - (jb4)
                 tcsh & <esc> - (jb4)
             Guess M$ changed the default setting -NT - (SpiceWare) - (3)
                 Changes around 2003 & XP I think - (Meerkat) - (2)
                     Correct. - (inthane-chan) - (1)
                         Autocomplete was present in NT4. -NT - (pwhysall)

Clearly you have a security problem - and it's got nothing to do with computers.
130 ms