From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id OAA22215 for ; Sun, 9 Jul 1995 14:29:38 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA08857 (5.65c/Gatech-10.0-IDA for ); Sun, 9 Jul 1995 00:30:37 -0400 Received: by math (5.x/SMI-SVR4) id AA09690; Sun, 9 Jul 1995 00:27:19 -0400 Resent-Date: Sun, 9 Jul 1995 05:28:18 +0100 (BST) Old-Return-Path: From: Zefram Message-Id: <25792.199507090428@stone.dcs.warwick.ac.uk> Subject: A couple of queries To: zsh-workers@math.gatech.edu (Z Shell workers mailing list) Date: Sun, 9 Jul 1995 05:28:18 +0100 (BST) X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]5950.93 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-Id: <"M_Nka2.0.KN2.cgr_l"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/187 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu -----BEGIN PGP SIGNED MESSAGE----- In glob.c, in the function file_type() (which contains the delightful comment "screw POSIX"), there is commented-out code that would return a character '&' instead of '@' for a symbolic link that doesn't point anywhere accessible. Considering that compatibility with "ls -F" isn't really an issue here (and '%' and '#' are returned for devices which ls doesn't do), why is this code not used? Secondly, I had an idea for a new option for a couple of builtins. compctl has an option -L that makes zsh output the actual compctl commands that one would have to input in order to get to the current set of completion options. A similar option would be very useful for alias, bindkey (especially), limit, sched and typeset. (typeset -L is already taken, so it would have to be something else, but the others can be -L.) These options would not only be useful in normal use of the shell, but would also simplify the reporter script greatly (which btw won't run here -- awk syntax errors). This option could be added to each of the builtins quite easily, and without (much) risk of breaking anything else. What are people's opinions on this idea? Richard, would you be willing to add this to the baseline before the 2.7 release? -zefram -----BEGIN PGP SIGNATURE----- Version: 2.6.i iQBVAgUBL/9a32WJ8JfKi+e9AQGF7AH9HAhCS6kfVrKN66tXP6mjG255v4GkEmAS 2Ffm2ABz/NS3YpuGkDBeAV7ZwagpCdVSJFFSlwQCZiW/zLioO4yt8A== =M++8 -----END PGP SIGNATURE-----