Subject: [sup-talk] Backspace key?

From: [email-masked] (Michael Dominic K.)
Date: Tue, 12 Feb 2008 00:57:37 +0100

Hello, 

I just gave a test-drive to sup. So far it looks absolutely great -- two
thumbs up to the authors!

I'm having one trivial problem though -- my backspace key doesn't work
in all entry fields (del works). It's been a while since I fixed
del/backspace issues in linux... any help/hints/config switch?

I'm running:

[Tue Feb 12 00:56:17 +0100 2008] using character set encoding "utf8" 
sup v0.4

...installed via gems. My terminal standard gnome-terminal. 

Thanks in advance, 

-- 
Michael

---

From: [email-masked] (Giorgio Lando)
Date: Tue, 12 Feb 2008 09:25:43 +0100

> del/backspace issues in linux... any help/hints/config switch?

I do not use the gnome-terminal, but in my case the working string for
backspace in sup is ^h, while my terminals (all rxvt derivatives) sent
^? by default. From the large literature about the topic, I think that
other terminal settings could adjust the behaviour also with ^?, but
setting ^h has no negative side effect for me. So look in the
configuration of gnome-terminal for something like backspaceKey or
string...
-- 
Giorgio Lando <patroclo7 at gmail dot com>

---

From: [email-masked] (Nicolas Pouillard)
Date: Tue, 12 Feb 2008 10:48:49 +0100

Hello,

[...]

> del/backspace issues in linux... any help/hints/config switch?

I had the same issue, as a workaround hitting CTRL-BACKSPACE worked for me.
However I've made up an ugly change to handle this, perhaps it can help you.

-- 
Nicolas Pouillard aka Ertai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Handle-the-keycode-127-like-KEY_BACKSPACE.patch
Type: application/octet-stream
Size: 822 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20080212/46e95e95/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20080212/46e95e95/attachment.bin

---

From: [email-masked] (Michael Dominic K.)
Date: Thu, 14 Feb 2008 00:08:57 +0100

> configuration of gnome-terminal for something like backspaceKey or

Thanks,

that worked for me (^h). Actually gnome terminal has a special
configuration in the "compatibility section" that allows you to choose
what is sent for backspace.

However, I belive this is a bit of a workaround. I haven't noticed
anything breaking with ^h except... sup-config. Where, again,
backspace doesn't work with ^h on.

-- 
Michael.

---

From: [email-masked] (William Morgan)
Date: Sat, 16 Feb 2008 05:21:52 -0800

Reformatted excerpts from nicolas.pouillard's message of 2008-02-12:
> I had the same issue, as a workaround hitting CTRL-BACKSPACE worked
> for me.  However I've made up an ugly change to handle this, perhaps
> it can help you.

Ugly? It's beautiful! And now in master and next.

-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Nicolas Pouillard)
Date: Sat, 16 Feb 2008 14:54:55 +0100

> Ugly? It's beautiful! And now in master and next.

Cool, thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20080216/3c286619/attachment.bin