Jilles Tjoelker
ca91ccc027
Use one select() call to both delay and detect keypresses.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@333 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-23 12:43:59 +00:00
Jilles Tjoelker
30973454e4
* Clean up a bit
...
* Close the ttyrec file when watching is done
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@332 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-23 12:30:24 +00:00
Jilles Tjoelker
e31ca985ee
Making watching more efficient:
...
* Don't uselessly read the ttyrec file at the start.
* Toggle the ttyrec file between buffered and non-buffered. Non-buffered I/O
via stdio can be very inefficient.
* Keep stdout buffered, and flush it when waiting for a key or more ttyrec
data.
Tested somewhat on my FreeBSD 4 machine.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@331 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-22 22:32:10 +00:00
Joshua Kwan
baa776486f
amend Changelog for 1.4.6
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@329 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-07-03 23:35:16 +00:00
Joshua Kwan
8f78e6128c
use libgen.h
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@328 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-07-03 23:34:13 +00:00
Joshua Kwan
03718b936e
setproctitle for teh lunix
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@327 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-07-03 19:19:28 +00:00
Joshua Kwan
2afc9476a4
no more editors/*
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@326 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-30 03:39:39 +00:00
Jilles Tjoelker
dc7b46bbfe
Use setproctitle(3), if available, to hide autologin password and show logged
...
in user and whether they are playing.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@325 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-28 19:41:06 +00:00
Jilles Tjoelker
20b453bfde
Include config.h in ttyrec.c (tried to use STREAMS on FreeBSD)
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@324 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-28 12:39:23 +00:00
Joshua Kwan
a39ceb7ae3
sane default for terminfo
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@323 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-23 17:46:17 +00:00
Joshua Kwan
033b20f11d
update
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@322 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-22 16:37:33 +00:00
Joshua Kwan
6fecd2b69d
hide all extra arguments, because they're probably -p
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@321 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-22 16:36:09 +00:00
Joshua Kwan
c712485ff1
change the logic a bit..
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@320 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-21 01:20:56 +00:00
Joshua Kwan
b094a201ac
use $CC -xM for dependencies on solaris, if you are using cc
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@319 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-21 00:59:51 +00:00
Joshua Kwan
366737941c
use cp -L for terminfo
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@318 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-20 08:32:06 +00:00
Joshua Kwan
554430ba81
add svn-commit.tmp
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@317 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:45:52 +00:00
Joshua Kwan
bb8f906ebe
add exec_prefix
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@316 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:45:04 +00:00
Joshua Kwan
0b57621dfa
woohoo
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@315 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:43:49 +00:00
Joshua Kwan
85d0f00089
all workie
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@314 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:41:52 +00:00
Joshua Kwan
5ef58e47d1
autogen
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@313 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:40:18 +00:00
Joshua Kwan
e1101f9fc0
add a autogen.sh, ignore it during make dist
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@312 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:39:06 +00:00
Joshua Kwan
95c77b4033
stuff
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@311 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:37:57 +00:00
Joshua Kwan
ce1bcadf26
tcc doesn't like
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@310 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:37:06 +00:00
Joshua Kwan
aa1a46543b
fix everything!
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@309 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:16:50 +00:00
Joshua Kwan
694a7ee6a2
bleh
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@308 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 20:06:22 +00:00
Jilles Tjoelker
51dc0fe191
* Add comment recommending autoconf 2.53
...
* Prefer -lcurses to -lncurses and don't try to find initscr in -ltermcap
* Still not works properly on Solaris (but I needed a few patches earlier
anyway)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@307 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:51:53 +00:00
Joshua Kwan
eee0d887dc
bum da bum
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@306 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:18:13 +00:00
Joshua Kwan
4946187dd7
autoconfize
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@305 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:17:02 +00:00
Joshua Kwan
9aee4e563f
various fixes
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@304 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:16:22 +00:00
Joshua Kwan
cda1f84bcc
stuff
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@303 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:04:36 +00:00
Joshua Kwan
c38b91b557
s/withval/configfile/
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@302 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 17:58:35 +00:00
Joshua Kwan
8e89cf0e65
autoconfize
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@301 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 17:57:29 +00:00
Joshua Kwan
9f4e5c65c7
various fixes
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@300 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-17 16:42:56 +00:00
Joshua Kwan
cabad714b5
update
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@298 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-14 18:08:28 +00:00
Joshua Kwan
cd3f89cbc9
assert
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@297 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-14 18:06:25 +00:00
Joshua Kwan
e07195ad82
wtf?
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@296 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-14 08:43:51 +00:00
Jilles Tjoelker
64b87d9457
Be more clear that GNU Make is required.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@295 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-13 16:10:12 +00:00
Joshua Kwan
8820083c0b
update VERSION to 1.4.5
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@294 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-13 03:09:30 +00:00
Joshua Kwan
924a306807
minor stuff
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@293 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-13 03:07:33 +00:00
Joshua Kwan
f6b9135c34
pretty serious bugfix
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@292 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-13 03:05:47 +00:00
Joshua Kwan
1a36469589
add USER-authentication support
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@291 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-12 00:11:18 +00:00
Jilles Tjoelker
9937d763bf
Um, I committed code to copy the savefile some time ago.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@290 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-04 17:18:30 +00:00
Joshua Kwan
f293d97c68
NULLify me if login fails
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@289 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-04-22 15:04:15 +00:00
Jilles Tjoelker
545e5e8721
Merge J. Ali Harlow's patch for NhExt support, with a few changes.
...
Tested a little whether nethack still works.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@288 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-04-21 16:22:55 +00:00
Joshua Kwan
4d45d4d263
move junk around, genericize things
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@287 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-04-03 19:27:42 +00:00
Jilles Tjoelker
61c7349a86
Change clear() to erase() for less flicker when refreshing watch list.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@286 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-21 16:53:07 +00:00
Jilles Tjoelker
2366c39b11
Some small updates for dgl-create-chroot.conf.example.* and ^W in mygetnstr().
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@285 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-20 19:48:56 +00:00
Jilles Tjoelker
3a0b88ee12
Implement ^W for delete word.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@284 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-20 19:36:57 +00:00
Jilles Tjoelker
4429498e0b
Update the date.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@283 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-17 14:05:44 +00:00
Jilles Tjoelker
eeb6f9edaa
Add possibility to backup the savefile before starting nethack.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@282 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-17 14:04:31 +00:00