Re: git: 24e1824e4646 - main - Deprecate telnet daemon

From: Mike Karels <mike_at_karels.net>
Date: Thu, 22 Sep 2022 12:44:57 UTC
On 22 Sep 2022, at 7:14, Gregory Byshenk wrote:

> On Wed, Sep 21, 2022 at 04:42:32PM -0500, Mike Karels wrote:
>
>> Ditto on the finger memory.  And I tried this:
>>
>> mike@backup$ nc mail 25
>> 220 mail.karels.net Service ready
>> helo backup.karels.net
>> 500 Command missing Carriage Return
>>
>> telnet also accepts a service name instead of a port number (part of the
>> finger memory).
>
> I understand the finger memory. Sometimes at $job I still type
> 'telnet' on machines that I know do not have a telnet client.
>
> But a 'nc -t <hostname> <port>' should solve the problem you
> show above. It does for me, in any case.

It does not; the result is the same.  The man page does not
say anything about newline handling with -t; not sure what
it is supposed to do.

I also note that nc doesn’t pass control characters like
^D and ^C.

Responding to an earlier message: telnet should remain in
base, not moved to a port.

		Mike
> -- 
> gregory byshenk  -  freebsd@byshenk.net  -  Leiden, NL