From:	ADVAX::"mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU"  4-APR-1991 08:59:25.43
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Re: SET PROFILE/LINE_EDIT *still* broken in 6.0-3

Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Thu, 4 Apr 91 08:56:58 EST
Received:  from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.15) with UUCP
	id AA18625 for ; Thu, 4 Apr 91 08:36:19 -0500
Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/3-21-91)
	id AA07835; Thu, 4 Apr 91 08:25:56 -0500
	for ARISIA.DNET.ge.com!EVERHART
Message-Id: <9104041325.AA07835@mcnc.mcnc.org>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 2664; Thu, 04 Apr 91 07:25:44 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 8193; Thu, 04 Apr 91 07:25:43 CST
Date:         Thu, 4 Apr 91 12:32:58 GMT
Reply-To: mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
Comments:     Warning -- original Sender: tag was news@NEWSHOST.ANU.EDU.AU
From: mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU
Subject:      Re: SET PROFILE/LINE_EDIT *still* broken in 6.0-3
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
In article <1991Apr3.093052.2253@dcs.simpact.com>, jeh@dcs.simpact.com writes:
> 6.0-3 STILL does not honor a SET PROFILE/LINE_EDIT command.  That is, it takes
> the command, and a SHOW PROFILE will tell me that it's been set, but the next
> time I get into NEWS, line editing is off (but SHOW PROFILE says i've set it
> on).
 
The newsprofile.c code attempts to set line edit mode on too early - it has to
be done a little later in the init process. The change is in the NEWSRC.C file:
 
NEWSRC.C
 
reg_context()
{
  int i;
  ITM_PTR iap;
  int save_curr_g = curr_g;
  struct dir_class *ch = c_head;
 
  if (profile_flags & PROFILE_LINEEDIT) edit_m_on();    /* set line edit
                                                           mode if required */
  ...
}
 
 
 
Geoff
