No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Info Item 76: Pine question
Entered by scg on Sun Oct 24 22:55:04 UTC 1993:

When using Pine, if I tell it to quote the message I'm replying to, it puts
the quote after the .sig.  Is there any way to quote a message and still keep
the .sig at the end of the message?

97 responses total.



#1 of 97 by kentn on Mon Oct 25 03:31:23 1993:

In your .pinerc file, find the part that deals with 'old-style reply'
and set it to 'yes'.


#2 of 97 by scg on Mon Oct 25 21:22:34 1993:

I tried that and it didn't work.  Anything else I could try?  Maybe some word
there other than "yes?"


#3 of 97 by kentn on Tue Oct 26 03:33:37 1993:

 
# Use old style forward/reply with new text and signature below included text
old-style-reply=yes
 
Works for me...


#4 of 97 by scg on Tue Oct 26 19:39:29 1993:

That's what I've got.  It didn't work yesterday, but I'll try it again.  It 
seems strange that it would work for one person and not for an other.


#5 of 97 by kentn on Wed Oct 27 05:59:15 1993:

Maybe I'd better re-verify it, just in case.  My .sig has been appearing
at the bottom of all my messages going out, as far as I know (becausei t
appears that way in the editor when you first start to enter a message).


#6 of 97 by scg on Fri Oct 29 02:57:29 1993:

I figured out what I'd done wrong.  Thanks, Kent.


#7 of 97 by bartlett on Thu Dec 23 20:52:10 1993:

From netmeg!mpcc.org!Majordomo@grex.cyberspace.org Thu Dec 23 02:58:11 1993
Date: Thu, 23 Dec 93 01:56:39 -0500
From: netmeg!mpcc.org!Majordomo@grex.cyberspace.org
Reply to: mpcc.org!Majordomo@grex.cyberspace.org
To: bartlett@cyberspace.org
Subject: Majordomo results

The above is the header of the reply to a majordomo request I sent out
yesterday.  There is a puzzling thing, note the return address has an
@grex.cyberspace.org appended to it.  This is true for the return addresses
on all Email I receive while using pine.  What is this?  How can I get rid
of it?
     Chris


#8 of 97 by scg on Fri Dec 24 02:10:45 1993:

Just ignore it.  Since Grex transforms the return address into a UUCP path,
it leaves it without @ anything on the end.  Pine always wants everything,
even local mail, to have the @something on the end, so it adds that.


#9 of 97 by rcurl on Fri Dec 24 04:39:26 1993:

Then how does one read the return address to which to send return mail
later? netmeg@mpcc.org?


#10 of 97 by bartlett on Fri Dec 24 06:51:15 1993:

In this case, majordomo@mpcc.org is the operative address.  The netmeg! is,
I think, a routing instruction for the routing of mail through Meg's machine
which handles all our ail.  Of course you knew that.  <smile>


#11 of 97 by robh on Fri Dec 24 12:16:18 1993:

Chris has it right.  Netmeg knows what the address is, even if we can't
read it.


#12 of 97 by rcurl on Fri Dec 24 16:59:28 1993:

Is it proper to read mpcc.org!Majordomo as Majordomo@mpcc.org? (I'm
trying to understand the Internet addressing rules.)


#13 of 97 by mju on Fri Dec 24 20:14:08 1993:

Yes.

The reason the "@somewhere" needs to be added is that a UUCP "bang
path" (something of the form a!b!c) is a relative address.  It
says, "from where you are right now, go to a, then to b, then
to c".  The problem is then defining "where you are right now" --
if the mail is sent to another system, the address won't be
valid anymore, unless the mailers manually update the addresses
by adding another host to the bang path.  By adding "@cyberspace.org"
to the end of the bang path, Pine "roots" the address and defines
where to start on the bang path.  Thus, if the mail is transferred
to another system, the address will still work (although it will
be somewhat inefficient).

In most cases, host.dom.ain!user can be converted to user@host.dom.ain
without any loss in information content.


#14 of 97 by tsty on Tue Dec 28 21:08:19 1993:

Also, there should have been a line labled Return path:  which
would be used by netmeg to handle a straight reply. But also
notice in this header, the Reply to: line which +seems+ to 
contain a specific character-string for "cold" email  messages.
  


#15 of 97 by kaplan on Thu Feb 3 17:06:41 1994:

I've been saving too much of my old mail and I know the best way to
conserve disk space would be to delete it all.  But until I get around to
taking care of that, is there an easy way to strip everything except To:
From: Subject: and Date: from the headers in such a way that the old
messages and folders will still be readable by pine?  Seems it should be
an easy program to write in C.  Has someone already done it?  Is there
anything special about the format pine uses to save messages?

Hey, why doesn't pine compress closed folders and uncompress them before
trying to open them?  Perhaps we should get into the habit of 

  % uncompress *; pine; compress *

or am I just taking the message that I got at login time about disk space
too seriously?  Would all that compressing put a strain on the CPU?


#16 of 97 by popcorn on Thu Feb 3 23:49:07 1994:

This response has been erased.



#17 of 97 by kentn on Fri Feb 4 02:11:14 1994:

I've got a copy I can post if you want it.  (I think it's buried below
the public area of my home directory).


#18 of 97 by srw on Fri Feb 4 02:48:50 1994:

I have a program that I wrote to strip headers off of mail files.
/u/srw/mailstrip <file1 >file2

Where file1 is your mail file to be stripped, and file2 is the
stripped output. It does not strip in place or delete the old one.
It will remove a standard collection of headers, but I have it
remove additional headers by keeping a strip-profile file.
It looks for a file .stripp in your working directory.
If it finds one, it strips all the headers that match the ones in
that file. It never changes the body.

You can copy /u/srw/.stripp to your dir if you want use it like I do.


#19 of 97 by srw on Fri Feb 4 02:55:13 1994:

If you're concerned about whether you can safely run the program
(read item 84 response 20) the source code is /u/srw/mailstrip.c,
so you can see it if you know c. You can also rebuild it for yourself if
you want. It is true that you never know what's in an executable
program unless you built it yourself, and even then...


#20 of 97 by kaplan on Tue Feb 8 18:36:38 1994:

re 18: I tried mailstrip and I've found a bug.  Or at least I consider it
a bug.  I like my default umask because it's ok for people to read files
that I save unless I chmod them or put them in an unreadable directory. 
But when pine saves messages, it does so in files that the public can not
read.  Good, as I don't want people looking at my private mail.  But
mailstrip creates files using my umask (I assume).  I'd like it to copy the
chmod information from the original mail folder.  Is that easy to fix?

re 19: Why not have a staff person put mailstrip in /usr/local/bin or
someplace.  What's the point of having copies of a disk-space-saving
program taking up disk space in a bunch of people's private directories?


#21 of 97 by popcorn on Wed Feb 9 14:41:28 1994:

This response has been erased.



#22 of 97 by remmers on Wed Feb 9 18:38:00 1994:

If the author of mailstrip is reasonably confident of its reliability,
perhaps it would be reasonable to put it in /usr/local/bin.


#23 of 97 by srw on Thu Feb 10 13:10:58 1994:

I am the author and I am confident of its reliability, as I have been
using it for 6 months. In the process of designing it I incorporated
several good suggestions from mju. I think kaplan's suggestion in #20
sounds like a good one (not a bug, though, a limitation perhaps).
I'd be willing to fix that some weekend. I'd have no objection to it
being in /usr/local/bin. I could support it.

It does not strip in place, but rather to a new file, so any mailbox
eating will have to be done by the user.


#24 of 97 by davel on Thu Feb 10 14:55:06 1994:

The mailbox-eating issue would, I think, be whether it got confused so that
messages or parts thereof disappeared on occasion without warning.  (This
really can be a serious problem if a mail agent fails to fix up lines
beginning with "From" in the body of a message, on any scheme.  But it's
also easy to write a mailstrip program that's just a little too dumb.)
(This is not a comment at all on Steve's program, which I haven't looked
at but which is likely to be pretty good, since the problem isn't *that*
hard and Steve is certainly not incompetent.)


#25 of 97 by remmers on Fri Feb 11 01:50:40 1994:

If I remember the history correctly, Steve wrote his program to
supersede somebody else's program that *was* too dumb.


#26 of 97 by srw on Fri Feb 11 13:37:24 1994:

That's true. This program distinguishes body from header lines based
on standards for SMTP mail. Marc helped me get that right. Otoh,
davel is correct that if a mail agent violated SMTP standards and
left a naked From: on the beginning of a line, mailstrip would think
it was entering a header and could remove selected lines. I don't
think this is a serious consideration, though.


#27 of 97 by srw on Fri Feb 11 13:42:46 1994:

re #20 (kaplan's objections regarding use of umask)
This is not a bug. Mailstrip is designed as a filter, and you can do 
whatever you like with the output. If you just redirect it to a file,
unix will create that file with perms from your umask.

I suggest that you write a short script to run mailstrip, and you
can set the perms any way you like with that.

I would like to warn against automatic replacement of your unstripped
mail with the stripped copy. I say this not because mailstrip is
unreliable in any way. (It is not, as far as I know.) Rather, because
anything may go wrong in the process. What if the disk fills up?
It would probably be sufficient if you did a mv -i stripped realmailfile
just to give the human a chane to say no.


#28 of 97 by tsty on Sun Feb 13 12:58:25 1994:

There is another script that is user-adjustable, if needed, and I'll
put it in /tmp or somewhere like that.
  
It's a sed script that, besides being in English, can be customized
by the user (if you copy to your own directory). Each of the lines
that starts  witha    /   and ends with a    /d   contains the 
specific identification which is searched for and, if found, deleted.
  
As you observe the headers of your email, you will see the formats
of line-beginnings which coorespond to the  stuff between  /   /d,
including the TAB spacing for some of them.
  
I would not recommend deleting either of the   From  lines, especially
the From that does NOT have a   :   following. remmers and others
have said that the   From  without a colon is the "signal" to 
all the mailers of the start of a new email.
 
Nuff fer now - I'll put that file somewhere and tell you where in
a minute or so.
  



#29 of 97 by tsty on Sun Feb 13 13:15:09 1994:

Ok, so it was more than a minute, suffer. The filename is   TrimMail
and it is in /tmp. 
  
Anyone can cp it, and use it or modify it. I do notice that I
added some line-deletions for Usenet Newstuff as well, recently.
  
So it'll work on Usenet articles as well.   have fun.
  


#30 of 97 by popcorn on Sun Feb 13 13:54:11 1994:

This response has been erased.



#31 of 97 by tsty on Wed Feb 16 08:41:42 1994:

is there a more permanent temporary directory? <did I actually
says that?> that should be used?
.

,


#32 of 97 by kaplan on Wed Feb 16 20:19:25 1994:

New pine questions:
1) Moving around the buffer (I guess this question applies to pico more
than pine) is slow, so I looked at help.  It said that ^space or ^@ skips
to the next word.  I hit ctrl-space and nothing happened.  I hit ctrl-2
(shift isn't important, right?) and I got a cshell prompt and I couldn't
type anything at that prompt.  I hung up, called back, and when I arrived,
I couldn't find any remains of the rather long message I had been writing
before I broke it.  What's the original problem?  There's a second problem
too.  It seems that pico lacks vi's  capability of recovering from a killed
process.  Perhaps I will have to switch back to vi....

2) ^Y prev page, ^V next page is fine.  But is there a key to go up or
down several screens full at a time?  A key to go to the top or bottom of
the file?

3) (back from pico to pine questions) I want to download an message and
write the reply off line.  The print command to print the message on my
local printer is cool, but I'd also like a command to print the message to
a local file.  Or at least I'd like to be able to pipe the message through
cat and capture it to a local file.  There must be a way but I can't find it.

4) I like pico's spell checker, but if it finds a misspelling and asks for
a correction, there's a problem.  It does not check the spelling of the
correction, so lousy spellers like me are stuck looking up the spelling
elsewhere, or guess and run the spell checker again from the top.  Are
other UNIX spell checkers more friendly than pico's?

5) A lot of correctly spelled words are flagged as wrong.  The ones that
come to mind are 'pico', 'grex', 'cyberspace', and 'mom'.  Who has access to
update the list of correctly spelled words?


#33 of 97 by kaplan on Wed Feb 16 20:59:29 1994:

Oh yeah, one more question.  When I type enter pine, I don't need to see
the main menu.  I'd rather have it come up on the index.  Is there a way
to do that?  Or to abbreviate the main menu so it doesn't take so long to
come up on the screen?



#34 of 97 by davel on Thu Feb 17 01:05:12 1994:

I don't use either pine or pico, so I can't help too much, but ... you can
save a message to a folder in pine, right?  I suspect saving it to /dev/tty
would have the effect of piping it through cat, but I could be wrong.  If
worse comes to worst, you could save it to a folder (file) and then cat
that.

I also would be interested in seeing the speller dictionary enhanced.
(But what do pine & elm use?  The spell program?)


#35 of 97 by popcorn on Thu Feb 24 15:07:20 1994:

This response has been erased.



#36 of 97 by cicero on Wed Jan 18 06:18:36 1995:

I was just looking at all the wierd little files that must do something
since some program or other has seen fit to put them in my directory, when I 
came across the following:

.pine-interrupted-mail.lock.790361393.29816.grex

Whatta name eh?  Anyone know what this little fellow is for?  Can I delete
him?


#37 of 97 by rcurl on Wed Jan 18 06:58:05 1995:

Can't be *for* much - it has 0 bytes. What were you doing at 11:49 on
17 January?


#38 of 97 by popcorn on Wed Jan 18 14:58:31 1995:

This response has been erased.



#39 of 97 by rcurl on Wed Jan 18 15:20:43 1995:

You could keep it and put crazy stuff in it. I suggest, though, that
you change the permissions from 666 to 600, if you don't want others
to fill it up first with crazy stuff ;->. 


Next 40 Responses.
Last 40 Responses and Response Form.
No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss