Re: [Forum] linuxspil - og en laserprinter low-end

From: Martin Moller Pedersen <tusk@daimi.au.dk>
Date: Sat Mar 23 2002 - 11:06:51 CET

[Charset iso-8859-15 unsupported, skipping...]

Et login-script kunne f.x. vaere:

#!/usr/bin/perl -w

use IPC::Open2;

$program = "telnet 192.168.30.2 259";

open2(*README, *WRITEME, $program) or die "couldn't login";

print WRITEME "2078435s001\n"; # username
print WRITEME "xyzxyzxyz\n"; # password
print WRITEME "1\n";

while (<README>) {
  print;
}

close(WRITEME);
close(README);

-- 
Danske musikere tjener penge ved ulovlig softwarekopiering.
Received on Sat Mar 23 11:06:51 2002

This archive was generated by hypermail 2.1.8 : Tue Jul 19 2005 - 16:03:32 CEST