From: Will <schimpanski@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs and Telnet
Date: Sun, 18 Nov 2007 22:17:41 +0100 [thread overview]
Message-ID: <5qboflFv6n3bU1@mid.individual.net> (raw)
In-Reply-To: <86wssgdycs.fsf@timbral.net>
Hi,
thanks for the replies so far. My question remains:
How can I connect via telnet/ftp to a remote server via Emacs?
I'd like to use the commands
M-x telnet and C-x C-f /<user>@<server>:/ .
Sofar I have tried out:
--------------------------------------------------
1) Telnet: GNU Emacs/W32
;; .emacs
(require 'telnet)
(setq-default telnet-program "puttytel")
;; Interactive
M-x telnet RET <SERVERNAME> RET
=> starts Putty as an external program, not as as subprocess within
Emacs, that's not what I want
--------------------------------------------------
2) Telnet: GNU Emacs/W32
;; .emacs
(require 'telnet)
(setq-default telnet-program "telnet")
;; interactive
M-x telnet RET <SERVERNAME> RET
=> Buffer *telnet-<Servername>*
Process telnet-mimir _exited abnormally_ with code 255
=> Buffer *Messages*
if: Process telnet-<Servername> not running
--------------------------------------------------
3) Telnet: cygwin-shell/cmd-shell in Emacs
> telnet <server>
=> login successful!
> ssh <server>
=> login failed!
Pseudo-terminal will not be allocated because stdin is not a terminal.
--------------------------------------------------
(4) Telnet: Cygwin-shell/CMD shell external (not in Emacs)
=> telnet and ssh login are successful!
--------------------------------------------------
5) FTP: Connecting via FTP with Emacs
;; Interactive
M-x /<user>@<server>:/
=> Buffer *Messages*
Loading tramp...done
Opening FTP connection to <server>...done
Logging in as user <user>@<server>...done
Getting PWD...done
Doing CD...done
Listing /<user>@<server>:/...
=> gets stalled...
--------------------------------------------------
6) FTP: Cygwin/CMD shell in Emacs
=> Login possible, but gets stalled when entering commands (e.g. ls)
--------------------------------------------------
7) FTP: Cygwin/CMD shell external (not in Emacs)
=> login successful, no problems when using commands (e.g. ls)
--------------------------------------------------
Sorry, for this long email.
Best, Will
next prev parent reply other threads:[~2007-11-18 21:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-09 12:58 Emacs and Telnet Will
2007-11-09 14:00 ` Eli Zaretskii
2007-11-09 14:02 ` Peter Dyballa
2007-11-09 15:13 ` Sebastian Tennant
2007-11-09 15:22 ` Peter Dyballa
2007-11-09 16:08 ` Sebastian Tennant
[not found] ` <mailman.3178.1194616876.18990.help-gnu-emacs@gnu.org>
2007-11-17 1:55 ` thorne
2007-11-17 9:24 ` Eli Zaretskii
[not found] ` <mailman.3705.1195291493.18990.help-gnu-emacs@gnu.org>
2007-11-18 3:30 ` thorne
2007-11-18 21:17 ` Will [this message]
2007-11-19 9:27 ` Bernardo Bacic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5qboflFv6n3bU1@mid.individual.net \
--to=schimpanski@gmx.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).