?
Solved

termcap VT220

Posted on 2000-03-15
4
Medium Priority
?
542 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 300 total points
ID: 2638548
Would you try in you .profile

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

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses

862 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