[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]
If you are reading this it proves that the following extension to
LIB ved_gn works. It turned out very simple to add.
The library has been tidied up a bit and a major extension added.
The new command
ENTER gn p
or
ENTER gn post
will run the experimental new procedure which takes the current Ved
buffer and attempts to post it to the via the news server. The
previous posting facility, LIB ved_postnews, works only if inews
is available, and not all systems will provide it.
The new facility does more error checking, and keeps a log of messages
received from the server when you post, which it displays in a temporary
ved buffer after posting.
It automatically looks for a signature file in vednewssig, which
defaults to '~/.signature', and adds the contents to the end of
the message file before posting.
However if the file has more than vedmaxsig lines (default 5) it
adds only that number (and shows a warning message for a few seconds).
[The original convention was to limit news signatures to 4 lines, but
I thought a 25% increase acceptable given the huge advances in
technology since then! :-) ]
The new LIB ved_gn is not yet included in the vedgn.tar.gz package
(which also provides other facilities for connecting to news server,
setting up news file, preparing a blank message file with news header
template, preparing a followup message, etc., help files, etc.)
Anyone wanting to try out the new posting facility can fetch this
file.
http://www.cs.bham.ac.uk/research/poplog/auto/ved_gn.p
However, if you have not previously fetched and installed vedgn.tar.gz
it may be best to do that first, though make sure new ved_gn.p
overwrites the old one.
(I have tested the new facility on Sparc/solaris, Alpha/Unix and
Intel/linux.)
To post a message in Ved, you can then do
ENTER gn p
as I am about to do.
Aaron
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk (ReadATas@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
|