You are not logged in.

#1 2008-01-04 05:54:41

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Sup: Gmail Meets the Console

i found an interesting article on freshmeat about an ncurses email client called sup, which emulates gmails behaviour in the console. the project seems very promising as can be seen in the official webpage.
sadly its written in ruby and has some weird dependencies, some of which are not yet part of Arch, even AUR.
i will try and get it installed and tested later. thought id share for now


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#2 2008-01-04 07:29:26

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Sup: Gmail Meets the Console

I've been thinking of trying this out recently. I'd love to use mutt (or any console-based email reader, for that matter) much more, but I can't seem to tear myself away from gmail's web interface.

Offline

#3 2008-01-04 13:38:45

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 907

Re: Sup: Gmail Meets the Console

Absolutely nice! I am starting to use it and it is already really usable. May be not so much documented however, and I am not still able to make ti work with my LOCALE and CHARSET.

I would like to make PKGBUILDs for the AUR, but it is really a long work, because it has 10-15 ruby dependencies which are not actually in any repo. Moreover I am not yet in touch with arch naming and compiling policy for ruby packages (I guess that it is similar to the perl one). For the time being I have resolved all the dependencies with rubygems.


Mortuus in anima, curam gero cutis

Offline

#4 2008-01-04 18:11:08

smurnjiff
Member
Registered: 2007-06-25
Posts: 210

Re: Sup: Gmail Meets the Console

I used it and got it working.  I didn't like the rubygems dependency though.  I really like how it contains a snippet of the message - just like GMail.

Offline

#5 2008-01-04 19:24:02

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 907

Re: Sup: Gmail Meets the Console

sup-sync fails for me on large mailboxes (more than 2000), both maildirs and mboxes. I have fixed the charset, but I am not able to convince sup to use my .mailcap.


Mortuus in anima, curam gero cutis

Offline

#6 2008-01-05 02:18:30

codemac
Member
From: North Carolina
Registered: 2005-05-13
Posts: 759
Website

Re: Sup: Gmail Meets the Console

Sup's problem is more that sup-sync fails on large mailboxes, and Ferret chokes on badly formed emails instead of just skipping over.

I have to say, emacs' Gnus has been pleasantly surprising.

Offline

#7 2008-01-05 02:25:20

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 907

Re: Sup: Gmail Meets the Console

Just for completeness, in order to use .mailcap it needs the debianish run-mailcap executable


Mortuus in anima, curam gero cutis

Offline

#8 2008-01-06 03:28:34

marte
Member
Registered: 2007-09-26
Posts: 24

Re: Sup: Gmail Meets the Console

oh man..!!
io'm fuckin drunk, and i have passed some days tryn to config the mutt + stuff to work with my gmail account... and i didn't made the thing work, but now i've seen this topic and are again hope to don't use the thunderbird-too-heavy-to-my-pentium3-pc, and i'll try to repl← this topic better tomorrow

luckyfor us all...!

Offline

#9 2008-01-06 03:31:11

F
Member
Registered: 2006-10-09
Posts: 322

Re: Sup: Gmail Meets the Console

seeing as how all I use is gmail, this looks very promising... smile smile

Offline

#10 2008-01-06 11:05:54

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 907

Re: Sup: Gmail Meets the Console

There are some bugs and missing features, but it is REALLY promising. The general ideas of the interface and the threads-archives system are among the best ideas around. Probably I should study a bit of ruby in order to fix the issues.

For the moment being, my best use of sup is to conjoin it with offlineimap in order to access my gmail account through imap. On the contrary it is very slow and not so reliable in accessing imap folders directly.


Mortuus in anima, curam gero cutis

Offline

#11 2008-01-30 02:58:34

print
Member
From: teh cloud
Registered: 2007-02-27
Posts: 166

Re: Sup: Gmail Meets the Console

patroclo7 wrote:

There are some bugs and missing features, but it is REALLY promising. The general ideas of the interface and the threads-archives system are among the best ideas around. Probably I should study a bit of ruby in order to fix the issues.

For the moment being, my best use of sup is to conjoin it with offlineimap in order to access my gmail account through imap. On the contrary it is very slow and not so reliable in accessing imap folders directly.

1 Gmail has IMAP support.
2 Thanks for the .mailcap info . . . did you ever do this:
http://rubyforge.org/pipermail/sup-talk … 00805.html

Can't find mailcap using pacman or yaourt

Last edited by print (2008-01-30 03:02:13)


% whereis whatis whence which whoami whois who

Offline

#12 2008-01-30 08:00:24

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 907

Re: Sup: Gmail Meets the Console

Yes, Gmail has imap support, but, as I pointed out in the sup-talk mailing list, I think that there is a certain incompatibility between sup philosophy and imap philosophy: the point of imap is to access to the same structure of folders from several interfaces, with a real-time synchronizations of the actions from the different interfaces. But sup does not use folders at all and, admittedly, does not play well with others (the ferret index is confused when even a single flag has been changed by another mail client, or in the web interface if gmail). Thus, I do not see any advantage in using sup directly as an imap client with gmail: you get the slowness of the fetching of imap headers at each polling and you can not anymore use the gmail web interface. There are two solutions: either you use offlineimap or isync with an unidirectional syncing (so that nothing is screwed in sup's index), or you go back to pop3 with maildirs or mboxes (sup works fine with both). I have chosen this second scenarios (basically because the fetchers for pop3 are ATM lighter and stabler than the imap syncers, and all the additional benefits of imap access would be nonetheless lost).

I like so much sup that I have been happy to modify accordingly my email setup. Moreover, in this last month sup greatly improved and does not choke anymore on large maildirs.

About the second point, no, I haven't, I will do when I find the time to package sup and all its dependencies. Anyway you have simply to take the .deb from a debian repository, convert it with deb2targz, untar the archive, and copy run-mailcap (which is a perl script) somewhere in you path and make it executable (I did not find a place where it is possible to download the script directly without this routine: if you find it than it would be much simpler to put it in the AUR). Anyway, the script is now here:
http://www.patroclo7.org/archlinux/sup/run-mailcap

Last edited by patroclo7 (2008-01-30 08:06:31)


Mortuus in anima, curam gero cutis

Offline

#13 2008-01-30 18:59:59

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 960
Website

Re: Sup: Gmail Meets the Console

phrakture wrote:

but I can't seem to tear myself away from gmail's web interface.

+1 lol


I need real, proper pen and paper for this.

Offline

#14 2008-01-30 19:26:41

print
Member
From: teh cloud
Registered: 2007-02-27
Posts: 166

Re: Sup: Gmail Meets the Console

schivmeister wrote:
phrakture wrote:

but I can't seem to tear myself away from gmail's web interface.

+1 lol

Software that encourages top posting: -1 roll


% whereis whatis whence which whoami whois who

Offline

#15 2008-01-30 19:34:21

print
Member
From: teh cloud
Registered: 2007-02-27
Posts: 166

Re: Sup: Gmail Meets the Console

patroclo7 wrote:

Yes, Gmail has imap support, but, as I pointed out in the sup-talk mailing list, I think that there is a certain incompatibility between sup philosophy and imap philosophy: the point of imap is to access to the same structure of folders from several interfaces, with a real-time synchronizations of the actions from the different interfaces. But sup does not use folders at all and, admittedly, does not play well with others (the ferret index is confused when even a single flag has been changed by another mail client, or in the web interface if gmail). Thus, I do not see any advantage in using sup directly as an imap client with gmail: you get the slowness of the fetching of imap headers at each polling and you can not anymore use the gmail web interface. There are two solutions: either you use offlineimap or isync with an unidirectional syncing (so that nothing is screwed in sup's index), or you go back to pop3 with maildirs or mboxes (sup works fine with both). I have chosen this second scenarios (basically because the fetchers for pop3 are ATM lighter and stabler than the imap syncers, and all the additional benefits of imap access would be nonetheless lost).

I'll have to give POP a try . . . I noticed what you're describing; i.e., inconsistencies between the sups on my laptop and server.

patroclo7 wrote:

I like so much sup that I have been happy to modify accordingly my email setup. Moreover, in this last month sup greatly improved and does not choke anymore on large maildirs.

About the second point, no, I haven't, I will do when I find the time to package sup and all its dependencies. Anyway you have simply to take the .deb from a debian repository, convert it with deb2targz, untar the archive, and copy run-mailcap (which is a perl script) somewhere in you path and make it executable (I did not find a place where it is possible to download the script directly without this routine: if you find it than it would be much simpler to put it in the AUR). Anyway, the script is now here:
http://www.patroclo7.org/archlinux/sup/run-mailcap

Yeah, I just use gem to install Ruby stuff.  Have you seen this similar, more recent thread?
http://rubyforge.org/pipermail/sup-talk … 01081.html

The system call in ~/.sup/hooks/mime-view.rb opens html attachments as expected in an external firefox process, but I can't get elinks to dump to the console.  Any ideas?  I suppose I could just post this to the sup-talk mailing list instead smile

TIA


% whereis whatis whence which whoami whois who

Offline

#16 2008-01-30 19:35:19

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: Sup: Gmail Meets the Console

phrakture wrote:

I've been thinking of trying this out recently. I'd love to use mutt (or any console-based email reader, for that matter) much more, but I can't seem to tear myself away from gmail's web interface.

Gmail was a real boon for me, as I hated configuring Sendmail/Postfix/Fetchmail. That said, I have been thinking about running Fetchmail via Cron to occasionally pull down my email from Google for backup purposes (even Mutt's built in POP support would probably work for backup purposes).

Is anyone here doing something like that now?

Offline

#17 2008-01-30 22:19:39

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 907

Re: Sup: Gmail Meets the Console

@Agent69: I really think that for backup purposes (we are going completely off-topic, sup is a wonderful tool which reproduces the gmail experience on the console, but it is not designed for the kind of backup you have in mind) the best thing is to use IMAP access with offlineimap as a cron job: in this way everything (any flag whatever) is backed up perfectly, and any occasional change made with mutt is backed up on the server as well.

@print: I have only tried with firefox and w3m, may be you can play with the copiousoutput option and so in ~/.mailcap (I did not try the hook method, sorry).


Mortuus in anima, curam gero cutis

Offline

#18 2008-01-31 11:58:48

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Sup: Gmail Meets the Console

print wrote:
schivmeister wrote:
phrakture wrote:

but I can't seem to tear myself away from gmail's web interface.

+1 lol

Software that encourages top posting: -1 roll

+1


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#19 2008-01-31 12:36:35

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: Sup: Gmail Meets the Console

print wrote:
schivmeister wrote:
phrakture wrote:

but I can't seem to tear myself away from gmail's web interface.

+1 lol

Software that encourages top posting: -1 roll

You might as well get over that. From what I have seen, most people top post and I think those of us who don't are a minority.

Offline

#20 2008-01-31 13:31:08

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 907

Re: Sup: Gmail Meets the Console

Yeah, one should begin to say timidly that there is nothing so deeply mistaken or illogical in reading blocks of text from bottom to top and that all the geek obsession against top-posting is largely irrational. Also those custom signatures aiming to show how bad is top-posting has always seemed to me perfectly readable.

However I admit that i never top-post, basically to avoid pointless flamewars in open source mailing lists.


Mortuus in anima, curam gero cutis

Offline

#21 2008-01-31 20:06:29

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Sup: Gmail Meets the Console

I hate the top posting too, but a 20ish line greasemonkey script fixes it. (PS Irony)

dolby wrote:
print wrote:
schivmeister wrote:

+1 lol

Software that encourages top posting: -1 roll

+1

Offline

#22 2008-01-31 20:07:30

cactus
Taco Eater
From: ಠ_ರೃ
Registered: 2004-05-25
Posts: 4,611
Website

Re: Sup: Gmail Meets the Console

I agree with this.

phrakture wrote:

I hate the top posting too, but a 20ish line greasemonkey script fixes it. (PS Irony)

dolby wrote:
print wrote:

Software that encourages top posting: -1 roll

+1


ಠ_ಠ
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos." -- Cactus' Law

Offline

#23 2008-01-31 20:22:04

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 960
Website

Re: Sup: Gmail Meets the Console

+ 1 - 1 + 1 = + 1!

Last edited by schivmeister (2008-01-31 20:22:28)


I need real, proper pen and paper for this.

Offline

#24 2008-01-31 21:27:06

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Sup: Gmail Meets the Console

Why is top-posting such a bad thing?

cactus wrote:

I agree with this.

phrakture wrote:

I hate the top posting too, but a 20ish line greasemonkey script fixes it. (PS Irony)

dolby wrote:

+1


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#25 2008-02-01 01:54:47

semdornus
Member
From: Tokyo
Registered: 2007-08-07
Posts: 47

Re: Sup: Gmail Meets the Console

A: Because it messes up the order in which people normally read text.

shining wrote:

Why is top-posting such a bad thing?

cactus wrote:

I agree with this.

phrakture wrote:

I hate the top posting too, but a 20ish line greasemonkey script fixes it. (PS Irony)

Sorry, couldn't resist. big_smile

Offline

Board footer

Powered by FluxBB