🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Tommy Wareing Tue, 14 Sep 1993 15:46
Tin 1.21: Check Prepared Article screen
#5815
Author: Tommy Wareing
Date: Tue, 14 Sep 1993 15:46
22 lines
1387 bytes
My terminal seems to be printing linefeed characters, without carriage
returns, so I get things like:



Your article will be posted to the following group:
                                                    news.software.readers
		Discussion of software used to read news



Any ideas? Everything else works ok.

I'm using SunOS 4.1.3, compiling with /usr/ucb/cc


--
  _________________________   _________________________
 /  Tommy Wareing          \ /                         \
|  p0070621@brookes.ac.uk   X   'Bugger!' said Piglet   |
 \  0865-483389            / \                         /
  ~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~
Re: Tin 1.21: Check Prepared Article screen
#5818
Author: Pope Clifton
Date: Tue, 14 Sep 1993 19:51
21 lines
1754 bytes
Tommy Wareing (p0070621@oxford-brookes.ac.uk) wrote:
: Your article will be posted to the following group:
:                                                     news.software.readers
: 		Discussion of software used to read news

: Any ideas? Everything else works ok.

: I'm using SunOS 4.1.3, compiling with /usr/ucb/cc

I finally concluded that this was a Sun OS problem in the curses or terminfo
libraries, especially with xterms and Vt10x emulations, as no users of other
systems reported the problem when I asked.  I've given Iain a bug fix /
work-around for it, which may be in 1.22.  Let me know if you want me to
mail you the patch, it's quite small.
  -- Clifton

--
cliftonr@netcom.com is Clifton Royston is Pope of the Church of the Subgenius 
in Paradise is a happily married man is a programmer is a structural fiction.
"If we were materialists we would hoard things. We are not. We are nihilists, 
and we pride ourselves on the rate at which we destroy."        (Tom Boutell)
Re: Tin 1.21: Check Prepared Article screen
#5826
Author: Paul Gilmartin
Date: Wed, 15 Sep 1993 05:28
10 lines
1261 bytes
Pope Clifton (cliftonr@netcom.com) wrote:
: I finally concluded that this was a Sun OS problem in the curses or terminfo
: libraries, especially with xterms and Vt10x emulations, as no users of other
: systems reported the problem when I asked.  I've given Iain a bug fix /
: work-around for it, which may be in 1.22.  Let me know if you want me to
: mail you the patch, it's quite small.

Oh, go ahead; post it.  None of us SunOS users will complain.  :-)

-- gil
Re: Tin 1.21: Check Prepared Article screen
#5838
Author: Pope Clifton
Date: Thu, 16 Sep 1993 00:24
53 lines
2267 bytes
The following patch fixes formatting of the article checking screen.  Seems
to be needed only for Sun OS + xterms/Vt10xs.  Go figure.
  -- Clifton

*** tin-1.21o/post.c	Tue Jul 20 16:33:50 1993
--- myrevs/post.c	Fri Jul 30 21:25:40 1993
***************
*** 164,169 ****
--- 164,170 ----
  	int init = TRUE;
  	int ngcnt = 0;
  	int nglens[NGLIMIT];
+ 	int oldraw;	/* To save previous raw status */
  
  	if ((fp = fopen (article, "r")) == (FILE *) 0) {
  		perror_message (txt_cannot_open, article);
***************
*** 170,175 ****
--- 171,177 ----
  		return FALSE;
  	}
  
+ 	oldraw = RawState(); /* save state */
  	while (fgets (line, sizeof (line), fp) != NULL) {
  		cnt++;
  		len= strlen (line);
***************
*** 309,314 ****
--- 311,317 ----
  	}
  	fclose (fp);
  
+ 	Raw( oldraw ); /* restore previous raw/unraw state */
  	return (errors ? FALSE : TRUE);
  }
  
***************
*** 320,325 ****
--- 323,329 ----
  		ClearScreen ();
  		center_line (0, TRUE, txt_check_article);
  		MoveCursor (INDEX_TOP, 0);
+ 		Raw( FALSE );	/* force raw mode for message display */
  		*init = FALSE;
  	}
  }


--
cliftonr@netcom.com is Clifton Royston is Pope of the Church of the Subgenius 
in Paradise is a happily married man is a programmer is a structural fiction.
"If we were materialists we would hoard things. We are not. We are nihilists, 
and we pride ourselves on the rate at which we destroy."        (Tom Boutell)
Re: Tin 1.21: Check Prepared Article screen
#5845
Author: Leila Burrell-Davis
Date: Thu, 16 Sep 1993 11:16
24 lines
1815 bytes
Pope Clifton (cliftonr@netcom.com) wrote:
: Tommy Wareing (p0070621@oxford-brookes.ac.uk) wrote:
: : Your article will be posted to the following group:
: :                                                     news.software.readers
: : 		Discussion of software used to read news

: : Any ideas? Everything else works ok.

: : I'm using SunOS 4.1.3, compiling with /usr/ucb/cc

: I finally concluded that this was a Sun OS problem in the curses or terminfo
: libraries, especially with xterms and Vt10x emulations, as no users of other
: systems reported the problem when I asked.  I've given Iain a bug fix /
: work-around for it, which may be in 1.22.  Let me know if you want me to
: mail you the patch, it's quite small.

It also happens on a Sequent Symmetry S81 running Dynix v3.0 using a
variety of vtxxx terminal emulators, including MS-Kermit vt320.

Leila
-- 
Leila Burrell-Davis, Computing Service, University of Sussex, Brighton, UK
Tel:   +44 273 678390              Fax:   +44 273 678470
Email: L.Burrell-Davis@susx.ac.uk
Re: Tin 1.21: Check Prepared Article screen
#5863
Author: Colin Perkins
Date: Thu, 16 Sep 1993 19:02
25 lines
2017 bytes
Leila Burrell-Davis (leilabd@syma.sussex.ac.uk) wrote:
>Pope Clifton (cliftonr@netcom.com) wrote:
>: Tommy Wareing (p0070621@oxford-brookes.ac.uk) wrote:
>: : Your article will be posted to the following group:
>: :                                                     news.software.readers
>: : 		Discussion of software used to read news

>: : Any ideas? Everything else works ok.

>: : I'm using SunOS 4.1.3, compiling with /usr/ucb/cc

>: I finally concluded that this was a Sun OS problem in the curses or terminfo
>: libraries, especially with xterms and Vt10x emulations, as no users of other
>: systems reported the problem when I asked.  I've given Iain a bug fix /
>: work-around for it, which may be in 1.22.  Let me know if you want me to
>: mail you the patch, it's quite small.

>It also happens on a Sequent Symmetry S81 running Dynix v3.0 using a
>variety of vtxxx terminal emulators, including MS-Kermit vt320.

..and on NeXTs, I've been meaning to have a look at fixing it for ages!
-- 
Colin Perkins 				
Computer Systems Engineering Group,	Email: csp@ohm.york.ac.uk
University of York, YO1 5DD, UK.	Phone: +44 904 432379
Re: Tin 1.21: Check Prepared Article screen
#5864
Author: Colin Perkins
Date: Thu, 16 Sep 1993 19:24
64 lines
2735 bytes
Pope Clifton (cliftonr@netcom.com) wrote:
>The following patch fixes formatting of the article checking screen.  Seems
>to be needed only for Sun OS + xterms/Vt10xs.  Go figure.
>  -- Clifton

This also fixes the problem on a NeXT...

Colin Perkins
<csp@ohm.york.ac.uk>

-----------------------------------------------------------------------------
>*** tin-1.21o/post.c	Tue Jul 20 16:33:50 1993
>--- myrevs/post.c	Fri Jul 30 21:25:40 1993
>***************
>*** 164,169 ****
>--- 164,170 ----
>  	int init = TRUE;
>  	int ngcnt = 0;
>  	int nglens[NGLIMIT];
>+ 	int oldraw;	/* To save previous raw status */
>  
>  	if ((fp = fopen (article, "r")) == (FILE *) 0) {
>  		perror_message (txt_cannot_open, article);
>***************
>*** 170,175 ****
>--- 171,177 ----
>  		return FALSE;
>  	}
>  
>+ 	oldraw = RawState(); /* save state */
>  	while (fgets (line, sizeof (line), fp) != NULL) {
>  		cnt++;
>  		len= strlen (line);
>***************
>*** 309,314 ****
>--- 311,317 ----
>  	}
>  	fclose (fp);
>  
>+ 	Raw( oldraw ); /* restore previous raw/unraw state */
>  	return (errors ? FALSE : TRUE);
>  }
>  
>***************
>*** 320,325 ****
>--- 323,329 ----
>  		ClearScreen ();
>  		center_line (0, TRUE, txt_check_article);
>  		MoveCursor (INDEX_TOP, 0);
>+ 		Raw( FALSE );	/* force raw mode for message display */
>  		*init = FALSE;
>  	}
>  }


>--
>cliftonr@netcom.com is Clifton Royston is Pope of the Church of the Subgenius 
>in Paradise is a happily married man is a programmer is a structural fiction.
>"If we were materialists we would hoard things. We are not. We are nihilists, 
>and we pride ourselves on the rate at which we destroy."        (Tom Boutell)
-- 
Colin Perkins 				
Computer Systems Engineering Group,	Email: csp@ohm.york.ac.uk
University of York, YO1 5DD, UK.	Phone: +44 904 432379
Re: Tin 1.21: Check Prepared Article screen
#5915
Author: (HCST) Earle F. Ake
Date: Mon, 20 Sep 1993 19:46
17 lines
1465 bytes
Colin Perkins (csp@ohm.york.ac.uk) wrote:
: Pope Clifton (cliftonr@netcom.com) wrote:
: >The following patch fixes formatting of the article checking screen.  Seems
: >to be needed only for Sun OS + xterms/Vt10xs.  Go figure.
: >  -- Clifton

: This also fixes the problem on a NeXT...

	Also fixes the problem on the Pyramid...


-Earle
-- 
Earle Ake                               akee@wpdis11.wpafb.af.mil
Hassler Communication Systems Technology
MSC/SID WPAFB, Ohio
257-4499/4544 DSN: 787-4499/4544
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