× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Roberto,

Am 04.02.2022 um 23:54 schrieb Roberto De Pedrini <roberto.faq400@xxxxxxxxx>:

I try to test a command that allows me to exchange messages between STDIN
and STDOUT: the command "cat" ... which, if launched alone, leaves an
active session that repeats, like a parrot, everything I write in the STDIN.

That's how "cat" works. It just connects stdin to stdout, thus returning every byte you send.

My RPG program freezes when it tries to read from STDOUT

I don't know enough about PASE to know which parts of it are ASCII, and which are EBCDIC. Could this be an issue? You might test to cat an existing file, or write into a file with cat to debug further.

Has anyone tried to do something similar?

In a way, but not over ssh, with the Linux side as client, in C, and especially not in PASE.

See https://github.com/PoC-dev/asterisk-translate-clid for my simple UDP server. Including translation of EBCDIC to ASCII and back.

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.