Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I have something funky going on with the controlling terminal

0 views
Skip to first unread message

grocery_stocker

unread,
Aug 4, 2008, 10:14:10 PM8/4/08
to
I was trying to write an auto responder on a local BBS. However, when
I have perl send the BBS respond command to the BBS, I get "Input not
a tty". I'm assuming this is because of the BBS text editor that sits
on top of the BBS or what not.

m-net% more post.pl
#!/usr/bin/perl

use strict;
use warnings;

open my $out, '|-', 'bbs'
or die "cannot open pipe to bbs: $!";

print $out "read 18\n";
print $out "respond\n"; #the respond command
close $out
or die "cannot close pipe to bbs: $!";
m-net% ./post.pl
YAPP 3.1.1 Copyright (c)1995 Armidale Software
Registered to: Arbornet

Welcome to the
August General Conference


Fairwitness: jerryr

7 newresponse items and 12 brandnew items
First item 1, last 29

Item 18 entered Sat, Aug 2, 2008 (11:30) by no (cdalten)
rapunzel has a larger schlong than Chuck Martin

I'm just saying.

4 responses total.

#1 mickey deee (mickeyd) Sat, Aug 2, 2008 (11:45):
And who would know better than Chad who has a bigger schlong :)
Chucky says 'hi'

#2 lar (lar) Sat, Aug 2, 2008 (22:42):
He says "come back over to grex where I can pwn you again"

#3 Short but Funky (furs) Sun, Aug 3, 2008 (13:09):
re 1
no, he know's how big Chuck Martin's dick is because it's constantly
in
his ass.

#4 Sarah (rapunzel) Mon, Aug 4, 2008 (11:05):
which one is chuck martin again?
go me and my schlong!
gate: Input not a tty
Response aborted! Returning to current item.
Stopping.

Now leaving August General...
m-net%

I was thinking that maybe I could somehow redirect something to /dev/
tty. Ideas?

0 new messages