Sponsored Content
Full Discussion: Autorepeat in terminal
Operating Systems HP-UX Autorepeat in terminal Post 302647881 by chesti on Tuesday 29th of May 2012 03:54:29 AM
Old 05-29-2012
Peasant: you don`t understand my problem. Problem is that on hpux on my zx6000 workstation i don` have autorepeat when any of keyboard keys is presed longer.

In CDE is just the same. But it is ok when i login remote by putty. I think that will be some terminal option/variable/setting that is wrong.

I have zx6000 in typical workstation i`s in that future-look tower box, with low noise fans to office use. It was used as some CAD/CAM/CAE box before in one of airplane company. It has best graphic card aviable in this model - ATI Fire GL X1-256p.

I try to check what you send to me. I`ll write about what i`ve done.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies

2. UNIX for Dummies Questions & Answers

terminal

Hi there, Does anyone know what exactly is the different between a terminal and a console ? My understanding is a console is normally a local session while a terminal can be a remote as well. What do you think guys? Thanks (1 Reply)
Discussion started by: guest100
1 Replies

3. AIX

Terminal

People, what util can help me as a terminal for COM connection with a Zyxel modem so that I can connect to another server (p630) with the same modem through a dedicated line??? And also does anybody know where can I put a question about Storage Area Networking?? I am having problems with setting... (5 Replies)
Discussion started by: dilshik
5 Replies

4. HP-UX

HP UX Terminal Help

HI All Which is the best terminal Emulator at present -- xterm , dtterm or ....what I mean in terms of appearance n features .. I am presently using xterm ....but it has a bad n unattractive scroll bar . Moreover my version is old n does'nt even display the colours i have set in my... (0 Replies)
Discussion started by: gpta_varun
0 Replies

5. UNIX for Advanced & Expert Users

Pseudo-terminal will not be allocated because stdin is not a terminal.

I am trying to automate a SSH login using Keys using the following command ssh -i id_rsa usernamw@ipaddr. I am successful in doing this and i am getting the Warning Screen and I logon successfully. but when I am executing the command tail -1cf put.dat | ssh -i id_rsa username@ipaddr > get.dat ... (1 Reply)
Discussion started by: Shivdatta
1 Replies

6. UNIX for Dummies Questions & Answers

Gnuplot wxt terminal vs x11 terminal

Hi, I installed ubuntu recently on my pc. And I installed gnuplot as well. When I first started working with gnuplot it was working . I did a plot and when I wanted to fit my data something happened and not the default terminal of gnuplot is xwt! I changed it to: set terminal x11, but it... (0 Replies)
Discussion started by: cosmologist
0 Replies

7. UNIX for Dummies Questions & Answers

Does DOS has a terminal or pseudo terminal?

I am wondering if the DOS console works like the unix terminal? (1 Reply)
Discussion started by: vistastar
1 Replies

8. UNIX for Dummies Questions & Answers

A terminal controlling a terminal...

Hi all... Consider me a dummy here... I do not want any code or for anyone to show me how to do it at this time, but here is the question:- I have had this brainstorm to be able to control the AudioScope.sh program in the "Shell Scripting And Programming" forum... Is it possible, by... (4 Replies)
Discussion started by: wisecracker
4 Replies

9. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

10. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
kbd(1)                                                             User Commands                                                            kbd(1)

NAME
kbd - manipulate the state of keyboard, or display the type of keyboard, or change the default keyboard abort sequence effect SYNOPSIS
kbd [-r] [-t ] [-l] [-a enable | disable | alternate] [-c on | off] [-d keyboard device] [-D autorepeat delay] [-R autorepeat rate] kbd [-i] [-d keyboard device] DESCRIPTION
The kbd utility manipulates the state of the keyboard, or displays the keyboard type, or allows the default keyboard abort sequence effect to be changed. The abort sequence also applies to serial console devices. The kbd utility sets the /dev/kbd default keyboard device. EXTENDED DESCRIPTION
The -i option reads and processes default values for the keyclick and keyboard abort settings from the /etc/default/kbd keyboard default file. Only keyboards that support a clicker respond to the -c option. To turn clicking on by default, add or change the value of the KEYCLICK variable in the /etc/default/kbd file to: KEYCLICK=on Next, run the command kbd -i to change the setting. Valid settings for the KEYCLICK variable are on and off; all other values are ignored. If the KEYCLICK variable is not specified in the default file, the setting is unchanged. The keyboard abort sequence effect (<L1-A> or <Stop-A> on the keyboard, and <BREAK> on the serial console input device on most systems) can only be changed by a super-user using the -a option. The system can be configured to ignore the keyboard abort sequence or trigger on the standard or alternate sequence. A BREAK condition that originates from an erroneous electrical signal cannot be distinguished from one deliberately sent by remote DCE. As a remedy, use the -a option with Alternate Break to switch break interpretation. Due to the risk of incorrect sequence interpretation, binary protocols such as SLIP and others should not be run over the serial console port when Alternate Break sequence is in effect. Although PPP is a binary protocol, it has the ability to avoid using characters that interfere with serial operation. The default alternate break sequence is <CTRL-m> ~ <CTRL-b>, or 0D 7E 02 in hexidecimal. In PPP, this can be avoided by setting either 0x00000004 or 0x00002000 in the ACCM. This forces an escape for the <CTRL-b> or <CTRL-m> characters, respectively. To do this in Solaris PPP 4.0, add: asyncmap 0x00002000 to the /etc/ppp/options file or any of the other configuration files used for the connection. See pppd(1M). SLIP has no comparable capability, and must not be used if the Alternate Break sequence is in use. The Alternate Break sequence has no effect on the keyboard abort. For more information on the Alternate Break sequence, see zs(7D) ,se(7D), and asy(7D). On many systems, the default effect of the keyboard abort sequence is to suspend the operating system and enter the debugger or the moni- tor. Some systems feature key switches with a secure position. On these systems, setting the key switch to the secure position overrides any software default set with this command. To permanently change the software default effect of the keyboard abort sequence, first add or change the value of the KEYBOARD_ABORT vari- able in the /etc/default/kbd file to: KEYBOARD_ABORT=disable Next, run the command kbd -i to change the setting. Valid settings are enable, disable, and alternate; all other values are ignored. If the variable is not specified in the default file, the setting is unchanged. To set the abort sequence to the hardware BREAK, set the value of the KEYBOARD_ABORT variable in the /etc/default/kbd file to: KEYBOARD_ABORT=enable To change the current setting, run the command kbd -i. To set the abort sequence to the Alternate Break character sequence, first set the current value of the KEYBOARD_ABORT variable in the /etc/default/kbd file to: KEYBOARD_ABORT=alternate Next, run the command kbd -i to change the setting. When the Alternate Break sequence is in effect, only serial console devices are affected. To set the autorepeat delay by default, set the REPEAT_DELAY variable in the file /etc/default/kbd to the expected value with units in mil- liseconds (ms). To avoid making the keyboard unusable due to a typographical error, delay values below KIOCRPTDELAY_MIN (defined in /usr/include/sys/kbio.h) are rejected with EINVAL: REPEAT_DELAY=500 To set the autorepeat rate by default, set the REPEAT_RATE variable in the file /etc/default/kbd to the expected value with units in mil- liseconds. Negative and zero repeat rates will be rejected with EINVAL: REPEAT_RATE=33 To change the current settings of delay and rate, run the command, kbd -i. When the Auto Repeat Delay and/or Auto Repeat Rate are in effect, only command line mode is affected. OPTIONS
The following options are supported: -a enable | disable | alternate Enables, disables, or alternates the keyboard abort sequence effect. By default, a keyboard abort sequence (typically <Stop-A> or <L1-A> on the keyboard and <BREAK> on the serial console device) suspends the operating system on most systems. The default keyboard behavior can be changed using this option. The -a option can only be used by a super-user. enable Enables the default effect of the keyboard abort sequence (suspend the operating system and enter the debugger or the monitor). disable Disables the default/alternate effect and ignores keyboard abort sequences. alternate Enables the alternate effect of the keyboard abort sequences (suspend the operating system and enter the debugger or the monitor) upon receiving the Alternate Break character sequence on the console. The Alternate Break sequence is defined by the drivers zs(7D), se(7D), asy(7D). Due to a risk of incorrect sequence interpretation, binary protocols cannot be run over the serial console port when this value is used. -c on | off Turns the clicking of the keyboard on or off. on Enables clicking off Disables clicking -d keyboard device Specifies the keyboard device being set. The default setting is /dev/kbd. -D autorepeat delay Sets the autorepeat delay in milliseconds. -i Sets keyboard defaults from the keyboard default file. With the exception of -d keyboard device, this option cannot be used with any other option. The -i option instructs the keyboard command to read and process keyclick and keyboard abort default values from the /etc/default/kbd file. The -i option can only be used by a super-user. -l Returns the layout code of the keyboard being used, and the autorepeat delay and autorepeat rate being used. -r Resets the keyboard as if power-up. -R autorepeat rate Sets the autorepeat rate in milliseconds. -t Returns the type of the keyboard being used. EXAMPLES
Example 1: Displaying the Keyboard Yype The following command displays the keyboard type: example% kbd -t Type 4 Sun keyboard example% Example 2: Setting Keyboard Defaults The following command sets the keyboard defaults as specified in the keyboard default file: example# kbd -i example# Example 3: Displaying Information The following command displays keyboard type and layout code. It also displays auto repeat delay and rate settings. example% kbd -l type=4 layout=43(0x2b) delay(ms)=500 rate(ms)=33 example% Example 4: Setting Keyboard Autorepeat Delay The following command sets the keyboard autorepeat delay: example% kbd -D 300 example% Example 5: Setting Keyboard Autorepeat Rate The following command sets the keyboard autorepeat rate: example% kbd -R 50 example% FILES
/dev/kbd Keyboard device file. /etc/default/kbd Keyboard default file containing software defaults for keyboard configurations. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |SPARC | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
loadkeys(1), svcs(1), inetd(1M), inetadm(1M), kadb(1M), svcadm(1M), pppd(1M), keytables(4), attributes(5), smf(5), kb(7M), zs(7D), se(7D), asy(7D) NOTES
Some server systems have key switches with a secure key position that can be read by system software. This key position overrides the nor- mal default of the keyboard abort sequence effect and changes the default so the effect is disabled. When the key switch is in the secure position on these systems, the keyboard abort sequence effect cannot be overridden by the software default, which is settable with the kbd utility. Currently, there is no way to determine the state of the keyboard click setting. The kdb service is managed by the service management facility, smf(5), under the service identifier: svc:/system/keymap:default Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibil- ity for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) to make configuration changes and to view config- uration information for this service. The service's status can be queried using the svcs(1) command. SunOS 5.10 25 Jul 2004 kbd(1)
All times are GMT -4. The time now is 11:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy