Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nedit problem

33 views
Skip to first unread message

Fred Boatwright

unread,
Feb 5, 2011, 4:33:50 PM2/5/11
to
Hello,

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.

Also, when nedit is started the following warnings are given:

Cannot convert string
"-*-helvetica-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type
FontStruct
Cannot convert string
"-*-helvetica-bold-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
Cannot convert string
"-*-helvetica-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type
FontStruct
Cannot convert string
"-*-courier-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
Cannot convert string "-*-courier-bold-r-normal-*-*-120-*-*-*-iso8859-1"
to type FontStruct
Cannot convert string
"-*-courier-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct

These warnings have been happening for some time but nedit otherwise has
been working ok until the port update. xpdf gives similar warnings but
seems to work ok.

What can I do to resolve at least the lockup problem?

Best regards,
Fred
_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Giorgos Keramidas

unread,
Feb 6, 2011, 2:23:12 AM2/6/11
to
On Sat, 05 Feb 2011 14:33:50 -0700, Fred Boatwright <fr...@blakemfg.com> wrote:
> Hello,
>
> 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.
>
> Also, when nedit is started the following warnings are given:
>
> Cannot convert string
> "-*-helvetica-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
> Cannot convert string "-*-helvetica-bold-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
> Cannot convert string "-*-helvetica-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
> Cannot convert string "-*-courier-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
> Cannot convert string "-*-courier-bold-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
> Cannot convert string "-*-courier-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
>
> These warnings have been happening for some time but nedit otherwise has
> been working ok until the port update. xpdf gives similar warnings but
> seems to work ok.
>
> What can I do to resolve at least the lockup problem?

Can you run nedit under truss or ktrace? It may be stuck in a loop
because of a bug. You should be able to run it under truss, for
example, by opening a new terminal window and typing:

truss -o nedit.log nedit

Then when nedit gets stuck, wait a bit to let truss collect some tracing
information, and kill nedit. Attach the output of truss in a message to
the list. Someone may find useful information about nedit's blocking in
the final bits of the trace file.

b. f.

unread,
Feb 6, 2011, 2:53:14 AM2/6/11
to
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

b.

Fred

unread,
Feb 6, 2011, 10:59:36 AM2/6/11
to
I will just use another editor for a while. Thanks for the help.

Best regards,
Fred

Fred

unread,
Feb 6, 2011, 2:55:43 PM2/6/11
to
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
>
> b.
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
>
>
>
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?

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.

0 new messages