sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/

community/pipermail-archives/sup-talk/2010-03.txt (118625B) - raw

      1 From johnbent@lanl.gov  Mon Mar  1 16:26:09 2010
      2 From: johnbent@lanl.gov (John Bent)
      3 Date: Mon, 01 Mar 2010 14:26:09 -0700
      4 Subject: [sup-talk] sup install error
      5 Message-ID: <1267478622-sup-2939@tangerine.lanl.gov>
      6 
      7 I've been using an old PowerPC Mac.  I got a new Intel one running
      8 Leopard (10.6.2) but got an error trying to install sup.  Everything is
      9 a fresh install.  The only thing I've done is install the Xcode tools.
     10 The error (below sig) looks like a problem with ncurses.  Looking around
     11 at the mkmf.log file (attached), I see more issues with curses: no
     12 wmove(), no libpdcurses.
     13 
     14 The ruby installed is 1.8.7.  gem is 1.3.1.
     15 
     16 I recreated this by copying the little test program with the wmove() in
     17 it.  When I tried to build it with -lncursesw, it failed because that
     18 lib doesn't exist but it did work with -lncurses (without the 'w').  So
     19 I just made a symlink:
     20 
     21 guava:/usr/lib>ln -s /usr/lib/libncurses.dylib /usr/lib/libncursesw.dylib
     22 
     23 That works.  Now gem install sup works.  But I'm not sure that's the
     24 best fix.  Anyway, it looks like the problem is in gem install ncursesw
     25 and not in gem install sup but I thought you might like to know about
     26 this.
     27  
     28 Thanks,
     29 
     30 John 
     31 
     32 guava:~>gem install sup
     33 Building native extensions.  This could take a while...
     34 ERROR:  Error installing sup:
     35     ERROR: Failed to build gem native extension.
     36 
     37 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
     38 extconf.rb install sup
     39 checking for unistd.h... yes
     40 checking for locale.h... yes
     41 checking for ncurses.h... yes
     42 checking for wmove() in -lncursesw... no
     43 checking for wmove() in -lpdcurses... no
     44 *** extconf.rb failed ***
     45 Could not create Makefile due to some reason, probably lack of
     46 necessary libraries and/or headers.  Check the mkmf.log file for more
     47 details.  You may need configuration options.
     48 
     49 Provided configuration options:
     50     --with-opt-dir
     51     --without-opt-dir
     52     --with-opt-include
     53     --without-opt-include=${opt-dir}/include
     54     --with-opt-lib
     55     --without-opt-lib=${opt-dir}/lib
     56     --with-make-prog
     57     --without-make-prog
     58     --srcdir=.
     59     --curdir
     60     --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
     61     --with-ncurseswlib
     62     --without-ncurseswlib
     63     --with-pdcurseslib
     64     --without-pdcurseslib
     65 extconf.rb:46: ncurses library not found (RuntimeError)
     66 
     67 
     68 Gem files will remain installed in
     69 /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1 for inspection.
     70 Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1/gem_make.out
     71 -------------- next part --------------
     72 A non-text attachment was scrubbed...
     73 Name: mkmf.log
     74 Type: application/octet-stream
     75 Size: 5143 bytes
     76 Desc: not available
     77 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100301/e4eb5e6d/attachment-0001.obj>
     78 
     79 From johnbent@lanl.gov  Mon Mar  1 16:57:03 2010
     80 From: johnbent@lanl.gov (John Bent)
     81 Date: Mon, 01 Mar 2010 14:57:03 -0700
     82 Subject: [sup-talk] sup install error
     83 In-Reply-To: <1267478622-sup-2939@tangerine.lanl.gov>
     84 References: <1267478622-sup-2939@tangerine.lanl.gov>
     85 Message-ID: <1267480569-sup-9556@tangerine.lanl.gov>
     86 
     87 Excerpts from John Bent's message of Mon Mar 01 14:26:09 -0700 2010:
     88 > I've been using an old PowerPC Mac.  I got a new Intel one running
     89 > Leopard (10.6.2) but got an error trying to install sup.  Everything is
     90 > a fresh install.  The only thing I've done is install the Xcode tools.
     91 > The error (below sig) looks like a problem with ncurses.  Looking around
     92 > at the mkmf.log file (attached), I see more issues with curses: no
     93 > wmove(), no libpdcurses.
     94 > 
     95 > The ruby installed is 1.8.7.  gem is 1.3.1.
     96 > 
     97 > I recreated this by copying the little test program with the wmove() in
     98 > it.  When I tried to build it with -lncursesw, it failed because that
     99 > lib doesn't exist but it did work with -lncurses (without the 'w').  So
    100 > I just made a symlink:
    101 > 
    102 > guava:/usr/lib>ln -s /usr/lib/libncurses.dylib /usr/lib/libncursesw.dylib
    103 > 
    104 > That works.  Now gem install sup works.  But I'm not sure that's the
    105 > best fix.  Anyway, it looks like the problem is in gem install ncursesw
    106 > and not in gem install sup but I thought you might like to know about
    107 > this.
    108 >  
    109 Whoops.  Maybe I shouldn't have done that.  gem install sup works, but
    110 sup itself doesn't (it's missing ncurses.so):
    111 
    112 guava:~>sup
    113 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    114 /custom_require.rb:31:in
    115 `gem_original_require': no such file to load -- ncurses.so (LoadError)
    116     from
    117 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    118 /custom_require.rb:31:in
    119 `require'
    120     from /Library/Ruby/Gems/1.8/gems/sup-0.10.2/lib/ncurses.rb:21
    121     from
    122 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    123 /custom_require.rb:31:in
    124 `gem_original_require'
    125     from
    126 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    127 /custom_require.rb:31:in
    128 `require'
    129     from /Library/Ruby/Gems/1.8/gems/sup-0.10.2/bin/sup:9
    130     from /usr/bin/sup:19:in `load'
    131     from /usr/bin/sup:19
    132 
    133 John
    134 > Thanks,
    135 > 
    136 > John 
    137 > 
    138 > guava:~>gem install sup
    139 > Building native extensions.  This could take a while...
    140 > ERROR:  Error installing sup:
    141 >     ERROR: Failed to build gem native extension.
    142 > 
    143 > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    144 > extconf.rb install sup
    145 > checking for unistd.h... yes
    146 > checking for locale.h... yes
    147 > checking for ncurses.h... yes
    148 > checking for wmove() in -lncursesw... no
    149 > checking for wmove() in -lpdcurses... no
    150 > *** extconf.rb failed ***
    151 > Could not create Makefile due to some reason, probably lack of
    152 > necessary libraries and/or headers.  Check the mkmf.log file for more
    153 > details.  You may need configuration options.
    154 > 
    155 > Provided configuration options:
    156 >     --with-opt-dir
    157 >     --without-opt-dir
    158 >     --with-opt-include
    159 >     --without-opt-include=${opt-dir}/include
    160 >     --with-opt-lib
    161 >     --without-opt-lib=${opt-dir}/lib
    162 >     --with-make-prog
    163 >     --without-make-prog
    164 >     --srcdir=.
    165 >     --curdir
    166 >     --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    167 >     --with-ncurseswlib
    168 >     --without-ncurseswlib
    169 >     --with-pdcurseslib
    170 >     --without-pdcurseslib
    171 > extconf.rb:46: ncurses library not found (RuntimeError)
    172 > 
    173 > 
    174 > Gem files will remain installed in
    175 > /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1 for inspection.
    176 > Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1/gem_make.out
    177 
    178 From johnbent@lanl.gov  Mon Mar  1 18:50:50 2010
    179 From: johnbent@lanl.gov (John Bent)
    180 Date: Mon, 01 Mar 2010 16:50:50 -0700
    181 Subject: [sup-talk] sup install error
    182 In-Reply-To: <1267480569-sup-9556@tangerine.lanl.gov>
    183 References: <1267478622-sup-2939@tangerine.lanl.gov>
    184 	<1267480569-sup-9556@tangerine.lanl.gov>
    185 Message-ID: <1267486887-sup-2403@tangerine.lanl.gov>
    186 
    187 Excerpts from John Bent's message of Mon Mar 01 14:57:03 -0700 2010:
    188 > Excerpts from John Bent's message of Mon Mar 01 14:26:09 -0700 2010:
    189 > > I've been using an old PowerPC Mac.  I got a new Intel one running
    190 > > Leopard (10.6.2) but got an error trying to install sup.  Everything is
    191 > > a fresh install.  The only thing I've done is install the Xcode tools.
    192 > > The error (below sig) looks like a problem with ncurses.  Looking around
    193 > > at the mkmf.log file (attached), I see more issues with curses: no
    194 > > wmove(), no libpdcurses.
    195 > > 
    196 > > The ruby installed is 1.8.7.  gem is 1.3.1.
    197 > > 
    198 > > I recreated this by copying the little test program with the wmove() in
    199 > > it.  When I tried to build it with -lncursesw, it failed because that
    200 > > lib doesn't exist but it did work with -lncurses (without the 'w').  So
    201 > > I just made a symlink:
    202 > > 
    203 > > guava:/usr/lib>ln -s /usr/lib/libncurses.dylib /usr/lib/libncursesw.dylib
    204 > > 
    205 > > That works.  Now gem install sup works.  But I'm not sure that's the
    206 > > best fix.  Anyway, it looks like the problem is in gem install ncursesw
    207 > > and not in gem install sup but I thought you might like to know about
    208 > > this.
    209 > >  
    210 > Whoops.  Maybe I shouldn't have done that.  gem install sup works, but
    211 > sup itself doesn't (it's missing ncurses.so):
    212 > 
    213 > guava:~>sup
    214 > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    215 > /custom_require.rb:31:in
    216 > `gem_original_require': no such file to load -- ncurses.so (LoadError)
    217 >     from
    218 > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    219 > /custom_require.rb:31:in
    220 > `require'
    221 >     from /Library/Ruby/Gems/1.8/gems/sup-0.10.2/lib/ncurses.rb:21
    222 >     from
    223 > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    224 > /custom_require.rb:31:in
    225 > `gem_original_require'
    226 >     from
    227 > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems
    228 > /custom_require.rb:31:in
    229 > `require'
    230 >     from /Library/Ruby/Gems/1.8/gems/sup-0.10.2/bin/sup:9
    231 >     from /usr/bin/sup:19:in `load'
    232 >     from /usr/bin/sup:19
    233 > 
    234 OK.  I've made some more progress but am still stuck.  I used macports
    235 to update ruby and gem and I undid the symlink library hack, and now gem
    236 install sup works.  Yay!  But I still can't get sup (or sup-config) to
    237 run.  I also did gem install xapian-full and I did port install
    238 xapian-core and xapian-bindings
    239 
    240 When I try to run, I get this:
    241 
    242 /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:229:in
    243 `init': unknown index type "xapian":
    244 dlopen(/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle,
    245 9): Library not loaded: /usr/local/lib/libxapian-1.1.3.dylib
    246 (RuntimeError)
    247   Referenced from:
    248 /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle
    249   Reason: image not found -
    250 /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle
    251     from /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-config:150
    252     from /opt/local/bin/sup-config:19:in `load'
    253     from /opt/local/bin/sup-config:19
    254  
    255 I don't have a /usr/local/lib/libxapian-1.1.3.dylib 
    256 but I do have /opt/local/lib/libxapian.15.6.6.dylib, et al.
    257 
    258 I do have
    259 /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle.
    260 
    261 
    262 If I try to use ferret, I get this error:
    263 
    264 /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:229:in
    265 `init': unknown index type "ferret": no such file to load -- ferret
    266 (RuntimeError)
    267     from /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-config:150
    268     from /opt/local/bin/sup-config:19:in `load'
    269     from /opt/local/bin/sup-config:19
    270 
    271 After I run, there is a new $HOME/.sup directory created with a
    272 config.yaml and a hooks/ directory.
    273 
    274 Any ideas?
    275 
    276 Thanks,
    277 
    278 John
    279 
    280  
    281 > John
    282 > > Thanks,
    283 > > 
    284 > > John 
    285 > > 
    286 > > guava:~>gem install sup
    287 > > Building native extensions.  This could take a while...
    288 > > ERROR:  Error installing sup:
    289 > >     ERROR: Failed to build gem native extension.
    290 > > 
    291 > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    292 > > extconf.rb install sup
    293 > > checking for unistd.h... yes
    294 > > checking for locale.h... yes
    295 > > checking for ncurses.h... yes
    296 > > checking for wmove() in -lncursesw... no
    297 > > checking for wmove() in -lpdcurses... no
    298 > > *** extconf.rb failed ***
    299 > > Could not create Makefile due to some reason, probably lack of
    300 > > necessary libraries and/or headers.  Check the mkmf.log file for more
    301 > > details.  You may need configuration options.
    302 > > 
    303 > > Provided configuration options:
    304 > >     --with-opt-dir
    305 > >     --without-opt-dir
    306 > >     --with-opt-include
    307 > >     --without-opt-include=${opt-dir}/include
    308 > >     --with-opt-lib
    309 > >     --without-opt-lib=${opt-dir}/lib
    310 > >     --with-make-prog
    311 > >     --without-make-prog
    312 > >     --srcdir=.
    313 > >     --curdir
    314 > >     --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    315 > >     --with-ncurseswlib
    316 > >     --without-ncurseswlib
    317 > >     --with-pdcurseslib
    318 > >     --without-pdcurseslib
    319 > > extconf.rb:46: ncurses library not found (RuntimeError)
    320 > > 
    321 > > 
    322 > > Gem files will remain installed in
    323 > > /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1 for inspection.
    324 > > Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1/gem_make.out
    325 
    326 From johnbent@lanl.gov  Mon Mar  1 18:52:08 2010
    327 From: johnbent@lanl.gov (John Bent)
    328 Date: Mon, 01 Mar 2010 16:52:08 -0700
    329 Subject: [sup-talk] xapian error in startup v0.10.2 under Macports
    330 In-Reply-To: <3951FB79-4C19-4086-BE14-409458CB090F@ci.uchicago.edu>
    331 References: <8F59B6F6-523C-48FD-8EFA-7F951FB08E15@ci.uchicago.edu>
    332 	<3951FB79-4C19-4086-BE14-409458CB090F@ci.uchicago.edu>
    333 Message-ID: <1267487491-sup-6757@tangerine.lanl.gov>
    334 
    335 Excerpts from Neil Best's message of Tue Feb 09 05:58:56 -0700 2010:
    336 > 
    337 > By saying:
    338 > 
    339 > sup -i ferret
    340 > 
    341 > it looks like I can at least get started.  What's the situation and  
    342 > what should I expect?  Should I just work in this mode until a new  
    343 > version propagates to Macports?  Thanks.
    344 > 
    345 I'm seeing similar behavior.  I have a longer error report in a
    346 different thread, 'sup install error,' which I now realize could be more
    347 descriptive. :)
    348 
    349 John
    350 
    351 From eliecartan@mailworks.org  Mon Mar  1 19:23:10 2010
    352 From: eliecartan@mailworks.org (E. Cartan)
    353 Date: Mon, 1 Mar 2010 18:23:10 -0600
    354 Subject: [sup-talk] index options, by addressee instead of by sender
    355 Message-ID: <20100302002310.GB19325@katowice>
    356 
    357 
    358 
    359 
    360   I am in the process of changing from mutt to sup, and there
    361   is a feature from mutt which I miss. I would like to know
    362   whether it might possible to force it with some simple 
    363   configuration options.
    364 
    365   I would like to see the messages which one sends displayed 
    366   on the sup index by "addressee", instead of by "sender" 
    367   (or sender replaced by "me").  Not all messages, but 
    368   just the one sent by me.
    369 
    370   With mutt, my practice was to use a hook to include for myself
    371   a bcc copy of all outgoing mail, and my own messages would be 
    372   displayed among the incoming mail as 
    373 
    374    978   F Feb 23 To Alexis       (0.5K) request
    375    979   F Feb 24 To Marshall     (0.9K) request
    376    980   F Feb 28 To Andrea       (1.7K) Colloquium - Friday
    377 
    378   Using sup, after I send the same messages, and before I receive a reply,
    379   I see a list like the following:
    380   
    381    Feb 23 me              (2) >request
    382    Feb 24 me                  >request
    383    Feb 28 me                  >Colloquium - Friday
    384 
    385   which is not very informative, specially  after sending several 
    386   messages with the same, or similar subjects.
    387 
    388   Many thanks for any help.
    389 
    390   Elie.
    391 
    392 
    393 
    394 From bwalton@artsci.utoronto.ca  Mon Mar  1 19:38:45 2010
    395 From: bwalton@artsci.utoronto.ca (Ben Walton)
    396 Date: Mon, 01 Mar 2010 19:38:45 -0500
    397 Subject: [sup-talk] index options, by addressee instead of by sender
    398 In-Reply-To: <20100302002310.GB19325@katowice>
    399 References: <20100302002310.GB19325@katowice>
    400 Message-ID: <1267490267-sup-2324@pinkfloyd.chass.utoronto.ca>
    401 
    402 Excerpts from E. Cartan's message of Mon Mar 01 19:23:10 -0500 2010:
    403 
    404 >   I would like to see the messages which one sends displayed 
    405 >   on the sup index by "addressee", instead of by "sender" 
    406 >   (or sender replaced by "me").  Not all messages, but 
    407 >   just the one sent by me.
    408 
    409 I think there is a patch to do just this that is likely to be included
    410 in the next release of sup (or available now if you track the git
    411 repo).  This is from memory.  Rich, can you confirm?
    412 
    413 Thanks
    414 -Ben
    415 -------------- next part --------------
    416 A non-text attachment was scrubbed...
    417 Name: signature.asc
    418 Type: application/pgp-signature
    419 Size: 189 bytes
    420 Desc: not available
    421 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100301/8b9769bc/attachment.bin>
    422 
    423 From rlane@club.cc.cmu.edu  Mon Mar  1 20:02:02 2010
    424 From: rlane@club.cc.cmu.edu (Rich Lane)
    425 Date: Mon, 01 Mar 2010 20:02:02 -0500
    426 Subject: [sup-talk] index options, by addressee instead of by sender
    427 In-Reply-To: <1267490267-sup-2324@pinkfloyd.chass.utoronto.ca>
    428 References: <20100302002310.GB19325@katowice>
    429 	<1267490267-sup-2324@pinkfloyd.chass.utoronto.ca>
    430 Message-ID: <1267491669-sup-1089@zyrg.net>
    431 
    432 Excerpts from Ben Walton's message of 2010-03-01 19:38:45 -0500:
    433 > Excerpts from E. Cartan's message of Mon Mar 01 19:23:10 -0500 2010:
    434 > 
    435 > >   I would like to see the messages which one sends displayed 
    436 > >   on the sup index by "addressee", instead of by "sender" 
    437 > >   (or sender replaced by "me").  Not all messages, but 
    438 > >   just the one sent by me.
    439 > 
    440 > I think there is a patch to do just this that is likely to be included
    441 > in the next release of sup (or available now if you track the git
    442 > repo).  This is from memory.  Rich, can you confirm?
    443 
    444 Yes, the patch is in master and will go out in 0.11.
    445 
    446 From piotr.kempa@wp.eu  Tue Mar  2 05:49:59 2010
    447 From: piotr.kempa@wp.eu (piotr.kempa at wp.eu)
    448 Date: Tue, 2 Mar 2010 11:49:59 +0100
    449 Subject: [sup-talk] PGP INLINE - can't make it work
    450 In-Reply-To: <1267205858-sup-7113@hysbald>
    451 References: <201002261808.36354.kosmici-atakuja@wp.pl>
    452 	<1267205858-sup-7113@hysbald>
    453 Message-ID: <201003021149.59760.piotr.kempa@wp.eu>
    454 
    455 I digged a bit further, trying to decode the emails from commandline with "gpg 
    456 --decode". For some of the inline GPG emails the commandline version fails, 
    457 but for some other it works. Even for those that it works, sup just shows 
    458 undecoded version which leads me to believe it doesn't even try to decode, 
    459 which means it doesn't recognize the email as encrypted at all. 
    460 
    461 As far as I can deduct, sup only recognizes encrypted emails if they have 
    462 something like this inside:
    463 Content-Type: multipart/encrypted;
    464   boundary="nextPart15239034.i9UOPnLxZ9";
    465   protocol="application/pgp-encrypted"
    466 
    467 Or similar. Which is a reasonable behaviour.
    468 
    469 On the other hand, if the damned enigmail creates an email with "Content-Type: 
    470 text/plain;" and then proceeds to include "-----BEGIN PGP MESSAGE-----" in the 
    471 body, sup treats this as (no surprise) text/plain and doesn't decode. If it 
    472 tried, it would succeed since this message passed through gpg --decode is 
    473 decoded okay.
    474 
    475 So, I guess if this functionality is to be included in sup (and I think it 
    476 doesn't have to be since enigmail just makes broken messages and there's no 
    477 reason why anybody should put up with that:) it should not be in crypto.rb but 
    478 somewhere else, where the decision is made to even use functions from 
    479 crypto.rb (like decrypt) on a message. I'm no programmer but I guess it should 
    480 be something like this:
    481 if payload contains "BEGIN PGP MESSAGE" then run the decrypt function from 
    482 crypto.rb on it. 
    483 
    484 For now - does anybody know a way to mass decrypt all messages in my mailbox 
    485 so I can keep them in plain text and use sup anyway? That would be ideal 
    486 solution but I just can't find a program to do that. And gpg itself isn't 
    487 helpful since it just prints decoded payload on --output, without the headers, 
    488 so it's no use in batch. I can try to code this in bash but maybe there's 
    489 something out there already?
    490 
    491 Thank you
    492 Piotr
    493 
    494 On Friday 26 February 2010 18:43:04 Sven Schober wrote:
    495 > Excerpts from kosmici-atakuja's message of Fri Feb 26 18:08:36 +0100 2010:
    496 > > First of wall I want to say I absolutely love sup! I used all the major 
    497 mail 
    498 > > clients like mutt, claws, thunderbird, kmail. All mail clients just fail 
    499 (mutt 
    500 > > was the closest though...). Sup so far has the potential to be the best of 
    501 > > them. If only I can get it to read the inline gpg that enigmail makes...
    502 > > 
    503 > +1
    504 > 
    505 > > Is there anything I can do to get this working? This is a crucial feature 
    506 for 
    507 > > me...
    508 > > 
    509 > +1
    510 > > Moreover, I searched the list archives and it looks like some people have 
    511 got 
    512 > > it working as there have been patches to make it work a couple of months 
    513 ago. 
    514 > > And my version is recent (January) so those patches should be in it. It 
    515 just 
    516 > > doesn't for me for some reason :(
    517 > > 
    518 > I think there was a (preliminary) patch from Michael Stapelberg
    519 > floating around, but somehow that didn't make it into next?
    520 > 
    521 > > I know I should read crypto.rb and figure it out from there. I tried, I 
    522 just 
    523 > > can't understand it, as I'm not experienced in ruby, or email clients code 
    524 for 
    525 > > that matter. 
    526 > > 
    527 > +1
    528 > 
    529 > > Please help!
    530 > +1
    531 > 
    532 > > Thank you
    533 > > Piotr
    534 > 
    535 > Ciao,
    536 >   Sven
    537 > -- 
    538 > Sven Schober, sven.schober at uni-ulm.de                    |UNI ULM
    539 > http://www-vs.informatik.uni-ulm.de/dept/staff/schober/  |DISTRIBUTED
    540 > Room O27-346, Phone: +49-731-5024146 [+49-179-5060182]   |SYSTEMS LAB
    541 > 
    542 
    543 From michael+sup@stapelberg.de  Tue Mar  2 08:59:19 2010
    544 From: michael+sup@stapelberg.de (Michael Stapelberg)
    545 Date: Tue, 02 Mar 2010 14:59:19 +0100
    546 Subject: [sup-talk] PGP INLINE - can't make it work
    547 In-Reply-To: <201003021149.59760.piotr.kempa@wp.eu>
    548 References: <201002261808.36354.kosmici-atakuja@wp.pl>
    549 	<1267205858-sup-7113@hysbald>
    550 	<201003021149.59760.piotr.kempa@wp.eu>
    551 Message-ID: <1267538314-sup-6684@midna.zekjur.net>
    552 
    553 Hi Piotr,
    554 
    555 Excerpts from piotr.kempa's message of Di M?r 02 11:49:59 +0100 2010:
    556 > So, I guess if this functionality is to be included in sup (and I think it 
    557 > doesn't have to be since enigmail just makes broken messages and there's no 
    558 > reason why anybody should put up with that:) it should not be in crypto.rb but 
    559 > somewhere else, where the decision is made to even use functions from 
    560 > crypto.rb (like decrypt) on a message. I'm no programmer but I guess it should 
    561 As mentioned, I wrote a patch to do this. It is currently in review and will
    562 hopefully be included soon.
    563 
    564 Best regards,
    565 Michael
    566 
    567 From piotr.kempa@wp.eu  Tue Mar  2 09:19:23 2010
    568 From: piotr.kempa@wp.eu (piotr.kempa at wp.eu)
    569 Date: Tue, 2 Mar 2010 15:19:23 +0100
    570 Subject: [sup-talk] PGP INLINE - can't make it work
    571 In-Reply-To: <1267538314-sup-6684@midna.zekjur.net>
    572 References: <201002261808.36354.kosmici-atakuja@wp.pl>
    573 	<201003021149.59760.piotr.kempa@wp.eu>
    574 	<1267538314-sup-6684@midna.zekjur.net>
    575 Message-ID: <201003021519.23488.piotr.kempa@wp.eu>
    576 
    577 Sounds cool, I can't wait then. Let's hope the patch is included in 0.11. 
    578 Thanks Michael!
    579 Piotr
    580 
    581 On Tuesday 02 March 2010 14:59:19 Michael Stapelberg wrote:
    582 > Hi Piotr,
    583 > 
    584 > Excerpts from piotr.kempa's message of Di M?r 02 11:49:59 +0100 2010:
    585 > > So, I guess if this functionality is to be included in sup (and I think it 
    586 > > doesn't have to be since enigmail just makes broken messages and there's 
    587 no 
    588 > > reason why anybody should put up with that:) it should not be in crypto.rb 
    589 but 
    590 > > somewhere else, where the decision is made to even use functions from 
    591 > > crypto.rb (like decrypt) on a message. I'm no programmer but I guess it 
    592 should 
    593 > As mentioned, I wrote a patch to do this. It is currently in review and will
    594 > hopefully be included soon.
    595 > 
    596 > Best regards,
    597 > Michael
    598 > _______________________________________________
    599 > sup-talk mailing list
    600 > sup-talk at rubyforge.org
    601 > http://rubyforge.org/mailman/listinfo/sup-talk
    602 > 
    603 
    604 From samhall@riseup.net  Tue Mar  2 09:12:39 2010
    605 From: samhall@riseup.net (Sam Hall)
    606 Date: Tue, 2 Mar 2010 15:12:39 +0100
    607 Subject: [sup-talk] PGP INLINE - can't make it work
    608 In-Reply-To: <201003021149.59760.piotr.kempa@wp.eu>
    609 References: <201002261808.36354.kosmici-atakuja@wp.pl>
    610 	<1267205858-sup-7113@hysbald>
    611 	<201003021149.59760.piotr.kempa@wp.eu>
    612 Message-ID: <20100302141239.GC28071@IvBodjogyut5>
    613 
    614 On Tue, Mar 02, 2010 at 11:49 (+0100), piotr.kempa at wp.eu wrote:
    615 > For now - does anybody know a way to mass decrypt all messages in my
    616 > mailbox so I can keep them in plain text and use sup anyway?
    617 
    618 Using mutt with tagging and decrypt-save should work (didn't test that,
    619 though). Google for decrypt-save, it's not documented in the manual.
    620 
    621 
    622 Best wishes,
    623   /Sam
    624 
    625 
    626 From johnbent@lanl.gov  Tue Mar  2 13:06:35 2010
    627 From: johnbent@lanl.gov (John Bent)
    628 Date: Tue, 02 Mar 2010 11:06:35 -0700
    629 Subject: [sup-talk] default_attachment_save_dir
    630 Message-ID: <1267553166-sup-2030@tangerine.lanl.gov>
    631 
    632 Is there a patch so that the default_attachment_save_dir is not static
    633 but uses the last used location?
    634 
    635 Thanks,
    636 
    637 John
    638 
    639 From bwalton@artsci.utoronto.ca  Tue Mar  2 13:49:06 2010
    640 From: bwalton@artsci.utoronto.ca (Ben Walton)
    641 Date: Tue,  2 Mar 2010 13:49:06 -0500
    642 Subject: [sup-talk] [PATCH] Small bugfix in keymap run_hook
    643 Message-ID: <1267555747-6064-1-git-send-email-bwalton@artsci.utoronto.ca>
    644 
    645 I just merged the tip of origin/next and sup blew up on me.  The
    646 attached patch corrects this bug and, I think, provides the intended
    647 behaviour.
    648 
    649 Ben Walton (1):
    650   Small bug ifx in keymap run_hook method
    651 
    652  lib/sup/keymap.rb |    2 +-
    653  1 files changed, 1 insertions(+), 1 deletions(-)
    654 
    655 
    656 From bwalton@artsci.utoronto.ca  Tue Mar  2 13:49:07 2010
    657 From: bwalton@artsci.utoronto.ca (Ben Walton)
    658 Date: Tue,  2 Mar 2010 13:49:07 -0500
    659 Subject: [sup-talk] [PATCH] Small bug ifx in keymap run_hook method
    660 In-Reply-To: <1267555747-6064-1-git-send-email-bwalton@artsci.utoronto.ca>
    661 References: <1267555747-6064-1-git-send-email-bwalton@artsci.utoronto.ca>
    662 Message-ID: <1267555747-6064-2-git-send-email-bwalton@artsci.utoronto.ca>
    663 
    664 Splat the array that is returned from Modes.keymaps.map when it is
    665 passed into Hash[] to avoid an error about an odd number of parameters
    666 being passes to the method.
    667 
    668 Error was:
    669 ./sup/keymap.rb:129:in `[]': odd number of arguments for Hash
    670 (ArgumentError)
    671         from ./sup/keymap.rb:129:in `run_hook'
    672         from ../bin/sup:98
    673 
    674 Signed-off-by: Ben Walton <bwalton at artsci.utoronto.ca>
    675 ---
    676  lib/sup/keymap.rb |    2 +-
    677  1 files changed, 1 insertions(+), 1 deletions(-)
    678 
    679 diff --git a/lib/sup/keymap.rb b/lib/sup/keymap.rb
    680 index 93060b8..8d54924 100644
    681 --- a/lib/sup/keymap.rb
    682 +++ b/lib/sup/keymap.rb
    683 @@ -126,7 +126,7 @@ EOS
    684    end
    685  
    686    def self.run_hook global_keymap
    687 -    modes = Hash[Mode.keymaps.map { |klass,keymap| [Mode.make_name(klass.name),klass] }]
    688 +    modes = Hash[*Mode.keymaps.map { |klass,keymap| [Mode.make_name(klass.name),klass] }]
    689      locals = {
    690        :modes => modes,
    691        :global_keymap => global_keymap,
    692 -- 
    693 1.7.0
    694 
    695 
    696 From bwalton@artsci.utoronto.ca  Tue Mar  2 13:58:15 2010
    697 From: bwalton@artsci.utoronto.ca (Ben Walton)
    698 Date: Tue,  2 Mar 2010 13:58:15 -0500
    699 Subject: [sup-talk] [PATCH] Small bug fix in keymap run_hook method
    700 In-Reply-To: <1267555747-6064-1-git-send-email-bwalton@artsci.utoronto.ca>
    701 References: <1267555747-6064-1-git-send-email-bwalton@artsci.utoronto.ca>
    702 Message-ID: <1267556295-6401-1-git-send-email-bwalton@artsci.utoronto.ca>
    703 
    704 Splat the array that is returned from Modes.keymaps.map when it is
    705 passed into Hash[] to avoid an error about an odd number of parameters
    706 being passes to the method.
    707 
    708 Error was:
    709 ./sup/keymap.rb:129:in `[]': odd number of arguments for Hash
    710 (ArgumentError)
    711         from ./sup/keymap.rb:129:in `run_hook'
    712         from ../bin/sup:98
    713 
    714 Signed-off-by: Ben Walton <bwalton at artsci.utoronto.ca>
    715 ---
    716 
    717 This time with correct spelling in commit message. :)
    718 
    719  lib/sup/keymap.rb |    2 +-
    720  1 files changed, 1 insertions(+), 1 deletions(-)
    721 
    722 diff --git a/lib/sup/keymap.rb b/lib/sup/keymap.rb
    723 index 93060b8..8d54924 100644
    724 --- a/lib/sup/keymap.rb
    725 +++ b/lib/sup/keymap.rb
    726 @@ -126,7 +126,7 @@ EOS
    727    end
    728  
    729    def self.run_hook global_keymap
    730 -    modes = Hash[Mode.keymaps.map { |klass,keymap| [Mode.make_name(klass.name),klass] }]
    731 +    modes = Hash[*Mode.keymaps.map { |klass,keymap| [Mode.make_name(klass.name),klass] }]
    732      locals = {
    733        :modes => modes,
    734        :global_keymap => global_keymap,
    735 -- 
    736 1.7.0
    737 
    738 
    739 From bwalton@artsci.utoronto.ca  Tue Mar  2 14:20:50 2010
    740 From: bwalton@artsci.utoronto.ca (Ben Walton)
    741 Date: Tue,  2 Mar 2010 14:20:50 -0500
    742 Subject: [sup-talk] [PATCH] Strip out ruby 1.9-ism
    743 In-Reply-To: <y>
    744 References: <y>
    745 Message-ID: <1267557651-7110-1-git-send-email-bwalton@artsci.utoronto.ca>
    746 
    747 The tip of next uses Object.tap in the buffer manager code.  This blew
    748 up on me.  The attached patch corrects this.
    749 
    750 (I'm going to have to build me a ruby 1.9 rpm soon, me thinks.)
    751 
    752 Ben Walton (1):
    753   Remove use of Object tap method
    754 
    755  lib/sup/buffer.rb |    7 ++++++-
    756  1 files changed, 6 insertions(+), 1 deletions(-)
    757 
    758 
    759 From bwalton@artsci.utoronto.ca  Tue Mar  2 14:20:51 2010
    760 From: bwalton@artsci.utoronto.ca (Ben Walton)
    761 Date: Tue,  2 Mar 2010 14:20:51 -0500
    762 Subject: [sup-talk] [PATCH] Remove use of Object tap method
    763 In-Reply-To: <y>
    764 References: <y>
    765 Message-ID: <1267557651-7110-2-git-send-email-bwalton@artsci.utoronto.ca>
    766 
    767 Remove ruby 1.9-ism in buffer.rb.  This keeps things running on older
    768 ruby versions.
    769 
    770 Signed-off-by: Ben Walton <bwalton at artsci.utoronto.ca>
    771 ---
    772  lib/sup/buffer.rb |    7 ++++++-
    773  1 files changed, 6 insertions(+), 1 deletions(-)
    774 
    775 diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
    776 index 5772bb0..ccbd38f 100644
    777 --- a/lib/sup/buffer.rb
    778 +++ b/lib/sup/buffer.rb
    779 @@ -612,7 +612,12 @@ EOS
    780        tf.deactivate
    781        draw_screen :sync => false, :status => status, :title => title
    782      end
    783 -    tf.value.tap { |x| x.force_encoding Encoding::UTF_8 if x && x.respond_to?(:encoding) }
    784 +
    785 +    v = if tf.value && tf.value.respond_to?(:encoding)
    786 +          tf.value.force_encoding Encoding::UTF_8
    787 +        else
    788 +          tf.value
    789 +        end
    790    end
    791  
    792    def ask_getch question, accept=nil
    793 -- 
    794 1.7.0
    795 
    796 
    797 From bwalton@artsci.utoronto.ca  Tue Mar  2 14:27:27 2010
    798 From: bwalton@artsci.utoronto.ca (Ben Walton)
    799 Date: Tue, 02 Mar 2010 14:27:27 -0500
    800 Subject: [sup-talk] default_attachment_save_dir
    801 In-Reply-To: <1267553166-sup-2030@tangerine.lanl.gov>
    802 References: <1267553166-sup-2030@tangerine.lanl.gov>
    803 Message-ID: <1267557911-sup-352@pinkfloyd.chass.utoronto.ca>
    804 
    805 Excerpts from John Bent's message of Tue Mar 02 13:06:35 -0500 2010:
    806 
    807 > Is there a patch so that the default_attachment_save_dir is not
    808 > static but uses the last used location?
    809 
    810 Not that I'm aware of, but the attached seems to do the trick.  I like
    811 this feature?  Anyone else?
    812 
    813 Thanks
    814 -Ben
    815 -------------- next part --------------
    816 A non-text attachment was scrubbed...
    817 Name: 0001-remember-save-dir.patch
    818 Type: application/octet-stream
    819 Size: 1718 bytes
    820 Desc: not available
    821 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100302/cf8131f6/attachment.obj>
    822 -------------- next part --------------
    823 A non-text attachment was scrubbed...
    824 Name: signature.asc
    825 Type: application/pgp-signature
    826 Size: 189 bytes
    827 Desc: not available
    828 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100302/cf8131f6/attachment.bin>
    829 
    830 From ezyang@MIT.EDU  Tue Mar  2 14:55:24 2010
    831 From: ezyang@MIT.EDU (Edward Z. Yang)
    832 Date: Tue, 02 Mar 2010 14:55:24 -0500
    833 Subject: [sup-talk] ncurses opts exception on master
    834 In-Reply-To: <1267335529-sup-9079@zyrg.net>
    835 References: <1267331100-sup-926@black-opal.mit.edu>
    836 	<1267335529-sup-9079@zyrg.net>
    837 Message-ID: <1267559702-sup-4934@ezyang>
    838 
    839 Excerpts from Rich Lane's message of Sun Feb 28 02:11:35 -0500 2010:
    840 > I'm guessing you have an old version of the ncurses gem. Installing
    841 > the ncursesw gem should fix this.
    842 
    843 Does the ncursesw gem have the Unicode fixes?
    844 
    845 Cheers,
    846 Edward
    847 
    848 From sven.schober@uni-ulm.de  Tue Mar  2 17:04:14 2010
    849 From: sven.schober@uni-ulm.de (Sven Schober)
    850 Date: Tue, 02 Mar 2010 23:04:14 +0100
    851 Subject: [sup-talk] default_attachment_save_dir
    852 In-Reply-To: <1267557911-sup-352@pinkfloyd.chass.utoronto.ca>
    853 References: <1267553166-sup-2030@tangerine.lanl.gov>
    854 	<1267557911-sup-352@pinkfloyd.chass.utoronto.ca>
    855 Message-ID: <1267567426-sup-6492@hysbald>
    856 
    857 Excerpts from Ben Walton's message of Tue Mar 02 20:27:27 +0100 2010:
    858 > Excerpts from John Bent's message of Tue Mar 02 13:06:35 -0500 2010:
    859 > 
    860 > > Is there a patch so that the default_attachment_save_dir is not
    861 > > static but uses the last used location?
    862 > 
    863 > Not that I'm aware of, but the attached seems to do the trick.  I like
    864 > this feature?  Anyone else?
    865 > 
    866 +1
    867 
    868 > Thanks
    869 > -Ben
    870 
    871 Ciao,
    872  Sven
    873 -- 
    874 Sven Schober, sven.schober at uni-ulm.de                    |UNI ULM
    875 http://www-vs.informatik.uni-ulm.de/dept/staff/schober/  |DISTRIBUTED
    876 Room O27-346, Phone: +49-731-5024146                     |SYSTEMS LAB
    877 -------------- next part --------------
    878 A non-text attachment was scrubbed...
    879 Name: signature.asc
    880 Type: application/pgp-signature
    881 Size: 198 bytes
    882 Desc: not available
    883 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100302/1536ffa4/attachment.bin>
    884 
    885 From rick.tessner@gmail.com  Tue Mar  2 17:10:15 2010
    886 From: rick.tessner@gmail.com (rick.tessner)
    887 Date: Tue, 02 Mar 2010 14:10:15 -0800
    888 Subject: [sup-talk] [PATCH] Remove use of Object tap method
    889 In-Reply-To: <1267557651-7110-2-git-send-email-bwalton@artsci.utoronto.ca>
    890 References: <y> <1267557651-7110-2-git-send-email-bwalton@artsci.utoronto.ca>
    891 Message-ID: <1267567699-sup-491@onnadayr.ca>
    892 
    893 Excerpts from Ben Walton's message of Tue Mar 02 11:20:51 -0800 2010:
    894 > Remove ruby 1.9-ism in buffer.rb.  This keeps things running on older
    895 > ruby versions.
    896 
    897 What about adding a lib/sup/tap.rb that looks like this:
    898 
    899     unless Object.respond_to?(:tap)
    900       class Object
    901         def tap
    902           yield self
    903           self
    904         end
    905       end
    906     end
    907 
    908 and then adding a:
    909 
    910     require 'tap'
    911 
    912 to lib/sup.rb?  'tap' is a really handy little method that cleans up
    913 code nicely. :)
    914 -- 
    915 Rick Tessner
    916 rick.tessner at gmail.com
    917 
    918 From bwalton@artsci.utoronto.ca  Tue Mar  2 17:46:17 2010
    919 From: bwalton@artsci.utoronto.ca (Ben Walton)
    920 Date: Tue, 02 Mar 2010 17:46:17 -0500
    921 Subject: [sup-talk] [PATCH] Remove use of Object tap method
    922 In-Reply-To: <1267567699-sup-491@onnadayr.ca>
    923 References: <y> <1267557651-7110-2-git-send-email-bwalton@artsci.utoronto.ca>
    924 	<1267567699-sup-491@onnadayr.ca>
    925 Message-ID: <1267569917-sup-8028@pinkfloyd.chass.utoronto.ca>
    926 
    927 Excerpts from rick.tessner's message of Tue Mar 02 17:10:15 -0500 2010:
    928 
    929 > What about adding a lib/sup/tap.rb that looks like this:
    930 
    931 Or putting that directly in the lib/sup/util.rb that already has
    932 monkey patching type code?  I'm ok with this solution and agree that
    933 the tap method is a beautiful little thing.
    934 
    935 Thanks
    936 -Ben
    937 -------------- next part --------------
    938 A non-text attachment was scrubbed...
    939 Name: signature.asc
    940 Type: application/pgp-signature
    941 Size: 189 bytes
    942 Desc: not available
    943 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100302/95e27fee/attachment.bin>
    944 
    945 From rlane@club.cc.cmu.edu  Wed Mar  3 13:12:01 2010
    946 From: rlane@club.cc.cmu.edu (Rich Lane)
    947 Date: Wed, 03 Mar 2010 13:12:01 -0500
    948 Subject: [sup-talk] [PATCH] Remove use of Object tap method
    949 In-Reply-To: <1267569917-sup-8028@pinkfloyd.chass.utoronto.ca>
    950 References: <y> <1267557651-7110-2-git-send-email-bwalton@artsci.utoronto.ca>
    951 	<1267567699-sup-491@onnadayr.ca>
    952 	<1267569917-sup-8028@pinkfloyd.chass.utoronto.ca>
    953 Message-ID: <1267639869-sup-1568@zyrg.net>
    954 
    955 Excerpts from Ben Walton's message of 2010-03-02 17:46:17 -0500:
    956 > Excerpts from rick.tessner's message of Tue Mar 02 17:10:15 -0500 2010:
    957 > 
    958 > > What about adding a lib/sup/tap.rb that looks like this:
    959 > 
    960 > Or putting that directly in the lib/sup/util.rb that already has
    961 > monkey patching type code?  I'm ok with this solution and agree that
    962 > the tap method is a beautiful little thing.
    963 
    964 What do you think about requiring the backports gem and getting rid of
    965 the compatibility code in util?
    966 
    967 From bwalton@artsci.utoronto.ca  Wed Mar  3 13:25:04 2010
    968 From: bwalton@artsci.utoronto.ca (Ben Walton)
    969 Date: Wed, 03 Mar 2010 13:25:04 -0500
    970 Subject: [sup-talk] [PATCH] Remove use of Object tap method
    971 In-Reply-To: <1267639869-sup-1568@zyrg.net>
    972 References: <y> <1267557651-7110-2-git-send-email-bwalton@artsci.utoronto.ca>
    973 	<1267567699-sup-491@onnadayr.ca>
    974 	<1267569917-sup-8028@pinkfloyd.chass.utoronto.ca>
    975 	<1267639869-sup-1568@zyrg.net>
    976 Message-ID: <1267640648-sup-2936@pinkfloyd.chass.utoronto.ca>
    977 
    978 Excerpts from Rich Lane's message of Wed Mar 03 13:12:01 -0500 2010:
    979 
    980 > What do you think about requiring the backports gem and getting rid of
    981 > the compatibility code in util?
    982 
    983 I wasn't aware of this gem.  It sounds like a better route from the
    984 supportability point of view.  I'll check it out and see if there is
    985 anything that isn't agreeable about it.  Do others already have
    986 experience with it?
    987 
    988 Thanks
    989 -Ben
    990 -------------- next part --------------
    991 A non-text attachment was scrubbed...
    992 Name: signature.asc
    993 Type: application/pgp-signature
    994 Size: 189 bytes
    995 Desc: not available
    996 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100303/d8fe7bf7/attachment.bin>
    997 
    998 From rlane@club.cc.cmu.edu  Wed Mar  3 17:23:06 2010
    999 From: rlane@club.cc.cmu.edu (Rich Lane)
   1000 Date: Wed, 03 Mar 2010 17:23:06 -0500
   1001 Subject: [sup-talk] sup install error
   1002 In-Reply-To: <1267478622-sup-2939@tangerine.lanl.gov>
   1003 References: <1267478622-sup-2939@tangerine.lanl.gov>
   1004 Message-ID: <1267654880-sup-4875@zyrg.net>
   1005 
   1006 Excerpts from John Bent's message of 2010-03-01 16:26:09 -0500:
   1007 > I've been using an old PowerPC Mac.  I got a new Intel one running
   1008 > Leopard (10.6.2) but got an error trying to install sup.  Everything is
   1009 > a fresh install.  The only thing I've done is install the Xcode tools.
   1010 > The error (below sig) looks like a problem with ncurses.  Looking around
   1011 > at the mkmf.log file (attached), I see more issues with curses: no
   1012 > wmove(), no libpdcurses.
   1013 > 
   1014 > The ruby installed is 1.8.7.  gem is 1.3.1.
   1015 > 
   1016 > I recreated this by copying the little test program with the wmove() in
   1017 > it.  When I tried to build it with -lncursesw, it failed because that
   1018 > lib doesn't exist but it did work with -lncurses (without the 'w').  So
   1019 > I just made a symlink:
   1020 > 
   1021 > guava:/usr/lib>ln -s /usr/lib/libncurses.dylib /usr/lib/libncursesw.dylib
   1022 > 
   1023 > That works.  Now gem install sup works.  But I'm not sure that's the
   1024 > best fix.  Anyway, it looks like the problem is in gem install ncursesw
   1025 > and not in gem install sup but I thought you might like to know about
   1026 > this.
   1027 >  
   1028 > Thanks,
   1029 > 
   1030 > John 
   1031 > 
   1032 > guava:~>gem install sup
   1033 > Building native extensions.  This could take a while...
   1034 > ERROR:  Error installing sup:
   1035 >     ERROR: Failed to build gem native extension.
   1036 > 
   1037 > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
   1038 > extconf.rb install sup
   1039 > checking for unistd.h... yes
   1040 > checking for locale.h... yes
   1041 > checking for ncurses.h... yes
   1042 > checking for wmove() in -lncursesw... no
   1043 > checking for wmove() in -lpdcurses... no
   1044 > *** extconf.rb failed ***
   1045 > Could not create Makefile due to some reason, probably lack of
   1046 > necessary libraries and/or headers.  Check the mkmf.log file for more
   1047 > details.  You may need configuration options.
   1048 > 
   1049 > Provided configuration options:
   1050 >     --with-opt-dir
   1051 >     --without-opt-dir
   1052 >     --with-opt-include
   1053 >     --without-opt-include=${opt-dir}/include
   1054 >     --with-opt-lib
   1055 >     --without-opt-lib=${opt-dir}/lib
   1056 >     --with-make-prog
   1057 >     --without-make-prog
   1058 >     --srcdir=.
   1059 >     --curdir
   1060 >     --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
   1061 >     --with-ncurseswlib
   1062 >     --without-ncurseswlib
   1063 >     --with-pdcurseslib
   1064 >     --without-pdcurseslib
   1065 > extconf.rb:46: ncurses library not found (RuntimeError)
   1066 > 
   1067 > 
   1068 > Gem files will remain installed in
   1069 > /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1 for inspection.
   1070 > Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1/gem_make.out
   1071 
   1072 I'm thinking about changing the gem dependency from ncursesw back to
   1073 plain ncurses to avoid these install failures. Anyone have thoughts on
   1074 this?
   1075 
   1076 From johnbent@lanl.gov  Wed Mar  3 17:25:08 2010
   1077 From: johnbent@lanl.gov (John Bent)
   1078 Date: Wed, 03 Mar 2010 15:25:08 -0700
   1079 Subject: [sup-talk] sup install error
   1080 In-Reply-To: <1267654880-sup-4875@zyrg.net>
   1081 References: <1267478622-sup-2939@tangerine.lanl.gov>
   1082 	<1267654880-sup-4875@zyrg.net>
   1083 Message-ID: <1267655048-sup-9690@tangerine.lanl.gov>
   1084 
   1085 Excerpts from Rich Lane's message of Wed Mar 03 15:23:06 -0700 2010:
   1086 > Excerpts from John Bent's message of 2010-03-01 16:26:09 -0500:
   1087 > > I've been using an old PowerPC Mac.  I got a new Intel one running
   1088 > > Leopard (10.6.2) but got an error trying to install sup.  Everything is
   1089 > > a fresh install.  The only thing I've done is install the Xcode tools.
   1090 > > The error (below sig) looks like a problem with ncurses.  Looking around
   1091 > > at the mkmf.log file (attached), I see more issues with curses: no
   1092 > > wmove(), no libpdcurses.
   1093 > > 
   1094 > > The ruby installed is 1.8.7.  gem is 1.3.1.
   1095 > > 
   1096 > > I recreated this by copying the little test program with the wmove() in
   1097 > > it.  When I tried to build it with -lncursesw, it failed because that
   1098 > > lib doesn't exist but it did work with -lncurses (without the 'w').  So
   1099 > > I just made a symlink:
   1100 > > 
   1101 > > guava:/usr/lib>ln -s /usr/lib/libncurses.dylib /usr/lib/libncursesw.dylib
   1102 > > 
   1103 > > That works.  Now gem install sup works.  But I'm not sure that's the
   1104 > > best fix.  Anyway, it looks like the problem is in gem install ncursesw
   1105 > > and not in gem install sup but I thought you might like to know about
   1106 > > this.
   1107 > >  
   1108 > > Thanks,
   1109 > > 
   1110 > > John 
   1111 > > 
   1112 > > guava:~>gem install sup
   1113 > > Building native extensions.  This could take a while...
   1114 > > ERROR:  Error installing sup:
   1115 > >     ERROR: Failed to build gem native extension.
   1116 > > 
   1117 > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
   1118 > > extconf.rb install sup
   1119 > > checking for unistd.h... yes
   1120 > > checking for locale.h... yes
   1121 > > checking for ncurses.h... yes
   1122 > > checking for wmove() in -lncursesw... no
   1123 > > checking for wmove() in -lpdcurses... no
   1124 > > *** extconf.rb failed ***
   1125 > > Could not create Makefile due to some reason, probably lack of
   1126 > > necessary libraries and/or headers.  Check the mkmf.log file for more
   1127 > > details.  You may need configuration options.
   1128 > > 
   1129 > > Provided configuration options:
   1130 > >     --with-opt-dir
   1131 > >     --without-opt-dir
   1132 > >     --with-opt-include
   1133 > >     --without-opt-include=${opt-dir}/include
   1134 > >     --with-opt-lib
   1135 > >     --without-opt-lib=${opt-dir}/lib
   1136 > >     --with-make-prog
   1137 > >     --without-make-prog
   1138 > >     --srcdir=.
   1139 > >     --curdir
   1140 > >     --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
   1141 > >     --with-ncurseswlib
   1142 > >     --without-ncurseswlib
   1143 > >     --with-pdcurseslib
   1144 > >     --without-pdcurseslib
   1145 > > extconf.rb:46: ncurses library not found (RuntimeError)
   1146 > > 
   1147 > > 
   1148 > > Gem files will remain installed in
   1149 > > /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1 for inspection.
   1150 > > Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1/gem_make.out
   1151 > 
   1152 > I'm thinking about changing the gem dependency from ncursesw back to
   1153 > plain ncurses to avoid these install failures. Anyone have thoughts on
   1154 > this?
   1155 >
   1156 +1 :)
   1157 
   1158 John
   1159 
   1160 From marka@pobox.com  Wed Mar  3 21:10:31 2010
   1161 From: marka@pobox.com (Mark Alexander)
   1162 Date: Wed, 03 Mar 2010 21:10:31 -0500
   1163 Subject: [sup-talk] sup install error
   1164 In-Reply-To: <1267654880-sup-4875@zyrg.net>
   1165 References: <1267478622-sup-2939@tangerine.lanl.gov>
   1166 	<1267654880-sup-4875@zyrg.net>
   1167 Message-ID: <1267668438-sup-218@r50p>
   1168 
   1169 Excerpts from Rich Lane's message of Wed Mar 03 17:23:06 -0500 2010:
   1170 > I'm thinking about changing the gem dependency from ncursesw back to
   1171 > plain ncurses to avoid these install failures. Anyone have thoughts on
   1172 > this?
   1173 
   1174 It could be that I'm misunderstanding something, but wouldn't it
   1175 still be likely that there would be failures if the user hasn't
   1176 installed the libncurses5-dev package, or whatever it's called
   1177 on their OS?
   1178 
   1179 From helgedt@tihlde.org  Thu Mar  4 06:45:04 2010
   1180 From: helgedt@tihlde.org (Helge Titlestad)
   1181 Date: Thu, 04 Mar 2010 12:45:04 +0100
   1182 Subject: [sup-talk] sup install error
   1183 In-Reply-To: <1267654880-sup-4875@zyrg.net>
   1184 References: <1267478622-sup-2939@tangerine.lanl.gov>
   1185 	<1267654880-sup-4875@zyrg.net>
   1186 Message-ID: <1267702902-sup-4834@tihlde.org>
   1187 
   1188 Excerpts from Rich Lane's message of Wed Mar 03 23:23:06 +0100 2010:
   1189 > I'm thinking about changing the gem dependency from ncursesw back to
   1190 > plain ncurses to avoid these install failures. Anyone have thoughts on
   1191 > this?
   1192 
   1193 If this breaks UTF-8 support more, I humbly vote against. UTF-8 with ncursesw
   1194 might not be the perfect solution, but it seems to be the only solution at the
   1195 moment, and anyone outside stricy ascii-writing countries will expect it to
   1196 Just Work[tm].
   1197 -- 
   1198 alge
   1199 
   1200 From rlane@club.cc.cmu.edu  Thu Mar  4 11:59:34 2010
   1201 From: rlane@club.cc.cmu.edu (Rich Lane)
   1202 Date: Thu, 04 Mar 2010 11:59:34 -0500
   1203 Subject: [sup-talk] sup install error
   1204 In-Reply-To: <1267702902-sup-4834@tihlde.org>
   1205 References: <1267478622-sup-2939@tangerine.lanl.gov>
   1206 	<1267654880-sup-4875@zyrg.net> <1267702902-sup-4834@tihlde.org>
   1207 Message-ID: <1267720861-sup-759@zyrg.net>
   1208 
   1209 Excerpts from Helge Titlestad's message of 2010-03-04 06:45:04 -0500:
   1210 > Excerpts from Rich Lane's message of Wed Mar 03 23:23:06 +0100 2010:
   1211 > > I'm thinking about changing the gem dependency from ncursesw back to
   1212 > > plain ncurses to avoid these install failures. Anyone have thoughts on
   1213 > > this?
   1214 > 
   1215 > If this breaks UTF-8 support more, I humbly vote against. UTF-8 with ncursesw
   1216 > might not be the perfect solution, but it seems to be the only solution at the
   1217 > moment, and anyone outside stricy ascii-writing countries will expect it to
   1218 > Just Work[tm].
   1219 
   1220 I committed a patch to master that switches the gem dependency to plain
   1221 ncurses. I'd rather have all users be able to install than having utf8
   1222 support by default, especially when the way to enable utf8 is so easy -
   1223 gem install ncursesw. I've promoted the debug log about missing ncursesw
   1224 to an info log.
   1225 
   1226 From juantascon@gmail.com  Thu Mar  4 12:23:27 2010
   1227 From: juantascon@gmail.com (Juan Diego)
   1228 Date: Fri, 5 Mar 2010 02:23:27 +0900
   1229 Subject: [sup-talk] index size
   1230 Message-ID: <b3095c51003040923r3cf7d6efl3fff5dbb4fdd6078@mail.gmail.com>
   1231 
   1232 Hello listmates,
   1233 
   1234 I'm a sup newbie trying to migrate from gmail's web interface into sup.
   1235 
   1236 I would like to know an estimate of the xapian index files sizes in
   1237 order to place these files in the right partition of my system before
   1238 creating the index because it seems to be a long process.
   1239 
   1240 So, could any of you guys please share with me the sizes of your index
   1241 files and also the sizes of your mail sources (I guess the index size
   1242 depends on the sources size so that I can make an estimate for my
   1243 sources).
   1244 
   1245 Thanks
   1246 Have a nice day
   1247 chao
   1248 
   1249 From pi+sup@pihost.us  Thu Mar  4 12:32:31 2010
   1250 From: pi+sup@pihost.us (Anthony Martinez)
   1251 Date: Thu, 04 Mar 2010 10:32:31 -0700
   1252 Subject: [sup-talk] index size
   1253 In-Reply-To: <b3095c51003040923r3cf7d6efl3fff5dbb4fdd6078@mail.gmail.com>
   1254 References: <b3095c51003040923r3cf7d6efl3fff5dbb4fdd6078@mail.gmail.com>
   1255 Message-ID: <1267723895-sup-8943@home.mrtheplague.net>
   1256 
   1257 Excerpts from Juan Diego's message of Thu Mar 04 10:23:27 -0700 2010:
   1258 > So, could any of you guys please share with me the sizes of your index
   1259 > files and also the sizes of your mail sources (I guess the index size
   1260 > depends on the sources size so that I can make an estimate for my
   1261 > sources).
   1262 
   1263 $ du -hs .sup/xapian Maildir
   1264 625M    .sup/xapian
   1265 765M    Maildir
   1266 
   1267 > Thanks
   1268 > Have a nice day
   1269 > chao
   1270 No problem!
   1271 
   1272 -- pi
   1273 
   1274 -- 
   1275 All C programs do the same thing: look at a character and do nothing with it.
   1276 -- Peter Weinberger
   1277 
   1278 From michael+sup@stapelberg.de  Thu Mar  4 12:42:22 2010
   1279 From: michael+sup@stapelberg.de (Michael Stapelberg)
   1280 Date: Thu, 04 Mar 2010 18:42:22 +0100
   1281 Subject: [sup-talk] index size
   1282 In-Reply-To: <b3095c51003040923r3cf7d6efl3fff5dbb4fdd6078@mail.gmail.com>
   1283 References: <b3095c51003040923r3cf7d6efl3fff5dbb4fdd6078@mail.gmail.com>
   1284 Message-ID: <1267724507-sup-4189@midna.zekjur.net>
   1285 
   1286 Hi Juan,
   1287 
   1288 Excerpts from Juan Diego's message of Do M?r 04 18:23:27 +0100 2010:
   1289 > So, could any of you guys please share with me the sizes of your index
   1290 > files and also the sizes of your mail sources (I guess the index size
   1291 > depends on the sources size so that I can make an estimate for my
   1292 > sources).
   1293 441 MB xapian database for ~ 40000 emails.
   1294 
   1295 Best regards,
   1296 Michael
   1297 
   1298 From juantascon@gmail.com  Thu Mar  4 13:48:14 2010
   1299 From: juantascon@gmail.com (Juan Diego)
   1300 Date: Fri, 5 Mar 2010 03:48:14 +0900
   1301 Subject: [sup-talk] index size
   1302 In-Reply-To: <1267723895-sup-8943@home.mrtheplague.net>
   1303 References: <b3095c51003040923r3cf7d6efl3fff5dbb4fdd6078@mail.gmail.com> 
   1304 	<1267723895-sup-8943@home.mrtheplague.net>
   1305 Message-ID: <b3095c51003041048x4f9791f7o4ca49c4da4d8fe4@mail.gmail.com>
   1306 
   1307 On Fri, Mar 5, 2010 at 2:32 AM, Anthony Martinez <pi+sup at pihost.us> wrote:
   1308 > Excerpts from Juan Diego's message of Thu Mar 04 10:23:27 -0700 2010:
   1309 >> So, could any of you guys please share with me the sizes of your index
   1310 >> files and also the sizes of your mail sources (I guess the index size
   1311 >> depends on the sources size so that I can make an estimate for my
   1312 >> sources).
   1313 >
   1314 > $ du -hs .sup/xapian Maildir
   1315 > 625M ? ?.sup/xapian
   1316 > 765M ? ?Maildir
   1317 >
   1318 >> Thanks
   1319 >> Have a nice day
   1320 >> chao
   1321 > No problem!
   1322 >
   1323 > -- pi
   1324 >
   1325 > --
   1326 > All C programs do the same thing: look at a character and do nothing with it.
   1327 > -- Peter Weinberger
   1328 > _______________________________________________
   1329 > sup-talk mailing list
   1330 > sup-talk at rubyforge.org
   1331 > http://rubyforge.org/mailman/listinfo/sup-talk
   1332 >
   1333 
   1334 Thanks for the info
   1335 
   1336 From johnbent@lanl.gov  Fri Mar  5 10:59:42 2010
   1337 From: johnbent@lanl.gov (John Bent)
   1338 Date: Fri, 05 Mar 2010 08:59:42 -0700
   1339 Subject: [sup-talk] unread status
   1340 In-Reply-To: <1262557187-sup-8151@masanjin.net>
   1341 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   1342 	<1262128268-sup-2780@tw> <1262128724-sup-1138@tilus.net>
   1343 	<1262130179-sup-8306@zyrg.net> <1262130868-sup-2032@masanjin.net>
   1344 	<1262133096-sup-2807@tangerine.lanl.gov>
   1345 	<1262557187-sup-8151@masanjin.net>
   1346 Message-ID: <1267804677-sup-3302@guava.lanl.gov>
   1347 
   1348 Excerpts from William Morgan's message of Sun Jan 03 15:22:25 -0700
   1349 2010:
   1350 > Reformatted excerpts from John Bent's message of 2009-12-29:
   1351 > > I spent a couple of unsuccessful hours last week trying to switch.
   1352 > > Anyway else on an old PPC OS X who has been able to transition?
   1353 > 
   1354 > Please try sup-convert-ferret-index in git next and report any
   1355 > problems.
   1356 >
   1357 Although, I have xapian-full install, when I run
   1358 sup-convert-ferret-index, I get this error:
   1359 
   1360 guava:~>sup-convert-ferret-index
   1361 Error: you don't have the xapian gem installed, so this script won't do
   1362 much for you--`gem install xapian` (or xapian-full) first.
   1363 Try --help for help.
   1364 
   1365 I do have xapian-full installed:
   1366 
   1367 ROOT:guava:/Users/johnbent>gem install xapian-full
   1368 Building native extensions.  This could take a while...
   1369 Successfully installed xapian-full-1.1.3.4
   1370 1 gem installed
   1371 Installing ri documentation for xapian-full-1.1.3.4...
   1372 Installing RDoc documentation for xapian-full-1.1.3.4...
   1373 
   1374 But installing xapian (just itself) fails.  Looks like I'm missing
   1375 glibc-devel library or something:
   1376 
   1377 /bin/sh ../libtool  --tag=CXX   --mode=link g++ -fno-strict-aliasing
   1378 -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden
   1379 -I/opt/local/include -g -O2 -avoid-version -module -shrext ".bundle"
   1380 -o _xapian.la -rpath /opt/local/lib/ruby/site_ruby/1.8/i686-darwin10
   1381 xapian_wrap.lo /opt/local/lib/libxapian.la -lstdc++  
   1382 g++ -shared -nostdlib
   1383 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o
   1384 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o  .libs/xapian_wrap.o
   1385 -Wl,--rpath -Wl,/opt/local/lib -Wl,--rpath -Wl,/opt/local/lib
   1386 /opt/local/lib/libxapian.dylib -L/opt/local/lib
   1387 -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1
   1388 -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../.. -lstdc++ -lm -lc -lgcc_s
   1389 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o
   1390 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o  -Wl,-soname
   1391 -Wl,_xapian.bundle -o .libs/_xapian.bundle
   1392 i686-apple-darwin10-g++-4.0.1:
   1393 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o: No such file or
   1394 directory
   1395 i686-apple-darwin10-g++-4.0.1:
   1396 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o: No such file or
   1397 directory
   1398 i686-apple-darwin10-g++-4.0.1:
   1399 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o: No such file or
   1400 directory
   1401 i686-apple-darwin10-g++-4.0.1:
   1402 /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o: No such file or
   1403 directory
   1404 make[4]: *** [_xapian.la] Error 1
   1405 make[3]: *** [all-recursive] Error 1
   1406 make[2]: *** [all] Error 2
   1407 make[1]: *** [all-recursive] Error 1
   1408 make: *** [all] Error 2
   1409 extconf.rb:3:in `system!': unhandled exception
   1410     from extconf.rb:6
   1411 
   1412 
   1413 Thanks, 
   1414 
   1415 John
   1416 
   1417 From johnbent@lanl.gov  Fri Mar  5 15:00:14 2010
   1418 From: johnbent@lanl.gov (John Bent)
   1419 Date: Fri, 05 Mar 2010 13:00:14 -0700
   1420 Subject: [sup-talk] unread status
   1421 In-Reply-To: <1267804677-sup-3302@guava.lanl.gov>
   1422 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   1423 	<1262128268-sup-2780@tw> <1262128724-sup-1138@tilus.net>
   1424 	<1262130179-sup-8306@zyrg.net> <1262130868-sup-2032@masanjin.net>
   1425 	<1262133096-sup-2807@tangerine.lanl.gov>
   1426 	<1262557187-sup-8151@masanjin.net>
   1427 	<1267804677-sup-3302@guava.lanl.gov>
   1428 Message-ID: <1267818644-sup-5188@guava.lanl.gov>
   1429 
   1430 Excerpts from John Bent's message of Fri Mar 05 08:59:42 -0700 2010:
   1431 > Excerpts from William Morgan's message of Sun Jan 03 15:22:25 -0700
   1432 > 2010:
   1433 > > Reformatted excerpts from John Bent's message of 2009-12-29:
   1434 > > > I spent a couple of unsuccessful hours last week trying to switch.
   1435 > > > Anyway else on an old PPC OS X who has been able to transition?
   1436 > > 
   1437 > > Please try sup-convert-ferret-index in git next and report any
   1438 > > problems.
   1439 > >
   1440 > Although, I have xapian-full install, when I run
   1441 > sup-convert-ferret-index, I get this error:
   1442 > 
   1443 > guava:~>sup-convert-ferret-index
   1444 > Error: you don't have the xapian gem installed, so this script won't do
   1445 > much for you--`gem install xapian` (or xapian-full) first.
   1446 > Try --help for help.
   1447 > 
   1448 > I do have xapian-full installed:
   1449 > 
   1450 Also, irb reports that I have xapian installed but I still get the error
   1451 from sup-convert-ferret-index:
   1452 
   1453 1) irb says that I have xapian:
   1454         irb(main):001:0> require 'rubygems'
   1455         => true
   1456         irb(main):002:0> require 'xapian'
   1457         => true
   1458         irb(main):003:0> quit
   1459 
   1460 
   1461 2) gem list says that I have xapian:
   1462     *** LOCAL GEMS ***
   1463     ferret (0.11.6)
   1464     gettext (2.1.0)
   1465     highline (1.5.2)
   1466     locale (2.0.5)
   1467     lockfile (1.4.3)
   1468     mime-types (1.16)
   1469     ncursesw (1.2.4.1)
   1470     net-ssh (2.0.20)
   1471     rake (0.8.7)
   1472     rmail (1.0.0)
   1473     sup (0.10.2)
   1474     trollop (1.15)
   1475     xapian-full (1.1.3.4)
   1476 
   1477 3) sup-convert-ferret-index says I don't have xapian:
   1478     guava:~>sup-convert-ferret-index --verbose
   1479         Error: you don't have the xapian gem installed, so this script won't do
   1480         much for you--`gem install xapian` (or xapian-full) first.
   1481         Try --help for help.
   1482     guava:~>sup-convert-ferret-index --version
   1483         sup-convert-ferret-index (sup 0.10.2)
   1484 
   1485 4) ruby --version = 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10]
   1486     I tried port install ruby19 but the build failed:
   1487         'rb_dl_callback_double_19_0_stdcall' undeclared
   1488 
   1489 Any ideas?
   1490 
   1491 Thanks,
   1492 
   1493 John
   1494 
   1495 
   1496 > ROOT:guava:/Users/johnbent>gem install xapian-full
   1497 > Building native extensions.  This could take a while...
   1498 > Successfully installed xapian-full-1.1.3.4
   1499 > 1 gem installed
   1500 > Installing ri documentation for xapian-full-1.1.3.4...
   1501 > Installing RDoc documentation for xapian-full-1.1.3.4...
   1502 > 
   1503 > But installing xapian (just itself) fails.  Looks like I'm missing
   1504 > glibc-devel library or something:
   1505 > 
   1506 > /bin/sh ../libtool  --tag=CXX   --mode=link g++ -fno-strict-aliasing
   1507 > -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden
   1508 > -I/opt/local/include -g -O2 -avoid-version -module -shrext ".bundle"
   1509 > -o _xapian.la -rpath /opt/local/lib/ruby/site_ruby/1.8/i686-darwin10
   1510 > xapian_wrap.lo /opt/local/lib/libxapian.la -lstdc++  
   1511 > g++ -shared -nostdlib
   1512 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o
   1513 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o  .libs/xapian_wrap.o
   1514 > -Wl,--rpath -Wl,/opt/local/lib -Wl,--rpath -Wl,/opt/local/lib
   1515 > /opt/local/lib/libxapian.dylib -L/opt/local/lib
   1516 > -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1
   1517 > -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../.. -lstdc++ -lm -lc -lgcc_s
   1518 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o
   1519 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o  -Wl,-soname
   1520 > -Wl,_xapian.bundle -o .libs/_xapian.bundle
   1521 > i686-apple-darwin10-g++-4.0.1:
   1522 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o: No such file or
   1523 > directory
   1524 > i686-apple-darwin10-g++-4.0.1:
   1525 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o: No such file or
   1526 > directory
   1527 > i686-apple-darwin10-g++-4.0.1:
   1528 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o: No such file or
   1529 > directory
   1530 > i686-apple-darwin10-g++-4.0.1:
   1531 > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o: No such file or
   1532 > directory
   1533 > make[4]: *** [_xapian.la] Error 1
   1534 > make[3]: *** [all-recursive] Error 1
   1535 > make[2]: *** [all] Error 2
   1536 > make[1]: *** [all-recursive] Error 1
   1537 > make: *** [all] Error 2
   1538 > extconf.rb:3:in `system!': unhandled exception
   1539 >     from extconf.rb:6
   1540 > 
   1541 > 
   1542 > Thanks, 
   1543 > 
   1544 > John
   1545 
   1546 From johnbent@lanl.gov  Fri Mar  5 15:32:17 2010
   1547 From: johnbent@lanl.gov (John Bent)
   1548 Date: Fri, 05 Mar 2010 13:32:17 -0700
   1549 Subject: [sup-talk] unread status
   1550 In-Reply-To: <1267818644-sup-5188@guava.lanl.gov>
   1551 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   1552 	<1262128268-sup-2780@tw> <1262128724-sup-1138@tilus.net>
   1553 	<1262130179-sup-8306@zyrg.net> <1262130868-sup-2032@masanjin.net>
   1554 	<1262133096-sup-2807@tangerine.lanl.gov>
   1555 	<1262557187-sup-8151@masanjin.net>
   1556 	<1267804677-sup-3302@guava.lanl.gov>
   1557 	<1267818644-sup-5188@guava.lanl.gov>
   1558 Message-ID: <1267821043-sup-7771@guava.lanl.gov>
   1559 
   1560 Excerpts from John Bent's message of Fri Mar 05 13:00:14 -0700 2010:
   1561 > Excerpts from John Bent's message of Fri Mar 05 08:59:42 -0700 2010:
   1562 > > Excerpts from William Morgan's message of Sun Jan 03 15:22:25 -0700
   1563 > > 2010:
   1564 > > > Reformatted excerpts from John Bent's message of 2009-12-29:
   1565 > > > > I spent a couple of unsuccessful hours last week trying to switch.
   1566 > > > > Anyway else on an old PPC OS X who has been able to transition?
   1567 > > > 
   1568 > > > Please try sup-convert-ferret-index in git next and report any
   1569 > > > problems.
   1570 > > >
   1571 > > Although, I have xapian-full install, when I run
   1572 > > sup-convert-ferret-index, I get this error:
   1573 > > 
   1574 > > guava:~>sup-convert-ferret-index
   1575 > > Error: you don't have the xapian gem installed, so this script won't do
   1576 > > much for you--`gem install xapian` (or xapian-full) first.
   1577 > > Try --help for help.
   1578 > > 
   1579 > > I do have xapian-full installed:
   1580 > > 
   1581 > Also, irb reports that I have xapian installed but I still get the error
   1582 > from sup-convert-ferret-index:
   1583 > 
   1584 > 1) irb says that I have xapian:
   1585 >         irb(main):001:0> require 'rubygems'
   1586 >         => true
   1587 >         irb(main):002:0> require 'xapian'
   1588 >         => true
   1589 >         irb(main):003:0> quit
   1590 > 
   1591 > 
   1592 > 2) gem list says that I have xapian:
   1593 >     *** LOCAL GEMS ***
   1594 >     ferret (0.11.6)
   1595 >     gettext (2.1.0)
   1596 >     highline (1.5.2)
   1597 >     locale (2.0.5)
   1598 >     lockfile (1.4.3)
   1599 >     mime-types (1.16)
   1600 >     ncursesw (1.2.4.1)
   1601 >     net-ssh (2.0.20)
   1602 >     rake (0.8.7)
   1603 >     rmail (1.0.0)
   1604 >     sup (0.10.2)
   1605 >     trollop (1.15)
   1606 >     xapian-full (1.1.3.4)
   1607 > 
   1608 > 3) sup-convert-ferret-index says I don't have xapian:
   1609 >     guava:~>sup-convert-ferret-index --verbose
   1610 >         Error: you don't have the xapian gem installed, so this script won't do
   1611 >         much for you--`gem install xapian` (or xapian-full) first.
   1612 >         Try --help for help.
   1613 >     guava:~>sup-convert-ferret-index --version
   1614 >         sup-convert-ferret-index (sup 0.10.2)
   1615 > 
   1616 > 4) ruby --version = 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10]
   1617 >     I tried port install ruby19 but the build failed:
   1618 >         'rb_dl_callback_double_19_0_stdcall' undeclared
   1619 > 
   1620 I tried commenting out the require xapian in sup-convert-ferret-index
   1621 but it still failed:
   1622 
   1623 ## Step three: build the Xapian index
   1624 /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-sync --all
   1625 --all-sources --index xapian --restore /tmp/sup-state.txt 
   1626 /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:229:in
   1627 `init': unknown index type "xapian":
   1628 dlopen(/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle,
   1629 9): no suitable image found.  Did find: (RuntimeError)
   1630         /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle:
   1631 mach-o, but wrong architecture -
   1632 /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle
   1633         from
   1634 /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-sync:99
   1635 
   1636 Shucks.
   1637 
   1638 John
   1639 > Any ideas?
   1640 > 
   1641 > Thanks,
   1642 > 
   1643 > John
   1644 > 
   1645 > > ROOT:guava:/Users/johnbent>gem install xapian-full
   1646 > > Building native extensions.  This could take a while...
   1647 > > Successfully installed xapian-full-1.1.3.4
   1648 > > 1 gem installed
   1649 > > Installing ri documentation for xapian-full-1.1.3.4...
   1650 > > Installing RDoc documentation for xapian-full-1.1.3.4...
   1651 > > 
   1652 > > But installing xapian (just itself) fails.  Looks like I'm missing
   1653 > > glibc-devel library or something:
   1654 > > 
   1655 > > /bin/sh ../libtool  --tag=CXX   --mode=link g++ -fno-strict-aliasing
   1656 > > -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden
   1657 > > -I/opt/local/include -g -O2 -avoid-version -module -shrext ".bundle"
   1658 > > -o _xapian.la -rpath /opt/local/lib/ruby/site_ruby/1.8/i686-darwin10
   1659 > > xapian_wrap.lo /opt/local/lib/libxapian.la -lstdc++  
   1660 > > g++ -shared -nostdlib
   1661 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o
   1662 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o  .libs/xapian_wrap.o
   1663 > > -Wl,--rpath -Wl,/opt/local/lib -Wl,--rpath -Wl,/opt/local/lib
   1664 > > /opt/local/lib/libxapian.dylib -L/opt/local/lib
   1665 > > -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1
   1666 > > -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../.. -lstdc++ -lm -lc -lgcc_s
   1667 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o
   1668 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o  -Wl,-soname
   1669 > > -Wl,_xapian.bundle -o .libs/_xapian.bundle
   1670 > > i686-apple-darwin10-g++-4.0.1:
   1671 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crti.o: No such file or
   1672 > > directory
   1673 > > i686-apple-darwin10-g++-4.0.1:
   1674 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtbeginS.o: No such file or
   1675 > > directory
   1676 > > i686-apple-darwin10-g++-4.0.1:
   1677 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/crtendS.o: No such file or
   1678 > > directory
   1679 > > i686-apple-darwin10-g++-4.0.1:
   1680 > > /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../crtn.o: No such file or
   1681 > > directory
   1682 > > make[4]: *** [_xapian.la] Error 1
   1683 > > make[3]: *** [all-recursive] Error 1
   1684 > > make[2]: *** [all] Error 2
   1685 > > make[1]: *** [all-recursive] Error 1
   1686 > > make: *** [all] Error 2
   1687 > > extconf.rb:3:in `system!': unhandled exception
   1688 > >     from extconf.rb:6
   1689 > > 
   1690 > > 
   1691 > > Thanks, 
   1692 > > 
   1693 > > John
   1694 
   1695 From rlane@club.cc.cmu.edu  Mon Mar  8 00:57:40 2010
   1696 From: rlane@club.cc.cmu.edu (Rich Lane)
   1697 Date: Mon, 08 Mar 2010 00:57:40 -0500
   1698 Subject: [sup-talk] [ANN] Sup 0.11 released
   1699 Message-ID: <1268026262-sup-1918@zyrg.net>
   1700 
   1701 I'm pleased to announce the release of Sup 0.11.
   1702 
   1703 Sup is a console-based email client for people with a lot of email.
   1704 It supports tagging, very fast full-text search, automatic contact-
   1705 list management, and more. If you're the type of person who treats
   1706 email as an extension of your long-term memory, Sup is for you.
   1707 
   1708 Get it: gem install sup
   1709 Learn it: http://sup.rubyforge.org
   1710 Love it: sup-talk at rubyforge.org
   1711 
   1712 Release notes:
   1713 
   1714 The deprecated Ferret index has been removed.
   1715 
   1716 Remote sources (IMAP, IMAPS, and mbox+ssh) have been deprecated and will be
   1717 removed in 0.12. Tools like offlineimap, fetchmail, and rsync provide a much
   1718 better user experience for these mail sources than Sup would ever be able to by
   1719 itself.
   1720 
   1721 If your terminal supports it you can now use 256 colors in your colorscheme. Run
   1722 the contrib/colorpicker.rb program to get the color names to put in colors.yaml.
   1723 
   1724 Saved searches are now supported. Hit '%' in search-results-mode to save the
   1725 current search, and enter an empty search string to open the list of saved
   1726 searches.
   1727 
   1728 Changelog for 0.11:
   1729 * Remove deprecated Ferret backend.
   1730 * Add deprecation notices to IMAP, IMAPS, and mbox+ssh sources.
   1731 * 256 color support.
   1732 * Backwards-compatible index format improvements.
   1733 * Saved searches.
   1734 * Improved support for custom keybindings.
   1735 * Idle detection - poll totals accumulate and index flushes on idle.
   1736 * Several textfield improvments.
   1737 * New hooks: publish, mentions-attachments, keybindings,
   1738   index-mode-date-widget, gpg-args, and crypto-settings.
   1739 * sup-cmd for easy programmatic access to a Sup index.
   1740 * As always, many bugfixes and tweaks.
   1741 
   1742 From piotr.kempa@wp.eu  Mon Mar  8 05:18:55 2010
   1743 From: piotr.kempa@wp.eu (piotr.kempa at wp.eu)
   1744 Date: Mon, 8 Mar 2010 11:18:55 +0100
   1745 Subject: [sup-talk] PGP INLINE - can't make it work
   1746 In-Reply-To: <201003021519.23488.piotr.kempa@wp.eu>
   1747 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   1748 	<1267538314-sup-6684@midna.zekjur.net>
   1749 	<201003021519.23488.piotr.kempa@wp.eu>
   1750 Message-ID: <201003081118.55543.piotr.kempa@wp.eu>
   1751 
   1752 On Tuesday 02 March 2010 15:19:23 piotr.kempa at wp.eu wrote:
   1753 > Sounds cool, I can't wait then. Let's hope the patch is included in 0.11. 
   1754 > Thanks Michael!
   1755 > Piotr
   1756 > 
   1757 > On Tuesday 02 March 2010 14:59:19 Michael Stapelberg wrote:
   1758 > > Hi Piotr,
   1759 > > 
   1760 > > Excerpts from piotr.kempa's message of Di M?r 02 11:49:59 +0100 2010:
   1761 > > > So, I guess if this functionality is to be included in sup (and I think 
   1762 it 
   1763 > > > doesn't have to be since enigmail just makes broken messages and there's 
   1764 > no 
   1765 > > > reason why anybody should put up with that:) it should not be in 
   1766 crypto.rb 
   1767 > but 
   1768 > > > somewhere else, where the decision is made to even use functions from 
   1769 > > > crypto.rb (like decrypt) on a message. I'm no programmer but I guess it 
   1770 > should 
   1771 > > As mentioned, I wrote a patch to do this. It is currently in review and 
   1772 will
   1773 > > hopefully be included soon.
   1774 > > 
   1775 
   1776 Can anyone confirm if this patch made it to 0.11? I just installed the new 
   1777 version and it still doesn't work but if it's there then maybe I'm doing 
   1778 something wrong. If it didn't, is it posted anywhere? I'll be happy to patch 
   1779 0.11 myself instead of waiting for the next version. I really, really want to 
   1780 start using sup :)
   1781 
   1782 Thank you, 
   1783 Piotr
   1784 
   1785 From piotr.kempa@wp.eu  Mon Mar  8 05:29:47 2010
   1786 From: piotr.kempa@wp.eu (piotr.kempa at wp.eu)
   1787 Date: Mon, 8 Mar 2010 11:29:47 +0100
   1788 Subject: [sup-talk] PGP INLINE - can't make it work
   1789 In-Reply-To: <201003081118.55543.piotr.kempa@wp.eu>
   1790 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   1791 	<201003021519.23488.piotr.kempa@wp.eu>
   1792 	<201003081118.55543.piotr.kempa@wp.eu>
   1793 Message-ID: <201003081129.47648.piotr.kempa@wp.eu>
   1794 
   1795 
   1796 
   1797 On Monday 08 March 2010 11:18:55 piotr.kempa at wp.eu wrote:
   1798 > On Tuesday 02 March 2010 15:19:23 piotr.kempa at wp.eu wrote:
   1799 > > Sounds cool, I can't wait then. Let's hope the patch is included in 0.11. 
   1800 > > Thanks Michael!
   1801 > > Piotr
   1802 > > 
   1803 > > On Tuesday 02 March 2010 14:59:19 Michael Stapelberg wrote:
   1804 > > > Hi Piotr,
   1805 > > > 
   1806 > > > Excerpts from piotr.kempa's message of Di M?r 02 11:49:59 +0100 2010:
   1807 > > > > So, I guess if this functionality is to be included in sup (and I 
   1808 think 
   1809 > it 
   1810 > > > > doesn't have to be since enigmail just makes broken messages and 
   1811 there's 
   1812 > > no 
   1813 > > > > reason why anybody should put up with that:) it should not be in 
   1814 > crypto.rb 
   1815 > > but 
   1816 > > > > somewhere else, where the decision is made to even use functions from 
   1817 > > > > crypto.rb (like decrypt) on a message. I'm no programmer but I guess 
   1818 it 
   1819 > > should 
   1820 > > > As mentioned, I wrote a patch to do this. It is currently in review and 
   1821 > will
   1822 > > > hopefully be included soon.
   1823 > > > 
   1824 > 
   1825 > Can anyone confirm if this patch made it to 0.11? I just installed the new 
   1826 > version and it still doesn't work but if it's there then maybe I'm doing 
   1827 > something wrong. If it didn't, is it posted anywhere? I'll be happy to patch 
   1828 > 0.11 myself instead of waiting for the next version. I really, really want 
   1829 to 
   1830 > start using sup :)
   1831 > 
   1832 > Thank you, 
   1833 > Piotr
   1834 > 
   1835 Okay, I found the patch here: http://www.mail-archive.com/sup-
   1836 talk at rubyforge.org/msg02770.html
   1837 
   1838 And it is included in 0.11, I just checked in the code. 
   1839 
   1840 However, this still doesn't work because the header doesn't contain Content 
   1841 Type = application/pgp, it is text/plain, which is absolutely crazy and I have 
   1842 no idea what the enigmail developers are thinking... Anyway, here's how it 
   1843 looks like (only the important part):
   1844 
   1845 X-Enigmail-Version: 0.95.7
   1846 Content-Type: text/plain;
   1847   charset=UTF-8
   1848 Content-Transfer-Encoding: quoted-printable
   1849 
   1850 -----BEGIN PGP MESSAGE-----
   1851 Charset: UTF-8
   1852 Version: GnuPG v1.4.9 (MingW32)
   1853 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
   1854 =20
   1855 hQIOA3WKxDKSmLd7EAf9GP5JLA77IcGOAUrOZ8fGCEtK8Pm838Me+pMD94ulHlDS
   1856 LcidQKPSVGXaj4lLU8RqxoMKTpxuaZAm1u286C+SL9eQc51N3gH/X57loKhjCRb+
   1857 [...]
   1858 
   1859 So in order to decide about encrypted content you actually have to look inside 
   1860 the body of the message, not just at the header. At least I couldn't find any 
   1861 indication in the headers :(
   1862 
   1863 All in all, I wouldn't be surprised if you decided not to support such broken 
   1864 emails so I'll just go about learning enough ruby to patch it myself :)
   1865 
   1866 Piotr
   1867 
   1868 From michael+sup@stapelberg.de  Mon Mar  8 05:41:18 2010
   1869 From: michael+sup@stapelberg.de (Michael Stapelberg)
   1870 Date: Mon, 08 Mar 2010 11:41:18 +0100
   1871 Subject: [sup-talk] PGP INLINE - can't make it work
   1872 In-Reply-To: <201003081129.47648.piotr.kempa@wp.eu>
   1873 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   1874 	<201003021519.23488.piotr.kempa@wp.eu>
   1875 	<201003081118.55543.piotr.kempa@wp.eu>
   1876 	<201003081129.47648.piotr.kempa@wp.eu>
   1877 Message-ID: <1268044772-sup-4188@midna.zekjur.net>
   1878 
   1879 Hi Piotr,
   1880 
   1881 Excerpts from piotr.kempa's message of Mo M?r 08 11:29:47 +0100 2010:
   1882 > Okay, I found the patch here: http://www.mail-archive.com/sup-
   1883 > talk at rubyforge.org/msg02770.html
   1884 > 
   1885 > And it is included in 0.11, I just checked in the code. 
   1886 You are mistaken, this is a different patch (not for inline gpg).
   1887 
   1888 > So in order to decide about encrypted content you actually have to look inside 
   1889 > the body of the message, not just at the header. At least I couldn't find any 
   1890 > indication in the headers :(
   1891 This is actually the very intention of inline gpg -- to work with existing
   1892 standards/mailclients which do not support different headers.
   1893 
   1894 Unfortunately I did not yet have time to rework the patch, but I hope to do
   1895 so in the next few days.
   1896 
   1897 Best regards,
   1898 Michael
   1899 
   1900 From sm@khjk.org  Mon Mar  8 05:50:56 2010
   1901 From: sm@khjk.org (Sven Moritz Hallberg)
   1902 Date: Mon, 08 Mar 2010 11:50:56 +0100
   1903 Subject: [sup-talk] PGP INLINE - can't make it work
   1904 In-Reply-To: <201003081129.47648.piotr.kempa@wp.eu>
   1905 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   1906 	<201003021519.23488.piotr.kempa@wp.eu>
   1907 	<201003081118.55543.piotr.kempa@wp.eu>
   1908 	<201003081129.47648.piotr.kempa@wp.eu>
   1909 Message-ID: <1268044814-sup-4847@khjk.org>
   1910 
   1911 > However, this still doesn't work because the header doesn't contain Content 
   1912 > Type = application/pgp, it is text/plain, which is absolutely crazy and I have 
   1913 > no idea what the enigmail developers are thinking...
   1914 
   1915 In fact I think this might be a design decision on the part of PGP, where the
   1916 original thinking went something like this: It should be possible to use it
   1917 with ANY mailer, even those that do not know about it. Thus the support for
   1918 "inline PGP", i.e. a PGP message embedded within the text of a regular email.
   1919 >From this standpoint it makes sense to keep the Content-Type as text/plain.
   1920 Imagine your recipient's MUA has no idea how to handle application/pgp. With
   1921 text/plain, she's still able to copy/paste into a separate PGP application.
   1922 
   1923 The merit of this design decision is debatable, but I think that's the way it
   1924 came to be.
   1925 
   1926 So, I'd say it's unlikely Enigmail is going to change the header. I'd also
   1927 guess that everyone else is doing it the same way.
   1928 
   1929 So, actually inspecting the body of the message is the way to go...
   1930 
   1931 HTH,
   1932 pesco
   1933 
   1934 From piotr.kempa@wp.eu  Mon Mar  8 06:20:02 2010
   1935 From: piotr.kempa@wp.eu (piotr.kempa at wp.eu)
   1936 Date: Mon, 8 Mar 2010 12:20:02 +0100
   1937 Subject: [sup-talk] PGP INLINE - can't make it work
   1938 In-Reply-To: <1268044814-sup-4847@khjk.org>
   1939 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   1940 	<201003081129.47648.piotr.kempa@wp.eu>
   1941 	<1268044814-sup-4847@khjk.org>
   1942 Message-ID: <201003081220.03154.piotr.kempa@wp.eu>
   1943 
   1944 
   1945 On Monday 08 March 2010 11:50:56 Sven Moritz Hallberg wrote:
   1946 > > However, this still doesn't work because the header doesn't contain 
   1947 Content 
   1948 > > Type = application/pgp, it is text/plain, which is absolutely crazy and I 
   1949 have 
   1950 > > no idea what the enigmail developers are thinking...
   1951 > 
   1952 > In fact I think this might be a design decision on the part of PGP, where 
   1953 the
   1954 > original thinking went something like this: It should be possible to use it
   1955 > with ANY mailer, even those that do not know about it. Thus the support for
   1956 > "inline PGP", i.e. a PGP message embedded within the text of a regular 
   1957 email.
   1958 > >From this standpoint it makes sense to keep the Content-Type as text/plain.
   1959 > Imagine your recipient's MUA has no idea how to handle application/pgp. With
   1960 > text/plain, she's still able to copy/paste into a separate PGP application.
   1961 > 
   1962 > The merit of this design decision is debatable, but I think that's the way 
   1963 it
   1964 > came to be.
   1965 > 
   1966 > So, I'd say it's unlikely Enigmail is going to change the header. I'd also
   1967 > guess that everyone else is doing it the same way.
   1968 > 
   1969 > So, actually inspecting the body of the message is the way to go...
   1970 > 
   1971 > HTH,
   1972 > pesco
   1973 > _______________________________________________
   1974 > sup-talk mailing list
   1975 > sup-talk at rubyforge.org
   1976 > http://rubyforge.org/mailman/listinfo/sup-talk
   1977 > 
   1978 > 
   1979 Thank you and Michael for the explanation. Now it all makes sense. I'll just 
   1980 keep watching the git repo in case a patch makes it there. Or  this list. If 
   1981 anybody needs help testing such patch - I'm at your service. Coding it myself 
   1982 could be way over my head though...
   1983 
   1984 Thank you, 
   1985 Piotr
   1986 
   1987 From eg@gaute.vetsj.com  Tue Mar  9 05:29:13 2010
   1988 From: eg@gaute.vetsj.com (Gaute Hope)
   1989 Date: Tue, 09 Mar 2010 11:29:13 +0100
   1990 Subject: [sup-talk] [patch] Add crypto_selector variable to before-edit
   1991 In-Reply-To: <1264521165-sup-9898@nemesis.home>
   1992 References: <1263824428-sup-6466@nemesis.home>
   1993 	<1264251144-sup-4056@masanjin.net>
   1994 	<1264521165-sup-9898@nemesis.home>
   1995 Message-ID: <1268130450-sup-8181@dolk>
   1996 
   1997 Excerpts from Daniel Schoepe's message of 2010-01-26 16:55:55 +0100:
   1998 > Excerpts from William Morgan's message of Sat Jan 23 13:53:04 +0100 2010:
   1999 > > Hi Daniel,
   2000 > > 
   2001 > > I like the idea, but would prefer a dedicated "crypto-mode" hook
   2002 > > analogous to how we have the "reply-to" hook for setting the default
   2003 > > reply-to mode.
   2004 
   2005 Could someone be so kind and provide an example for setting it to i.e.
   2006 'Sign' by default, given a specific from address?
   2007 
   2008 - gaute
   2009 -------------- next part --------------
   2010 A non-text attachment was scrubbed...
   2011 Name: signature.asc
   2012 Type: application/pgp-signature
   2013 Size: 198 bytes
   2014 Desc: not available
   2015 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100309/9dc5db42/attachment.bin>
   2016 
   2017 From michael+sup@stapelberg.de  Tue Mar  9 12:06:35 2010
   2018 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2019 Date: Tue, 09 Mar 2010 18:06:35 +0100
   2020 Subject: [sup-talk] PGP INLINE - can't make it work
   2021 In-Reply-To: <201003081220.03154.piotr.kempa@wp.eu>
   2022 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   2023 	<201003081129.47648.piotr.kempa@wp.eu>
   2024 	<1268044814-sup-4847@khjk.org>
   2025 	<201003081220.03154.piotr.kempa@wp.eu>
   2026 Message-ID: <1268154338-sup-155@midna.zekjur.net>
   2027 
   2028 Hi Piotr,
   2029 
   2030 Excerpts from piotr.kempa's message of Mo M?r 08 12:20:02 +0100 2010:
   2031 > Thank you and Michael for the explanation. Now it all makes sense. I'll just 
   2032 > keep watching the git repo in case a patch makes it there. Or  this list. If 
   2033 > anybody needs help testing such patch - I'm at your service. Coding it myself 
   2034 > could be way over my head though...
   2035 I just sent an updated patch to sup-devel, you can find it at
   2036 http://rubyforge.org/pipermail/sup-devel/2010-March/000463.html
   2037 
   2038 Testing it would be appreciated.
   2039 
   2040 Best regards,
   2041 Michael
   2042 
   2043 From johnbent@lanl.gov  Tue Mar  9 16:44:09 2010
   2044 From: johnbent@lanl.gov (John Bent)
   2045 Date: Tue, 09 Mar 2010 14:44:09 -0700
   2046 Subject: [sup-talk] wrapping in the bottom command line
   2047 Message-ID: <1268170953-sup-8766@guava.lanl.gov>
   2048 
   2049 I don't know what the bottom line is where you put the path to save
   2050 things and the path to attach things, and where you list the recipients,
   2051 etc.  But whatever it's called, it's not behaving well for me in 10.2.
   2052 Whenever I exceed 80 chars and go off the screen, it forgets about the
   2053 old stuff.  This used to work.  So now when I have a large path or lots
   2054 of recipients, I have to drag my window temporarily very wide....
   2055 
   2056 Anyone else seeing this?
   2057 
   2058 Thanks,
   2059 
   2060 John
   2061 
   2062 From rlane@club.cc.cmu.edu  Tue Mar  9 16:59:39 2010
   2063 From: rlane@club.cc.cmu.edu (Rich Lane)
   2064 Date: Tue, 09 Mar 2010 16:59:39 -0500
   2065 Subject: [sup-talk] wrapping in the bottom command line
   2066 In-Reply-To: <1268170953-sup-8766@guava.lanl.gov>
   2067 References: <1268170953-sup-8766@guava.lanl.gov>
   2068 Message-ID: <1268171860-sup-6991@zyrg.net>
   2069 
   2070 Excerpts from John Bent's message of 2010-03-09 16:44:09 -0500:
   2071 > I don't know what the bottom line is where you put the path to save
   2072 > things and the path to attach things, and where you list the recipients,
   2073 > etc.  But whatever it's called, it's not behaving well for me in 10.2.
   2074 > Whenever I exceed 80 chars and go off the screen, it forgets about the
   2075 > old stuff.  This used to work.  So now when I have a large path or lots
   2076 > of recipients, I have to drag my window temporarily very wide....
   2077 
   2078 I fixed several textfield issues in 0.11, please upgrade and see if the
   2079 problem still occurs.
   2080 
   2081 From michael+sup@stapelberg.de  Tue Mar  9 17:07:06 2010
   2082 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2083 Date: Tue, 09 Mar 2010 23:07:06 +0100
   2084 Subject: [sup-talk] wrapping in the bottom command line
   2085 In-Reply-To: <1268170953-sup-8766@guava.lanl.gov>
   2086 References: <1268170953-sup-8766@guava.lanl.gov>
   2087 Message-ID: <1268172283-sup-3882@midna.zekjur.net>
   2088 
   2089 Hi John,
   2090 
   2091 Excerpts from John Bent's message of Di M?r 09 22:44:09 +0100 2010:
   2092 > Anyone else seeing this?
   2093 Please upgrade to 0.11, the bug is fixed there (see [1]).
   2094 
   2095 Best regards,
   2096 Michael
   2097 
   2098 [1] http://gitorious.org/sup/mainline/commit/42e7aeaa907444acfcd1e1c30681c30ccb0cf2f1
   2099 
   2100 From johnbent@lanl.gov  Tue Mar  9 17:16:54 2010
   2101 From: johnbent@lanl.gov (John Bent)
   2102 Date: Tue, 09 Mar 2010 15:16:54 -0700
   2103 Subject: [sup-talk] wrapping in the bottom command line
   2104 In-Reply-To: <1268171860-sup-6991@zyrg.net>
   2105 References: <1268170953-sup-8766@guava.lanl.gov> <1268171860-sup-6991@zyrg.net>
   2106 Message-ID: <1268172915-sup-9838@guava.lanl.gov>
   2107 
   2108 Excerpts from Rich Lane's message of Tue Mar 09 14:59:39 -0700 2010:
   2109 > Excerpts from John Bent's message of 2010-03-09 16:44:09 -0500:
   2110 > > I don't know what the bottom line is where you put the path to save
   2111 > > things and the path to attach things, and where you list the
   2112 > > recipients, etc.  But whatever it's called, it's not behaving well
   2113 > > for me in 10.2.  Whenever I exceed 80 chars and go off the screen,
   2114 > > it forgets about the old stuff.  This used to work.  So now when I
   2115 > > have a large path or lots of recipients, I have to drag my window
   2116 > > temporarily very wide....
   2117 > 
   2118 > I fixed several textfield issues in 0.11, please upgrade and see if
   2119 > the problem still occurs.
   2120 >
   2121 I'd love to (and thanks for your work!) but I'm still stuck at 10 since
   2122 I can't get xapian to work on Snow Leopard...
   2123 
   2124 (I've talked about that a bunch in another thread).
   2125 
   2126 John
   2127 
   2128 From michael+sup@stapelberg.de  Tue Mar  9 17:43:15 2010
   2129 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2130 Date: Tue, 09 Mar 2010 23:43:15 +0100
   2131 Subject: [sup-talk] wrapping in the bottom command line
   2132 In-Reply-To: <1268172915-sup-9838@guava.lanl.gov>
   2133 References: <1268170953-sup-8766@guava.lanl.gov> <1268171860-sup-6991@zyrg.net>
   2134 	<1268172915-sup-9838@guava.lanl.gov>
   2135 Message-ID: <1268174528-sup-7951@midna.zekjur.net>
   2136 
   2137 Hi John,
   2138 
   2139 Excerpts from John Bent's message of Di M?r 09 23:16:54 +0100 2010:
   2140 > I'd love to (and thanks for your work!) but I'm still stuck at 10 since
   2141 Well, you can just apply the fixes from
   2142 http://gitorious.org/sup/mainline/commit/42e7aeaa907444acfcd1e1c30681c30ccb0cf2f1
   2143 directly to your version.
   2144 
   2145 Best regards,
   2146 Michael
   2147 
   2148 From johnbent@lanl.gov  Tue Mar  9 18:15:51 2010
   2149 From: johnbent@lanl.gov (John Bent)
   2150 Date: Tue, 09 Mar 2010 16:15:51 -0700
   2151 Subject: [sup-talk] wrapping in the bottom command line
   2152 In-Reply-To: <1268174528-sup-7951@midna.zekjur.net>
   2153 References: <1268170953-sup-8766@guava.lanl.gov> <1268171860-sup-6991@zyrg.net>
   2154 	<1268172915-sup-9838@guava.lanl.gov>
   2155 	<1268174528-sup-7951@midna.zekjur.net>
   2156 Message-ID: <1268176415-sup-1885@guava.lanl.gov>
   2157 
   2158 Excerpts from Michael Stapelberg's message of Tue Mar 09 15:43:15 -0700 2010:
   2159 > Hi John,
   2160 > 
   2161 > Excerpts from John Bent's message of Di M?r 09 23:16:54 +0100 2010:
   2162 > > I'd love to (and thanks for your work!) but I'm still stuck at 10 since
   2163 > Well, you can just apply the fixes from
   2164 > http://gitorious.org/sup/mainline/commit/42e7aeaa907444acfcd1e1c30681c30ccb0cf2f1
   2165 > directly to your version.
   2166 > 
   2167 I patched it and adding long attachments worked great.  And having a
   2168 long recipients list worked great as well.  But then trying to modify
   2169 the long recipients list caused a crash:
   2170 
   2171 ruby(68731,0x7fff70a6ebe0)
   2172 malloc: *** error for object 0x10094e408: incorrect checksum for freed
   2173 object - object was probably modified after being freed.
   2174 ***
   2175 set a breakpoint in malloc_error_break to debug
   2176 Abort
   2177 
   2178 Do I need to rake it again or something?  All I did was:
   2179 
   2180 cd /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2
   2181 wget 42e7aeaa907444acfcd1e1c30681c30ccb0cf2f1.patch
   2182 patch -p 1 < 42e7aeaa907444acfcd1e1c30681c30ccb0cf2f1.patch
   2183 
   2184 Thanks for your help!  I was thrilled when it worked.
   2185 
   2186 John
   2187 
   2188 > Best regards,
   2189 > Michael
   2190 
   2191 From piotr.kempa@wp.eu  Wed Mar 10 05:53:00 2010
   2192 From: piotr.kempa@wp.eu (Piotr Kempa)
   2193 Date: Wed, 10 Mar 2010 11:53:00 +0100
   2194 Subject: [sup-talk] PGP INLINE - can't make it work
   2195 In-Reply-To: <1268154338-sup-155@midna.zekjur.net>
   2196 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   2197 	<201003081129.47648.piotr.kempa@wp.eu>
   2198 	<1268044814-sup-4847@khjk.org>
   2199 	<201003081220.03154.piotr.kempa@wp.eu>
   2200 	<1268154338-sup-155@midna.zekjur.net>
   2201 Message-ID: <1268218067-sup-7683@pk-laptop>
   2202 
   2203 Excerpts from Michael Stapelberg's message of 2010-03-09 18:06:35 +0100:
   2204 > Hi Piotr,
   2205 > 
   2206 > Excerpts from piotr.kempa's message of Mo M?r 08 12:20:02 +0100 2010:
   2207 > > Thank you and Michael for the explanation. Now it all makes sense. I'll just 
   2208 > > keep watching the git repo in case a patch makes it there. Or  this list. If 
   2209 > > anybody needs help testing such patch - I'm at your service. Coding it myself 
   2210 > > could be way over my head though...
   2211 > I just sent an updated patch to sup-devel, you can find it at
   2212 > http://rubyforge.org/pipermail/sup-devel/2010-March/000463.html
   2213 > 
   2214 > Testing it would be appreciated.
   2215 > 
   2216 > Best regards,
   2217 > Michael
   2218 
   2219 Hello Michael, 
   2220 
   2221 Thank you. I just tried the patch and unfortunately sup crashes on me
   2222 now. I patched the 0.11 version and checked that the patches were
   2223 applied successfully (as far as I could at least). 
   2224 
   2225 I'm attaching the crash log. The crash happens like this: I add the
   2226 new source maildir with encrypted emails, run sup, it executes, sees
   2227 the new source and starts indexing emails and then crashes. 
   2228 
   2229 Hope this helps somehow. 
   2230  
   2231 Piotr
   2232 -- 
   2233 Piotr Kempa
   2234 -------------- next part --------------
   2235 An embedded and charset-unspecified text was scrubbed...
   2236 Name: exception-log.txt
   2237 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100310/bcbd243e/attachment-0001.txt>
   2238 
   2239 From michael+sup@stapelberg.de  Wed Mar 10 06:14:04 2010
   2240 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2241 Date: Wed, 10 Mar 2010 12:14:04 +0100
   2242 Subject: [sup-talk] PGP INLINE - can't make it work
   2243 In-Reply-To: <1268218067-sup-7683@pk-laptop>
   2244 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   2245 	<201003081129.47648.piotr.kempa@wp.eu>
   2246 	<1268044814-sup-4847@khjk.org>
   2247 	<201003081220.03154.piotr.kempa@wp.eu>
   2248 	<1268154338-sup-155@midna.zekjur.net>
   2249 	<1268218067-sup-7683@pk-laptop>
   2250 Message-ID: <1268219571-sup-3316@midna.zekjur.net>
   2251 
   2252 Hi Piotr,
   2253 
   2254 Excerpts from Piotr Kempa's message of Mi M?r 10 11:53:00 +0100 2010:
   2255 > Thank you. I just tried the patch and unfortunately sup crashes on me
   2256 > now. I patched the 0.11 version and checked that the patches were
   2257 > applied successfully (as far as I could at least). 
   2258 Thanks for testing. Can you please see if the updated version works
   2259 for you (attached to this mail)?
   2260 
   2261 Best regards,
   2262 Michael
   2263 -------------- next part --------------
   2264 A non-text attachment was scrubbed...
   2265 Name: 0001-Implement-inline-GPG.patch
   2266 Type: application/octet-stream
   2267 Size: 7925 bytes
   2268 Desc: not available
   2269 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100310/d99ca5a5/attachment.obj>
   2270 
   2271 From piotr.kempa@wp.eu  Wed Mar 10 09:41:35 2010
   2272 From: piotr.kempa@wp.eu (Piotr Kempa)
   2273 Date: Wed, 10 Mar 2010 15:41:35 +0100
   2274 Subject: [sup-talk] PGP INLINE - can't make it work
   2275 In-Reply-To: <1268219571-sup-3316@midna.zekjur.net>
   2276 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   2277 	<201003081129.47648.piotr.kempa@wp.eu>
   2278 	<1268044814-sup-4847@khjk.org>
   2279 	<201003081220.03154.piotr.kempa@wp.eu>
   2280 	<1268154338-sup-155@midna.zekjur.net>
   2281 	<1268218067-sup-7683@pk-laptop>
   2282 	<1268219571-sup-3316@midna.zekjur.net>
   2283 Message-ID: <1268231546-sup-2256@pk-laptop>
   2284 
   2285 Excerpts from Michael Stapelberg's message of 2010-03-10 12:14:04 +0100:
   2286 > Hi Piotr,
   2287 > 
   2288 > Excerpts from Piotr Kempa's message of Mi M?r 10 11:53:00 +0100 2010:
   2289 > > Thank you. I just tried the patch and unfortunately sup crashes on me
   2290 > > now. I patched the 0.11 version and checked that the patches were
   2291 > > applied successfully (as far as I could at least). 
   2292 > Thanks for testing. Can you please see if the updated version works
   2293 > for you (attached to this mail)?
   2294 > 
   2295 > Best regards,
   2296 > Michael
   2297 
   2298 Wow, this works!! Thank you so much Michael! This will make my job soooo much
   2299 easier, faster and more pleasant :) 
   2300 
   2301 I have just two messages that give errors to sup-sync, but the remaining ones
   2302 (a hundred or more) just work beautifully.  The error is like this: 
   2303 
   2304    [2010-03-10 15:25:28 +0100] Error while running gpg: gpg: invalid armor header: 
   2305 	    gpg: malformed CRC
   2306    gpg: encrypted_mdc packet with unknown version 255
   2307    gpg: quoted printable character in armor - probably a buggy MTA has been used
   2308    
   2309    [2010-03-10 15:25:33 +0100] Error while running gpg: gpg: invalid armor
   2310       header: gpg: CRC error; 9C0326 - DC39C0
   2311    gpg: encrypted_mdc packet with unknown version 255
   2312    gpg: quoted printable character in armor - probably a buggy MTA has been used
   2313 
   2314 (two long lines with the timestamp broken by me)
   2315 
   2316 But I guess this is what it says it is - an invalid message with CRC errors in
   2317 the GPG payload, so this should be nothing to worry about. 
   2318 
   2319 Anyway, thanks a million Michael!
   2320 -- 
   2321 Piotr Kempa
   2322 
   2323 From dominik.epple@googlemail.com  Wed Mar 10 10:45:56 2010
   2324 From: dominik.epple@googlemail.com (Dominik Epple)
   2325 Date: Wed, 10 Mar 2010 16:45:56 +0100
   2326 Subject: [sup-talk] 12h/24h Datetime format in sup index
   2327 Message-ID: <123554aa1003100745v59a49fd4uda1a800266290d18@mail.gmail.com>
   2328 
   2329 Hi,
   2330 
   2331 in the sup index, the datetime column looks like this (for me):
   2332 
   2333    11:05
   2334     6:28
   2335     3:29
   2336    12:30
   2337  Yest. 7
   2338  Yest. 5
   2339  Yest. 3
   2340  Yest. 3
   2341  Yest. 2
   2342  Yest. 2
   2343 
   2344 It took me some time to find out that this is a 12h time format
   2345 (without am/pm indicators). I would prefer to have this as 24h date
   2346 format, such that the dates above would be written as:
   2347 
   2348    11:05
   2349     6:28
   2350     3:29
   2351     0:30
   2352  Yest. 19
   2353  Yest. 17
   2354  Yest. 15
   2355  Yest. 15
   2356  Yest. 14
   2357  Yest. 14
   2358 
   2359 Can one configure this? How?
   2360 
   2361 Thanks
   2362 Dominik
   2363 
   2364 From tero@tilus.net  Wed Mar 10 12:44:49 2010
   2365 From: tero@tilus.net (Tero Tilus)
   2366 Date: Wed, 10 Mar 2010 19:44:49 +0200
   2367 Subject: [sup-talk] 12h/24h Datetime format in sup index
   2368 In-Reply-To: <123554aa1003100745v59a49fd4uda1a800266290d18@mail.gmail.com>
   2369 References: <123554aa1003100745v59a49fd4uda1a800266290d18@mail.gmail.com>
   2370 Message-ID: <1268239924-sup-190@tilus.net>
   2371 
   2372 Dominik Epple, 2010-03-10 17:45:
   2373 > I would prefer to have this as 24h date
   2374 > Can one configure this? How?
   2375 
   2376 You need index-mode-date-widget hook
   2377 
   2378 $ sup --list-hooks
   2379 ...
   2380 index-mode-date-widget
   2381 ----------------------
   2382 File: /home/terotil/.sup/hooks/index-mode-date-widget.rb
   2383 Generates the per-thread date widget for each thread.
   2384 Variables:
   2385   thread: The message thread to be formatted.
   2386 ...
   2387 
   2388 Mine looks like this
   2389 
   2390 date = thread.date
   2391 from = Time.now
   2392 if date.is_the_same_day? from
   2393   # same day
   2394   date.strftime("klo %H:%M")
   2395 elsif date.is_the_day_before? from
   2396   # yesterday
   2397   date.nearest_hour.strftime("eilen %H")
   2398 else
   2399   if date.year != from.year
   2400     # different year
   2401     date.strftime("%e.%m.%Y")
   2402   elsif date.month != from.month
   2403     # same year
   2404     date.strftime("%e.%m. %H")
   2405   else
   2406     # same month
   2407     date.strftime("%e. %H:%M")
   2408   end
   2409 end
   2410 
   2411 Just copy that to your .sup/hooks/index-mode-date-widget.rb and tweak
   2412 the formats (strftime calls) to suit your needs.  Available formats
   2413 you find from <http://ruby-doc.org/core/classes/Time.html#M000298>.
   2414 
   2415 -- 
   2416 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2417 
   2418 From johnbent@lanl.gov  Wed Mar 10 16:05:35 2010
   2419 From: johnbent@lanl.gov (John Bent)
   2420 Date: Wed, 10 Mar 2010 14:05:35 -0700
   2421 Subject: [sup-talk] signature hook placement
   2422 Message-ID: <1268255039-sup-8974@guava.lanl.gov>
   2423 
   2424 Is there anyway to control where the signature hook text gets placed?
   2425 If I'm replying in the middle of a long email thread, it places the
   2426 signature at the bottom, whereas I'd prefer it placed under my last
   2427 reply.
   2428 
   2429 Thanks,
   2430 
   2431 John
   2432 
   2433 From michael+sup@stapelberg.de  Wed Mar 10 16:19:24 2010
   2434 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2435 Date: Wed, 10 Mar 2010 22:19:24 +0100
   2436 Subject: [sup-talk] signature hook placement
   2437 In-Reply-To: <1268255039-sup-8974@guava.lanl.gov>
   2438 References: <1268255039-sup-8974@guava.lanl.gov>
   2439 Message-ID: <1268255892-sup-2273@midna.zekjur.net>
   2440 
   2441 Hi John,
   2442 
   2443 Excerpts from John Bent's message of Mi M?r 10 22:05:35 +0100 2010:
   2444 > Is there anyway to control where the signature hook text gets placed?
   2445 > If I'm replying in the middle of a long email thread, it places the
   2446 > signature at the bottom, whereas I'd prefer it placed under my last
   2447 > reply.
   2448 General style for replying to email is to cut off the non-relevant text, so
   2449 that the bottom of the mail is always under the last reply.
   2450 
   2451 To give you a more helpful hint if you still want to do it: the before-edit
   2452 hook can be used to modify the message contents and place a signature in a
   2453 more appropriate place.
   2454 
   2455 Best regards,
   2456 Michael
   2457 
   2458 From michael+sup@stapelberg.de  Wed Mar 10 16:21:50 2010
   2459 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2460 Date: Wed, 10 Mar 2010 22:21:50 +0100
   2461 Subject: [sup-talk] PGP INLINE - can't make it work
   2462 In-Reply-To: <1268231546-sup-2256@pk-laptop>
   2463 References: <201002261808.36354.kosmici-atakuja@wp.pl>
   2464 	<201003081129.47648.piotr.kempa@wp.eu>
   2465 	<1268044814-sup-4847@khjk.org>
   2466 	<201003081220.03154.piotr.kempa@wp.eu>
   2467 	<1268154338-sup-155@midna.zekjur.net>
   2468 	<1268218067-sup-7683@pk-laptop>
   2469 	<1268219571-sup-3316@midna.zekjur.net>
   2470 	<1268231546-sup-2256@pk-laptop>
   2471 Message-ID: <1268256033-sup-470@midna.zekjur.net>
   2472 
   2473 Hi Piotr,
   2474 
   2475 Excerpts from Piotr Kempa's message of Mi M?r 10 15:41:35 +0100 2010:
   2476 > Wow, this works!! Thank you so much Michael! This will make my job soooo much
   2477 > easier, faster and more pleasant :) 
   2478 You?re welcome. Thanks for testing. I will now post the updated patch to
   2479 sup-devel and hope that rlane will merge it soon.
   2480 
   2481 Best regards,
   2482 Michael
   2483 
   2484 From sm@khjk.org  Thu Mar 11 07:03:55 2010
   2485 From: sm@khjk.org (Sven Moritz Hallberg)
   2486 Date: Thu, 11 Mar 2010 13:03:55 +0100
   2487 Subject: [sup-talk] flicker on poll for new messages
   2488 Message-ID: <1268309031-sup-2088@khjk.org>
   2489 
   2490 Just a quick question, when polling for new messages, sup seems to blank the
   2491 screen and just immediately repaint it. Is this necessary?
   2492 
   2493 Regards,
   2494 Sven
   2495 
   2496 From michael+sup@stapelberg.de  Thu Mar 11 07:26:58 2010
   2497 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2498 Date: Thu, 11 Mar 2010 13:26:58 +0100
   2499 Subject: [sup-talk] flicker on poll for new messages
   2500 In-Reply-To: <1268309031-sup-2088@khjk.org>
   2501 References: <1268309031-sup-2088@khjk.org>
   2502 Message-ID: <1268310352-sup-1631@midna.zekjur.net>
   2503 
   2504 Hi Sven,
   2505 
   2506 Excerpts from Sven Moritz Hallberg's message of Do M?r 11 13:03:55 +0100 2010:
   2507 > Just a quick question, when polling for new messages, sup seems to blank the
   2508 > screen and just immediately repaint it. Is this necessary?
   2509 Do you maybe receive new mails which are GPG signed/encrypted? In this case
   2510 the flickering might be caused by leaving the ncurses mode, running the gpg
   2511 command and re-entering ncurses mode. This is necessary to allow programs
   2512 such as pinentry-curses to work correctly.
   2513 
   2514 Best regards,
   2515 Michael
   2516 
   2517 From sm@khjk.org  Thu Mar 11 07:35:44 2010
   2518 From: sm@khjk.org (Sven Moritz Hallberg)
   2519 Date: Thu, 11 Mar 2010 13:35:44 +0100
   2520 Subject: [sup-talk] flicker on poll for new messages
   2521 In-Reply-To: <1268310352-sup-1631@midna.zekjur.net>
   2522 References: <1268309031-sup-2088@khjk.org>
   2523 	<1268310352-sup-1631@midna.zekjur.net>
   2524 Message-ID: <1268310826-sup-3861@khjk.org>
   2525 
   2526 Excerpts from Michael Stapelberg's message of 2010-03-11 13:26:58 +0100:
   2527 > Excerpts from Sven Moritz Hallberg's message of Do M?r 11 13:03:55 +0100 2010:
   2528 > > Just a quick question, when polling for new messages, sup seems to blank the
   2529 > > screen and just immediately repaint it. Is this necessary?
   2530 > Do you maybe receive new mails which are GPG signed/encrypted? In this case
   2531 > the flickering might be caused by leaving the ncurses mode, running the gpg
   2532 > command and re-entering ncurses mode. This is necessary to allow programs
   2533 > such as pinentry-curses to work correctly.
   2534 
   2535 This is probably it. Though I'm wondering, it also happens when there are
   2536 no new messages received, or those messages are not PGP'ed...
   2537 
   2538 From dlordxorso@yahoo.com  Thu Mar 11 10:47:43 2010
   2539 From: dlordxorso@yahoo.com (Daren Lord)
   2540 Date: Thu, 11 Mar 2010 07:47:43 -0800 (PST)
   2541 Subject: [sup-talk] before-add-message hook no creating threads
   2542 Message-ID: <79968.51859.qm@web63906.mail.re1.yahoo.com>
   2543 
   2544 All,
   2545 
   2546 Have been using sup for a couple months and now that I feel comfortable with it I want to start customizing it.
   2547 
   2548 I am trying to take certain emails and lump them into a thread so I can keep track of the history
   2549 
   2550 Here is the code from my before-add-message.rb hook:
   2551 
   2552 if message.subj =~ /^\[ENV (PROD|TEST|DEV)\] Hourly ADDM report for instance (.*)/
   2553     message.add_ref $1 + "ADDM REPORTS - " + $2
   2554     message.add_label "report"
   2555     message.add_label $1
   2556 end
   2557 
   2558 My add_label statements are working great, I just can't get the add_ref to work. I am not familiar with ruby at all, so I am hoping I am just missing something simple.
   2559 
   2560 Thanks.
   2561 
   2562 DLord
   2563 
   2564 
   2565 
   2566       
   2567 -------------- next part --------------
   2568 An HTML attachment was scrubbed...
   2569 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100311/b38cfbc7/attachment.html>
   2570 
   2571 From johnbent@lanl.gov  Thu Mar 11 16:09:04 2010
   2572 From: johnbent@lanl.gov (John Bent)
   2573 Date: Thu, 11 Mar 2010 14:09:04 -0700
   2574 Subject: [sup-talk] Problem with lbdb and extra contacts hook
   2575 In-Reply-To: <1253488117-sup-4560@harikalardiyari>
   2576 References: <1253481392-sup-4891@harikalardiyari>
   2577 	<1253488117-sup-4560@harikalardiyari>
   2578 Message-ID: <1268341630-sup-7494@guava.lanl.gov>
   2579 
   2580 Excerpts from Ali Polatel's message of Sun Sep 20 17:11:04 -0600 2009:
   2581 > Ali Polatel yazm??:
   2582 > > Hello,
   2583 > > I've just started using sup and I'm really loving it.
   2584 > > Thanks for the great software.
   2585 > > 
   2586 > > I have a problem with extra-contact-addresses hook and lbdb.
   2587 > > Using the hook in the wiki:
   2588 > > contacts = []
   2589 > > `lbdbq |awk -F"\t" '{print $2 , "<"$1">"}'`.each { |c| contacts.push(c) }
   2590 > > return contacts
   2591 > 
   2592 > Answering myself, removing return from the last line works as expected!
   2593 > I'll see if I can edit the wiki.
   2594 > 
   2595 By the way, I recently used this hook as well and found it really slow
   2596 so I rewrote it to parse the lbdb by hand instead of calling out to
   2597 lbdb.  For me, it went from 1.5s to 0.03s.  I edited the wiki as well.
   2598 Here's the hook:
   2599 
   2600 file = File.open( ENV['HOME'] + "/.lbdb/m_inmail.list", "r" )
   2601 contacts = []
   2602 while file.gets
   2603     email,name = split("\t")
   2604     contacts << "#{name} <#{email}>"
   2605 end
   2606 file.close
   2607 contacts
   2608 
   2609 John
   2610 
   2611 From johnbent@lanl.gov  Thu Mar 11 16:11:21 2010
   2612 From: johnbent@lanl.gov (John Bent)
   2613 Date: Thu, 11 Mar 2010 14:11:21 -0700
   2614 Subject: [sup-talk] printing emails (but not attachments)
   2615 Message-ID: <1268341771-sup-2631@guava.lanl.gov>
   2616 
   2617 I've been piping emails into muttprint which works well unless there's a
   2618 binary attachment.  When there's a binary attachment, muttprint prints
   2619 it and it usually takes tens and tens of pages.  Whoops.
   2620 
   2621 Anyone else figure out how to print emails but not attachments?
   2622 
   2623 Thanks,
   2624 
   2625 John
   2626 
   2627 From eg@gaute.vetsj.com  Fri Mar 12 04:16:52 2010
   2628 From: eg@gaute.vetsj.com (Gaute Hope)
   2629 Date: Fri, 12 Mar 2010 10:16:52 +0100
   2630 Subject: [sup-talk] Problem with lbdb and extra contacts hook
   2631 In-Reply-To: <1268341630-sup-7494@guava.lanl.gov>
   2632 References: <1253481392-sup-4891@harikalardiyari>
   2633 	<1253488117-sup-4560@harikalardiyari>
   2634 	<1268341630-sup-7494@guava.lanl.gov>
   2635 Message-ID: <1268385173-sup-5542@dolk>
   2636 
   2637 Excerpts from John Bent's message of 2010-03-11 22:09:04 +0100:
   2638 > Excerpts from Ali Polatel's message of Sun Sep 20 17:11:04 -0600 2009:
   2639 > > Ali Polatel yazm??:
   2640 > > > Hello,
   2641 > > > I've just started using sup and I'm really loving it.
   2642 > > > Thanks for the great software.
   2643 > > >
   2644 > > > I have a problem with extra-contact-addresses hook and lbdb.
   2645 > > > Using the hook in the wiki:
   2646 > > > contacts = []
   2647 > > > `lbdbq |awk -F"\t" '{print $2 , "<"$1">"}'`.each { |c| contacts.push(c) }
   2648 > > > return contacts
   2649 > >
   2650 > > Answering myself, removing return from the last line works as expected!
   2651 > > I'll see if I can edit the wiki.
   2652 > >
   2653 > By the way, I recently used this hook as well and found it really slow
   2654 > so I rewrote it to parse the lbdb by hand instead of calling out to
   2655 > lbdb.  For me, it went from 1.5s to 0.03s.  I edited the wiki as well.
   2656 > Here's the hook:
   2657 >
   2658 > file = File.open( ENV['HOME'] + "/.lbdb/m_inmail.list", "r" )
   2659 > contacts = []
   2660 > while file.gets
   2661 >     email,name = split("\t")
   2662 >     contacts << "#{name} <#{email}>"
   2663 > end
   2664 > file.close
   2665 > contacts
   2666 
   2667 This doesn't do the same thou as far as I can see, your hook only uses
   2668 the addresses returned by the module using m_inmail.list; the former one
   2669 uses all configured modules.
   2670 
   2671 - gaute
   2672 -------------- next part --------------
   2673 A non-text attachment was scrubbed...
   2674 Name: signature.asc
   2675 Type: application/pgp-signature
   2676 Size: 198 bytes
   2677 Desc: not available
   2678 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100312/076b32c9/attachment.bin>
   2679 
   2680 From piotr.kempa@wp.eu  Fri Mar 12 10:27:40 2010
   2681 From: piotr.kempa@wp.eu (piotr.kempa at wp.eu)
   2682 Date: Fri, 12 Mar 2010 16:27:40 +0100
   2683 Subject: [sup-talk] Search for message by size
   2684 Message-ID: <1268407529-sup-6710@pk-laptop>
   2685 
   2686 Hi there, 
   2687 
   2688 Is there a way to search for messages in certain size range? I'm talking
   2689 about bytes here, like search for messages bigger than 1MB (e.g. for
   2690 making your maildirs smaller by cutting those 50MB emails from years
   2691 ago). 
   2692 
   2693 I can't find anything on the wiki or this mailing list...
   2694 
   2695 Thanks!
   2696 
   2697 From juantascon@gmail.com  Fri Mar 12 11:43:52 2010
   2698 From: juantascon@gmail.com (Juan Diego)
   2699 Date: Sat, 13 Mar 2010 01:43:52 +0900
   2700 Subject: [sup-talk] Search for message by size
   2701 In-Reply-To: <1268407529-sup-6710@pk-laptop>
   2702 References: <1268407529-sup-6710@pk-laptop>
   2703 Message-ID: <b3095c51003120843v2609eee6y94d6890b342256f4@mail.gmail.com>
   2704 
   2705 if you have maildirs the best for that task is to use "find", ex:
   2706 
   2707 find <maildir> -size +1M
   2708 
   2709 will search for files bigger than 1M in the <maildir> directory
   2710 
   2711 what Im not sure of is how to do it for mbox files
   2712 
   2713 On Sat, Mar 13, 2010 at 12:27 AM,  <piotr.kempa at wp.eu> wrote:
   2714 > Hi there,
   2715 >
   2716 > Is there a way to search for messages in certain size range? I'm talking
   2717 > about bytes here, like search for messages bigger than 1MB (e.g. for
   2718 > making your maildirs smaller by cutting those 50MB emails from years
   2719 > ago).
   2720 >
   2721 > I can't find anything on the wiki or this mailing list...
   2722 >
   2723 > Thanks!
   2724 > _______________________________________________
   2725 > sup-talk mailing list
   2726 > sup-talk at rubyforge.org
   2727 > http://rubyforge.org/mailman/listinfo/sup-talk
   2728 >
   2729 
   2730 From eliecartan@mailworks.org  Fri Mar 12 16:37:07 2010
   2731 From: eliecartan@mailworks.org (E. Cartan)
   2732 Date: Fri, 12 Mar 2010 15:37:07 -0600
   2733 Subject: [sup-talk] index options, by addressee instead of by sender
   2734 In-Reply-To: <1267490267-sup-2324@pinkfloyd.chass.utoronto.ca>
   2735 References: <20100302002310.GB19325@katowice>
   2736 	<1267490267-sup-2324@pinkfloyd.chass.utoronto.ca>
   2737 Message-ID: <20100312213707.GB3800@katowice>
   2738 
   2739 Excerpts from Ben Walton's message of Mon Mar 01 07:38:45 -0500 2010:
   2740  | Excerpts from E. Cartan's message of Mon Mar 01 19:23:10 -0500 2010:
   2741  | 
   2742  | >   I would like to see the messages which one sends displayed 
   2743  | >   on the sup index by "addressee", instead of by "sender" 
   2744  | >   (or sender replaced by "me").  Not all messages, but 
   2745  | >   just the one sent by me.
   2746  | 
   2747  | I think there is a patch to do just this that is likely to be included
   2748  | in the next release of sup (or available now if you track the git  repo).  
   2749 
   2750 
   2751    Finally yesterday I did get sup 0.11, only to realize that 
   2752    I don't know how to configure the index view to display the 
   2753    addressees on certain messages, nor how to modify the index
   2754    view in any other way.  
   2755 
   2756    Above, Were you thinking about using automatic labelling 
   2757    to filter and display the "addressees" instead of the sender 
   2758    only for my own "messages"?  Or did you have in mind
   2759    any other alternative tools or approaches? 
   2760    Would you please suggest where to start reading or looking?  
   2761    Please, consider that I am a only a beginner.
   2762 
   2763 
   2764    I see the release announcement mentions the index at least twice: 
   2765    "Backwards-compatible index format improvements" and "New hooks:
   2766    ... index-mode-date-widget".   Probably my basic problem is that 
   2767    I don't know how to install or enable hooks, nor where 
   2768    to obtain them.   
   2769    
   2770    I currently use only 3 hooks, which I copied from the sup wiki. 
   2771    However ruby appears to have somewhere the source or the list
   2772    of several more.  In fact the command:
   2773 
   2774      ruby -I lib -w /var/lib/gems/1.8/bin/sup -l 
   2775 
   2776    will return:   "have 30 registered hooks", but I am unable to 
   2777    find any of these.  For each hook, the output of this command 
   2778    claims that the corresponding file is  in ~/.sup/hooks/
   2779    But on that directory I only find the hooks which I copied
   2780    from the wiki.
   2781 
   2782    I would like to thank here, in advance, all who reply 
   2783    with any additional help.
   2784 
   2785    Regards,
   2786    Elie.
   2787    
   2788 
   2789    
   2790    
   2791     
   2792 
   2793    
   2794    
   2795   
   2796 
   2797 From daniel.schoepe@googlemail.com  Fri Mar 12 17:03:03 2010
   2798 From: daniel.schoepe@googlemail.com (Daniel Schoepe)
   2799 Date: Fri, 12 Mar 2010 23:03:03 +0100
   2800 Subject: [sup-talk] [patch] Add crypto_selector variable to before-edit
   2801 In-Reply-To: <1268130450-sup-8181@dolk>
   2802 References: <1263824428-sup-6466@nemesis.home>
   2803 	<1264251144-sup-4056@masanjin.net>
   2804 	<1264521165-sup-9898@nemesis.home> <1268130450-sup-8181@dolk>
   2805 Message-ID: <1268431172-sup-9482@nemesis.home>
   2806 
   2807 Excerpts from Gaute Hope's message of Tue Mar 09 11:29:13 +0100 2010:
   2808 > Could someone be so kind and provide an example for setting it to i.e.
   2809 > 'Sign' by default, given a specific from address?
   2810 > 
   2811 > - gaute
   2812 
   2813 Something like this should work:
   2814 
   2815 crypto_selector.set_to :sign if header["From"] == "foo at ba.r"
   2816 
   2817 (You might need to use e.g. a regex if the header also contains the name,
   2818 as in "Foo Bar <mail>")
   2819 -------------- next part --------------
   2820 A non-text attachment was scrubbed...
   2821 Name: signature.asc
   2822 Type: application/pgp-signature
   2823 Size: 836 bytes
   2824 Desc: not available
   2825 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100312/67bfb75c/attachment-0001.bin>
   2826 
   2827 From eg@gaute.vetsj.com  Fri Mar 12 17:34:16 2010
   2828 From: eg@gaute.vetsj.com (Gaute Hope)
   2829 Date: Fri, 12 Mar 2010 23:34:16 +0100
   2830 Subject: [sup-talk] [patch] Add crypto_selector variable to before-edit
   2831 In-Reply-To: <1268431172-sup-9482@nemesis.home>
   2832 References: <1263824428-sup-6466@nemesis.home>
   2833 	<1264251144-sup-4056@masanjin.net>
   2834 	<1264521165-sup-9898@nemesis.home> <1268130450-sup-8181@dolk>
   2835 	<1268431172-sup-9482@nemesis.home>
   2836 Message-ID: <1268433226-sup-8467@dolk>
   2837 
   2838 Excerpts from Daniel Schoepe's message of 2010-03-12 23:03:03 +0100:
   2839 > Excerpts from Gaute Hope's message of Tue Mar 09 11:29:13 +0100 2010:
   2840 > > Could someone be so kind and provide an example for setting it to i.e.
   2841 > > 'Sign' by default, given a specific from address?
   2842 > > 
   2843 > > - gaute
   2844 > 
   2845 > Something like this should work:
   2846 > 
   2847 > crypto_selector.set_to :sign if header["From"] == "foo at ba.r"
   2848 > 
   2849 > (You might need to use e.g. a regex if the header also contains the name,
   2850 > as in "Foo Bar <mail>")
   2851 
   2852 Thanks, that did it!
   2853 
   2854 - gaute
   2855 -------------- next part --------------
   2856 A non-text attachment was scrubbed...
   2857 Name: signature.asc
   2858 Type: application/pgp-signature
   2859 Size: 198 bytes
   2860 Desc: not available
   2861 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100312/09960bdb/attachment.bin>
   2862 
   2863 From michael+sup@stapelberg.de  Sat Mar 13 02:31:53 2010
   2864 From: michael+sup@stapelberg.de (Michael Stapelberg)
   2865 Date: Sat, 13 Mar 2010 08:31:53 +0100
   2866 Subject: [sup-talk] index options, by addressee instead of by sender
   2867 In-Reply-To: <20100312213707.GB3800@katowice>
   2868 References: <20100302002310.GB19325@katowice>
   2869 	<1267490267-sup-2324@pinkfloyd.chass.utoronto.ca>
   2870 	<20100312213707.GB3800@katowice>
   2871 Message-ID: <1268465328-sup-5169@midna.zekjur.net>
   2872 
   2873 Hi,
   2874 
   2875 Excerpts from E. Cartan's message of Fr M?r 12 22:37:07 +0100 2010:
   2876 >    I don't know how to install or enable hooks, nor where 
   2877 >    to obtain them.   
   2878 >    
   2879 >    I currently use only 3 hooks, which I copied from the sup wiki. 
   2880 >    However ruby appears to have somewhere the source or the list
   2881 >    of several more.  In fact the command:
   2882 > 
   2883 >      ruby -I lib -w /var/lib/gems/1.8/bin/sup -l 
   2884 > 
   2885 >    will return:   "have 30 registered hooks", but I am unable to 
   2886 >    find any of these.  For each hook, the output of this command 
   2887 >    claims that the corresponding file is  in ~/.sup/hooks/
   2888 >    But on that directory I only find the hooks which I copied
   2889 >    from the wiki.
   2890 To have a registered hook with a certain file means that the HookManager
   2891 *would* execute the contents of that file, if it existed.
   2892 
   2893 So, to use a certain hook, create the appropriate file and place your
   2894 ruby code in there.
   2895 
   2896 You can get example code in the wiki, as you have already mentioned.
   2897 
   2898 Best regards,
   2899 Michael
   2900 
   2901 From tero@tilus.net  Sun Mar 14 04:54:28 2010
   2902 From: tero@tilus.net (Tero Tilus)
   2903 Date: Sun, 14 Mar 2010 10:54:28 +0200
   2904 Subject: [sup-talk] before-add-message hook no creating threads
   2905 In-Reply-To: <79968.51859.qm@web63906.mail.re1.yahoo.com>
   2906 References: <79968.51859.qm@web63906.mail.re1.yahoo.com>
   2907 Message-ID: <1268556523-sup-2164@tilus.net>
   2908 
   2909 Daren Lord, 2010-03-11 17:47:
   2910 > I am trying to take certain emails and lump them into a thread so I
   2911 > can keep track of the history
   2912 
   2913 Why not use labels?  That is exactly what labels are for.  Isn't it?
   2914 
   2915 > Here is the code from my before-add-message.rb hook:
   2916 > 
   2917 > if message.subj =~ /^\[ENV (PROD|TEST|DEV)\] Hourly ADDM report for instance (.*)/
   2918 >     message.add_ref $1 + "ADDM REPORTS - " + $2
   2919 
   2920 Sup expects ref to be a message id.  In principle that should work,
   2921 but the expectation could bite you here.  Have you tried using id from
   2922 an existing message?
   2923 
   2924 >     message.add_label "report"
   2925 >     message.add_label $1
   2926 > end
   2927 
   2928 -- 
   2929 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2930 
   2931 From eliecartan@mailworks.org  Mon Mar 15 04:02:39 2010
   2932 From: eliecartan@mailworks.org (E. Cartan)
   2933 Date: Mon, 15 Mar 2010 03:02:39 -0500
   2934 Subject: [sup-talk] index view options, use addressee instead of sender
   2935 In-Reply-To: <20100312213707.GB3800@katowice>
   2936 References: <20100302002310.GB19325@katowice>
   2937 	<1267490267-sup-2324@pinkfloyd.chass.utoronto.ca>
   2938 	<20100312213707.GB3800@katowice>
   2939 Message-ID: <20100315080239.GA3905@katowice>
   2940 
   2941 Excerpts from E. Cartan's message of Fri Mar 12 2010 19:23:10 -0500 2010:
   2942 On Fri, Mar 12, 2010 at 03:37:07PM -0600, E. Cartan wrote:
   2943  | Excerpts from Ben Walton's message of Mon Mar 01 07:38:45 -0500 2010:
   2944  |  | Excerpts from E. Cartan's message of Mon Mar 01 19:23:10 -0500 2010:
   2945  |  | 
   2946  |  | >   I would like to see the messages which one sends displayed 
   2947  |  | >   on the sup index by "addressee", instead of by "sender" 
   2948  |  | >   (or sender replaced by "me").  Not all messages, but 
   2949  |  | >   just the one sent by me.
   2950  |  | 
   2951  |  | I think there is a patch to do just this that is likely to be 
   2952  |  | included in the next release of sup (or available now if you 
   2953  |  | track the git  repo).  
   2954  | 
   2955  |    Finally yesterday I did get sup 0.11, only to realize that 
   2956  |    I don't know how to configure the index view to display the 
   2957  |    addressees on certain messages, nor how to modify the index
   2958  |    view in any other way.  
   2959 
   2960    
   2961     Actually I have just discovered today that sup 0.11 index 
   2962     seems to do the above BY DEFAULT.  I mean, it displays 
   2963     the addressee/recipient (between parentheses), instead 
   2964     of the sender "(me)", in the case of of messages 
   2965     sent by oneself.
   2966 
   2967     I am sorry for having being so confused to have asked above
   2968     how to obtain what appears to be the default behaviour 
   2969     of the new version of sup.  My false assumption that 
   2970     a configuration change, or a hook were needed,
   2971     was based on the fact that the first time I ran sup 0.11, 
   2972     the index continued to be displayed as in older versions, 
   2973     However today, when I started it a second time, I noticed 
   2974     that it complained about not having ncursesw installed. 
   2975     Having the wide character ncurses library solved my problem.
   2976 
   2977     Regards,
   2978     Elie Cartan
   2979    
   2980     
   2981     
   2982 
   2983 From piotr.kempa@wp.eu  Mon Mar 15 05:11:48 2010
   2984 From: piotr.kempa@wp.eu (piotr.kempa)
   2985 Date: Mon, 15 Mar 2010 10:11:48 +0100
   2986 Subject: [sup-talk] Search for message by size
   2987 In-Reply-To: <b3095c51003120843v2609eee6y94d6890b342256f4@mail.gmail.com>
   2988 References: <1268407529-sup-6710@pk-laptop>
   2989 	<b3095c51003120843v2609eee6y94d6890b342256f4@mail.gmail.com>
   2990 Message-ID: <1268644060-sup-2983@pk-laptop>
   2991 
   2992 Thanks Juan, I actually can do this since I'm on maildir but this will
   2993 be quite a bit of work since the filenames don't tell me much about the
   2994 message. So I'd have to manually open each found file, see what it's
   2995 about and then find the thread in sup. I kind of hoped I could search
   2996 from within sup, just like you can search for messages from certain date
   2997 range.
   2998 But thanks for the idea anyway, I'll do it if I'm really pressed for
   2999 space. 
   3000 
   3001 Excerpts from Juan Diego's message of 2010-03-12 17:43:52 +0100:
   3002 > if you have maildirs the best for that task is to use "find", ex:
   3003 > find <maildir> -size +1M
   3004 > will search for files bigger than 1M in the <maildir> directory
   3005 > what Im not sure of is how to do it for mbox files
   3006 > 
   3007 > On Sat, Mar 13, 2010 at 12:27 AM,  <piotr.kempa at wp.eu> wrote:
   3008 >> Hi there,
   3009 >>
   3010 >> Is there a way to search for messages in certain size range? I'm talking
   3011 >> about bytes here, like search for messages bigger than 1MB (e.g. for
   3012 >> making your maildirs smaller by cutting those 50MB emails from years
   3013 >> ago).
   3014 >>
   3015 >> I can't find anything on the wiki or this mailing list...
   3016 >>
   3017 
   3018 From johnbent@lanl.gov  Wed Mar 17 15:25:02 2010
   3019 From: johnbent@lanl.gov (John Bent)
   3020 Date: Wed, 17 Mar 2010 13:25:02 -0600
   3021 Subject: [sup-talk] printing emails (but not attachments)
   3022 In-Reply-To: <1268341771-sup-2631@guava.lanl.gov>
   3023 References: <1268341771-sup-2631@guava.lanl.gov>
   3024 Message-ID: <1268853590-sup-9103@guava.lanl.gov>
   3025 
   3026 Excerpts from John Bent's message of Thu Mar 11 14:11:21 -0700 2010:
   3027 > I've been piping emails into muttprint which works well unless there's
   3028 > a binary attachment.  When there's a binary attachment, muttprint
   3029 > prints it and it usually takes tens and tens of pages.  Whoops.
   3030 > 
   3031 > Anyone else figure out how to print emails but not attachments?
   3032 > 
   3033 Well, I'm sure I've once again reinvented the wheel but I wrote my own
   3034 script to print emails without printing binary attachments.  It reads an
   3035 email, pipes the headers to muttprint, then pipes text/plain and
   3036 text/html through w3m into muttprint, for everything else it pipes "#
   3037 Attachment: filename (type)."  It requires w3m and muttprint to be in
   3038 the user's path.
   3039 
   3040 I'm sorry that it's horribly in violation of sup philosophy but I wrote
   3041 it in python. :(  Sorry but my ruby is just barely good enough to do
   3042 'if' statements in my hooks.
   3043 
   3044 It's attached in case anyone else wants it.  I'm scared I really did
   3045 just reinvent the wheel, otherwise I'd add it to the wiki.  To print an
   3046 email from sup using this, hit '|' in thread-view-mode to open a pipe
   3047 and then just type sup-print (assuming you've put this attachment in
   3048 your path).  I believe all the python imports it uses come standard.
   3049 -- 
   3050 Thanks,
   3051 
   3052 John 
   3053 -------------- next part --------------
   3054 A non-text attachment was scrubbed...
   3055 Name: sup-print
   3056 Type: application/octet-stream
   3057 Size: 1963 bytes
   3058 Desc: not available
   3059 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100317/d3807519/attachment.obj>
   3060 
   3061 From mmcdermott@mad-computer-scientist.com  Wed Mar 17 15:47:16 2010
   3062 From: mmcdermott@mad-computer-scientist.com (Michael McDermott)
   3063 Date: Wed, 17 Mar 2010 14:47:16 -0500
   3064 Subject: [sup-talk] printing emails (but not attachments)
   3065 In-Reply-To: <1268853590-sup-9103@guava.lanl.gov>
   3066 References: <1268341771-sup-2631@guava.lanl.gov>
   3067 	<1268853590-sup-9103@guava.lanl.gov>
   3068 Message-ID: <1268855141-sup-3697@zion>
   3069 
   3070 Well, I'm not a dev, but this little wrapper + muttprint is exactly the
   3071 kind of thing I've been looking for, from the time I was using pine
   3072 until now.
   3073 
   3074 Thanks for posting it.
   3075 
   3076 Excerpts from John Bent's message of Wed Mar 17 14:25:02 -0500 2010:
   3077 > Excerpts from John Bent's message of Thu Mar 11 14:11:21 -0700 2010:
   3078 > > I've been piping emails into muttprint which works well unless there's
   3079 > > a binary attachment.  When there's a binary attachment, muttprint
   3080 > > prints it and it usually takes tens and tens of pages.  Whoops.
   3081 > > 
   3082 > > Anyone else figure out how to print emails but not attachments?
   3083 > > 
   3084 > Well, I'm sure I've once again reinvented the wheel but I wrote my own
   3085 > script to print emails without printing binary attachments.  It reads an
   3086 > email, pipes the headers to muttprint, then pipes text/plain and
   3087 > text/html through w3m into muttprint, for everything else it pipes "#
   3088 > Attachment: filename (type)."  It requires w3m and muttprint to be in
   3089 > the user's path.
   3090 > 
   3091 > I'm sorry that it's horribly in violation of sup philosophy but I wrote
   3092 > it in python. :(  Sorry but my ruby is just barely good enough to do
   3093 > 'if' statements in my hooks.
   3094 > 
   3095 > It's attached in case anyone else wants it.  I'm scared I really did
   3096 > just reinvent the wheel, otherwise I'd add it to the wiki.  To print an
   3097 > email from sup using this, hit '|' in thread-view-mode to open a pipe
   3098 > and then just type sup-print (assuming you've put this attachment in
   3099 > your path).  I believe all the python imports it uses come standard.
   3100 -- 
   3101 Michael McDermott
   3102 www.mad-computer-scientist.com
   3103 
   3104 From johnbent@lanl.gov  Wed Mar 17 16:31:31 2010
   3105 From: johnbent@lanl.gov (John Bent)
   3106 Date: Wed, 17 Mar 2010 14:31:31 -0600
   3107 Subject: [sup-talk] printing emails (but not attachments)
   3108 In-Reply-To: <1268853590-sup-9103@guava.lanl.gov>
   3109 References: <1268341771-sup-2631@guava.lanl.gov>
   3110 	<1268853590-sup-9103@guava.lanl.gov>
   3111 Message-ID: <1268857847-sup-547@guava.lanl.gov>
   3112 
   3113 Excerpts from John Bent's message of Wed Mar 17 13:25:02 -0600 2010:
   3114 > Excerpts from John Bent's message of Thu Mar 11 14:11:21 -0700 2010:
   3115 > > I've been piping emails into muttprint which works well unless there's
   3116 > > a binary attachment.  When there's a binary attachment, muttprint
   3117 > > prints it and it usually takes tens and tens of pages.  Whoops.
   3118 > > 
   3119 > > Anyone else figure out how to print emails but not attachments?
   3120 > > 
   3121 > Well, I'm sure I've once again reinvented the wheel but I wrote my own
   3122 > script to print emails without printing binary attachments.  It reads an
   3123 > email, pipes the headers to muttprint, then pipes text/plain and
   3124 > text/html through w3m into muttprint, for everything else it pipes "#
   3125 > Attachment: filename (type)."  It requires w3m and muttprint to be in
   3126 > the user's path.
   3127 > 
   3128 > I'm sorry that it's horribly in violation of sup philosophy but I wrote
   3129 > it in python. :(  Sorry but my ruby is just barely good enough to do
   3130 > 'if' statements in my hooks.
   3131 > 
   3132 > It's attached in case anyone else wants it.  I'm scared I really did
   3133 > just reinvent the wheel, otherwise I'd add it to the wiki.  To print an
   3134 > email from sup using this, hit '|' in thread-view-mode to open a pipe
   3135 > and then just type sup-print (assuming you've put this attachment in
   3136 > your path).  I believe all the python imports it uses come standard.
   3137 >
   3138 Sorry, it wasn't handling quoted-printable encodings.  Patched version
   3139 attached.
   3140 -- 
   3141 Thanks,
   3142 
   3143 John 
   3144 -------------- next part --------------
   3145 A non-text attachment was scrubbed...
   3146 Name: sup-print
   3147 Type: application/octet-stream
   3148 Size: 1974 bytes
   3149 Desc: not available
   3150 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20100317/92d3df91/attachment-0001.obj>
   3151 
   3152 From johnbent@lanl.gov  Wed Mar 17 20:28:04 2010
   3153 From: johnbent@lanl.gov (John Bent)
   3154 Date: Wed, 17 Mar 2010 18:28:04 -0600
   3155 Subject: [sup-talk] printing emails (but not attachments)
   3156 In-Reply-To: <1268855141-sup-3697@zion>
   3157 References: <1268341771-sup-2631@guava.lanl.gov>
   3158 	<1268853590-sup-9103@guava.lanl.gov> <1268855141-sup-3697@zion>
   3159 Message-ID: <1268871848-sup-8102@guava.lanl.gov>
   3160 
   3161 Excerpts from Michael McDermott's message of Wed Mar 17 13:47:16 -0600 2010:
   3162 > Well, I'm not a dev, but this little wrapper + muttprint is exactly the
   3163 > kind of thing I've been looking for, from the time I was using pine
   3164 > until now.
   3165 > 
   3166 Glad you like it.  Added it to the wiki.  Although it seems to make much
   3167 more sense to have this functionality inside sup itself.  sup already
   3168 knows how to decode and display many of the content-types, it already
   3169 hides attachments it can't display, and it formats the headers as well.
   3170 I tried writing a patch to add a config line for printer command,
   3171 add a keystroke for printing, and then have sup pipe the modified email
   3172 into the defined printer command, but it's beyond my ruby skills and
   3173 beyond the time I spent trying to grok sup.
   3174 
   3175 John
   3176 -- 
   3177 Thanks,
   3178 
   3179 John 
   3180 
   3181 From isra@herraiz.org  Tue Mar 30 10:19:35 2010
   3182 From: isra@herraiz.org (Israel Herraiz)
   3183 Date: Tue, 30 Mar 2010 16:19:35 +0200
   3184 Subject: [sup-talk] Problems with encodings and Ruby 1.9
   3185 Message-ID: <1269957778-sup-2533@duck>
   3186 
   3187 Hi all,
   3188 
   3189 I am trying out Sup with Ruby 1.9 in ArchLinux, and I am facing some
   3190 crashes with some messages written in different encodings. Those
   3191 messages were correctly shown with Ruby 1.8.
   3192 
   3193 The problem is that when there are messages with some different
   3194 encoding. In particular, whenever I get a message with ASCII_8BIT, Sup
   3195 crashes with the following message:
   3196 
   3197   incompatible character encodings: UTF-8 and ASCII-8BIT
   3198 
   3199 This both happens in Sup next and in Sup 0.11; I have tried to fix it,
   3200 touching the check method in utils.rb, without success. Well, actually
   3201 with partial success, because if at line 719 I change the else
   3202 condition forcing the charset to be utf-8, the message will be shown,
   3203 although with wide characters not properly displayed.
   3204 
   3205 In a message in sup-devel, Rich pointed out that an ASCII_8BIT string
   3206 means that there is a bug in Sup [1]. I am willing to debug this, but
   3207 I have not found yet where the problem is. I can provide a copy of the
   3208 messages causing this if someone else wants to reproduce this
   3209 behavior.
   3210 
   3211 Any hint about how to fix this?
   3212 
   3213 Cheers,
   3214 Israel
   3215