?
Solved

termcap VT220

Posted on 2000-03-15
4
Medium Priority
?
536 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

752 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