Solved

termcap VT220

Posted on 2000-03-15
4
522 Views
Last Modified: 2011-08-18
i've got a copy of QVT/Term and every time i press Delete, a funny symbol comes up.  I've tried to match the keyboard keys to their equivalent counterparts in the VT220 specification but with only little success.  

Can anyone guide me how to do the mapping?
0
Comment
Question by:crest
  • 2
4 Comments
 
LVL 1

Expert Comment

by:toTo
ID: 2623385
try this on command line :
stty intr [Del] [Return]

where [Del] and [Return] ares single keys

if it works put that in your .profile
0
 
LVL 1

Expert Comment

by:toTo
ID: 2623393
oops

that was to intrupt a program
if you just want to erase a char :

 stty erase [Del] [Return]
0
 

Expert Comment

by:lawvd
ID: 2625287
Note that
stty erase [Del]
will set you up to delete the character
to the left of the cursor, usually
more expected of [Backspace] or ^H.
Don't know if stty has an option to set
a key to delete at the current position,
the way a word processor normally does.
Of course, command line editing like
ksh's EDITOR=vi will allow it.
0
 
LVL 1

Accepted Solution

by:
jacquesc030600 earned 100 total points
ID: 2638548
Would you try in you .profile

stty erase "^?"
stty intr "^U"
stty kill "^x"

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now