Visit Our UNIX and Linux User Community

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

Thread Tools Search this Thread
Top Forums Programming How to toggle BACKSPACE/DEL function for backArrow key for terminal other than xterm?
# 1  
Old 05-31-2002
Question 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 Smilie
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).
The problem exists when I use other terminal, which have not have possibility to toggle this function -- "Konsole" from KDE. May be there is another way to do this, common for couple of terminal? Or for "konsole" only.
Could you help me with this problem, please?

Dmitry Belyavsky.

Last edited by dmitryb; 05-31-2002 at 12:18 PM..

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies

2. OS X (Apple)

Using a private key with SSH in terminal

Before you get the wrong idea, I am not looking for how to generate one. I have a key from a server admin but I can't figure out how to use it in OS X. I have the key, the address and everything I should need but there doesn't seem to be a step by step on how to install the key and use it in... (4 Replies)
Discussion started by: kylebellamy
4 Replies

3. UNIX for Dummies Questions & Answers

Starting terminal with shortcut key combination

How can the shortcut keys be defined that would open up a terminal window? When using a kvm switch, the mouse sometimes does not work, but the keyboard does, and by opening up a terminal window using a shortcut key combination, the mouse can be restarted by entering the predefined mouserestart... (0 Replies)
Discussion started by: figaro
0 Replies

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

5. UNIX for Advanced & Expert Users

replace key function

in my system , the ctrl-C is not work ( ctrl-C should be used to break the running process ) , but ctrl-Z works , I don't know why ctrl-C is not work , I still can't find the reason . Now I would like to replace its function --> if the user press ctrl-Z then it will send the same command as ctrl-C... (1 Reply)
Discussion started by: ust
1 Replies

6. UNIX for Dummies Questions & Answers

xterm or terminal profile

Hi all I want to customize my terminal or xterminal profile for background color font color and font face etc. As far as I know for login .profile must be placed on top your home directory and I did it and worked. But I am not sure for terminal; what is the name of profile that I've to... (6 Replies)
Discussion started by: xramm
6 Replies

7. UNIX for Dummies Questions & Answers

Pressing backspace key simulates enter key

Hi, Whenever i press the backspace key, a new line appears, i.e. it works like a enter key. :confused: Thanks (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies

8. UNIX for Dummies Questions & Answers

How to rename Xterm terminal in VNC session

Hi All, We are using VNC viewer to login to remote server. Remote server is running with Red Hat linux 3.0. Our problem is, we are unable to rename xterm terminal so is there any way we can rename? Thanks a lot in advance for your valuable inputs. Regards, Bachegowda (0 Replies)
Discussion started by: bache_gowda
0 Replies

9. Programming

Sending INtr key for remote terminal

Hi folks, Just wondering if anyone knows how to send intr/break key to remote tty (shell), a simple example would be great! thx (2 Replies)
Discussion started by: andryk
2 Replies

10. Solaris

key binding in the terminal

Hello all I would like to make shift+insert a shortcut for "paste from clipboard". how do I do it? where can I find the format to set this key binding, or others? thanks Ori (4 Replies)
Discussion started by: orid
4 Replies
APPRES(1)						      General Commands Manual							 APPRES(1)

appres - list X application resource database SYNOPSIS
appres [class [instance]] [-1] [toolkitoptions] DESCRIPTION
The appres program prints the resources seen by an application (or subhierarchy of an application) with the specified class and instance names. It can be used to determine which resources a particular program will load. For example, % appres XTerm will list the resources that any xterm program will load. If no application class is specified, the class -AppResTest- is used. To match a particular instance name, specify an instance name explicitly after the class name, or use the normal Xt toolkit option. For example, % appres XTerm myxterm or % appres XTerm -name myxterm To list resources that match a subhierarchy of an application, specify hierarchical class and instance names. The number of class and instance components must be equal, and the instance name should not be specified with a toolkit option. For example, % appres Xman.TopLevelShell.Form xman.topBox.form will list the resources of widgets of xman topBox hierarchy. To list just the resources matching a specific level in the hierarchy, use the -1 option. For example, % appres XTerm.VT100 xterm.vt100 -1 will list the resources matching the xterm vt100 widget. SEE ALSO
X(7), xrdb(1), listres(1) AUTHOR
Jim Fulton, MIT X Consortium X Version 11 appres 1.0.3 APPRES(1)

Featured Tech Videos