bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more details for errors


From: Thomas Dickey
Subject: Re: more details for errors
Date: Mon, 21 Jun 2004 15:08:02 -0400 (EDT)

On Mon, 21 Jun 2004, Folkert van Heusden wrote:

> Hi,
>
> Some functions return an errorcode when something fails, like ERR or NULL.
> That is not so helpfull in all situations :)
> Maybe adding something that logs to syslog or something?
> Like: ncurses checks for an environment ('NCURSES_DO_ERROR_LOG' or so) being
> set and then logs to syslog.

The debug library has a trace feature which shows the parameters for
most (perhaps all) of the ncurses functions.  It also shows the return
value.

> I'm very much willing to implement all of this, but I hate to do this work
> if it is not going to be used anyway, so please tell me what your opinion is
> about all of this.
>
>
> Folkert van Heusden
>
> +--------------------------------------------------------------------------+
> | UNIX sysop? Then give MultiTail ( http://www.vanheusden.com/multitail/ ) |
> | a try, it brings monitoring logfiles to a different level! See:          |
> | http://www.vanheusden.com/multitail/features.html for a feature list.    |
> +---------------------------------------------------= www.vanheusden.com =-+
>

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]