Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447834 - app-benchmarks/i7z-0.27.2: i7z breaks xterm so that backspace does ^H
Summary: app-benchmarks/i7z-0.27.2: i7z breaks xterm so that backspace does ^H
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL: https://code.google.com/p/i7z/issues/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-19 15:02 UTC by Martin Mokrejš
Modified: 2016-11-08 11:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2012-12-19 15:02:21 UTC
My xterm is working fine and backspace does delete a character leftwards. After starting i7z and exiting it via ctrl+c, a backspace does ^H.

# emerge -pv x11-terms/xterm app-shells/bash

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-shells/bash-4.2_p39-r1  USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins -vanilla" 0 kB
[ebuild   R    ] x11-terms/xterm-287  USE="truetype unicode -Xaw3d -toolbar" 0 kB

#
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-19 16:39:24 UTC
A `reset' doesn't help?
Comment 2 Martin Mokrejš 2012-12-19 16:41:30 UTC
(In reply to comment #1)
> A `reset' doesn't help?

No.
Comment 3 Martin Mokrejš 2012-12-19 16:41:52 UTC
Neither 'stty --sane' does.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2012-12-19 16:48:26 UTC
That reproducable here
Comment 5 abhi 2013-01-09 00:34:30 UTC
hello, this is the developer.

i think i found the issue and i am finding its something predefined with xterm

booting from the livecd (April-1-2012), i find that the xterm has the following defined for backspace

running stty it has a line for
erase = ^H;

now when stty sane is run (or when i7z exits it executes stty sane), the erase line is removed and you will have to redefine erase as ^H via stty erase ^H

i am not sure if i should add the erase line within my code or whether its an issue with xterm as stty sane shouldn't redefine ^H
Comment 6 Thomas Dickey 2013-01-09 01:06:36 UTC
stty sane is supposed to reset all special characters to
their default values (those are system dependent of course - but
I'd thought they were constant).

reset gets a default value for erase from the terminal description,
noting that unless patched, xterm defaults to ^H.
Comment 7 Martin Mokrejš 2016-02-15 12:12:13 UTC
I do not have this problem anymore. I have at the moment:

app-benchmarks/i7z-0.27.2
x11-terms/xterm-320

Justin, how about you?
Comment 8 James Le Cuirot gentoo-dev 2016-11-05 21:02:28 UTC
Sounds like this is already fixed and I wasn't able to reproduce it when bumping it just now.
Comment 9 Martin Mokrejš 2016-11-08 11:24:34 UTC
Yes, still works for me in xterm-325 and i7z-0.27.2.