nethack-el-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nethack-el-devel] Troubles


From: Istvan Marko
Subject: Re: [Nethack-el-devel] Troubles
Date: Tue, 01 Apr 2003 13:52:47 -0800
User-agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (gnu/linux)

Faux_Pseudo <address@hidden> writes:

> The system:
> gnu emacs 21.1.1 compiled without X
> gcc 2.95.3
> Linux 2.4.5 i686
> nethack-el: 20030310-341
> nethack: 3.4.1
>
>
> First the problems I have fixed to get as far as I did.
>
> 1) In the enh-341.patch I have changed "../win/lisp/winlisp.c" to 
>    "../lisp/winlisp.c"
> 2) I changed all referances of '#include "winlisp.c"' to  
>    '#include "../include/winlisp.c"'.
> 3) Copied nethack-3.4.1/winlisp.h to nethack-3.4.1/include/winlisp.h

Why was this needed? I don't remember having to do this...

> 4) applied following patch for non emacs use:
>
> --- nethack-3.4.1/src/Makefile  Mon Mar 31 21:37:50 2003
> +++ nethack-3.4.1/src/Makefile  Mon Mar 31 21:39:34 2003
> @@ -220,8 +220,8 @@
>  # WINTTYLIB = -ltermcap
>  # WINTTYLIB = -lcurses
>  # WINTTYLIB = -lcurses16
> -# WINTTYLIB = -lncurses
> -WINTTYLIB = -ltermlib
> + WINTTYLIB = -lncurses
> +# WINTTYLIB = -ltermlib

If you enable the tty interface in the same binary then you have to
tell nethack to use the lisp interface as it will default to tty.

I use this:

~/games/lisphack:

#! /bin/sh
NETHACKOPTIONS=windowtype:lisp exec $HOME/games/nethack "$@"

And in my .emacs:

(setq nethack-program "~/games/lisphack")


-- 
        Istvan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]