Re: Telnet not in netutils
> On 30 May 2021, at 4:09 pm, Christoph Kukulies wrote: > > No, of course I didn’t read the port notes since I don’t know where one can > find them after having done a > port install. You don’t have to find them. They are printed for you when you install the port, you just have to pay attention and read them > sudo port install inetutils ---> Computing dependencies for inetutils ---> Fetching archive for inetutils ---> Attempting to fetch inetutils-2.0_0+client.darwin_20.x86_64.tbz2 from https://packages.macports.org/inetutils ---> Attempting to fetch inetutils-2.0_0+client.darwin_20.x86_64.tbz2.rmd160 from https://packages.macports.org/inetutils ---> Installing inetutils @2.0_0+client ---> Activating inetutils @2.0_0+client ---> Cleaning inetutils ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. ---> Some of the ports you installed have notes: inetutils has the following notes: All clients are now installed with the "g” prefix > Why did they do that (prefixing the utils with a „g“). Is it now a GNU thing? Its an explicit choice made in the port, to distinguish the GNU versions of these utils from the BSD one that come with the OS. Chris > > Yes, I know that it is insecure and what not, but for local connections like > talking to a port of a local process it’s just fine :) > > And I also recalled how to quit the telnet session (on the Mac keyboard): > CTRL-ALT-] > (^]) :) > > > >> Am 27.05.2021 um 22:04 schrieb Christopher Jones : >> >> Hi, >> >> I guess you didn’t read/notice the port notes when you installed inetutils ? >> >> inetutils has the following notes: >> All clients are now installed with the "g" prefix. >> >> Oberon ~/Projects/MacPorts/ports > sudo port contents inetutils | grep telnet >> /opt/local/bin/gtelnet >> /opt/local/share/man/man1/gtelnet.1.gz >> >> Chris >> ] >>> On 27 May 2021, at 8:57 pm, Christoph Kukulies wrote: >>> >>> I’m trying to get a telnet installed under macOS 11.3.1. Didn’t have it >>> installed before and some reading says it ought to be in netutils, >>> but it ain’t. >>> >>> Any clues? >>> >>> — >>> Christoph >>> >> > smime.p7s Description: S/MIME cryptographic signature
Re: Telnet not in Inetutils
Christoph Kukulies wrote: > No, of course I didn’t read the port notes since I don’t know where one can > find them after having done a > port install. You can simply do : #=> port notes Inetutils ---> inetutils has the following notes: All clients are now installed with the "g" prefix. If you want to see which binaries a port has installed, you can do : #=> port contents gsed | fgrep '/bin/' /opt/local/bin/gsed > Why did they do that (prefixing the utils with a „g“). Is it now a GNU thing? Because there're differences between the BSD versions & the Linux versions. (slightly off-topic) Eg BDS sed can't handle newlines in substitute strings which Linux sed (gsed) can : https://stackoverflow.com/questions/1251999/how-can-i-replace-a-newline-n-using-sed https://www.linuxquestions.org/questions/linux-software-2/sed-insert-a-newline-why-does-not-it-work-158806/ Eg whsn I'm monitoring my postfix log, I'm doing this: #=> cat ./showLog tail -40f mail.log \ | gsed -E -e 's/((:|;|,|>)) /\1\n\t/g' in order to get a more readable output -- Bjarne D Mathiesen Korsør ; Danmark ; Europa --- denne besked er skrevet i et totalt M$-frit miljø OpenCore + macOS 10.15.7 Catalina MacPro 2010 ; 2 x 3,46 GHz 6-Core Intel Xeon ; 256 GB 1333 MHz DDR3 ECC ATI Radeon RX 590 8 GB
Re: Telnet not in netutils
No, of course I didn’t read the port notes since I don’t know where one can find them after having done a port install. Why did they do that (prefixing the utils with a „g“). Is it now a GNU thing? Yes, I know that it is insecure and what not, but for local connections like talking to a port of a local process it’s just fine :) And I also recalled how to quit the telnet session (on the Mac keyboard): CTRL-ALT-] (^]) :) > Am 27.05.2021 um 22:04 schrieb Christopher Jones : > > Hi, > > I guess you didn’t read/notice the port notes when you installed inetutils ? > > inetutils has the following notes: >All clients are now installed with the "g" prefix. > > Oberon ~/Projects/MacPorts/ports > sudo port contents inetutils | grep telnet > /opt/local/bin/gtelnet > /opt/local/share/man/man1/gtelnet.1.gz > > Chris > ] >> On 27 May 2021, at 8:57 pm, Christoph Kukulies wrote: >> >> I’m trying to get a telnet installed under macOS 11.3.1. Didn’t have it >> installed before and some reading says it ought to be in netutils, >> but it ain’t. >> >> Any clues? >> >> — >> Christoph >> > smime.p7s Description: S/MIME cryptographic signature