On Thu, 27 Nov 1997, Lucio Chiappetti (me) wrote:
> I'm looking for an equivalent of SunOS command "mconnect" under Digital Unix
> mconnect -p port hostname does the equivalent of "telnet hostname port" (a
> telnet on a non-standard port) but allows to input commands also via a file.
I received two responses and found myself the source for mconnect.
The two responses were :
- Paul Grant :
rsh provide a similiar command
[???]
- Matt Power :
You can use nc from the netcat package to do this. The syntax is
nc hostname port
netcat is available at
ftp://coast.cs.purdue.edu/pub/tools/unix/netcat/nc110.tgz
While I found the source for mconnect (a plain C program) via ARCHIE on
Host ftp.iis.sinica.edu.tw In Directory /pub/mail/sendmail/aux File
mconnect.c.Z, compiled it and does what I want.
I was puzzled in my first ARCHIE searches by the fact I found a lot of
references to a Macintosh software and none for Unix. There were references
to a "mconnect.txt" file containing the man page for mconnect in some sites,
but no source or executables. Apparently not all archie servers mantain the
same info. The one at Internic provided the clue.
----------------------------------------------------------------------------
Lucio Chiappetti - IFCTR/CNR - via Bassini 15 - I-20133 Milano (Italy)
----------------------------------------------------------------------------
Fuscim donca de Miragn E tornem a sta scio' in Bregn
Che i fachign e i cortesagn Magl' insema no stagn begn
Drizza la', compa' Tapogn (Rabisch, II 41, 96-99)
----------------------------------------------------------------------------
For more info :
http://www.ifctr.mi.cnr.it/~lucio/personal.html
----------------------------------------------------------------------------
Received on Thu Nov 27 1997 - 18:52:34 NZDT