Consultor Eletrônico



Kbase P75056: Cannot see hidden files on UNIX in character mode - modify protermcap entry
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/10/2010
Status: Verified

SYMPTOM(s):

Cannot see hidden files on UNIX in character mode when dumping tables via the data dictionary

Can't see Hidden tables from the Dump Table Contents screen on UNIX

Pressing F7 when dumping Table Contents doesn't show Hidden Tables

UNIX TERM environment variable is set to xterm
(echo $TERM displays xterm)

F7 key does not work using CRT Terminal Emulator

F7 key works fine in Netterm Emulator

FACT(s) (Environment):

UNIX
Progress 8.x
Progress 9.x

CAUSE:

Protermcap entry being used has a different key sequence being sent when the F7 key is being pressed.

FIX:

Change the Protermcap entry for RECALL (F7) to send the correct key sequence for the TERM environment variable you are using.

1. To determine the correct key sequence being sent at a UNIX prompt press
CTRL V. Now press the F7 key. The key sequence for CRTs xterm terminal emulation sends [[B as they key sequence.

2. Make a backup copy of the $DLC/protermcap file to ensure you can always get back to the original version if you corrupt the one you are changing.

cp $DLC/protermcap $DLC/orig.protermcap

3. Edit $DLC/protermcap and locate the xterm terminal definitions.

4. Change the RECALL (F7) definition:

from --> :RECALL(F7)=\E[18~:\
to --> :RECALL(F7)=\E[S:\

5. Save protermcap file.

Changes made will take effect next time you access the database via a procedure editor which was initiated after changes were made to the protermcap file.