🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by John E. Davis Mon, 06 May 1996 00:00
ANNOUNCE: slrn0.8.8.1 released
#21332
Author: John E. Davis
Date: Mon, 06 May 1996 00:00
61 lines
2507 bytes
slrn version 0.8.8.1 has been released.  It is available from:

    ftp://space.mit.edu/pub/davis/slrn/
    
as well as from the following European mirror sites:

    ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/
    ftp://ftp.prz.tu-berlin.de/pub/unix/news/reader/slrn/

Although 0.8.8.1 is primarily a bug fix release, it does have several new
features.  Here is the changes.txt entry for this version:

0.  Bug fixes (hangup, connection aborts, article/header percentage counts,
    etc..)

1.  Oops.  Forgot to provide a way to turn off video attributes.  Now you can
    use `none', e.g.,
    
        mono headers none
	
2.  New variable for group descriptions: group_dsc_start_column

        set group_dsc_start_column 40
	
    causes descriptions to start in column 40.
3.  Now possible to color descriptions via:

        color description blue white
	mono description bold 

4.  ^G abort of header retrieval.
5.  New variable:

        set lines_per_update 50
	
    sets the granularity of slrn's percentage meters.

6.  Spoiler support provided by Olly Betts (olly@mantis.co.uk).  The .slrnrc
    variable `spoiler_char' may be used to specify the character used to
    hide the text.  The default is '*':
    
        set spoiler_char '*'

7.  .slrnrc `ignore_quotes' specifier can take up to 5 regular expression
    patterns, e.g.,
    
        ignore_quotes  "^ *[:=|+>]"    "^ *[A-Za-z]>"
	
    specifies two patterns.

8.  Certain compiler symbols such as NO_DECODE have been renamed and moved to
    the new file: features.h

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: ANNOUNCE: slrn0.8.8.1 released
#21333
Author: jmay... Jay Maynard
Date: Mon, 06 May 1996 00:00
48 lines
2757 bytes

On 6 May 1996 02:54:02 GMT, John E. Davis <da...@space.mit.edu> wrote:
>slrn version 0.8.8.1 has been released.

The OS/2 version has been released, as well. The .ZIP file, with the
executable program, the configuration files, and the documentation, may
be FTPd from ftp-os2.nmsu.edu, in /incoming, as slrn0881.zip. The file
will also be uploaded to ftp.cdrom.com when they get their OS/2 archives
back online after a disk failure.

The following OS/2-specific problems have been corrected since the public
release of 0.8.7.1:

0. The X-Newsreader header now correctly identifies the OS/2 version of
slrn.

1. If a home directory was specified by the user, the default filename
supplied for saving and decoding files had both the home directory and the
download (or decode) directory in it. Now, only the download (or decode)
directory will be supplied.

2. Better documentation in readme.os2 for the "Unable to find a fully-
qualified hostname" error message and the default location of the signature
file.

3. A simple sendmail configuration file has been provided. This file, once
customized, will allow the normal OS/2-provided sendmail to send outgoing
mail messages by way of an SMTP relay host.

4. The default location for temporary files was defaulting to \tmp on the
current drive. Now, the directory in the TMP environment variable is used.

5. A silly bug: the newsgroup description file wasn't being read with the
same name used to create it.

6. A couple of messages were clarified for OS/2 users.

7. slrn will no longer attempt to create an rn-style lock file.

Please report any problems with this version to me at jmay...@nwpros.com.
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
      "Are we going to push it to the edge of the envelope?" -- Pinky
     "No, Pinky. We may, however, reach the sticky part." -- The Brain

Re: ANNOUNCE: slrn0.8.8.1 released
#21377
Author: morp... Steve Lamb
Date: Tue, 07 May 1996 00:00
17 lines
1236 bytes

On 6 May 1996 22:12:11 GMT, Jay Maynard <jmay...@k5zc.hsc.uth.tmc.edu> wrote:
>On 6 May 1996 02:54:02 GMT, John E. Davis <da...@space.mit.edu> wrote:
>>slrn version 0.8.8.1 has been released.
>
>The OS/2 version has been released, as well. The .ZIP file, with the

    Thanks John and Jay.  :)

-- 
---- = ----
   Steve C. Lamb...
      "Yeah, I remember her saying...  "I'm already dead...
         "I'm already dead...  "I'm already dead...  "I'm already dead...

Re: ANNOUNCE: slrn0.8.8.1 released
#21399
Author: s10... Anssi Saari
Date: Wed, 08 May 1996 00:00
17 lines
1283 bytes

jmay...@k5zc.hsc.uth.tmc.edu (Jay Maynard) writes:

:>On 6 May 1996 02:54:02 GMT, John E. Davis <da...@space.mit.edu> wrote:
:>>slrn version 0.8.8.1 has been released.

:>The OS/2 version has been released, as well. 

Yes, but is the OS/2 source available? I don't think the sources that
come with the "normal" distribution are the ones you used to compile
that, are they?  Especially since they seem to need some things deleted
before they compile with EMX :(

-- 
Anssi Saari - s10...@cs.tut.fi
Re: ANNOUNCE: slrn0.8.8.1 released
#21432
Author: jmay... Jay Maynard
Date: Thu, 09 May 1996 00:00
21 lines
2020 bytes

On Thu, 9 May 1996 19:05:22 GMT, David Nugent <dav...@csource.blaze.net.au> wrote:
>     I don't use sendmail, and
>     certainly don't WANT to use sendmail under OS/2 since I already
>     have and make use of small, fast and efficient (words which could
>     never describe sendmail!) smtp mailer that'll quite happily hand
>     off any mail piped to it to a local mail server.

I'll point out here that I share your sentiments about sendmail, and would
be happy to change my philosophy about mailing...Does the "small, fast, and
efficient" SMTP mailer you mention exist for OS/2, or is it simple enough
that the port would be fairly easy? I place sendmail configure file hacking
on the same level as writing COBOL, and wouldn't mind getting away from it.
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
      "Are we going to push it to the edge of the envelope?" -- Pinky
     "No, Pinky. We may, however, reach the sticky part." -- The Brain

Re: ANNOUNCE: slrn0.8.8.1 released
#21435
Author: morp... Steve Lamb
Date: Thu, 09 May 1996 00:00
20 lines
1598 bytes

On Thu, 9 May 1996 19:05:22 GMT, David Nugent <dav...@csource.blaze.net.au> wrote:

>programs to OS/2 (or any environment, for that matter) to include
>patches with a port that requires modification of the distribution
>source code. Browse through the /unix directory on hobbes for any
>number of examples.

    Just the patches, not the distribution source.  I've seen too many
distributions bloated by source that I'm willing to bet many people will not
use.  OS/2 seems to be the OS where Unix and PC philosophy clash.

-- 
---- = ----
   Steve C. Lamb...
      "Yeah, I remember her saying...  "I'm already dead...  
         "I'm already dead...  "I'm already dead...  "I'm already dead...

Re: ANNOUNCE: slrn0.8.8.1 released
#21444
Author: jmay... Jay Maynard
Date: Thu, 09 May 1996 00:00
37 lines
2913 bytes

On 8 May 1996 18:00:03 GMT, Anssi Saari <s10...@cs.tut.fi> wrote:
>Yes, but is the OS/2 source available? I don't think the sources that
>come with the "normal" distribution are the ones you used to compile
>that, are they?  Especially since they seem to need some things deleted
>before they compile with EMX :(

The OS/2 sources are essentially the same as the Unix, etc. sources. I don't
get the distributions before anyone else does, so there are usually a few
minor fixes that need to be applied...but I'll be happy to pass along a file
suitable for feeding to the Unix patch command with all of the changes I've
made from the release version to the one used to build the distributed binary.
(The sources are still usable after the patches are applied to make the
program for Unix, and I forward all patches I make to John for inclusion in
the released sources.) I don't include that in the distribution .ZIP file
simply because there is no standard program for OS/2 that is capable of
applying those changes. (If someone can prove me wrong, I'll be happy to
start including it.)

The slang library used in the released slrn 0.8.8.1 is a completely
unmodified copy of slang 0.99-31. The patch file for slrn is 154 lines long,
but that's before the fix John mentioned (and for which I'll be releasing an
updated slrn0881.zip today, hopefully).

I use EMX 0.9b to compile slrn and slang. I'm not completely sure how I got
to a usable configuration, though; I downloaded it three times before I had
enough pieces to compile the code, with all the networking stuff and such. I
didn't modify any of it. I also use dmake 4.0, with the dmake configuration
file from 3.something (this was before I discovered that EMX supplied one).
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
      "Are we going to push it to the edge of the envelope?" -- Pinky
     "No, Pinky. We may, however, reach the sticky part." -- The Brain

Re: ANNOUNCE: slrn0.8.8.1 released
#21481
Author: jmay... Jay Maynard
Date: Thu, 09 May 1996 00:00
282 lines
9686 bytes

On Thu, 9 May 1996 19:05:22 GMT, David Nugent <dav...@csource.blaze.net.au> wrote:
>Yes, there is a 'standard program' available, being of course the
>port of Larry Wall's patch program itself. As with OS/2, UNIX boxes
>also do not have a special program supplied with the operating system
>that apply the context/unified diffs that patch works with. It is an
>add-on in any environment.

I'm aware that patch is an addon in Unix, having added it to every Unix
system I've installed since 1987; I consider it part of the standard set of
utilities to be downloaded and installed right after the OS is booted for
real.

I wasn't aware of a functional OS/2 port, however. Is there a functional
port of diff that produces either unidiffs or context diffs suitable for
feeding to patch?

>BTW, nice port to OS/2. I like it. :-)

Thanks..but it was easy: John already did the hard part in slang.

>>The patch file for slrn is 154 lines long, but that's before the fix
>>John mentioned (and for which I'll be releasing an updated slrn0881.zip
>>today, hopefully).
>Great, I'll look for it.

It's on ftp-os2.nmsu.edu in /incoming as slrn0881.zip.new. The OS/2 archive
at ftp.cdrom.com is still unavailable, unfortunately.

I've included the patch file for 0.8.8.1 at the bottom of this message;
it's 198 lines long. You should be able to save this message, edit out all
but the patch file, and feed it to patch (though the file names I use
depend on HPFS).

> 1)  Make ^Z work? I realise that this does a bg (suspend) under
>     UNIX, but under OS/2 the usual thing is to substitute a shell.
>	 Jed already does this.

This one should be easy, though I just fire up another command window if I
need a shell - so I wouldn't have thought of it.

> 2)  Allow the sender name to be passed on the mailer command line
>     (it is not clear from the documentation if it should be doing
>     this already, but in any case it does not seem to work by using
>     %s) so that I can mail from slrn. I don't use sendmail, and
>     certainly don't WANT to use sendmail under OS/2 since I already
>     have and make use of small, fast and efficient (words which could
>     never describe sendmail!) smtp mailer that'll quite happily hand
>     off any mail piped to it to a local mail server.

This is a change that would apply to at least the Unix and OS/2 versions;
I don't know how it might work for VMS. At any rate, it's not specific
to the OS/2 version.

I chose to use sendmail (and there's a simple sendmail configuration file
supplied with 0.8.8.1), just as I chose to use E.EXE as the default editor,
because I know it will be present on any system on which slrn would be
useful.

>     Actually, it would be even better for slrn to support SMTP
>     internally, even as an option with the UNIX version, so I'd be
>     tempted to include that as well. Interfacing to the world is
>     much easier if you don't need to rely on external programs which
>     may not be there.

I'd prefer that slrn do SMTP, at least as far as bouncing the message to
a relay host (as the supplied sendmail configuration file does), internally
as well...but that's not the way things are done in Unix, which, after all,
is slrn's home environment and the one whose design philosophy it's modeled
after.

Here's the 0.8.8.1 patch to produce the OS/2 binary in slrn0881.zip.new:

----------8<-----if-you-cut-here-you'll-destroy-your-monitor----->8--------
*** makefile.os2.orig	Mon May 06 16:08:05 1996
--- makefile.os2	Mon May 06 16:08:28 1996
***************
*** 8,14 ****
  #-----------------------------------------------------------------------------
  # 1. Choose a C compiler.  It must understand prototypes.
  #-----------------------------------------------------------------------------
! CC = gcc -g -Zmt -DHAS_TERMIOS -DOS2 -D__os2__
  
  #-----------------------------------------------------------------------------
  # 2. On a few systems, additional libraries are required.
--- 8,14 ----
  #-----------------------------------------------------------------------------
  # 1. Choose a C compiler.  It must understand prototypes.
  #-----------------------------------------------------------------------------
! CC = gcc -g -Zmt -DHAS_TERMIOS -DHAVE_UNISTD_H -DOS2 -D__os2__
  
  #-----------------------------------------------------------------------------
  # 2. On a few systems, additional libraries are required.
*** group.c.orig	Mon May 06 16:08:04 1996
--- group.c	Mon May 06 16:08:27 1996
***************
*** 935,940 ****
--- 935,941 ----
     slrn_fclose (fp); fp = NULL;
     
  #ifdef unix
+ # ifndef __os2__
     /* Try to preserve .newsrc permissions and owner/group */
     if (stat_worked)
       {
***************
*** 945,950 ****
--- 946,952 ----
       }
     else
       (void) chmod (file, 0600 );
+ # endif
  #endif
  
     Slrn_Groups_Dirty = 0;
***************
*** 1965,1971 ****
--- 1967,1977 ----
  #ifdef VMS
     sprintf (file, "%s-dsc", Slrn_Newsrc_File);
  #else
+ # ifdef __os2__
+    sprintf (file, "ds-%s", Slrn_Newsrc_File);
+ # else
     sprintf (file, "%s.dsc", Slrn_Newsrc_File);
+ # endif
  #endif
     
     
*** misc.c.orig	Mon May 06 16:08:06 1996
--- misc.c	Thu May 09 11:39:04 1996
***************
*** 211,217 ****
--- 211,223 ----
  {
     char *home;
  #ifndef VMS
+ # ifndef __os2__
     if ((*name == '/') || ((*name == '.') && (*(name + 1) == '/')))
+ # else
+    if ((*name == '/') || (*name == '\\') || (*(name + 1) == ':') ||
+ 	((*name == '.') && (*(name + 1) == '/')) ||
+ 	((*name == '.') && (*(name + 1) == '\\')))
+ # endif
       {
  	strcpy (file, name);
  	return;
***************
*** 383,389 ****
--- 389,400 ----
  	free (f);
       }
  #else
+ 
+ #ifndef __os2__
     char *dir = getenv ("TMPDIR");
+ #else
+    char *dir = getenv("TMP");
+ #endif
     
  #ifdef VMS
     if (dir == NULL) dir = "SYS$LOGIN:";
***************
*** 544,550 ****
     va_list ap;
     char *v;
     
!    if (SLang_Error) return -1;
     
     while (1)
       {
--- 555,561 ----
     va_list ap;
     char *v;
     
!    /* if (SLang_Error) return -1; */
     
     while (1)
       {
***************
*** 570,575 ****
--- 581,587 ----
  	     
  	     ch = SLang_getkey ();
  	     slrn_clear_message ();
+ 	     SLang_Error = SLKeyBoard_Quit = 0;
  	  }
  	
  	v = valid_chars;
***************
*** 595,601 ****
     char ch, rsp;
     char *fmt;
     
!    if (SLang_Error) return -1;
     
     va_start(ap, str);
     (void) vsprintf(buf, str, ap);
--- 607,613 ----
     char ch, rsp;
     char *fmt;
     
!    /* if (SLang_Error) return -1; */
     
     va_start(ap, str);
     (void) vsprintf(buf, str, ap);
*** slrn.c.orig	Mon May 06 16:08:06 1996
--- slrn.c	Mon May 06 16:08:29 1996
***************
*** 203,212 ****
  }
  
  #ifndef VMS
  /* If defined, an rn style lock file will be created if .newsrc is the newsrc
   * file.
   */
! # define SLRN_USE_RNLOCK
  #endif
  
  
--- 203,214 ----
  }
  
  #ifndef VMS
+ # ifndef __os2__
  /* If defined, an rn style lock file will be created if .newsrc is the newsrc
   * file.
   */
! #  define SLRN_USE_RNLOCK
! # endif
  #endif
  
  
***************
*** 781,787 ****
       {
  	slrn_exit_error ("\
  Unable to find a fully qualified hostname.  You will have to specify a\r\n\
! hostname in your .slrnrc file (slrn.rc on VMS).\r\n");
       }
     if ((NULL == Slrn_User_Info.username)
         || (0 == *Slrn_User_Info.username)
--- 783,789 ----
       {
  	slrn_exit_error ("\
  Unable to find a fully qualified hostname.  You will have to specify a\r\n\
! hostname in your .slrnrc file (slrn.rc on VMS and OS/2).\r\n");
       }
     if ((NULL == Slrn_User_Info.username)
         || (0 == *Slrn_User_Info.username)
*** startup.c.orig	Mon May 06 16:17:14 1996
--- startup.c	Mon May 06 16:17:09 1996
***************
*** 694,697 ****
     return NULL;
  }
  
! 
--- 694,706 ----
     return NULL;
  }
  
! #if SLANG_VERSION < 9932
! #ifdef __os2__
! void SLtt_set_mono (int obj, char *what, SLtt_Char_Type mask)
! {
!    obj;
!    what;
!    mask;	/* shut the compiler up */
! }
! #endif
! #endif
----------8<-----if-you-cut-here-you'll-destroy-your-monitor----->8--------

-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
      "Are we going to push it to the edge of the envelope?" -- Pinky
     "No, Pinky. We may, however, reach the sticky part." -- The Brain

Re: ANNOUNCE: slrn0.8.8.1 released
#21483
Author: dav... David Nugent
Date: Thu, 09 May 1996 00:00
80 lines
4380 bytes

On 9 May 1996 16:36:31 GMT, Jay Maynard <jmay...@k5zc.hsc.uth.tmc.edu> wrote:
>On 8 May 1996 18:00:03 GMT, Anssi Saari <s10...@cs.tut.fi> wrote:
>>Yes, but is the OS/2 source available? I don't think the sources that
>>come with the "normal" distribution are the ones you used to compile
>>that, are they?  Especially since they seem to need some things deleted
>>before they compile with EMX :(
>
>The OS/2 sources are essentially the same as the Unix, etc. sources. I don't
>get the distributions before anyone else does, so there are usually a few
>minor fixes that need to be applied...but I'll be happy to pass along a file
>suitable for feeding to the Unix patch command with all of the changes I've
>made from the release version to the one used to build the distributed binary.
>(The sources are still usable after the patches are applied to make the
>program for Unix, and I forward all patches I make to John for inclusion in
>the released sources.) I don't include that in the distribution .ZIP file
>simply because there is no standard program for OS/2 that is capable of
>applying those changes. (If someone can prove me wrong, I'll be happy to
>start including it.)


Please do include them, Jay.

Yes, there is a 'standard program' available, being of course the
port of Larry Wall's patch program itself. As with OS/2, UNIX boxes
also do not have a special program supplied with the operating system
that apply the context/unified diffs that patch works with. It is an
add-on in any environment.

Patch is widely available and most people who work with emx and are
proficient will be quite familiar with it and have it available (if
not, it is easily obtained). It is also common for ports of UNIX
programs to OS/2 (or any environment, for that matter) to include
patches with a port that requires modification of the distribution
source code. Browse through the /unix directory on hobbes for any
number of examples.

BTW, nice port to OS/2. I like it. :-)


>The slang library used in the released slrn 0.8.8.1 is a completely
>unmodified copy of slang 0.99-31.

Yes, by virtue of the OS/2 jed port, which I also use regularly. :)


>The patch file for slrn is 154 lines long, but that's before the fix
>John mentioned (and for which I'll be releasing an updated slrn0881.zip
>today, hopefully).

Great, I'll look for it.

A couple of things I did want to modify myself were:

 1)  Make ^Z work? I realise that this does a bg (suspend) under
     UNIX, but under OS/2 the usual thing is to substitute a shell.
	 Jed already does this.

 2)  Allow the sender name to be passed on the mailer command line
     (it is not clear from the documentation if it should be doing
     this already, but in any case it does not seem to work by using
     %s) so that I can mail from slrn. I don't use sendmail, and
     certainly don't WANT to use sendmail under OS/2 since I already
     have and make use of small, fast and efficient (words which could
     never describe sendmail!) smtp mailer that'll quite happily hand
     off any mail piped to it to a local mail server.

     Actually, it would be even better for slrn to support SMTP
     internally, even as an option with the UNIX version, so I'd be
     tempted to include that as well. Interfacing to the world is
     much easier if you don't need to rely on external programs which
     may not be there.

Regards,
David



Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads