[comp.sys.apollo] emacs 18.55 on Apollo SR10.2.p

schmid@asterix.luftfahrt.uni-stuttgart.de (Georg Schmid) (08/16/90)

(Why do I always have to have to the latest releases?)  
We had a Version of emacs 18.54 and the patches of Leonard N. Zubkoff 
for 18.54. This worked very well, though the pad in which emacs was 
run often crashed when leaving emacs.

Yesterday I read about a newer Version of Zubkoffs extensions for emacs 
18.55 (supporting X in a better way) and the first thing I did was to get 
it (from labrea.stanford.edu). I did the following:
   1. untar emacs-18.55
   2. untar apollo-emacs.tar in the dist-18.55 directory
   3. build-apollo-emacs

Of course I ran into problems when trying to compile it:
   1. There seem to be several lines duplicated at the end of the file
      src/fileio.c, ending with a '}' and causing the compiler (cc 6.7)
      to complain. Ok, that seems to be no problem, just put these 
      duplicated lines in a comment.
   2. Next, when temacs is trying to dump, it stops when loading 
      cl-indent.el because it found a ')' which it didn't like.
      As we don't have much LISP-users here I just went to site-load.el
      and put that '(load "cl-indent")' in a comment. Now temacs dumped.
   3. The worst. When I installed emacs it seemed to work ok, especially
      with X, but when I tried to use it in an Apollo-Pad, all those
      nice bindings to the Apollo key-pad had gone !
      For example: pressing the cursor-down key produces 'Failing
      I-search: HQ'.

Does anybody have any ideas what I'm doing wrong ?

Thanks in advance !



________________________________________________________________________
Georg Schmid, ISD University of Stuttgart, W.-Germany                 
email: schmid@asterix.luftfahrt.uni-stuttgart.de (129.69.110.2)       
voice: +49 711-685-2053                                        
fax:   +49 711-685-3706
________________________________________________________________________
What can go wrong goes wrong (But why does it always have to be me?)

hj412fr@duc220.uni-duisburg.de (Frik) (08/16/90)

I have emacs-18.55 with Zubkoff's patches running here for quite some
time. The following files needed to be changed:

src/fileio.c
lisp/site-load.el (customizations here really)
src/config.h (to be consistent with site-load.el)

I had that stange '(' error when dumping too, and forgot how I solved
it: I have some faint recollection that I deleted the byte-compiled
files to use the .el files or byte-recompiled everything, or something
non-deterministic like that.

Martin Anantharaman

FB7, FG7 (Mechanik)		Work:	+49 (203) 379-3336
Universitaet -GH- Duisburg	Home:	+49 (203) 37 65 89
Lotharstr. 1			FAX:	+49 (203) 379-3052
4100 Duisburg 1			E-Mail: hj412fr@duc220.uni-duisburg.de
West Germany    

Markku.Savela@tel.vtt.fi (Markku Savela) (08/17/90)

  I have similar experience on sr10.2 (dn3500)...

>Of course I ran into problems when trying to compile it:
>   1. There seem to be several lines duplicated at the end of the file

  Yep.

>   2. Next, when temacs is trying to dump, it stops when loading 
>      cl-indent.el because it found a ')' which it didn't like.

  Something similar happened with .54 version too. There was something
about increasing the PURESIZE in config.h, but I just deleted a unneeded
(by me) functions from site-load.el. Problem disappeared, maybe some
files were just corrupted, who knows. :)

>   3. The worst. When I installed emacs it seemed to work ok, especially
>      with X, but when I tried to use it in an Apollo-Pad, all those

   Hmm, this one I didn't run into. The reason I didn't start to use
18.55 was that it *didn't* start from telnet session!!! But, now I
found out why:

   My environment has "DISPLAY" defined and previously I was running
Apollo's X and the server was always running, I suppose it hung up
somehow. Now I'm using MIT version and hadn't X server running when
telnetting in. Got nice error about not being able to talk with X
server. Aha! Just undefined DISPLAY and it seems to start. Maybe I
take 18.55 into use after all...
--
Markku Savela                         | savela@tel.vtt.fi
Technical Research Centre of Finland  |
Telecommunications Laboratory         | Markku.Savela@vtt.fi
Otakaari 7 B, SF-02150 ESPOO, Finland | savela%vtttel@router.funet.fi 

lambert@spectrum.cs.unsw.oz.au (Tim Lambert) (08/17/90)

>>>>> On 16 Aug 90 05:20:24 GMT, schmid@asterix.luftfahrt.uni-stuttgart.de (Georg Schmid) said:

> Yesterday I read about a newer Version of Zubkoffs extensions for emacs 
> 18.55 (supporting X in a better way) and the first thing I did was to get 
> it (from labrea.stanford.edu). I did the following:
>    1. untar emacs-18.55

There would appear to be a bug in tar: existing files are not truncated.
So you need:
     1a. rm `tar tf apollo-emacs.tar`

>    2. untar apollo-emacs.tar in the dist-18.55 directory
>    3. build-apollo-emacs

> Of course I ran into problems when trying to compile it:

I think this should fix things.

Tim

schmid@jellosub.luftfahrt.uni-stuttgart.de (Georg Schmid) (08/20/90)

Ahem... I'm sorry, but I still can't get emacs to work, though it 
compiled successfully this time. 

To prevent the tar-bug, I removed all the files in the original 
distribution which get replaced by the files of apollo-emacs.tar,
before unpacking apollo-emacs.tar. 

I still have the problem, that none of the apollo-keys (left keypad-
block, mouse-keys etc.) works. The only apollo-specific keybindings 
that work are the keys referred to as 'first class of key bindings' 
in the file APOLLO.README, e.g. ESC, TAB BACKSPACE, DELETE, RETURN 
and RIGHT BOX ARROW. 

For example: 

   C-h c <RIGHT_BOX_ARROW>-x tells 'ESC x runs the command exec...'

This seems to be ok.

BUT the keys described as 'second class of key bindings' behave
quite strange.

For example: 

   C-h c <CURSOR DOWN> makes a flashing line in the minibuffer 
   saying 'C-s runs the command isearch-forward' and after that
   it includes the letters 'HQ' in the text.


I don't think that we're using any exotic key-bindings for the dm
or the (share mode) X-Server. Apollo-gnuemacs 18.54 worked nearly 
perfect in the same environment. 

Somehow the bindings in apollo.el don't get into effect. 
To test this, I typed:

   ESC ESC (bind-apollo-function-key "DOWN_ARROW" "\C-n")

Output:
   "^N"

But pressing the DOWN-ARROW-key after that still makes emacs 
I-searching for 'HQ'.

Again: Does anybody have any idea how to fix this, or do I just 
       have to RTFM ?

Thanks in advance

--

________________________________________________________________________
Georg Schmid, ISD University of Stuttgart, W.-Germany                 
email: schmid@asterix.luftfahrt.uni-stuttgart.de (129.69.110.2)       
voice: +49 711-685-2053                                        
fax:   +49 711-685-3706
________________________________________________________________________

When the weight of the paperwork equals the weight of the plane, the
plane will fly.
                -- Donald Douglas