The Perl module Term::Screen has a method for inserting a character and deleting a character. Both of these methods have an accompanying method to check if the interface allows for such actions [ic_exists() and dc_exists()]. I’m running this script through a ssh session and the ic_exists and dc_exists are returning 0, not available. What do I need to do to enable the insert character and delete character for this module?
The Perl module Term::Screen has a method for inserting a character and deleting a
Share
Make sure that the
TERMin your ssh environment is set to something that supports those functions (and is compatible with your terminal).Try adding
to your script to see what terminal it thinks it’s talking to.