• [Feature request] Support URI format in command-line

    From silverkorn@gmail.com@21:1/5 to All on Wed Mar 29 13:40:01 2017
    Greetings,

    Actually this is mainly to be able to map the protocol ssh://* directly to PuTTY. (see https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx)

    Unfortunately, it doesn't work since PuTTY allow only the hostname or IP address and there's no concrete way to parse the parameter in "shell->open->command" from the classes registries.

    Adding this feature would also allow the auto-recognition of the used protocol.

    *Notice that this works only for telnet and not for other protocols.

    Is it something that might be done in a future release?
    Thank you!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kaz Kylheku@21:1/5 to silverkorn@gmail.com on Wed Mar 29 23:27:43 2017
    On 2017-03-29, silverkorn@gmail.com <silverkorn@gmail.com> wrote:
    Greetings,

    Actually this is mainly to be able to map the protocol ssh://* directly to PuTTY. (see https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx)

    Unfortunately, it doesn't work since PuTTY allow only the hostname or IP address and there's no concrete way to parse the parameter in "shell->open->command" from the classes registries.

    Can't you use a wrapper program? Maybe a batch file can be used:

    "C:\path\to\my\putty.bat" "%1"

    where putty.bat strips away the ssh:// prefix and passes the remainder
    to PuTTY.exe.

    If it can't be a bat, make an executable.

    Maybe more than one argument is possible here, so the executable can be generic:

    "C:\path\to\my\url-util.exe" "%1" "C:\path\to\PuTTY.exe" "%p"

    (Here, our url-util.exe supports %p for interpolating the path part of
    the URL, without the proto://)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard@21:1/5 to All on Wed Mar 29 22:21:44 2017
    [Please do not mail me a copy of your followup]

    Why do you think this is a support forum for putty where you can
    request features?
    --
    "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
    The Terminals Wiki <http://terminals-wiki.org>
    The Computer Graphics Museum <http://computergraphicsmuseum.org>
    Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From silverkorn@gmail.com@21:1/5 to Richard on Thu Mar 30 06:38:20 2017
    On Wednesday, 29 March 2017 18:21:44 UTC-4, Richard wrote:
    [Please do not mail me a copy of your followup]

    Why do you think this is a support forum for putty where you can
    request features?
    --
    "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
    The Terminals Wiki <http://terminals-wiki.org>
    The Computer Graphics Museum <http://computergraphicsmuseum.org>
    Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

    Because after searching for a while, it's the only place that could match as a good place for feature request, unless anyone can redirect me to a more appropriate place, I would be thankful!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From silverkorn@gmail.com@21:1/5 to Kaz Kylheku on Thu Mar 30 06:43:45 2017
    On Wednesday, 29 March 2017 19:27:46 UTC-4, Kaz Kylheku wrote:
    On 2017-03-29, silverkorn@gmail.com <silverkorn@gmail.com> wrote:
    Greetings,

    Actually this is mainly to be able to map the protocol ssh://* directly to PuTTY. (see https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx)

    Unfortunately, it doesn't work since PuTTY allow only the hostname or IP address and there's no concrete way to parse the parameter in "shell->open->command" from the classes registries.

    Can't you use a wrapper program? Maybe a batch file can be used:

    "C:\path\to\my\putty.bat" "%1"

    where putty.bat strips away the ssh:// prefix and passes the remainder
    to PuTTY.exe.

    If it can't be a bat, make an executable.

    Maybe more than one argument is possible here, so the executable can be generic:

    "C:\path\to\my\url-util.exe" "%1" "C:\path\to\PuTTY.exe" "%p"

    (Here, our url-util.exe supports %p for interpolating the path part of
    the URL, without the proto://)

    I already thought about this but it would be more adequate to have it integrated in the PuTTY application. I feel it to be a little clumsy to not be flexible with protocols and only support this prefixing with telnet.
    But thanks a lot for the suggestion, it's well appreciated!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Scott Dorsey@21:1/5 to silverkorn@gmail.com on Thu Mar 30 17:08:58 2017
    <silverkorn@gmail.com> wrote:
    On Wednesday, 29 March 2017 18:21:44 UTC-4, Richard wrote:
    [Please do not mail me a copy of your followup]

    Why do you think this is a support forum for putty where you can
    request features?
    --
    "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> >> The Terminals Wiki <http://terminals-wiki.org>
    The Computer Graphics Museum <http://computergraphicsmuseum.org>
    Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

    Because after searching for a while, it's the only place that could match as a good place for feature request, unless anyone can redirect me to a more appropriate place, I would be thankful!

    Why not send an email to the guy that wrote the thing?
    --scott
    --
    "C'est un Nagra. C'est suisse, et tres, tres precis."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard@21:1/5 to All on Thu Mar 30 23:18:42 2017
    [Please do not mail me a copy of your followup]

    silverkorn@gmail.com spake the secret code <9419ee43-c029-4e72-ae7a-55f6c512b6e6@googlegroups.com> thusly:

    On Wednesday, 29 March 2017 18:21:44 UTC-4, Richard wrote:
    Why do you think this is a support forum for putty where you can
    request features?

    Because after searching for a while, it's the only place that could
    match as a good place for feature request, unless anyone can redirect me
    to a more appropriate place, I would be thankful!

    First of all, *any* post about putty here is off-topic.

    This isn't a newsgroup for putty or for SSH programs. It is a newsgroup
    for terminals. It is regularly inundated with people talking about
    putty in the wrong place which makes people think this is some sort
    of newsgroup for putty or other SSH programs, but it isn't.

    Second, I don't know what constitutes "searching for a while", but all
    it takes is a couple mouse clicks in putty itself to find the right
    place to ask for a feature request.

    1. Run putty
    2. Click About
    3. Click View Web Site
    4. The first sentence on that page reads:

    "PuTTY is a free implementation of SSH and Telnet for Windows and
    Unix platforms, along with an xterm terminal emulator. It is
    written and maintained primarily by Simon Tatham."

    Where the authors name is a link to his home page with his email
    address.

    So it doesn't seem like you tried very hard.
    --
    "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
    The Terminals Wiki <http://terminals-wiki.org>
    The Computer Graphics Museum <http://computergraphicsmuseum.org>
    Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kaz Kylheku@21:1/5 to Richard on Fri Mar 31 01:05:48 2017
    On 2017-03-30, Richard <legalize+jeeves@mail.xmission.com> wrote:
    "PuTTY is a free implementation of SSH and Telnet for Windows and
    Unix platforms, along with an xterm terminal emulator. It is
    written and maintained primarily by Simon Tatham."

    The "xterm terminal emulator" part of PuTTY is quite topical here.

    (Of course, how or whether PuTTY handles a ssh:// URL isn't related to
    that area of functionality.)

    I don't agree with almost any statement beginning with "this newsgroup
    is inundated", since it obviously isn't.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adam H. Kerman@21:1/5 to Richard on Mon Apr 3 05:28:48 2017
    Richard <legalize+jeeves@mail.xmission.com> wrote:

    . . . This isn't a newsgroup for putty or for SSH programs. It is a >newsgroup for terminals. It is regularly inundated with people talking
    about putty in the wrong place which makes people think this is some
    sort of newsgroup for putty or other SSH programs, but it isn't.

    . . .

    I haven't seen a thread started in this newsgroup about much of anything
    of late. The last thread that was started here was January 26, 2017.

    I think you need a new dictionary if that's what you think "inundated"
    means. Anyway, if you wish to see terminal discussion, start some.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)