Sponsored Content
Full Discussion: Caps lock dtterm
Operating Systems HP-UX Caps lock dtterm Post 302301375 by jim mcnamara on Thursday 26th of March 2009 04:54:28 PM
Old 03-26-2009
What terminal emulation do you have set? vt100? XTERM?
Show the output of
Code:
echo $TERM

 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
QTERM(1)						      General Commands Manual							  QTERM(1)

NAME
qterm - Query Terminal SYNOPSIS
qterm [ +|-alt ] [ +|-always ] [ +|-longname ] [ +|-quiet ] [ +|-sent ] [ +|-timeout ] [ +|-usrtab ] [ +|-watch ] [ +|-systab ] [ -wait interval ] [ -file tabfile ] DESCRIPTION
Qterm is used to query a terminal to determine its name. This is done by sending a special sequence to the terminal, reading in a response, and comparing it against a table of possible responses. The ``name'' printed to standard output should be one found in the term- cap(5) (or terminfo(5) for System V systems) database. For csh(1) users, putting a line in your .login file such as: setenv TERM `qterm` should automagically set your terminal type. For sh(1) users, putting these lines in your .profile file should set your terminal type: TERM=`qterm` export TERM By default, qterm uses the system tab file /usr/local/lib/qtermtab to obtain information for querying terminals. OPTIONS
+alt Use the alternate string ``<ESCAPE>[c'' when asking the terminal to identify itself. This string is recognized by most ANSI compat- ible terminals. -alt Don't use the alternate string, but the string found in the tabfile being used. This is the default. +always Always send the terminal query string. Normally the query string is only sent if it differs from the last string sent. -always Only send the terminal query string if it differs from the last string sent. This is the default. -file tabfile Use <tabfile> to find information for querying the terminal. +longname Print only the long (verbose) terminal name. -longname Don't print the long (verbose) terminal name. This is the default. +quiet Be quiet and only print the terminal name to standard output. -quiet Don't be quiet and only print the terminal name to standard output. This is the default. +watch Watch the characters sent and recieved to the terminal. -watch Don't watch the characters sent and recieved to the terminal. This is the default. +timeout Wait for timeout when listening for response string. This is useful if the first entry in a qtermtab doesn't have a response string with an ending character that is common with the rest of the qtermtab entries. -timeout Disable waiting for timeout when listening for response string. This is the default. +usrtab Use $HOME/.qtermtab to find information for querying the terminal. -usrtab Don't use $HOME/.qtermtab to find information for querying the terminal. This is the default. +sent Display the final response sent from the terminal in a ``nice'' fashion. -sent Don't display the final response sent from the terminal. This is the default. +systab Use /usr/local/lib/qtermtab to find information for querying the terminal. This is the default -systab Don't use system tab file to find information for querying the terminal. -wait interval Set the wait (timeout) period to interval (in seconds). QTERMTAB
The format of the file $HOME/.qtermtab and qterm's system tab file /usr/local/lib/qtermtab, consists of four fields each seperated by white space (tabs and/or spaces). The first field is the string that should be used to query the terminal. The second field is the string to expect in response to the query. The third field is the terminal name (compatible with termcap(5)) to print to standard output. The fourth field is optional and may contain a description of the exact manufacturer and model name of the terminal to be used in a message printed to standard error. Blank lines or lines starting with the character ``#'' are ignored and may be used as comment lines. A character preceeded by a ``^'' is taken to mean the control character. (i.e. ``^['' is interpretted as an <ESCAPE>). Both the send and receive (first and second) fields may contain octal values preceeded by a `'. (i.e. <ESCAPE> can be represented by `33'.) The ``expect'' (second) field can be a regular expression denoted by a leading backslash (`'). i.e. "^[[123" matches the string "^[[123", whereas "^[[123]" matches "^[1" or "^[2" or "^[3". See ed(1) for regular expression information. Below is a sample file: # # QTerm File # ^[Z ^[[?1;1c vt100 A vt100 with STP ^[Z ^[[?1;2c vt100 ANSI/VT100 Clone ^[Z ^[[?1;3c vt100 A vt100 with AVO and STP ^[Z ^[[?1;4c vt100 A vt100 with GPO ^[Z ^[iBO z29 Zenith in Zenith Mode AUTHOR
Michael A. Cooper, University Computing Services, University of Southern California. FILES
/usr/local/lib/qtermtab - System table $HOME/.qtermtab - User's table /etc/termcap - termcap(5) database SEE ALSO
csh(1), ed(1), sh(1), termcap(5) DIAGNOSTICS
Terminal not recognized - defaults to dumb. QTerm did not receive a response from the terminal, or the response did not match any that qterm has stored internally. Use the +watch option to check to see which is the case. BUGS
Many terminals do not send a response at all. 6 November 1990 QTERM(1)
All times are GMT -4. The time now is 09:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy