This is the mail archive of the
mailing list for the Cygwin project.
Re: Backspace problem on VMS
- From: Christopher Faylor <cgf-idd at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 26 Jul 2003 12:56:00 -0400
- Subject: Re: Backspace problem on VMS
- References: <KJWQWVQLZLDO3XD9GA04XH1ZD8.3f22b1b8@micha>
- Reply-to: cygwin at cygwin dot com
On Sat, Jul 26, 2003 at 06:52:08PM +0200, Michael Lemke wrote:
>>On Thu, Jul 24, 2003 at 10:05:52PM -0400, Larry Hall wrote:
>>>Hai Hong wrote:
>>>>I'm having a problem in which the backspace doesn't work as it should
>>>>when I telnet into a VMS machine while I'm in an xterm session.
>>>>Instead of deleting the character, my cursor jump to the beginning of
>>>>the line. The DELETE key doesn't work either. I've checked an made
>>>>sure that my TERM environment is set to VT100, which is what I used in
>>>>the Windows program SecureCRT without any problem. Also, I don't have
>>>>any problem telnetting into a Unix machine. Is there anything that I
>>>>should do to make it work? I've been Googling both the Web and
>>>>newsgroup and couldn't anything regarding this issue.
>>>Cygwin's default (and best supported) terminal setting is 'cygwin'.
>>>Sorry, I know next to nothing about VMS so I can't direct you further
>>>on how to make the target VMS machine understand the 'cygwin' terminal
>>>settings. But this information should help guide you to a line of
>>>research which will offer a solution I hope.
>>In this case, (and most cases, really) the TERM variable should just be
>>left as is. It is set to "cygwin" when you are running from the console
>>and it should be set to "xterm" when you're running from an xterm.
>>On VMS, CTRL-H means "go to beginning of line". So, undoubtedly xterm
>>is interpreting the [<-] key as a backspace. I'm sure that google would
>>be able to help in redefining this key to something else (like DEL).
>Correct, VMS wants a real VT100 or successors. Anything that doesn't
>behave like one is almost unusable. One approach with Cygwin is to
>use rxvt and put this in your ~/.Xdefaults file:
>Rxvt.cutchars: " "
>You will need to set
> stty erase ^?
>in bash if you also want to use cygwin with rxvt/xterm.
None of the above will affect xterm, which is what the original message
was talking about.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html