Slrn-like colors

2012-07-18 Thread John Long
There is more work to be done but I have mutt looking pretty similar to the
default slrn colors now after help from various people (thank you) and some
experimenting. What I haven't been able to accomplish is to color various
parts of headers (within the header itself, not between one header and
another) like slrn does and this may not be possible.

In case anyone can use it, here it is

# Colorize as much as possible like slrn defaults

color hdrdefault brightcyan black
color quoted red black
color signature red black
color attachment red black
color message brightred black
color error brightred black
color indicator brightyellow blue
color status brightyellow blue
color tree white black
color normal white black
color markers red black
color search white black
color tilde brightmagenta black
color index blue black ~F
color index brightwhite black ~N|~O


-- 
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
 against HTML e-mail   X  Loongson MIPS and OpenBSD
   and proprietary/ \http://www.mutt.org
 attachmentsCode Blue or Go Home!


Re: colors like slrn? [screwup here]

2012-06-28 Thread codeblue
 You can always fish it up from the archives. Possibly you're using a
 white background, I have no idea what slrn would do under those
 conditions.

Oh I kept the contents of the mail, just not in Mutt! I tried it again with
a reverse video xterm and it works a lot better. You got the yellow slrn
uses. It's just yellow but for some reason I didn't get it before. I'll
figure the rest of it out from here. Thanks alot.

 


colors like slrn?

2012-06-27 Thread Code Bleu
Hello Mutters! Does anybody have a .muttrc to set up the same colors (as
much as possible) as the slrn newsreader does. The contrib/colors.linux
actually comes pretty close but I can't figure out what some of the slrn
yellowish names should be. In case anybody has one they would share...

The mutt mailing lists page is hilarious btw. The assumption seems to be
people are not using mutt! Perish the thought!


Re: colors like slrn?

2012-06-27 Thread codeblue
On Wed, Jun 27, 2012 at 08:35:59AM -0700, ny6...@gmail.com wrote:
 I use a 256. Color scheme but it won't work on a term not set up for 256.

I'm using xterm, I guess it would work. But are you saying your color
scheme looks like slrn?

 Yea this list is kind of slow. :)

I didn't mean slow, I meant it was kind of humorous seeing the Mutt.org
mailing list page has links to click on that are for webmail clients!
Mutt is so NOT about that!


Re: colors like slrn?

2012-06-27 Thread Chris Burdess
codeb...@inbox.lv wrote:
 I'm using xterm, I guess it would work. But are you saying your color
 scheme looks like slrn?

At one time (a very long time ago) I had the configurations set up so
that vim, mutt and slrn all had basically the same colour scheme. I have
no idea if slrn still has the same colour scheme or even if I tweaked it
at the time, since I haven't used it in so long, but here are my colour
settings from .muttrc:

color attachment yellow default
color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color body brightblue default (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
color bold brightwhite default
color error red default
color header yellow default ^Subject:
color header yellow default ^From:
color header yellow default ^Date:
color header yellow default ^To:
color header yellow default ^Cc:
color header yellow default ^Reply-To:
color hdrdefault cyan default
color index white default \.*
color indicator brightyellow red
color markers magenta default
color message white default
color normal white default
color quoted green default
color search red yellow
color signature blue default
color status brightyellow blue
color tilde magenta default
color tree red default
color underline magenta default




colors like slrn? [screwup here]

2012-06-27 Thread codeblue
I think it was Chris who just sent his color file? I'm sorry, I deleted the
message accidentally. I tried it and the colors work really bad on my
terminal for some reason. I couldn't see anything which is why I deleted
your message accidentally :-/ Anyway thanks for sending it. At least we
tried!


Re: colors like slrn? [screwup here]

2012-06-27 Thread Chris Burdess
codeb...@inbox.lv wrote:
 I think it was Chris who just sent his color file? I'm sorry, I deleted the
 message accidentally. I tried it and the colors work really bad on my
 terminal for some reason. I couldn't see anything which is why I deleted
 your message accidentally :-/ Anyway thanks for sending it. At least we
 tried!

You can always fish it up from the archives. Possibly you're using a
white background, I have no idea what slrn would do under those
conditions.



Re: colors like slrn? [screwup here]

2012-06-27 Thread codeblue
On Wed, Jun 27, 2012 at 05:43:24PM +0100, Chris Burdess wrote:
 codeb...@inbox.lv wrote:
  I think it was Chris who just sent his color file? I'm sorry, I deleted the
  message accidentally. I tried it and the colors work really bad on my
  terminal for some reason. I couldn't see anything which is why I deleted
  your message accidentally :-/ Anyway thanks for sending it. At least we
  tried!
 
 You can always fish it up from the archives. Possibly you're using a
 white background, I have no idea what slrn would do under those
 conditions.

I'll try on a reverse video terminal later and get back to you. Thanks.


Re: mutt+slrn key bindings

2002-10-05 Thread Sven Guckes

* Jos Romildo Malaquias [EMAIL PROTECTED] [2002-10-04 09:47]:
 Is there a set of key bindings to slrn similar to the
 default one found in mutt? Where can it be found?

both mutt and slrn allow free key binding.
so i suggest to adjust them like *you* like -
and not accoriding to anyone's defaults.

besides, even when you use the same keys, you
cannot expect the programs to do the same.
in the end you will have to learn
what the commands can do, anyway.

Sven



slrn error

2000-06-10 Thread Dale Morris

I'm trying to get slrn working on my Redhat 6.2 system and I receive the
following error when I execute the program:
Reading startup file /usr/lib/slrn/slrn.rc.
Unable to open score file /home/dlm/News/Score
slrn fatal error:
Error processing score file /home/dlm/News/Score.
I'm using a cable connection and have NNTP variable set like this:
export NNTPSERVER=news.lvcablemodem.com
in my .bash_profile file. Currently I'm using emacs to read news with. I
tried the .slrnrc file that was listed on a 'hack'website I saw on a post
in this ng, but still had the same problem.
Thanks 
 -- dale




Re: slrn error

2000-06-10 Thread Suresh Ramasubramanian

Dale Morris proclaimed on mutt-users that: 

I'm trying to get slrn working on my Redhat 6.2 system and I receive the
following error when I execute the program:
Reading startup file /usr/lib/slrn/slrn.rc.
Unable to open score file /home/dlm/News/Score
slrn fatal error:
Error processing score file /home/dlm/News/Score.

Try creating the file using touch.  You apparently _need_ a score file,
even though you haven't set scores for any posts.

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
Truth will be out this morning.  (Which may really mess things up.)



Re: slrn error

2000-06-10 Thread Dale Morris

Thanks! It worked. Now I just need to get some decent colors in slrn.

At 10 June, 2000 Suresh Ramasubramanian wrote:
 Dale Morris proclaimed on mutt-users that: 
 
 I'm trying to get slrn working on my Redhat 6.2 system and I receive the
 following error when I execute the program:
 Reading startup file /usr/lib/slrn/slrn.rc.
 Unable to open score file /home/dlm/News/Score
 slrn fatal error:
 Error processing score file /home/dlm/News/Score.
 
 Try creating the file using touch.  You apparently _need_ a score file,
 even though you haven't set scores for any posts.
 
 -- 
 Suresh Ramasubramanian + [EMAIL PROTECTED]
 Truth will be out this morning.  (Which may really mess things up.)

-- 


"Make voyages, attempt them, there's nothing else."
  --Tennessee Williams



Re: Slrn and Mutt

2000-06-09 Thread Jason Helfman

One is available on the site below.

On Thu, Jun 08, 2000 at 12:03:01PM +0530, Suresh Ramasubramanian muttered:
| Jason Helfman proclaimed on mutt-users that: 
| 
| I have followed the information off of this site:
| 
| http://www.acc.umu.se/~snaggen/hacks.html
| 
| Speaking of slrn, can anybody point me to a few decent slrnrc files?  It
| is so like mutt, I _want_ to try it out :)
| 
| -- 
| Suresh Ramasubramanian | sureshr at staff.juno.com
| God made the world in six days, and was arrested on the seventh.
| Alas, I am dying beyond my means.
|   -- Oscar Wilde, as he sipped champagne on his deathbed

-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."
  Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
  GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Slrn and Mutt

2000-06-08 Thread Jason Helfman

Has anyone successfully integrated Slrn and Mutt together in use with
netscape? Or just so these programs can be used hand in hand...

I have followed the information off of this site:

http://www.acc.umu.se/~snaggen/hacks.html

but I am having issues running the test.

Any help is appreciated.
-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."
  Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
  GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Re: Slrn and Mutt

2000-06-08 Thread Brian D. Winters

On Wed, Jun 07, 2000 at 10:38:16PM -0700, Jason Helfman wrote:
 Has anyone successfully integrated Slrn and Mutt together in use with
 netscape? Or just so these programs can be used hand in hand...

Check out http://www3.telus.net/brian_winters/mutt/ .

Brian



muttzilla.....slrn

2000-04-15 Thread Jason Helfman

has anyone successfully gotten muttzilla to work for both news and mail
in netscape..is their an entry to include to use slrn or another
news program, in the preferences.js file???
-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always beenin 
your possession."
Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36

 PGP signature


slrn

2000-02-13 Thread Jason Helfman

Does someone have a nice slrn config file to share?



Re: slrn

2000-02-13 Thread Wilhelm Wienemann

Hello Jason!

On Sun, 13 Feb 2000, Jason Helfman wrote:

 Does someone have a nice slrn config file to share?

...with mutt?

bye - Wilhelm

-- 
 Wilhelm Wienemann, Amselweg 10, D-47546 Kalkar/Germany 
==   E-Mail: [EMAIL PROTECTED]  ===
"And since you are the future keepers of everything, including music, we
 hope you will keep it well, with love, and in joy." (Frederick Fennell)   



mutt and slrn

2000-01-31 Thread Martin Keseg - Sun Slovakia - SE

Hi

is here a way how to set mutt as mailer in slrn.
I tryed Svens solution:
 set  mail_editor_command "mutt -H '%s' ; exit 1"
but this does not work perfect.

-- 
 The messenger is not important!



Re: mutt and slrn

2000-01-31 Thread Thomas Roessler

On 2000-01-31 15:04:32 +0100, Martin Keseg - Sun Slovakia - SE wrote:

 I tryed Svens solution:
  set  mail_editor_command "mutt -H '%s' ; exit 1"
 but this does not work perfect.

I'm using the attached slrn macro file, plus the attached shell
script wrapper.

Note that this solution requires formail (1) from the procmail
package.  Improvements are welcome.

-- 
http://www.guug.de/~roessler/


%
% replacement forward and reply functions for slrn.
% these will drop you to your normal mail user agent.
%

variable mua_script="/home/roessler/bin/slrn-mua";

define my_reply_to_article ()
{
  pipe_article (Sprintf ("%s -reply", mua_script, 1));
}

define my_forward_article ()
{
  pipe_article (Sprintf ("%s -forward", mua_script, 1));
}

definekey ("my_reply_to_article", "r", "article");
definekey ("my_forward_article", "F", "article");


#!/bin/sh --

#
# A small script which is used to reply to or forward an
# article from within slrn.
#
# The article is expected to come on stdin, while $1 is either
# -reply or -forward.
#

# where is mutt located?
MUTT=/usr/local/bin/mutt

# where is formail?
FORMAIL=/usr/bin/formail

TMPDIR=${TMPDIR-/tmp}/`basename $0`.$$
mkdir -m 0700 $TMPDIR || { echo "can't create $TMPDIR!"  2 ; exit ; }

trap "rm -rf $TMPDIR; trap '' 0; exit" 0 1 2 3 4

cat  $TMPDIR/article

# get various headers

SUBJECT="`formail -z -x Subject:  $TMPDIR/article`"
DATE="`formail -z -x Date:  $TMPDIR/article`"
FROM="`formail -z -x From:  $TMPDIR/article`"
REPLY_TO="`formail -z -x Reply-To:  $TMPDIR/article`"
MESSAGE_ID="`formail -z -x Message-ID:  $TMPDIR/article`"
REFERENCES="`formail -z -x References:  $TMPDIR/article`"

exec  $TMPDIR/template

#
# functions
#

prepare_reply () {
if [ -n "$REPLY_TO" ] ; then
echo "To: $REPLY_TO"
else
echo "To: $FROM"
fi

if [ -n "$MESSAGE_ID" ] ; then
echo "In-Reply-To: $MESSAGE_ID"
echo "References: $REFERENCES $MESSAGE_ID"
fi

echo -n "Subject: "

if [ -z "$SUBJECT" ] ; then
echo "Re: your mail"
else
echo -n "Re: "
echo "$SUBJECT" | sed -e 's/^Re: *//'
fi

echo

echo "On $DATE, $FROM wrote:" | fmt

sed -e 's/^/ /' $TMPDIR/article
}

prepare_forward () {
echo "Subject: Fwd: $SUBJECT" 
echo
echo "- Forwarded message -"
cat $TMPDIR/article
echo
echo " End forwarded message-"
}

#
# main
#


case "$1" in
-reply) 
prepare_reply
;;
-forward)
prepare_forward
;;
*)
echo "usage: `basename $0` {-reply|-forward}"  2
exit 1
;;
esac

exec  /dev/tty

$MUTT -H $TMPDIR/template  /dev/tty




slrn-style header-coloration still not in mutt

1999-11-03 Thread Russell Hoover

Every so often on mutt-users, someone asks for slrn-style header-coloration

(where the name of the header -- everything to the left of the colon -- can
be defined as one color, and the value of the header -- to the right of the
colon -- as another color).

But this still has not been made possible in mutt.  

Forgive me if something more complicated is involved (I don't know much
about C-language coding, though clearly it's time to learn), but this would
seem to be another no-brainer -- a question of looking at how it's done in
slrn and copying that code, perhaps with some minor modifications, into
mutt.

Can't this be put on the agenda for one of the next versions of mutt?

-- 
 // [EMAIL PROTECTED] //



Re: slrn-style header-coloration still not in mutt

1999-01-03 Thread Jorge Godoy

On Thu, Nov 04, 1999 at 10:08:33PM -0500, Russell Hoover wrote:
 On Wed 11/03/99 at 10:08 PM -0500, I [EMAIL PROTECTED] wrote:
 
  Every so often on mutt-users, someone asks for slrn-style header-coloration
  
  (where the name of the header -- everything to the left of the colon --
  can be defined as one color, and the value of the header -- to the right
  of the colon -- as another color).
 
  Can't this be put on the agenda for one of the next versions of mutt?
 
 
 After thinking about it a bit, I'm not so sure this is the best idea after
 all for the pager-headers, since it would make it hard to have (as is
 currently the case) an entire header line appear in one color to distinguish
 it from the others (for example to have the "Subject:" line stand out in its
 own color from the rest of the headers.
 
 You can pattern-match on an "X-" header, for example, or on "From:",
 "Subject:" etc, but I don't know how you'd be able to match on or define a
 color for the *value* of a header (the text to the right of the colon),
 since you don't know what it's going to be.

What about matching the colon and tell it to apply some color till the
end of the line? 

 The way mutt handles this now is preferable, I think, to slrn's
 article-header coloring, which is less flexible.

Regards,
--
Godoy.  [EMAIL PROTECTED]

"Ser poeta não é minha ambição, é minha maneira de estar sozinho"
- Fernando Pessoa.

Except where explicitly stated I speak on my own behalf.
Exceto onde explicitado as declarações aqui feitas são apenas minhas.



Re: slrn-style header-coloration still not in mutt

1999-01-02 Thread Thomas Roessler

On 1999-11-03 22:08:12 -0500, Russell Hoover wrote:

 Forgive me if something more complicated is involved (I don't know
 much about C-language coding, though clearly it's time to learn),
 but this would seem to be another no-brainer -- a question of
 looking at how it's done in slrn and copying that code, perhaps
 with some minor modifications, into mutt.

While I don't know slrn's code for this, a proper approach to add
something along these lines to mutt would require some new control
sequences to be added to some format strings - remember, with mutt,
the index display is freely configurable.  Additionally, this may
mix very badly with the pattern-dependent index coloring.

However, please note that you are welcome to figure out a clean
approach and submit a patch.  Remember, mutt is free software.

-- 
http://www.guug.de/~roessler/




Re: slrn-style header-coloration still not in mutt

1999-01-02 Thread Russell Hoover

On Wed 11/03/99 at 10:08 PM -0500, I [EMAIL PROTECTED] wrote:

 Every so often on mutt-users, someone asks for slrn-style header-coloration
 
 (where the name of the header -- everything to the left of the colon --
 can be defined as one color, and the value of the header -- to the right
 of the colon -- as another color).

 Can't this be put on the agenda for one of the next versions of mutt?


After thinking about it a bit, I'm not so sure this is the best idea after
all for the pager-headers, since it would make it hard to have (as is
currently the case) an entire header line appear in one color to distinguish
it from the others (for example to have the "Subject:" line stand out in its
own color from the rest of the headers.

You can pattern-match on an "X-" header, for example, or on "From:",
"Subject:" etc, but I don't know how you'd be able to match on or define a
color for the *value* of a header (the text to the right of the colon),
since you don't know what it's going to be.

The way mutt handles this now is preferable, I think, to slrn's
article-header coloring, which is less flexible.

-- 
 // [EMAIL PROTECTED] //