From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8496 invoked from network); 19 Sep 1998 15:44:51 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 19 Sep 1998 15:44:51 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id LAA02935; Sat, 19 Sep 1998 11:33:08 -0400 (EDT) Resent-Date: Sat, 19 Sep 1998 11:33:08 -0400 (EDT) X-Authentication-Warning: sally.lysator.liu.se: marvin owned process doing -bs Date: Sat, 19 Sep 1998 17:36:02 +0200 (MET DST) From: Rasmus Tengblad To: zsh-workers@math.gatech.edu Subject: feature-request of double-tab-list Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-293520741-906219362=:10063" Resent-Message-ID: <"xeeBD1.0.lj.lwy0s"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4392 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-293520741-906219362=:10063 Content-Type: TEXT/PLAIN; charset=US-ASCII Dear zsh-workers, First i'd like to tell you that I really like zsh. Best shell there is! However, there is one small thing I like better about bash, and that's the double-tab-press or what ever you'd want to call it. It's sort of like zsh with AUTO_LIST set, but with the exception that you have to press tab twice before the list is displayed. Of course the other features of zsh outweighs that one advantage eith bash, so I still use zsh as my loginshell, as well as favourite shellscript-interpreter. I've made an ugly patch that fixes it the way I like it, but it only hardcodes it into the shell. I'm attaching it to this mail, just to explain more exactly what it is I'd like. I suppose the correct way of doing is would be to have a variable that controls how many times you need to press tab before the list shows, and the turn the feature on or off with the AUTO_LIST option. I had plans to fix it this way myself, and send you that patch instead, but I havn't got around to doing it yet, and I'm not sure I ever will... Anyway, I hope you'll include something like this in future releases of zsh. Cheers! /Rasmus Tengblad http://www.lysator.liu.se/~marvin PS. If this doesn't make any sense to you, don't hesitate to ask. ---559023410-293520741-906219362=:10063 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="dbltab_zsh.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="dbltab_zsh.patch" ZGlmZiAtciAtWCBza2lwbGlzdCAtVSAzIHpzaC9TcmMvemxlLmggL2hvbWUv bWFydmluL3NyYy96c2gvU3JjL3psZS5oDQotLS0genNoL1NyYy96bGUuaAlX ZWQgSnVsIDIyIDEzOjI2OjIyIDE5OTgNCisrKyAvaG9tZS9tYXJ2aW4vc3Jj L3pzaC9TcmMvemxlLmgJRnJpIEp1bCAyNCAxMjoyNzoyOCAxOTk4DQpAQCAt MzYsNiArMzYsMTIgQEANCiAjZW5kaWYNCiANCiAjaWZkZWYgWkxFDQorDQor LyogTnVtYmVyIG9mIHRhYnMgaW4gYSBzZXF1ZW5jZSBuZWVkZWQgdG8gc2hv dyBjb21wbGV0aW9ubGlzdCAqLw0KKyNkZWZpbmUgVEFCU19SRVFVSVJFRCAy DQorDQorLyogTnVtYmVyIG9mIHRhYnMgcHJlc3NlZCBpbiBzZXF1ZW5jZSAq Lw0KK1pMRVhURVJOIGludCB0YWJjb3VudDsNCiANCiAvKiBzaXplIG9mIGxp bmUgYnVmZmVyICovDQogWkxFWFRFUk4gaW50IGxpbmVzejsNCmRpZmYgLXIg LVggc2tpcGxpc3QgLVUgMyB6c2gvU3JjL3psZV9tYWluLmMgL2hvbWUvbWFy dmluL3NyYy96c2gvU3JjL3psZV9tYWluLmMNCi0tLSB6c2gvU3JjL3psZV9t YWluLmMJV2VkIEp1bCAyMiAxMzoyNjoyMyAxOTk4DQorKysgL2hvbWUvbWFy dmluL3NyYy96c2gvU3JjL3psZV9tYWluLmMJRnJpIEp1bCAyNCAxMjoyNzoy OCAxOTk4DQpAQCAtMzYwLDYgKzM2MCw3IEBADQogICAgIHR2LnR2X3NlYyA9 IDA7DQogI2VuZGlmDQog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MSVNUKSB8fCAodGFi Y291bnQrKyA9PSBUQUJTX1JFUVVJUkVELTEpKQ0KKwkgJiYgIWFtZW51ICYm ICFzaG93aW5nbGlzdCkNCiAJc2hvd2luZ2xpc3QgPSAtMjsNCiAgICAgaWYo aW52KQ0KIAlpbnZhbGlkYXRlbGlzdCgpOw0K ---559023410-293520741-906219362=:10063--