[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enhancement to M-x telnet
From: |
Andreas Schwab |
Subject: |
Re: enhancement to M-x telnet |
Date: |
Thu, 15 Apr 2004 17:45:22 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
> I frequently use telnet to check connections to other hosts, and as such I
> need
> to specify an alternative port number to connect to.
>
> The following patch allows you to append the port number to the hostname,
> e.g.
> M-x telnet RET gnu.org:80 RET
>
> An alternative interface would be to specify the port number as a numeric
> prefix arg, but that seems rather obscure IMO.
How about letting it read the port interactively when called with a prefix
arg? Or maybe C-u to read interactively, other numeric prefixes specify
the port directly. This would allow implementing completion on port
names.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."