Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Pressing backspace key simulates enter key Post 302114954 by Perderabo on Thursday 19th of April 2007 06:31:08 PM
Old 04-19-2007
This depends on your environment. Whatever program is directly talking to your keyboard is the place to start. If you are on Windows XP and have telneted into a Unix system, this could be a Windows XP problem. In the rare case of a tty being directly controlled by Unix, you would need to use the stty command. In the case of an X Server running on Unix it could be xmodmap or stty. But you want to track down why it is happening an undo that change. Don't simply introduce a compensating error with stty or xmodmap.
 

10 More Discussions You Might Find Interesting

1. Programming

How to toggle BACKSPACE/DEL function for backArrow key for terminal other than xterm?

Hi all, I've got the problem which I can't resolve with my knowledge :) For xterm terminal we have resource class XTerm*backarrowKey. If we set it to true, backspace code (ASCII 0x8) will be sent to program. We can get it using e.g. getc() function. If it is disabled getc() returns DEL(0x7F). ... (0 Replies)
Discussion started by: dmitryb
0 Replies

2. Shell Programming and Scripting

read the ENTER key

Hi , I do the following : ]echo "Do you want to say yes or no ?(y/n):\c" read ans here 'n' is the default value.that means if the user press ENTER key then it should be 'n' . Now how do i know that the user has pressed ENTER key.What will be stored in my variable 'ans'. (4 Replies)
Discussion started by: sars
4 Replies

3. UNIX for Advanced & Expert Users

using enter key in shell script

without pressing the enter key ..manually... how can we read the enter key ..from the shell script..so that the script termintes automatically. eg: telnet a.b.c.d xxxx now " how to read the enter key" tho terminate the script (1 Reply)
Discussion started by: bishweshwar
1 Replies

4. Shell Programming and Scripting

trap signal for enter key

hi , What is the trap signal for "ENTER key"? (4 Replies)
Discussion started by: Sreejith_VK
4 Replies

5. Shell Programming and Scripting

enter key solaris

Hi, When I run script on Sun Solaris (sassetup), it prompts to "Press Enter To Continue". Now I want to automate this, ie put sassetup in a script file. So, when I run this file, it should be executed automatically without waiting for anyone to press Enter Key. I have tried the following... (1 Reply)
Discussion started by: sajjunaqvi
1 Replies

6. Shell Programming and Scripting

Backspace Key From Within Script

I have a script that asks a user for a few question. I would like the users to be able to use the backspace key if they make a mistake. Right now when they try they get ^? instead of it backing up. As you can see here from a stty -a the backspace is set... speed 38400 baud; rows = 42;... (2 Replies)
Discussion started by: LRoberts
2 Replies

7. Shell Programming and Scripting

Want to write a command that keeps pressing enter key in regular interval

Hi, I m new to linux, can you pls help me to write a command/ script that keeps pressing the enter key in regular interval. Thx, Linux1 (2 Replies)
Discussion started by: mylinux1
2 Replies

8. Shell Programming and Scripting

Perl - start search by using search button or by pressing the enter key

#Build label and text box $main->Label( -text => "Input string below:" )->pack(); $main->Entry( -textvariable => \$text456 )->pack(); $main->Button( -text => "Search", -command => sub { errchk ($text456) ... (4 Replies)
Discussion started by: popeye
4 Replies

9. Shell Programming and Scripting

Script termination without pressing Enter key[nohup]

I have a script in which we have used nohup. Once script is executed it will be terminated only when enter key is pressed. I want the script to be terminated without pressing enter key nohup imqbrokerd -name user_id port 2>1 1>$home_`date` & I am a newbie to shell, Kindly please help (3 Replies)
Discussion started by: Suganbabu
3 Replies

10. Shell Programming and Scripting

Simulate enter key

I have a popup window that appears on every boot up. I would like to have it dismissed automatically each time instead of having to hit the enter key. I thought I could write a script that would execute on startup. I tried this xdotool key return andy@7_~/Downloads$ xdotool key ... (7 Replies)
Discussion started by: drew77
7 Replies
gkb_xmmap(1)							   User Commands						      gkb_xmmap(1)

NAME
gkb_xmmap - set your keyboard map with the GNOME keyboard panel application SYNOPSIS
gkb_xmmap XMOD_MAP DESCRIPTION
gkb_xmmap is a utility program that is called internally by the GNOME keyboard panel application. gkb_xmmap can also be invoked from the command line. gkb_xmmap is used to modify the keyboad mapping to a given locale. gkb_xmmap uses xmodmap to implement the keyboard mapping. OPERANDS
The following operands are supported: XMOD_MAP An xmodmap extension that must match an xmodmap extension. The xmodmap files are located in /usr/share/xmodmap. If this op- erand is not provided, the gkb_xmmap command fails. EXAMPLES
Example 1: Update the keyboard map to UK example% gkb_xmmap uk ENVIRONMENT VARIABLES
See environ(5). EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gkb_xmmap Executable to set your keyboard map with the GNOME keyboard panel application /usr/share/xmodmap Location of the xmodmap files ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-utility_applets | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
gnome-keybinding-properties(1), gnome-keyboard-properties(1), xmodmap(1) NOTES
Original man page writtern by Christian Marillat <marillat@debian.org>. Updated by Matt Keenan, Sun Microsystems Inc., 2004. SunOS 5.10 6 Sep 2004 gkb_xmmap(1)
All times are GMT -4. The time now is 11:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy