Caps lock dtterm


 
Thread Tools Search this Thread
Operating Systems HP-UX Caps lock dtterm
# 1  
Old 03-25-2009
Question Caps lock dtterm

Hello,

We are having a problem with running dtterm off a RHEL server. Logging into an HP-UX server from a RHEL 5.1 desktop, setting DISPLAY and running dtterm, the caps lock does not work. We have been playing with xmodmap & stty but to no avail.

Any help appreciated.

mgb
# 2  
Old 03-26-2009
What terminal emulation do you have set? vt100? XTERM?
Show the output of
Code:
echo $TERM

# 3  
Old 03-27-2009
Hi Jim,

Thanks for your reply.

Code:
echo $TERM
dtterm

mgb
# 4  
Old 03-31-2009
Question

We believe this is an X Server issue. We have been playing with xmodmap, here is the xmodmap on the HP side:

$ xmodmap
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):

shift Shift_R (0xd), Shift_L (0x18)
lock Caps_Lock (0x1c)
control Control_R (0xe), Control_L (0x19)
mod1 Alt_R (0xf), Alt_L (0x12)
mod2
mod3
mod4
mod5

Here is the xmodmap on the Red Hat side:
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Caps_Lock (0x42), Control_R (0x6d), Control_L (0x25)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)

We can change the Caps_Lock to another key or swap it but the problem is having it work on the Caps Lock key. We have tried changing the keycode for lock to the keycode on the HP but that does not work.Smilie

Please help.

Thanks,

mgb
# 5  
Old 03-31-2009
Quote:
Originally Posted by mgb
We believe this is an X Server issue.
Yes indeed, and who is the Xserver in this case?

What makes you think its th HP side that is causing the issue? dtterm is native in HP..., not in RH...
# 6  
Old 03-31-2009
Thanks for your reply. The X Server is running on a RHEL 5.3 box. We are exporting DISPLAY back to it from an HP-UX 11i server and running dtterm from there. The Caps Lock and Num Lock Keys cease to function.
# 7  
Old 03-31-2009
To be more specific about the problem, we are logged into a RHEL 5.3 desktop and then login to an HP-UX 11i system and after setting the DISPLAY variable to the RHEL desktop run the dtterm command. Hitting the Caps Lock key, lights the Caps Lock LED but typing does not produce upper case as expected. The Num Lock LED is lit and the keypad works but un-setting the Num Lock, LED goes out but number pad is still active. Strange behavior. Smilie

Thanks,

mgb

PS. This ONLY happens with dtterm. xterm works ok.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Generate all possible word with caps and no caps

With use of sed/awk, how can I print all possible combinations of a word with caps/non-caps. Eg Applying operation on "cap" should generate output as follows. cap CAP Cap cAp caP CAp cAP CaP (12 Replies)
Discussion started by: anil510
12 Replies

2. UNIX for Dummies Questions & Answers

Caps lock problem

hi all this s quite a foolish problem. I seem to hav pressed some keys s.t in unix, my letters are comin in caps and with caps lock on, i am getting lowercase letters. :o Pls help. Also is there any reference or manual where i can check in case such problems arrise? thanx in advance curiosity (4 Replies)
Discussion started by: curiosity
4 Replies

3. UNIX for Advanced & Expert Users

Testing privileges -lock lockfile /var/lock/subsys/..- Permission denied

Hi all, I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...). I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message. Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies

4. Shell Programming and Scripting

sh: Detect key (CTRL/SHIFT/CAPS LOCK) state?

I'm trying to write a shell script that runs periodically and if I'm not at the keyboard, it should do one thing, but if I am at the keyboard, it should do another thing. Therefore I've decided that it would be good if I could press down the CTRL key, (or some other key) and have the shell script... (8 Replies)
Discussion started by: Ilja
8 Replies

5. Red Hat

Security Question: Lock after invalid login, Session Lock and Required Minimum Password Length

Hello all, If anyone has time, I have a few questions: How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too. 1. How to lock the account after a few (like 3) invalid password attempts? 2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies

6. UNIX for Advanced & Expert Users

Set Caps and Num lock from within X?

Hello, Not sure if this is the right place to post it but.. I have a requirement to set Caps lock and/or Num lock on and off via a Cron job. Now I have working scripts that do the job, but as soon as X starts up the jobs no longer run (well they appear to, but Caps lock and Num lock do not... (0 Replies)
Discussion started by: autotuner
0 Replies

7. Red Hat

Caps lock dtterm

Hello, We are having a problem with running dtterm off a RHEL server. Logging into an HP-UX server from a RHEL 5.1 desktop, setting DISPLAY and running dtterm, the caps lock does not work. We have been playing with xmodmap & stty but to no avail. Any help appreciated. mgb (1 Reply)
Discussion started by: mgb
1 Replies

8. UNIX for Dummies Questions & Answers

activating ./dtterm

Working of a Aix 4.3 (using ksh) Have started dtlogin daemon . < root 26376 1 0 14:07:19 - 0:08 ./dtlogin -daemon > Have set dtconfig -e < The CDE environment is Already set as the default User Interface. > Have executed " export DISPLAY=10.1.187.86:0.0 Once all this is... (4 Replies)
Discussion started by: buRst
4 Replies

9. UNIX for Dummies Questions & Answers

protect dtterm

we have an hp-ux and a user requested me if i can password protect the dtterm. i know that this is possible but can you give me some hints in making this happen? thanks :cool: (2 Replies)
Discussion started by: inquirer
2 Replies
Login or Register to Ask a Question