From: pd <pdickson@att.net>
To: linux-hams@vger.kernel.org
Subject: Running a PERL script from AX25D
Date: Fri, 1 Nov 2002 21:28:00 +0000 [thread overview]
Message-ID: <200211012128.00330.pdickson@att.net> (raw)
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.
Here is the bash script:
#!/bin/bash
echo 'wait...'
HOME=/home/bbs
echo 'HOME set'
cd /home/bbs
pwd
perl t.pl
and here is the PERL script:
#!/usr/bin/perl
print "Hi\n";
print "Enter a number\n";
$buf = <STDIN>;
$n = $buf * 2;
print "Twice that is $n\n";
print "bye!\n";
Any suggestions?
KB1EHD
next reply other threads:[~2002-11-01 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 21:28 pd [this message]
2002-11-15 1:25 ` Running a PERL script from AX25D Craig Small
2002-11-15 2:02 ` Kelly Black
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=200211012128.00330.pdickson@att.net \
--to=pdickson@att.net \
--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.