× 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.

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
[ Picked text/plain from multipart/alternative ]

> has no concept of a TTY devoce and I am not sure how to code.
> If I can get over this small hurdle, I will make it available.

You can ignore isatty(). Basically it's checking that the process that is
running is not headless - i.e. that when this process writes to STDOUT or
reads from STDIN that there is a console to do this to.

In this code, it writes the message to the screen if the process is not
headless otherwise it discards the message.

For the /400, you can do one of two things;

1. Comment out the checks for isatty() and the output will go to the screen
if the process is ran interactively, or to a spoolfile if the process is run
in batch.

2. Implement isatty() that will return 1 if the process is running *INT
otherwise 0

Hope this helps,


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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

This mailing list archive is Copyright 1997-2023 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.