Subject: Re: Problem with xterm+screen(1) after upgrade to -current+Xorg
To: Paulo Alexandre Pinto Pires <p@ppires.org>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: current-users
Date: 03/23/2007 08:05:43
------=_Part_212731_8394006.1174651543463
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

You probably need to build xterm with:

CONFIGURE_ARGS+= --enable-narrowproto

Actually, I have my own options.mk file for xterm-224 (I've been using
it since it appeared on invisible-island.net).  A patch is attached.

I don't know if there are too many options or whatnot, but if someone
wants to commit it, just email me and I'll make any necessary
alterations.

--Blair

On 3/23/07, Daniel Carosone <dan@geek.com.au> wrote:
> On Fri, Mar 23, 2007 at 12:10:01AM -0300, Paulo Alexandre Pinto Pires wrote:
> > This is possibly off-topic, but since it involves a full upgrade, perhaps
> > someone here has been trhough this problem and fixed it properly.
> >
> > I did a full upgrade of the base system, pkgsrc and X11 (using Xorg from
> > pkgsrc), and noticed that it is almost impossible to work with vi or vim
> (our
> > in-tree vi is worse) in a screen (pkgsrc/misc/screen) window in xterm
>
> No idea what your problem is, but I don't see anything that here on
> current NetBSD and modular xorg from pkgsrc.
>
> --
> Dan.
>


-- 
Support WFMU-FM: free-form radio for the masses!
<http://www.wfmu.org/>

"The frivolity and boredom which unsettle the established order, the
vague foreboding of something unknown, these are the heralds of
approaching change.  The gradual crumbling that left unaltered the
face of the whole is cut short by a sunburst which, in one flash,
illuminates the features of the new world."  --G.W.F. Hegel,
_Phenomenology of Spirit_ 5:11

------=_Part_212731_8394006.1174651543463
Content-Type: application/octet-stream; name="pkgsrc-xterm-224-options.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pkgsrc-xterm-224-options.diff"

QXRoZW5hIHdpZGdldCBsaWJyYXJ5IHJlcGxhY2VtZW50czogCgogIAkJLS13aXRoLVhhdzNkICYm
ICAgICAgICAgICBsaW5rIHdpdGggWGF3IDNkIGxpYnJhcnkKICAJCS0td2l0aC1uZ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