Xenix and MicroEMACS 3.10 (non-beta)

Wm. E. Davidsen Jr davidsen at steinmetz.ge.com
Wed Mar 29 10:33:41 AEST 1989


Has anyone had a trace of luck getting memacs 3.10 to work on xenix 286
or 386? If the XENIX flag is selected it doesn't even compile (at least
on 2.1.3 or 2.2.1). There is code to "nap" 35000L for XENIX or SUNOS.
Since nap is in ms the 35 sec wait would be a problem. The man command
on my Suns has no entry for nap anyway, but I haven't tried to compile
it.

The code for VT100 keyboard under UNIX has been removed. There seems to
be no way to get memacs to recognize ESC-[ as a function inducer,
although there is a termcap which might allow a few function keys to be
used.

I thought when I saw XENIX support in the header file that this version
would be compile and go, particularly since I know that Dan got some of
my other bug fixes. As far as I can tell not one has been applied. If I
can get this version to run on Xenix I'll port it to other machines and
post fixes. I also don't see VT100 support in the VMS code, although I
may have missed something. Only the amigados file even has vt100 in it
(I haven't looked to see where).

If anyone wants to fix the "get1key" once and for all, I suggest
starting with this logic:
 1) if ch is not ESC, return it
 2) if QUOTE is set, return it
 3) if searching for an ESC terminated string, return it
 4) if the next char is not [ save it and return ESC
 5) read and return the next character *as typed, not in upper case*

This logic is what was in my 3.10beta fix (and everything back to about
3.8e). Between the many versions of UNIX on AT's, there is no easy way
to map stuff unless you can pass through ESC-[-{anything} as previous
version did.
-- 
	bill davidsen		(wedu at crd.GE.COM)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.unix.xenix mailing list