Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh in screen - bad erase key ^@ instead of ^H or ^?
- X-seq: zsh-workers 24288
- From: Chuck <GBSCDcM8oX5F7qrd@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: zsh in screen - bad erase key ^@ instead of ^H or ^?
- Date: Tue, 18 Dec 2007 12:26:47 -0800
- In-reply-to: <200712181827.lBIIRUur006059@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <47677243.9030309@xxxxxxxxxx> <20071218102924.0a5bcd0a@news01> <47680E97.6050505@xxxxxxxxxx> <200712181827.lBIIRUur006059@xxxxxxxxxxxxxx>
Ok, I just did a ^K BS and it output <Nul> instead of <BS>. I can get
around this in vim by mapping <Nul> to <BS> but there's problems sshing
or using any program that uses bs. Anyone know how to change my
backspace key codes? I'm pretty sure that's the problem. stty erase
blah doesnt seem to work, and I cant force a ttyctl f before running the
screen...
Thanks!
Peter Stephenson wrote:
> Chuck wrote:
>
>> Unfortunately, bs really is sending ^@ in screen and I cannot change it.
>>
>
> If that's the case, then bindkey in zsh is your only hope.
>
>
>> stty erase '^H' or '^?' doesn't change bs at all. It's as if the key
>> mapping at a lower level is screwed up.
>>
>
> zsh does have the capability to freeze the terminal settings: make sure
> you have "ttyctl -u" in effect. "ttyctl" on its own will tell you what
> the current state is. If it reports "tty is not frozen" I think you've
> run out of things you can do in the shell.
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author