Summary: | xterm started in ratpoison sometimes tells other applications he's only got 24 lines | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Artem Baguinski <artm> |
Component: | Current packages | Assignee: | Jason Wever (RETIRED) <weeve> |
Status: | RESOLVED UPSTREAM | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Artem Baguinski
2003-10-28 02:58:27 UTC
What version of ratpoison are you using? 1.2.2-r1? not even -r1, 1.2.2 will installing 1.3.0_beta3-r1 help? i'll try now but i've got dialup internet and damn slow laptop, don't expect the results too soon ;) installed 1.3.0_beta3-r1, bug seems to be gone (but i can't be sure for it wasn't reliable and consistent bug like those in the old days:) oops, right after i reported that bug's gone it's back. just like i said - it's not always the case... Sorry for the lack of response, been rather busy lately. A couple things i've noticed with this. 1) This only happens for me with the initial xterm. Additional xterms do not seem to have this problem. 2) In the xterm, if you run the reziae command, it seems to fix this problem. 3) If you have a .ratpoisonrc file, this problem doesn't seem to happen. Is this the same for you? I haven't seen this longstanding bug since updating to ratpoison-1.3.0_rc1. I think the bug was with an xterm that was opened immediately after a program that was not also an xterm. In case it comes back, the ratpoison "redisplay" command, which is normally bound to C-t l and C-t C-l, is the workaround suggested in the info page. Ok, the bug's still there. I found a thread on freshmeat where the author attributes the bug to a race condition in xterm. I guess it's a race between the xterm processing the maximize command from ratpoison and setting the COLUMNS and LINES environment variables in the shell to the default 80x24. The comment I'm referring to is at http://freshmeat.net/projects/ratpoison/?topic_id=56 workaround: 1. start ratpoison 2. start xterm (e.g. "^T c") 3. issue redisplay command (e.g. "^T l") 4. issue the following in xterm: "echo "XTerm*geometry: ${COLUMNS}x${LINES}" >> ~/.Xresources" of course the .Xresources should be loaded ("xrdb -merge ~/.Xresources") on X startup but most people have that bit setup. i do for example, although i can't find where - must be default behaviour of gentoo's xinit. As this is not a Gentoo bug, I'm marking it as resolved:upstream (meaning it's a software vendor's problem). |