Re: Windows 95 editor

From: Gerry Smith (
Date: 07/23/96

Hmmm, I wrote a Win95/NT ZON editor using VB4 and have had no problems with CR/LF 
issues. I read in the existing file, stripping all CR/LF as I read it into a textbox 
(using Line Input #). I parse the file and do my editing, then save the file back to 
disk, adding only the CR (VB has the CR/LF pair defined separately as VBCr and VBLf 
constants (CHR$10 and CHR$13)). I have NOT ried to ftp the text file however, and I 
agree that a binary ftp would produce undesirable results.

Anyway, a Win95/NT editor could get around these issues, provided that the 
programmer took this into account, and that any ftp was done in ASCII mode.

IMP - Mountains of Maragor ( 4000)
System Administrator - Direct NET Communications

From Tue, 23 Jul 96 21:17:23 EDT
X-SystemInfo: MyE-Mail: EMail
X-Message-No: 2885 (database)
From: Sean P. Mountcastle <>
To: circle <>
Subject: Personalizing Newbie EQ
Date: Tue, 23 Jul 96 21:17:00
Message-ID: <>
X-POP3-Rcpt: lk4150@per
Received: from ( []) by (8.6.12/8.6.12) with ESMTP id CAA16494 for <>; Wed, 24 Jul 1996 02:48:25 +0200
Received: (from majordomo@localhost) by (8.7.5/8.6.12) id DAA10739 for circle-outgoing; Wed, 24 Jul 1996 03:10:43 +0200
Received: from ( []) by (8.7.5/8.6.12) with SMTP id DAA10734 for <>; Wed, 24 Jul 1996 03:10:35 +0200
Received: (from mountcas@localhost) by (8.6.12/8.6.9) id VAA06244 for; Tue, 23 Jul 1996 21:17:24 -0400
X-Mailer: ELM [version 2.3 PL11]
Precedence: bulk

  This code doesn't seem to work.  I don't get any errors, but when you
look at the object you see nothing special.

  struct extra_descr_data *iterator;

  /* Personalize the newbie daggerr */
  sprintf(buf, "It appears to have a monogram denoting that it is owned by %s.\r\n", GET_NAME(ch));
  iterator = obj->ex_description;
  while (iterator != NULL)
    iterator = iterator->next;
  iterator = (struct extra_descr_data *) malloc(sizeof(struct extra_descr_data)); 
  iterator->keyword = str_dup(obj->name);
  iterator->description = str_dup(buf);

	Isn't this the  proper way to add extra_descr's thru the code?

	Thanks in advance,

	- Sean

Sean Mountcastle
Great spirits and always encountered violent opposition from mediochre minds.
				    - Albert Einstein

This archive was generated by hypermail 2b30 : 12/07/00 PST