Re: [Bash-completion-devel] vncviewer

2009-03-04 Thread Guillaume Rousse
Freddy Vulto a écrit : On Tue, Mar 3, 2009 at 11:49 AM, Guillaume Rousse guillaume.rou...@inria.fr wrote: assuming `/usr/bin/vncviewer' is a symlink to `tightvncviewer' on your machine? No, it is not, that's what I'm trying to explain :) We only have one only 'vncviewer' in the distribution,

Re: [Bash-completion-devel] vncviewer

2009-03-03 Thread Mike Kelly
On Tue, 3 Mar 2009 09:36:38 +0100 Freddy Vulto fvu...@gmail.com wrote: On Mon, Mar 2, 2009 at 9:55 PM, Guillaume Rousse guillaume.rou...@inria.fr wrote:   $ readlink -f $(which vncviewer) /usr/bin/vncviewer Hmm, I believe `which' is Debian specific.  Perhaps `type' works. What does this

Re: [Bash-completion-devel] vncviewer

2009-03-03 Thread Freddy Vulto
On Tue, Mar 3, 2009 at 11:49 AM, Guillaume Rousse guillaume.rou...@inria.fr wrote: assuming `/usr/bin/vncviewer' is a symlink to `tightvncviewer' on your machine? No, it is not, that's what I'm trying to explain :) We only have one only 'vncviewer' in the distribution, from the 'tightvnc'

Re: [Bash-completion-devel] vncviewer

2009-03-03 Thread Freddy Vulto
On Tue, Mar 3, 2009 at 3:12 PM, Mike Kelly pi...@pioto.org wrote: Actually, which is available on every UNIX system I've ever used... What you actually want is $(type -P vncviewer). Otherwise, if they have set alias vncviewer='vncviewer -foo' somewhere, type -p returns nothing, while type -P

Re: [Bash-completion-devel] vncviewer

2009-03-02 Thread Guillaume Rousse
Freddy Vulto a écrit : On Thu, Feb 26, 2009 at 12:33 PM, David Paleino d.pale...@gmail.com wrote: On Wed, 25 Feb 2009 23:05:33 +0100, Freddy Vulto wrote: Do we have a standardized way in bash-completion for selecting alternative completions? No :/ I believe we could do something a

Re: [Bash-completion-devel] vncviewer

2009-02-25 Thread Guillaume Rousse
Freddy Vulto a écrit : Guillaume, I've reviewed updated the to_review/vncviewer completion and got carried away with the case-insensitive options... Can you confirm it's still working all right? If there are no further objections, I'll move the new code to contrib and will delete the old

Re: [Bash-completion-devel] vncviewer

2009-02-25 Thread David Paleino
On Wed, 25 Feb 2009 23:05:33 +0100, Freddy Vulto wrote: Do we have a standardized way in bash-completion for selecting alternative completions? No :/ I believe we could do something a _get_alternative() function: in Debian/Ubuntu/thelike it would check the symlinks in /etc/alternatives/, in

[Bash-completion-devel] vncviewer

2009-02-17 Thread Ville Skyttä
On Sunday 15 February 2009, Freddy Vulto wrote: The following commit has been merged in the master branch: commit 20278a41473544d43c51095ba2e118fc7b89c0d5 Author: Freddy Vulto fvu...@gmail.com Date: Sun Feb 15 21:56:01 2009 +0100 Reviewed `to_review/vncviewer': - added support for