Skip to main content
I am running Universe 11.3.4 on RHEL 7.7 using AccuTerm 7.3a as my emulator. When I login normally my backspace works. I need to use root permission for some of my phantoms. At TCL prompt I will SH to Unix level then su to root then uv back to universe. My backspace key quits working.  I can manually fix it by running a PTERM command. Is there away to permanently fix this?

Jon Card
Combined Transport Inc
I am running Universe 11.3.4 on RHEL 7.7 using AccuTerm 7.3a as my emulator. When I login normally my backspace works. I need to use root permission for some of my phantoms. At TCL prompt I will SH to Unix level then su to root then uv back to universe. My backspace key quits working.  I can manually fix it by running a PTERM command. Is there away to permanently fix this?

Jon Card
Combined Transport Inc
Hi Jon,

I think that UniVerse is installed with it's own terminfo that might actually differ from what's native to Linux.  I know we've dealt with this before, and I think we were able to resolve it using uvtic.  Perhaps one of the Rocketeers can help out with details.  Or maybe you can search for uvtic and get something.

Tyrel Marak
I am running Universe 11.3.4 on RHEL 7.7 using AccuTerm 7.3a as my emulator. When I login normally my backspace works. I need to use root permission for some of my phantoms. At TCL prompt I will SH to Unix level then su to root then uv back to universe. My backspace key quits working.  I can manually fix it by running a PTERM command. Is there away to permanently fix this?

Jon Card
Combined Transport Inc

Jon,

You’re going to have 2 levels of complexity:

  1. You’re shelling out of UV, then opening another UV session.
  2. You’re su’ing to root.

The system and UV terminfo information is going to be based on this new environment – not the settings you initially had based on your initial login credentials.  They’re now going to be based on a combination of the root user (depending on whether you’re using “su” or “su –“ and which account is defined as the owner of the UV processes (root or some other user that may have been defined during installation).

As Tyrel mentions, you’re probably going to have to work with uvtic, but the most important thing will be making sure all of your environment variables (Unix and UV) are set properly for your new shelled-out environment.

 

Brian


I am running Universe 11.3.4 on RHEL 7.7 using AccuTerm 7.3a as my emulator. When I login normally my backspace works. I need to use root permission for some of my phantoms. At TCL prompt I will SH to Unix level then su to root then uv back to universe. My backspace key quits working.  I can manually fix it by running a PTERM command. Is there away to permanently fix this?

Jon Card
Combined Transport Inc
I'm not sure if this would be a terminfo situation. I'm  thinking that when you log in normally the backspace is set to the desired setting. But when you start a new shell with SH or when you su to root, the erase character is being set to a default. When you SH and/or su to root, can you run the 'stty -a' command and check the erase character setting? I'm not entirely sure how the default settings are configured and whether they can be changed without issuing the "stty -erase <char>' command.

Thanks,

Neil