in reply to Re: Parsing /etc/remote
in thread Parsing /etc/remote
use strict; use warnings; use English; use Term::Cap; my $PortName = 'MyPort'; if (scalar(@ARGV)) { $PortName = $ARGV[0]; } $ENV{TERMPATH} = '/etc/remote'; my $terminal = Tgetent Term::Cap { TERM => $PortName, OSPEED => 9600}; print $terminal->Tgoto('dv', "", "",);
So, when called with MyPort parameter, it gives me /dev/term/b as expected. However, when called with MyAlias parameter, it does not return anything (but no errors either). What am I missing?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Parsing /etc/remote
by serf (Chaplain) on Nov 29, 2005 at 15:49 UTC | |
by gri6507 (Deacon) on Nov 29, 2005 at 16:00 UTC | |
by serf (Chaplain) on Nov 29, 2005 at 16:12 UTC |