Running in Ubuntu's terminal?

All your questions answered.
Post Reply
Furi
Squint-Eyed Rogue
Posts: 4
Joined: Thu 14.10.2010, 18:54

Running in Ubuntu's terminal?

Post by Furi » Sun 21.11.2010, 18:05

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.

User avatar
Flambard
King Vampire
Posts: 258
Joined: Wed 20.06.2007, 10:49

Re: Running in Ubuntu's terminal?

Post by Flambard » Tue 23.11.2010, 23:59

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.

Furi
Squint-Eyed Rogue
Posts: 4
Joined: Thu 14.10.2010, 18:54

Re: Running in Ubuntu's terminal?

Post by Furi » Thu 10.02.2011, 13:48

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?

silicontrip
Human Zombie
Posts: 28
Joined: Sun 12.12.2010, 23:26
Location: Melbourne, Australia
Contact:

Re: Running in Ubuntu's terminal?

Post by silicontrip » Thu 10.02.2011, 23:15

You could unset your DISPLAY environment variable in the terminal you want to it run in.
--
Project Mangband OSX Carbon Developer.

Post Reply