Explanation for '%1' in Communicator Telnet Helper App

Alejandro Garza Gonzalez agarza at ci.mty.itesm.mx
Mon Jun 16 14:05:26 EDT 1997


What happens is, Netscape usually automatically appended the hostname to 
the commandline it sent to the helper App for telnet, like this:

   c:\winterm\winterm.exe library.org.whatever

when the helper app path (for telnet) was

   c:\winterm\winterm.exe

But since version 4.0 came out, it needs you to sepecifically tell 
Communicator where to 'insert' the address (or 'argument') to the telnet 
command. For ex., if you click on a telnet://this.place.org link, '%1' 
expands into 'this.place.org', so:

  c:\winterm\winterm.exe %1

in the 'Telnet helper app' entry would actually be converted into: 

  c:\winterm\winterm.exe this.place.org

at the moment you click on that link. This is handy, for example, if you 
need or want to add parameters to the helper app command. For example, if 
you wanted that helper app to do some other stuff with additional 
parameters, you would do it this way::

  c:\winterm\winterm.exe %1 /OptionToDoStuff /AnotherOption 

Etc. I hope this explains it =) By the way, this is reminiscent of Unix 
systems, i don't know why Communicator is so User-hostile in today's 
world of click-and-drag interfaces and 'multimedia'...

_ alejandro garza _________________ __ _ _  _    _
  ITESM Centro de Informacion-Biblioteca Monterrey
  agarza at campus.mty.itesm.mx
_ http://www-cib.mty.itesm.mx/ ____ __ _ _  _    _



More information about the Web4lib mailing list