From:	AITGW::"sloane%KUHUB.CC.UKANS.EDU@VM1.NoDak.EDU" "Bob Sloane" 21-NOV-1991 19:15:11.27
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Re: "Not a terminal" incorrect error

Received: by AITGW.DECnet (utk-mail11 v1.5) ; Thu, 21 Nov 91 19:14:36 EST
Received: from vm1.NoDak.edu by aitgw.ge.com (5.65/GE Gateway 1.4)
	id AA24549; Thu, 21 Nov 91 19:14:23 -0500
Message-Id: <9111220014.AA24549@aitgw.ge.com>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 4788; Thu, 21 Nov 91 18:13:12 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 0547; Thu, 21 Nov 91 18:13:11 CST
Date:         Thu, 21 Nov 1991 14:52:18 CST
Reply-To: Bob Sloane <sloane%KUHUB.CC.UKANS.EDU@VM1.NoDak.EDU>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: Bob Sloane <sloane%KUHUB.CC.UKANS.EDU@VM1.NoDak.EDU>
Subject:      Re: "Not a terminal" incorrect error
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
In article <1991Nov20.144952.16@galaxy.bcsystems.gov.bc.ca>,
 Ed.Wilts@BSC.Galaxy.BCsystems.Gov.BC.CA (Ed Wilts) writes:
> I am having a problem with ANU-NEWS v6.0-3.  The problem shows up when using
> MACs connected via LAT using Mac-241 software.  What happens is that when a
> user invokes News, he gets the error "NEWS: Not a terminal - /NOSCREEN mode
> used".  It appears the problem is from the following section in module
> create_pb in NEWSUTILITY.C.
>
>   if (!pb_info.SMG$W_SPEED) {
>     printf("\n\tNEWS: Not a terminal - /NOSCREEN mode used\n");
>     pid_created = 0;
 
I haven't tested this, but try the following:
 
************
File $NEWS:[NEWSMGR.NEWS_SRC]NEWSUTILITY.C;2
   37   #include <dcdef.h>
   38
******
File $NEWS:[NEWSMGR.NEWS_SRC]NEWSUTILITY.C;1
   37
************
************
File $NEWS:[NEWSMGR.NEWS_SRC]NEWSUTILITY.C;2
 1851     if (pb_info.SMG$B_DEVCLASS != DC$_TERM) {
 1852       printf("\n\tNEWS: Not a terminal - /NOSCREEN mode used\n");
******
File $NEWS:[NEWSMGR.NEWS_SRC]NEWSUTILITY.C;1
 1850     if (!pb_info.SMG$W_SPEED) {
 1851       printf("\n\tNEWS: Not a terminal - /NOSCREEN mode used\n");
************
--
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@kuhub.cc.ukans.edu, sloane@ukanvax.bitnet, AT&T: (913)864-0444
