Sup 0.0.5 Released

Summary: bugfixes, and a user’s guide. Also on the web:
http://sup.rubyforge.org/UserGuide.txt

sup version 0.0.5 has been released!

http://sup.rubyforge.org

Sup is a console-based email client that combines the best
features of GMail, mutt, and emacs. Sup matches the power of GMail
with the speed and simplicity of a console interface.

Sup makes it easy to:

  • Handle massive amounts of email.

  • Mix email from different sources: mbox files (even across
    different machines), IMAP folders, POP accounts, and GMail
    accounts.

Changes:

== 0.0.5 / 2007-01-05

On 06.01.2007, at 06:50, William M. wrote:

sup version 0.0.5 has been released!

http://sup.rubyforge.org

Hi all!

I am fairly new to this list (and to ruby) and I have tried to
install sup using ‘gem install sup’ on a MacBook Pro. It’s not the
Tiger ruby version I am using (which is 1.8.2), rather the one
installed by darwinports (1.8.5), but I don’t think that matters really.

sup and all the dependencies installs fine, without any trouble (as
root), but starting it shows this:

elstar:~ abonhote$ sup
/opt/local/lib/ruby/gems/1.8/gems/sup-0.0.6/lib/sup/buffer.rb:45:
warning: already initialized constant KEY_CANCEL
[Sat Jan 06 23:01:23 +0100 2007] loading index…
[Sat Jan 06 23:01:23 +0100 2007] loaded index of 0 messages
[Sat Jan 06 23:01:23 +0100 2007] starting curses
Error opening terminal: xterm-color.

I have tried several other values for TERM, like xterm, vt100, even
linux, but nothing works.

What’s up here? Any hints? Unfortunately, there’s nothing about this
on the website.

TIA

André

PS: I am a fairly experienced Perl, Java and PL/SQL programmer, but
the way ruby works is a hell lot more exciting :slight_smile:

elstar:~ abonhote$ sup
/opt/local/lib/ruby/gems/1.8/gems/sup-0.0.6/lib/sup/buffer.rb:45: warning: already initialized constant KEY_CANCEL
[Sat Jan 06 23:01:23 +0100 2007] loading index…
[Sat Jan 06 23:01:23 +0100 2007] loaded index of 0 messages
[Sat Jan 06 23:01:23 +0100 2007] starting curses
Error opening terminal: xterm-color.

I have tried several other values for TERM, like xterm, vt100, even linux, but nothing works.

without having a mac around: what happens if you do

export TERM=xterm-color

?

Cheers,

Steph.

Excerpts from =?ISO-8859-1?Q?Bonh=F4te_Andr=E9?='s message of Sat Jan 06
14:11:17 -0800 2007:

Error opening terminal: xterm-color.

This means ncurses can’t find your terminfo database. I don’t know the
specifics for MacOS, but you probably need to install some kind of
package with the word “ncurses”, “termcap” or “terminfo” in the name.
Maybe someone else knows more…

Hi William

On 07.01.2007, at 18:19, William M. wrote:

This means ncurses can’t find your terminfo database. I don’t know the
specifics for MacOS, but you probably need to install some kind of
package with the word “ncurses”, “termcap” or “terminfo” in the name.
Maybe someone else knows more…

Super, good hint! I have installed the ncursesw package, now it works!

Thanks a lot!

Andr

sup version 0.0.5 has been released!

http://sup.rubyforge.org

Great!

One question: Do you plan support for the maildir format (in addition to
mbox files)?

Cheers,

Steph.

Hi Stephan

On 07.01.2007, at 14:44, Stephan M. wrote:

I have tried several other values for TERM, like xterm, vt100,
even linux, but nothing works.

without having a mac around: what happens if you do

export TERM=xterm-color

That’s the default :slight_smile:

Cheers

André

But adding a new source type to Sup is pretty easy (you only have to
support getting messages, basically), so patches are welcome! See the
comments at the top of lib/sup/source.rb for how to get started.

Okay, thanks. Will give it a try.

Cheers,

Steph.

Excerpts from Stephan M.'s message of Sat Jan 06 01:40:01 -0800
2007:

One question: Do you plan support for the maildir format (in addition
to mbox files)?

I do plan to, but as I don’t use maildir myself, there are other things
I’ll probably focus on first.

But adding a new source type to Sup is pretty easy (you only have to
support getting messages, basically), so patches are welcome! See the
comments at the top of lib/sup/source.rb for how to get started.