From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 02:36:06 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F591106566B for ; Mon, 7 Feb 2011 02:36:06 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6878FC12 for ; Mon, 7 Feb 2011 02:36:05 +0000 (UTC) Received: by ywp6 with SMTP id 6so1648034ywp.13 for ; Sun, 06 Feb 2011 18:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=JBw9e0fqVq38Uw1Qvh8YtinUFjjcHyui+hVz6ZgPd6c=; b=l06gaVQDCsdSuw6fQIJgQpbTtxeNiBdiYYoh8zIdkHan5A4FpvajpIp55rAIVuurcN BkyjdqKrZiMdQ5/lZdQEil0bW0iXDwYThYH/9AY4G/DU+VIqNmnIlSxjL2i57Fc5MVDo EqV/SXRwnQNn9FixlRmKI4JbB5cMGfIjzwQ9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=B+Q5oU/8Pvil7PDj+fTd6VoJtli1ugNO90o0gwIjaFgTIlPvo2j5naN2dvvK9O6Kh0 /mKJNFdOsAovKpjnDN03Z27305U1tMFjBSRdcC3ZqULIwJ5hURSaqufep4fawq1oxHEG EG0XtBqsllH+YTY70IUz4QipikDI5ynmbKWlI= MIME-Version: 1.0 Received: by 10.236.109.52 with SMTP id r40mr28552599yhg.52.1297046164690; Sun, 06 Feb 2011 18:36:04 -0800 (PST) Received: by 10.236.110.52 with HTTP; Sun, 6 Feb 2011 18:36:04 -0800 (PST) Date: Sun, 6 Feb 2011 21:36:04 -0500 Message-ID: From: "b. f." To: Fred Content-Type: multipart/mixed; boundary=002354867bdce75bdb049ba81772 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@FreeBSD.org Subject: Re: nedit problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 02:36:06 -0000 --002354867bdce75bdb049ba81772 Content-Type: text/plain; charset=ISO-8859-1 Fred Boatwright wrote: > On 02/06/11 00:53, b. f. wrote: > > Fred Boatwright wrote: > > > >> After updating all ports on 8.1-RELEASE, nedit has a problem. The right > >> mouse button works ok in the toolbar but if it is pressed in the text > >> area, for example to copy a block of text, the cursor changes shape and > >> the X session becomes completely locked up. I have to stop X and > >> restart it. I have tried to deinstall nedit and rebuild it but this > >> didn't help. It is nedit-5.5 with Motif 2.2.3. > > This is a known problem with many Motif-based applications, arising > > from a bug in recent versions of Xorg. It has been corrected > > upstream, and it is likely that this problem will be fixed when the > > ports freeze ends shortly after the release of FreeBSD 7.4 and 8.2, if > > not before. If you can't wait, you can try using the patches from: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=154510 > > > I have tried several editors that are horrible. Axe installed from > packages dumps core. There were a lot of warnings that later versions > of libraries were installed than axe was expecting. Does the maintainer > need to know this? Sadly, there is no maintainer for that port. But yes, you should file a Problem Report (PR), so that people will know that there may be a problem: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html > Can you tell me how to install the Xorg patch to make nedit work? I > have not worked with getting source code or compiling from source. I > can do the edit on another computer. Get an up-to-date ports tree. (If you don't know what that means, read the relevant portions of the FreeBSD Handbook.) Place the attached patch (or a trimmed version of the patch from the PR that I cited earlier) in ports/x11-servers/xorg-server/files under a name like 'patch-dix__events.c', that begins with 'patch-', and doesn't overwrite any of the existing patches. In the ports/x11-servers/xorg-server directory, run 'make deinstall clean install && make clean', or use your favorite third-party port updating tool to force an update of that port. (If you want to create a backup package of your patched version of xorg-server, and you are not using a port updating tool with this feature, then either 'make package' in that directory before running the final 'make clean', or use 'pkg_create -b "xorg-server-*"'.) I'm assuming that you are already using the latest version of x11-servers/xorg-server; if instead you are using an earlier version, and packages that depend on it, you will probably need to update them as well. b. --002354867bdce75bdb049ba81772--