Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old May 2, 2017, 15:01   #21
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,166
Donated: $40
Pete Mack is on a distinguished road
@Gwarl-- Multiple windows is an inferior model to multiple panels, so long as the panels can have different font sizes. The only trouble with panels is that there's no way to hide the title bars (if they are present) on smaller screens.
Pete Mack is offline   Reply With Quote
Old May 2, 2017, 15:49   #22
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 7,952
Derakon is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
@Gwarl-- Multiple windows is an inferior model to multiple panels, so long as the panels can have different font sizes. The only trouble with panels is that there's no way to hide the title bars (if they are present) on smaller screens.
False. The problem with multiple panels is that they are constrained to fit within a single rectangular window. Multiple windows allows you to arrange your play area in any conformation you want; indeed you could have a discontinuous play area. In particular, if you want to spread across multiple displays, having panels within a single window often doesn't work well.

Or am I misunderstanding what you mean by panels?
Derakon is offline   Reply With Quote
Old May 2, 2017, 17:31   #23
t4nk
Adept
 
Join Date: May 2016
Posts: 249
t4nk is on a distinguished road
Quote:
Originally Posted by Gwarl View Post
To get this clear though, to have angband run in multiple windows requires either the x11 port (which seems defunct?) or the windows port?
x11, windows, Cocoa (Macintosh) ports are the ones that support multiple windows, to my knowledge (well, and SDL2).

Quote:
How do people do it on linux? Does x11 work if you're running it locally?
x11 client works. My impression is that most linux users prefer ncurses, perhaps because it has better performance and allows fullscreen mode.

Quote:
Could it (textui2) be compiled into other variants?
Definitely not, it uses different API. Also, Angband's codebase has diverged very significantly from old variants, the "core" part was split from the "ui" part, and there are numerous other changes.

Quote:
False. The problem with multiple panels is that they are constrained to fit within a single rectangular window. Multiple windows allows you to arrange your play area in any conformation you want;
Except for single-window, fullscreen mode. Based on my observations in the wild , this is how most people prefer to play videogames. So this is the default mode that should be supported. Multiple windows is an obscure little feature that is only of interest to rich people with xtra monitors
t4nk is offline   Reply With Quote
Old May 2, 2017, 19:36   #24
Gwarl
Swordsman
 
Join Date: Jan 2017
Posts: 372
Gwarl is on a distinguished road
Quote:
Originally Posted by t4nk View Post
Except for single-window, fullscreen mode. Based on my observations in the wild , this is how most people prefer to play videogames. So this is the default mode that should be supported. Multiple windows is an obscure little feature that is only of interest to rich people with xtra monitors
Okay I'm convinced. I'll go the ncurses way and think about building graphics on the client side later.
Gwarl is offline   Reply With Quote
Old May 2, 2017, 19:40   #25
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 7,952
Derakon is on a distinguished road
Quote:
Originally Posted by t4nk View Post
Except for single-window, fullscreen mode. Based on my observations in the wild , this is how most people prefer to play videogames. So this is the default mode that should be supported. Multiple windows is an obscure little feature that is only of interest to rich people with xtra monitors
Back in college I only had one monitor, and I played Angband with the game using up about 85% of the screen, and an IRC window in the remaining 15%. There's no good way to do that when your Angband play area is coerced to be rectangular.

I mean, I don't think that means Gwarl should be forced to support multi-window modalities, but nobody should ever think that the way they like to play is the right way to play.
Derakon is offline   Reply With Quote
Old May 2, 2017, 21:54   #26
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,166
Donated: $40
Pete Mack is on a distinguished road
OK, OK. I stand corrected. But I suspect using multiple windows is the less common desired outcome. That said, I don't like headers on a split up canvass, because I like to use a notebook for angband. It has limited space. (I also like to use the left side of the screen for the toolbar*, which messes up the Anband default layout pretty badly. The main window ALWAYS starts under the toolbar, and shifting it covers up the monster list and equipment windows.)

* to increase vertical real estate (by using the side of the screen) and avoid accidentally closing windows (by using the left.)
Pete Mack is offline   Reply With Quote
Old May 5, 2017, 15:17   #27
gameplay appreciator
Rookie
 
Join Date: Feb 2017
Posts: 24
gameplay appreciator is on a distinguished road
I have never actually attempted this and I do not even know it's possible in stock angband, but it is possible for a single program to feed multiple terminals. The terminals are basically just file descriptors from the program's point of view. ncurses has support for this, so it could be done if someone is interested in making it happen. It is probably possible to use some kind of terminal multiplexing utility to split the terminal output according to regions you might get with panels packed into one terminal.

Once you start trying to do this over ssh, you're going to have to go beyond the standard capabilities of ssh, though of course whatever you do locally could be packed into a script users could run as a client for your service.

Worth remembering, though, that the panel interface is actually bad. Letting this weird UI tick interfere with getting an online service running is letting the bad be the enemy of the good.
gameplay appreciator is offline   Reply With Quote
Old June 1, 2017, 15:24   #28
kandrc
Adept
 
Join Date: Dec 2007
Posts: 225
kandrc is on a distinguished road
Quote:
Originally Posted by gameplay appreciator View Post
I have never actually attempted this and I do not even know it's possible in stock angband, but it is possible for a single program to feed multiple terminals. The terminals are basically just file descriptors from the program's point of view. ncurses has support for this, so it could be done if someone is interested in making it happen. It is probably possible to use some kind of terminal multiplexing utility to split the terminal output according to regions you might get with panels packed into one terminal.

Once you start trying to do this over ssh, you're going to have to go beyond the standard capabilities of ssh, though of course whatever you do locally could be packed into a script users could run as a client for your service.

Worth remembering, though, that the panel interface is actually bad. Letting this weird UI tick interfere with getting an online service running is letting the bad be the enemy of the good.
Doing this over SSH would be no different than doing it locally, assuming you're working under X and you've turned on X forwarding. Fork some xterms, open() their associated /dev/ttys, profit.
kandrc is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 Tile Support Blue Baron Development 4 June 12, 2013 01:29
Fixing the X11 port? AnonymousHero Development 4 October 7, 2012 11:23
Angband under X11 Magnate Vanilla 3 December 13, 2009 21:56
X11 Specifying Fonts / Geometry chadhogg Vanilla 7 August 31, 2009 19:10
Sound on Linux with X11 is it available. tuppe666 Vanilla 10 September 13, 2007 16:42


All times are GMT +1. The time now is 06:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.