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?