Stefan Monnier <[EMAIL PROTECTED]> wrote:
> > Windows to Solaris, within Emacs.  Since plink has a different command
> > line syntax than telnet (in particular, it requires a host argument),
> > I've defined my own Emacs command copied from M-x telnet to call "plink
> > -telnet HOST" (see below).
> 
> It won't answer your main question, but have you tried M-x rlogin to solve
> the arg-format problem?

I don't know why it works, since rlogin's doc string says

        (rlogin INPUT-ARGS &optional BUFFER)
        ...
        The variable `rlogin-explicit-args' is a list of arguments to give to
        the rlogin when starting.  They are added after any arguments given in
        INPUT-ARGS.

and plink says

        Usage: plink [options] [EMAIL PROTECTED] [command]

i.e. that plink's options have to precede the host, whereas rlogin passes
rlogin-explicit-args after it.  But it does work (meaning my commands are
properly highlited in the *rlogin-HOST* buffer and M-p inserts the previous
command at the proper point in the buffer):

(let ((rlogin-program "c:/Program Files/PuTTY 0.58/PLINK.EXE")
      (rlogin-explicit-args '("-telnet")))
  (rlogin "solaris.example.com"))

Thank!
-- 
Kevin



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to