Operating System - HP-UX
1833323 Members
2978 Online
110051 Solutions
New Discussion

Setting TERM in a perl script

 
SOLVED
Go to solution
ROSS HANSON
Regular Advisor

Setting TERM in a perl script

Does anyone know how to run this command:

export TERM=vt100

in a perl script? I have tried a million ways but cannot find the answer. What am I missing?

Thank you
Ross Hanson
2 REPLIES 2
Vincenzo Restuccia
Honored Contributor

Re: Setting TERM in a perl script

Edit a file with export TERM=vt100,chmod 755 file,in script perl ./file.
Christopher Caldwell
Honored Contributor
Solution

Re: Setting TERM in a perl script

$ENV{TERM} = 'vt100';