: Telnet.pm and Unix prompt
Chris,
--- "Vidal, Christopher, SOLCM" <[EMAIL PROTECTED]> wrote:
> Using the Telnet.pm mod, How do I put my unix prompt into the PROMPT
> scalar ?
>
> My unix profile prompt is :
>
> uid=`whoami`
> system=`hostname`
> PS1=$system
Chris,
--- "Vidal, Christopher, SOLCM" <[EMAIL PROTECTED]> wrote:
> Using the Telnet.pm mod, How do I put my unix prompt into the PROMPT
> scalar ?
>
> My unix profile prompt is :
>
> uid=`whoami`
> system=`hostname`
> PS1=$system" "$uid" "\\!:" "
>
> #! /opt/perl5/bin/perl
> require '/tools/m
Using the Telnet.pm mod, How do I put my unix prompt into the PROMPT scalar ?
My unix profile prompt is :
uid=`whoami`
system=`hostname`
PS1=$system" "$uid" "\\!:" "
#! /opt/perl5/bin/perl
require '/tools/mns/bin/Telnet.pm';
#
$username = "wannabperlguy" ;
$passwd = "needslotsahelp";
$t