Problem porting X11R4 clients to OSx5.0

Gordon Prieur gprieur at pyramid.pyramid.com
Fri Aug 10 00:59:53 AEST 1990


In article <BOB.90Aug7091403 at volitans.MorningStar.Com> bob at MorningStar.Com (Bob Sutterfield) writes:
>>>   Just for the record, I've compiled and run the X11R4 xterm with no
>>>   problems (and no major code changes).
>>>
>>Can you say "cat < /dev/tty" and have it wait 'till you type
>>something?  What non-"major code changes" were required?

Yes, I can say "cat < /dev/tty" and have it wait till I type. The only change
to xterm in this version was in main.c, where the line

	close(open(ttydev, O_WRONLY, 0));

was changed to
	close(open(ttydev, O_RDWR, 0));

The reason for this eludes me, and I'm not in a position to recompile the
source without the fix, but it seems unlikely that its going to change the
behavior you see. I remember the original article posting the problem stated
they were running OSx 4.4. I've tested this xterm with both 5.0 and 5.1. I
suggest your problem is from an old version of OSx. If you are running a
version 5 and still see the problems, you should report it as a bug (by
sending mail to bugs at pyramid.com).


		 Gordon Prieur
      -m-------  Pyramid Technology Corporation
    ---mmm-----  1295 Charleston Rd, P.O. Box 7295
  -----mmmmm---  Mt. View, CA 94039-7295  (415) 335-8533
-------mmmmmmm-  {decwrl,hplabs,sun,uunet}!pyramid!pyrps5!gprieur

-- 
		 Gordon Prieur
      -m-------  Pyramid Technology Corporation
    ---mmm-----  1295 Charleston Rd, P.O. Box 7295
  -----mmmmm---  Mt. View, CA 94039-7295  (415) 335-8533



More information about the Comp.sys.pyramid mailing list