Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Aug 2009 19:32:28 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        "Carlos A. M. dos Santos" <unixmania@gmail.com>
Cc:        Tom Uffner <tom@uffner.com>, freebsd-ports@freebsd.org
Subject:   Re: x11-toolkits/xview (actually contool)
Message-ID:  <4A7A40BC.3010102@FreeBSD.org>
In-Reply-To: <e71790db0908051837w7791e022mdcb1dc6516ad1f23@mail.gmail.com>
References:  <4A74D10A.9000507@uffner.com>	<200908031312.14400.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>	<4A77A67D.1050101@uffner.com>	<200908032207.37816.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>	<4A77D926.2070304@uffner.com>	<e71790db0908042008j53d97e79gd38c088b5fdc858f@mail.gmail.com>	<4A79F0AC.4000103@uffner.com> <e71790db0908051837w7791e022mdcb1dc6516ad1f23@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Carlos A. M. dos Santos wrote:
> On Wed, Aug 5, 2009 at 5:50 PM, Tom Uffner<tom@uffner.com> wrote:
>> Carlos A. M. dos Santos wrote:
>>
>>> Can't xconsole do the job for you instead of contool?
>> more or less. i am using xconsole by default. however i prefer contool
>> because it has the following features which are missing from every other
>> X console program that I am aware of:
>>
>> 1. it can remain iconified (or entirely unmapped) and out of my way most
>> of the time.
>> 2. it can timestamp the messages it prints
>> 3. it can alert me to the presence of new console messages by flashing
>> its icon, beeping, and/or opening its window
>> 4. it allows me to specify, using regular expression filters, the types
>> of messages it should or should not alert on.
>>
>>> BTW, what problems do you have with contool? Are they the same ones
>>> discussed before in these threads?
>>>
>>>
>>> http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026516.html
>>>
>>> http://lists.freebsd.org/pipermail/freebsd-hackers/2008-November/026722.html
>> my xconsole still exhibits those problems. don't know about contool yet.
> 
> It is even worst on 8.0, now. Even making xconsole SUID root I can't
> see any of the messages written to /dev/console. Using "xterm -C" does
> not work.
> 
>> as i said, i haven't had the time to diagnose it yet. what console i use
>> on my X workstations is not really that high a priority in the grand scheme
>> of things. contool is exiting with this message:
>>
>> Assertion failed: (ret != inval_id), function _XAllocID, file xcb_io.c, line
>> 378.
>> Abort
>>
>> which may be another symptom of the tty layer changes, but i haven't really
>> had time to look at it yet.
> 
> Looks like a bug in XCB. This would not be a surprise, given the poor
> engineering of Xorg these days (lack of it, in fact). Try rebuilding
> libX11 with the patch I sent in this PR:
> 
>      http://www.freebsd.org/cgi/query-pr.cgi?pr=137373
> 
> You will not miss XCB. It is as useful as hole int your head.

I thought contool looked interesting so I tried build it. It requires
xview, which fails as follows on a fairly recent -current (8.0-BETA2
r195917: Mon Jul 27 16:09:24 PDT 2009):

cc -fPIC   -O2 -pipe -ggdb -fno-strict-aliasing -ggdb
-I../../../build/include  -I/usr/local/include    -DCSRG_BASED
-I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO
-DOS_HAS_LOCALE -DOS_HAS_MMAP
-DEXTRASMENU="\"/usr/local/lib/.text_extras_menu\""
-I../../../build/include  -I/usr/local/include    -DCSRG_BASED
-I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO
-DOS_HAS_LOCALE -DOS_HAS_MMAP
-DEXTRASMENU="\"/usr/local/lib/.text_extras_menu\""   -c ps_impl.c  -o
shared/ps_impl.o
ps_impl.c: In function 'ps_create':
ps_impl.c:183: warning: passing argument 1 of 'xv_error' makes integer
from pointer without a cast
rm -f ev_display.o shared/ev_display.o
cc -fPIC   -O2 -pipe -ggdb -fno-strict-aliasing -ggdb
-I../../../build/include  -I/usr/local/include    -DCSRG_BASED
-I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO
-DOS_HAS_LOCALE -DOS_HAS_MMAP
-DEXTRASMENU="\"/usr/local/lib/.text_extras_menu\""
-I../../../build/include  -I/usr/local/include    -DCSRG_BASED
-I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO
-DOS_HAS_LOCALE -DOS_HAS_MMAP
-DEXTRASMENU="\"/usr/local/lib/.text_extras_menu\""   -c ev_display.c
 -o shared/ev_display.o
In file included from ../../../build/include/xview_private/tty_impl.h:216,
                 from ev_display.c:36:
/usr/include/sys/ioctl_compat.h:42:2: error: #error "Definitions not
available without TTY ioctl compat."
ev_display.c: In function 'ev_init_X_carets':
ev_display.c:89: warning: passing argument 1 of 'xv_error' makes
integer from pointer without a cast
ev_display.c: In function 'ev_put_caret':
ev_display.c:138: warning: passing argument 1 of 'xv_error' makes
integer from pointer without a cast
*** Error code 1



-- 

    This .signature sanitized for your protection




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A7A40BC.3010102>