We've had a lot of problems with this. The current methodology seems
good in theory, but a lot of people have been confused by it. Here's
how the current methodology works:
- The Host field should actually be named something more like Host
(or, optionally, Host:Port)
- If a port is specified, the Display field becomes disabled, since
specifying both makes no sense
Try it - once you add a colon into the Host field, the display
becomes disabled. But there's no visual indication that you can put
a port into the Host field, which I think is what's confusing people.
But before we switched to this system, we had a ton of support
requests where people were trying to use host:port syntax and not
understanding why it didn't work.
So, maybe the best bet would be the following:
- If a port is specified in the Host field, the "Display" field
becomes disabled and the word Display switches to the word "Port".
The disabled text is the port that was entered using the colon notation.
- If a number in the 59xx range is entered into the Display field, we
assume it's a port and update the UI accordingly (the port is shown
using the colon notation, the Display word becomes Host, and the text
field is disabled).
This, of course, would mean that you couldn't use ports in 108xx range.
Another idea - replace the word "Display" with a popup menu that
contains the words "Display" and "Port". This might be the best
plan, since the two are mutually exclusive.
On Nov 1, 2005, at 4:23 PM, Sean Kamath wrote:
> In the VNC mailing list, I just found out that using host::num forces
> VNC Viewer to use the number as a port, and that using host:num with
> num > 100 means it's a port as well. If I ever have a free moment,
> I'm going to see if I can add in the :: syntax (and maybe put some
> logic in the dialog box to say "port" or "display" based on how CotVNC
> parses it. Email me if this is stupid (I haven't had the best track
> record for good ideas in the last, oh, few years. . .)
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> cotvnc-devel mailing list