[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: screen -m -d breaks backspace
From: |
Michael Schroeder |
Subject: |
Re: screen -m -d breaks backspace |
Date: |
Wed, 6 Sep 2006 12:20:49 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Fri, Sep 01, 2006 at 06:24:47PM -0400, Clint wrote:
> Hello,
>
> Recently, I suspect due to a debian update, something changed on my system
> where launching screen in detached mode breaks the backspace. The backspace
> now deletes the whole line and control backspace deletes the previous
> character. What's odd is that running screen normally (without -m -d)
> leaves backspace working fine.
That's because screen can't clone your tty settings if you run it
in "-m -d" mode, so it makes up some standard settings (actually taken
from SunOS 4.1.3 a long time ago). Those settings have erase=\177 and
kill=\b, they are hardcoded in tty.sh. Maybe Debian changed them in
the update.
Cheers,
Michael.
--
Michael Schroeder address@hidden
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}