Page 1 of 1

Running in Ubuntu's terminal?

Posted: Sun 21.11.2010, 18:05
by Furi
I'd just like to know, how would you manage to run Mangband in the terminal on Ubuntu? It'd be nice so I can play it in one of my tty's next to irssi or just on a plain gnome-terminal.

Re: Running in Ubuntu's terminal?

Posted: Tue 23.11.2010, 23:59
by Flambard
You'll have to compile it yourself with the ncurses support. To do that, run ./configure with --enable-gcu --disable-sdl --disable-x11

You can also mix several terminal systems into one binary, so it will use the X11 context if one is available and fall-back to curses mode when not.

Note, that (unfortunately) gcu client is the least worked on and is probably the least convenient to use. However, it'll auto-detect your console size and take advantage of it, so framebuffer-enabled terminal users would get all the benefits.

Re: Running in Ubuntu's terminal?

Posted: Thu 10.02.2011, 13:48
by Furi
Thanks, but...
Flambard wrote:You can also mix several terminal systems into one binary, so it will use the X11 context if one is available and fall-back to curses mode when not.
That's the thing. When X is present, it opens up a regular window. How do I prevent that?

Re: Running in Ubuntu's terminal?

Posted: Thu 10.02.2011, 23:15
by silicontrip
You could unset your DISPLAY environment variable in the terminal you want to it run in.