1830624 Members
1960 Online
110015 Solutions
New Discussion

CDE Setup

 
Sanjay Tailor
Frequent Advisor

CDE Setup

Hello,
I run CDE on my 10.20 D-Box. This is a CDE newbie question. When I login as a user or root using CDE my history stack does not work and every time I open a terminal window does not recognize the Backspace key. I manually have to enter stty erase ^?, at each terminal window, for it to work. Also, when I use vi in CDE, the keybord arrow keys do not work. I have to use the h,j,k,l keys to move around. I have changed the .dtprofile to DTSOURCEPROFILE=TRUE.

How can I setup the history stack so I can use it in CDE and how and where can I specify that backspace is erase? How can I fix the vi problem?

Thanks for your help.
Sanjay.
8 REPLIES 8
Alex Glennie
Honored Contributor

Re: CDE Setup

Lets try this first ... run dtterm -ls & does the history work ?

If yes it's just a case that CDE's not sourcing your .profile : to fix permanently vi $HOME/.Xdefaults :
*loginShell : True
see man dtterm,xterm,hpterm for more info.

Then let us know what problems are left :)
Sanjay Tailor
Frequent Advisor

Re: CDE Setup

Hello,

Thank you for that. I had to create the .XDefaults file but now the history works.

It still does not have the backspace key mapped. I still have to do stty erase ^? to set it. How would I fix this?

Thank you,
Sanjay.
Alex Glennie
Honored Contributor

Re: CDE Setup

while you're creating an .Xdefaults file add :
*ttyModes: erase ^H intr ^C kill ^I start ^Q stop ^S swtch ^@ or make sure set in .profile ?
Sanjay Tailor
Frequent Advisor

Re: CDE Setup

Hello,

These variables are already set up in the .profile. Bu the backspace still does not work. I noticed that erase was ^H whereas when I press backspace in the terminal window it prints ^?. Does that make a difference?

Thanks,
Sanjay.
Alex Glennie
Honored Contributor

Re: CDE Setup

It would appear so .... is the problem apparent for all users and what clients ie hpterm,dtterm & xterm or just one or two of these ?

echo $TERM = ? and are you running CDE locally on the box or via some X emulation S/W ? What type of keyboard HIL or PS2 ? do you know if anyone been remapping keys using say xmodmap etc ... ?

Sanjay Tailor
Frequent Advisor

Re: CDE Setup

Hello,
I am running CDE using Reflection X emulations S/W. All, hpterm, xterm and dtterm have the same backspace key problem. Nobody had been remapping keys as far as I know. The root user, myself, is the only person using CDE.

Thanks,
Sanjay.
Alex Glennie
Honored Contributor

Re: CDE Setup

fire up Reflections X :

go to settings => keyboard => set backspace key sends delte &
keyboard = HP or generic

It's almst certainly ReflectionsX settings, unfortuantly working for HP I don't deal with this much, but if this works it must be worth 10 Pts ;)
Sanjay Tailor
Frequent Advisor

Re: CDE Setup

Hi,

No such luck!! It was already set at the settings you specified.

I will keep checking other parts of Reflections and the system.

Thank you,
Sanjay