Solved

termcap VT220

Posted on 2000-03-15
4
519 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
Comment Utility
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
Comment Utility
oops

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

 stty erase [Del] [Return]
0
 

Expert Comment

by:lawvd
Comment Utility
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
Comment Utility
Would you try in you .profile

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

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.

771 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

14 Experts available now in Live!

Get 1:1 Help Now