Andreas Janssen wrote:Jacco Hoeve (<[EMAIL PROTECTED]>) wrote:One more quick question:
I am used to typing "telnet 0 port" .. but after I upgraded woody to sarge "telnet 0" gives:
server01:/etc# telnet 0 25 telnet: could not resolve 0/25: Name or service not known
It does the same in woody.
Use the full IP address or name of the host you want to connect to.
I know that's the way ..but why doesn't 0 work? It's a RFC guideline thing.. just like "ping 0".
Please cite the RFC that specifies this. So far as I know, the only standard way to write IPv4 addresses is as a dotted quad. The formats that use 1 to 3 parts are Berkeley-isms. POSIX requires inet_addr to support them, but it doesn't specify the telnet command.
Ben.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]