Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nethack 3.1 X11 & tty in same executable?

0 views
Skip to first unread message

Sami Reijonen

unread,
Feb 10, 1993, 3:15:15 PM2/10/93
to
I`m compiling NH 3.1 on a SUN workstation with TWM X11 windowing.
My problem is this: whatever I try, I can`t get tty and X11 code in the
same executable code.

I have defined both X11_GRAPHICS and TTY_GRAPHICS, have installed
things to Makefile from Install.X11 (can`t remember the name), have
made changes in nethackdir/../nethack script. If I compile
DEFAULT_WINDOW_SYS "tty" I`m unable to use X11 code (the screen remains
on tty based graphics) and if I use blahblah "X11" the X portition works
just fine, but tty terminals complain they can`t open a window.
This is without modifying any of the remaining code.

I have not installed the specific fonts.

What did I wrong?

--
Connect 3141592653590/V93Ter/LapLAND/Mnp666/Vryfast

squ...@krk.fi
OH2KEA (KP 20 KF)

Mike Marcelais

unread,
Feb 11, 1993, 8:55:07 PM2/11/93
to
In article <1993Feb10.2...@krk.fi>, squ...@krk.fi (Sami Reijonen) writes:
|> I`m compiling NH 3.1 on a SUN workstation with TWM X11 windowing.
|> My problem is this: whatever I try, I can`t get tty and X11 code in the
|> same executable code.
|>
|> I have defined both X11_GRAPHICS and TTY_GRAPHICS, have installed
|> things to Makefile from Install.X11 (can`t remember the name), have
|> made changes in nethackdir/../nethack script. If I compile
|> DEFAULT_WINDOW_SYS "tty" I`m unable to use X11 code (the screen remains
|> on tty based graphics) and if I use blahblah "X11" the X portition works
|> just fine, but tty terminals complain they can`t open a window.
|> This is without modifying any of the remaining code.

Nothing is wrong, however, to get at the mode that is not the defualt, you
have to define an option in your NETHACKOPTIONS environment var. Check the
Nethack docs for the exact format. :-)

--

+-------------------------------------+------------------------------+
| Mike Marcelais | mrma...@eos.ncsu.edu |
| 356 Tucker, Box 04783, NCSU | Fourth Bryan Productions |
| Raleigh, NC 27607 | #include <disclaim.h> |
+-------------------------------------+------------------------------+
| if the above address bounces, then try the address below: |
| mrmarcel%eos.nc...@ncsuvx.ncsu.edu |
+--------------------------------------------------------------------+

0 new messages