From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from netcomsv.netcom.com ([163.179.1.13]) by hawkwind.utcs.toronto.edu with SMTP id <2811>; Wed, 12 May 1993 01:40:05 -0400 Received: from netapp.UUCP by netcomsv.netcom.com with UUCP (4.1/SMI-4.1) id AA24380; Tue, 11 May 93 22:39:57 PDT Received: by netapp.netapp.com (4.1/SMI-4.1) id AA08807; Tue, 11 May 93 22:37:58 PDT Date: Wed, 12 May 1993 01:37:58 -0400 From: netapp!byron@netcom.com (Byron Rakitzis) Message-Id: <9305120537.AA08807@netapp.netapp.com> To: culliton@srg.af.mil, rc@hawkwind.utcs.toronto.edu Subject: Re: trip took a wrong turn: dot -i I've thought about it for a little while and I can't make up my mind. Here is my preference: readline should take a file descriptor as an argument. Ok, given that that is "impossible", I think the best way out may be to make the rest of the prompt2 stuff in rc readline- and file- descriptor-cognisant, i.e., by printing prompt2 if "!readline || fd != 0". It's ugly, but I can rationalize it by saying that it's hiding behind this grotesque #ifdef READLINE to begin with. Byron.