From: Kelly Black <kelly.black@penguinpackets.com>
To: Linux Hams mailing list <linux-hams@vger.kernel.org>
Subject: Re: Running a PERL script from AX25D
Date: 14 Nov 2002 20:02:46 -0600 [thread overview]
Message-ID: <1037325766.26664.14.camel@edith> (raw)
In-Reply-To: <20021115012525.GA14427@enc.com.au>
On Thu, 2002-11-14 at 19:25, Craig Small wrote:
> On Fri, Nov 01, 2002 at 09:28:00PM +0000, pd wrote:
> > I am trying to run a PERL script as the "server" for some AX25 connections.
> > My PERL script works fine when I invoke it from the command line.
> >
> > In ax25d.conf I specifiy a bash script to be run as the session command.
> > Inside the bash script there is an 'echo' command, which I see when i connect.
> > Other commands in that script also work. But then it runs the PERL script and
> > everything just stalls.
>
> Sounds like a buffering problem to me. What's that command in perl
> again? $| or something.
>
> - Craig
I feel so stupid. Posting to Majordomo address, Ugh!
Anyway here is what I meant to send to the list, and not to the
subscription bot:
Sounds right. I have it as:
$| = 1;
(or any non-zero value)
This should unbuffer your script's output. Without this, your output to
STDOUT is buffered and only sent when a certain block size is reached,
or when the script exits with a less than full buffer.
Kelly Black
KB0GBJ
next prev parent reply other threads:[~2002-11-15 2:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 21:28 Running a PERL script from AX25D pd
2002-11-15 1:25 ` Craig Small
2002-11-15 2:02 ` Kelly Black [this message]
2002-11-14 22:48 ` pd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1037325766.26664.14.camel@edith \
--to=kelly.black@penguinpackets.com \
--cc=linux-hams@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.