Complete.Org: Mailing Lists: Archives: offlineimap: January 2003:
Re: Problems with Curses.Blinkenlights
Home

Re: Problems with Curses.Blinkenlights

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Re: Problems with Curses.Blinkenlights
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Fri, 10 Jan 2003 11:23:22 -0600

Rats, you have just blown every theory I had about the problem :-)

I do have occasional access to a FreeBSD box, and I have been able to
duplicate the problem by logging in to it from a Linux xterm, setting TERM
to xterm-color, and running OfflineIMAP.

Strangely, my test code seems to work, yet OfflineIMAP proper does not.  You
can verify this by:

cd path-to-offlineimap-3.99.7/offlineimap/ui
PYTHONPATH=../.. python2.2 Curses.py

It will display a sample screen using the OfflineIMAP API for ten seconds,
then it will display a color test screen for 20 seconds (if memory serves). 
Do not press anything.  My test shows both working on Linux, but only the
second working on FreeBSD.  Very strange, eh?

I'll look at the code and see what I can find.

On Fri, Jan 10, 2003 at 08:00:31PM +0300, Sergei Kolobov wrote:
> 
> root@elf# python -c "import curses; curses.initscr(); y =
> curses.has_colors(); curses.endwin(); print y"
> 1
> root@elf#
> 
> As for the curses vs. ncurses library - I belive it is ncurses:
> 
> root@elf# ldconfig -r | grep curses
>         4:-lncurses.5 => /usr/lib/libncurses.so.5
> root@elf# 
> 
> Sergei
> 

-- 
John Goerzen <jgoerzen@xxxxxxxxxxxx>                       www.complete.org


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