From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9349 invoked from network); 2 Jul 1999 09:39:18 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Jul 1999 09:39:18 -0000 Received: (qmail 2254 invoked by alias); 2 Jul 1999 09:39:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6944 Received: (qmail 2247 invoked from network); 2 Jul 1999 09:39:05 -0000 Message-Id: <9907020910.AA13339@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: PATCH: completion for hosts and character classes In-Reply-To: "Oliver Kiddle"'s message of "Thu, 01 Jul 1999 15:34:21 DFT." <377B7C6D.5F1FC98C@thoth.u-net.com> Date: Fri, 02 Jul 1999 11:10:24 +0200 From: Peter Stephenson Oliver Kiddle wrote: > > I must have forgotten about that. But we probably need more sophisticated > > ways of generating host names from all sorts of different sources. > > /etc/hosts isn't all that well used any more. > > Have you got any suggestions for other ways of generating a hosts list. > The only cases I can think of where there won't be a hosts file is if > NIS is being used or if the computer is a nameserver itself. It's quite > easy to generate a list of hosts in each of these cases but I'm not > quite sure how to determine when these are the case. It's actually years since I've consciously used a machine with a useful /etc/hosts file, now that DNS is so widespread. The way I generate a hosts variable is by looking at .netrc or .rhosts or .ncftp/bookmarks, depending how I feel when I write .zshrc. This gets a much more personalised set of hosts. > PS. If the patch doesn't work, check that none of the lines have been > wrapped. You should try and make sure you can create shorter lines by using backslashes, or send it uuencoded or with mime quoting. By the way, it's high time I pointed out that sending me a copy of a message going to any of the zsh lists is futile as they get sorted into the same folder and I just have to delete one. Also, I'm working on compinstall, but I'm logged in from a maddening PC terminal at a conference, so it will have to wait until the weekend. Also, since I'm out of time, I'd also be quite glad to see some neater code for keymaps. Obviously this will be after 3.1.6. If improvements can be split into smaller chunks, that would help testing. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy