History log of /openbsd/games/hack/hack.tty.c (Results 1 – 16 of 16)
Revision Date Author Comments
# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# aed906e4 09-Jan-2016 mestre <mestre@openbsd.org>

This diff is rather large, but it's just simply removing unnecessary headers
, remove some lint-style comments, add missing void to functions without args,
also some function prototypes (extern) were

This diff is rather large, but it's just simply removing unnecessary headers
, remove some lint-style comments, add missing void to functions without args,
also some function prototypes (extern) were missing their args, so I added them
as they were defined in hack.h

OK tb@ on separate diffs

show more ...


# 7146b7ce 07-Jan-2016 millert <millert@openbsd.org>

hack expects to be able to read ^Z as a normal character so disable
SUSP in the termios settings. Presumably this is how things worked
before the conversion to termios. Fixes suspend/resume in hack.


# 911134d2 27-Sep-2015 guenther <guenther@openbsd.org>

Annotate funcs with __attribute__((printf(...))) and clean up the fallout:
* lots of foo(str) --> foo("%s", str) transformations
* one totally insane foo(fmt, ap) --> vfoo(fmt, ap) conversion: how

Annotate funcs with __attribute__((printf(...))) and clean up the fallout:
* lots of foo(str) --> foo("%s", str) transformations
* one totally insane foo(fmt, ap) --> vfoo(fmt, ap) conversion: how did
this ever work?
* prefer const char[] over char* for static format strings, as it lets
gcc check the format and eliminates an unnecessary pointer

ok beck@

show more ...


# e432a807 15-Jan-2015 deraadt <deraadt@openbsd.org>

NR_OF_EOFS is a festering boil, lance & drain.
ok millert


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# a55fa95f 16-Apr-2005 deraadt <deraadt@openbsd.org>

use vprintf, as obvious; frederik.deweerdt@laposte.net


# 7a09557b 03-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# d07db98c 19-May-2003 pjanzen <pjanzen@openbsd.org>

A few more includes discovered in a -fno-builtin compile


# 4a5fbbc4 19-May-2003 pjanzen <pjanzen@openbsd.org>

De-register, ANSIfy, clean up.


# d25013f2 16-Mar-2003 camield <camield@openbsd.org>

hack is free

Thanks to Andries Brouwer, Jay Fenlason and the folks at CWI for their
efforts.

http://www.cwi.nl/~aeb/games/hack/hack.html

ok deraadt@


# 54da88e4 06-Aug-2001 pjanzen <pjanzen@openbsd.org>

Nothing but comments after #endif and #else; heko@iki.fi


# d0b779f3 28-Jan-2001 niklas <niklas@openbsd.org>

$OpenBSD$


# cff62e3c 24-Jul-2000 pjanzen <pjanzen@openbsd.org>

printf() and %s pedantry, from itojun channelling kris@freebsd


# 180acc8f 17-Jan-1997 millert <millert@openbsd.org>

r?index -> strr?chr


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree