*BSD News Article 26527


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!usenet.ins.cwru.edu!usenet.mcs.kent.edu!borsburn
From: borsburn@mcs.kent.edu (Bret Orsburn)
Newsgroups: comp.os.386bsd.apps
Subject: Re: MicroEmacs
Date: 27 Jan 1994 21:04:45 GMT
Organization: Kent State University
Lines: 49
Message-ID: <2i9a9d$ljq@usenet.mcs.kent.edu>
References: <9401231826.AA04996@moose.usmcs.maine.edu> <JKH.94Jan24012833@whisker.lotus.ie> <ellis.759392179@nova> <2i173v$n69@pdq.coe.montana.edu>
NNTP-Posting-Host: mcs.kent.edu

In article <2i173v$n69@pdq.coe.montana.edu> nate@bsd.coe.montana.edu (Nate Williams) writes:
>
>BTW - Both of the other editors are probably as valid as uemacs for 
>FreeBSD, but the advantage to uemacs is that I am a uemacs beta tester
>and a FreeBSD core developer, so I will make sure that the most stable
>version of it is available for FreeBSD.
>

OK, you asked for it.... :-)

I've used uemacs on several systems over the years, so I responded to this
thread by snarfing a copy of of the FreeBSD uemacs package for my new FreeBSD
system.

There are lots of warnings from gcc during compilation. (ANSI cruft --
nothing fatal.)

The default configuration works fine on the console, but it's really messed
up under xterm. In particular, the function keys don't work.

This led me into the termcap file, where I found that the termcap entry for
for xterm is fouled up (it gets the function keys wrong) and that termcap is
apparently limited to function keys 0-9.

So, what's the right thing to do to make uemacs work with xterm?
Obvious problems include incorrect function key mapping (as mentioned above)
and special character mapping, as shown by the default help screen where what
should be a vertical bar shows up as a column of capital `U's with circumflex
accents.

Are correct xterm termcap entries available for various PC keyboards?
(I think mine is what's known as a 101-key keyboard, although I've never
counted them. It's got 12 function keys on the top row and separate editing
and numeric keypads.)

Is there any way around the apparent limit on function keys in termcap?

(BTW: I've never gotten the function keys and help system to work properly
for any version of uemacs on any system, including DOS, and have generally
settled for disabling the on-line help altogether. There are way too many
architectures supported in the sources and that makes it way too crufty.
Like, why does the C code say PASCAL everywhere? <*shudder*> )

---

    Bret Orsburn
    borsburn@mcs.kent.edu