Re: Minimally painful mail client for rich (spit!) messages

2011-02-09 Thread Igor Zinovik
On Feb 09, Marco Peereboom wrote: 
 Stuff crap like this in .mailcap
 text/html; /usr/local/bin/links -dump '%s'; copiousoutput; description=HTML 
 Text; na metemplate=%s.html
 text/html; /usr/local/bin/links '%s'; needsterminal; description=HTML Text; 
 nametemp late=%s.html
 
 I had them for all kinds of things but can't find that file anymore.

Here is mine for example.  Hope it will be useful for somebody on misc@

# $Id: mailcap,v 1.15 2011/02/08 18:42:07 zinovik Exp $
application/msword  ; catdoc -s koi8-r.txt %s   ; copiousoutput
application/vnd.msword  ; catdoc -s koi8-r.txt %s   ; copiousoutput
application/excel   ; xls2csv %s | sed 's/,//g'; 
copiousoutput
application/msexcel ; xls2csv %s | sed 's/,//g'; 
copiousoutput
application/ms-Excel; xls2csv %s | sed 's/,//g'; 
copiousoutput
application/vnd.ms-excel; xls2csv %s | sed 's/,//g'; 
copiousoutput
application/x-excel ; xls2csv %s | sed 's/,//g'; 
copiousoutput

application/octet-stream; cat %s; copiousoutput
application/x-bzip2 ; bzip2 -dc %s  ; copiousoutput
application/x-cpio  ; cpio -tvF --quiet %s  ; copiousoutput
application/x-csh   ; cat %s; copiousoutput
application/x-diff-gzip ; zcat %s   ; copiousoutput
application/x-gtar  ; tar tvf %s; copiousoutput
application/x-gzip  ; tar tfz %s; copiousoutput
application/gzip; tar tfz %s; copiousoutput
application/x-gunzip; gzcat ; copiousoutput
application/x-latex ; cat %s; copiousoutput
application/x-perl  ; cat %s; copiousoutput
application/x-script; cat %s; copiousoutput
application/x-shar  ; cat %s; copiousoutput
application/x-shellscript   ; cat %s; copiousoutput
application/x-sh; cat %s; copiousoutput
application/x-tar   ; tar tzf %s; copiousoutput
application/x-tar-gz; gunzip -c %s | tar -tf -  ; copiousoutput
application/x-tcl   ; cat %s; copiousoutput
application/x-tex   ; cat %s; copiousoutput
application/x-troff ; groff -Tlatin1 %s ; copiousoutput
application/x-troff-man ; man -l %s 2/dev/null ; copiousoutput
application/x-troff-me  ; groff -me -Tlatin1 %s ; copiousoutput
application/x-zip-compressed; unzip -v %s   ; copiousoutput
application/zip ; unzip -v %s   ; copiousoutput

text/comma-separated-values ; cat %s; copiousoutput
text/x-compress-html; zcat %s | lynx -dump  ; copiousoutput
text/x-gzip-html; zcat %s | lynx -dump  ; copiousoutput
text/html   ; lynx -force_html -assume_charset=koi8-r 
-assume_unrec_charset=utf8 -dump %s \
; 
copiousoutput; nametemplate=%s.html
image/* ; anytopnm %s | pnmscale -xsize 80 -ysize 
50|ppmtopgm|pgmtopbm|pbmtoascii \
; copiousoutput

 Things like antiword and stuff help.  At one point I had about a
 $random_file to ascii converter for about everything.
 
 On Wed, Feb 09, 2011 at 05:38:38PM +0100, Peter N. M. Hansteen wrote:
  During recent months I've joined some mailing lists with fairly good
  signal to noise ratio on a specific topic, the only snag being that a
  distressingly large number of otherwise sane messages have been
  written using mail clients (fsvo) that by default bury the content in
  rich formatting that makes it hard for old-style mail readers to
  cope.
  
  Telling people off for their choice of mail clients is not an option
  (some at least have had that choice made for them), so as a workaround
  I probably need to start looking around for a mail client that will
  make reading Outlook and peers' output less painful.
  
  Does such a beast exist, preferably among OpenBSD packages (as in, it
  has to run on OpenBSD, but I can build locally if needs be)? 
  
  I've tried and hated both Evolution and Thunderbird, but surely there
  must be other choices?
  
  - Peter
  -- 
  Peter N. M. Hansteen, member of the first RFC 1149 implementation team
  http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
  Remember to set the evil bit on all malicious network traffic
  delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



captivating window manager

2008-06-12 Thread Igor Zinovik

Hello.

Yesterday i upgraded my X and now i'm playing with new tool called cwm.
I like to thank (thank you, thank you, thank you) Owain Ainsorth, Okan
Demirmen and all other who brought this brilliant tool to the base!

Definitely it is a fastest window manager i ever used.  Very comfortable
and keyboard oriented. A bit strange (no window titles), now i have to
modify my shell prompt to see what machine i use, but it worth it. 


Bye, bye Openbox, you lacked `exec' feature.  You served well, but i do
not need you anymore, because there is captivating window manager in
base!!!

# pkg_delete openbox



Is it possible to install old packages on new release

2006-09-24 Thread Igor Zinovik

   Hello, misc readers.
Maybe my question is obvious, but i want to know could one install old packages
on new release? My situation is following: i have OpenBSD_3_8 and a lot of
packages on CD with OPENBSD_3_6. Docs say: Dont mix OpenBSD system and ports
version, keep system and ports in sync, but it dont say anything about 
packages.



Upgrading through several versions via anoncvs

2006-09-14 Thread Igor Zinovik

 Hello, OpenBSD-misc readers.
I have old box which runs OpenBSD 3.6 and i want to upgrade it to last release.
So my question is can go directly to OPENBSD_3_9 or i have to go through all
further versions (3.6-3.7-3.8-3.9)? I'm worry about that further versions
switched to new compiler (this box has gcc-2.95), so can compile recent
sources without compilation errors and warnings?