Up to Main Index Up to Journal for June, 2022
JOURNAL FOR SUNDAY 5TH JUNE, 2022
______________________________________________________________________________
SUBJECT: Terminal changes out on public dev
DATE: Sun 5 Jun 20:14:59 BST 2022
TL;DR — The new terminal changes are now out on the public dev branch for
initial testing…
I’ve just updated the public dev branch with the new terminal changes so that
others can have a play and make comments. If all goes well look for a release
soon — it’s quite a significant change and I think everyone will be eager to
get their hands on them.
What are the changes?
There is now an ugly “hit any key…” message displayed, unless you are in the
slower character at a time mode. This covers up some nasty behind the curtain
shenanigans:
Will try to determine terminal size,
otherwise 80x25 will be assumed.
Hit enter to continue...
Once you hit enter you’ll see a somewhat familiar screen:
────────────────────────────────────────────────────────────────────────────
WolfMUD Copyright 1984-2022 Andrew 'Diddymus' Rolfe
World
Of
Living
Fantasy
Welcome to WolfMUD!
Enter your account ID or just press enter to create a new account, enter
QUIT to leave the server.
█Terminal: 78x25████████████████████████████████████████████████████████████
────────────────────────────────────────────────────────────────────────────
Once you log in and start playing all commands are typed into the lower area,
message are displayed at the top. When you issue a command it will appear in
the top area along with the response:
────────────────────────────────────────────────────────────────────────────
Welcome back Diddymus!
[North bridge]
You are standing on the west side of an incomplete bridge. By the looks of
it the city wants to expand onto the far banks of the river. Down river to
the south you see another bridge in a similar state of construction.
You see exits: west
>w
[Street by north bridge]
You are at a junction in the street. To the east you see the north bridge
over the city's river. South a path leads along the riverbank. West the
street goes back into the city.
You see a sweet flower girl here.
You see exits: east, south, west
You hear shouting nearby.
The sweet flower girl says to you: Hello!
You hear a sneeze.
The sweet flower girl sneezes.
█Health: 30/30██████████████████████████████████████████████████████████████
w
────────────────────────────────────────────────────────────────────────────
If you are typing a command and a new message is displayed, your command no
longer gets chopped up onto separate input lines ;)
If you lose or gain health, the status line will update automatically.
At the moment resizing of the terminal window is not supported :( Once you
connect resizing the terminal will do bad things…
The botrunner has been updated and is working with the new terminal. Testing
with 64,000 bots memory is still 1.2Gb for the server and CPU usage averages
between 130-170% on my i5-2400 @ 3.1Ghz. Network traffic will be increased due
to the sending of more ANSI escape sequences to control the terminal.
Oh! One last thing, text wraps correctly for the width of the terminal.
However, the last two character positions are not used as Windows TELNET will
draw them under the right scroll bar — so everyone has to suffer. Also the
COMMANDS and DUMP commands have not been updated to use the full available
width yet.
Changes have been tested with Linux TELNET, Windows TELNET and putty.
Please try out the changes if you can. Feedback is important and I listen to
all of you who contact me: diddymus@wolfmud.org
--
Diddymus
Up to Main Index Up to Journal for June, 2022