Module Name:src
Committed By: dholland
Date: Fri May 28 03:55:46 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
I don't see any code I wrote left in here.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/games/cgram/cgram.c
Please note t
Module Name:src
Committed By: dholland
Date: Fri May 28 03:55:08 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
Restore return value of main, arbitrarily thrown away in -r1.4.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/games/cgram/c
Module Name:src
Committed By: rillig
Date: Sat May 1 20:29:23 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: rename local functions
The word 'cleanup' should have been named clean_up all along, but 'done'
is even shorter.
No functional change.
T
Module Name:src
Committed By: rillig
Date: Thu Apr 29 20:17:20 UTC 2021
Modified Files:
src/games/cgram: cgram.6 cgram.c
Log Message:
cgram: in hinting mode, show all correct characters in bold face
For almost solved cryptograms, this makes the punctuation stand out
less,
Module Name:src
Committed By: rillig
Date: Sun Apr 25 20:38:03 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: use ASCII-only implementation of functions
The function 'encode' already assumes that all letter characters are
contiguous and that there
Module Name:src
Committed By: rillig
Date: Sun Apr 25 20:19:19 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: provide usage on incorrect invocation
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/games/cgram/cgram.c
Please note t
Module Name:src
Committed By: rillig
Date: Sun Apr 25 20:14:29 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: conform to lint's strict bool mode, KNF
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/games/cgram/cgram.c
Please note
Module Name:src
Committed By: wiz
Date: Thu Apr 22 14:57:36 UTC 2021
Modified Files:
src/games/cgram: cgram.6 cgram.c
Log Message:
cgram: allow providing an input file instead of the random fortune
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/games/cgr
Module Name:src
Committed By: rillig
Date: Fri Feb 26 15:18:40 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: don't beep if the window is resized
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/games/cgram/cgram.c
Please note tha
Module Name:src
Committed By: rillig
Date: Fri Feb 26 15:15:34 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: place the 'solved' marker nearer to the text
This way, it cannot be overlooked as easily as before. It also doesn't
change the position of
Module Name:src
Committed By: rillig
Date: Fri Feb 26 14:55:37 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: make the 'solved' stand out more
Suggested by Weitian LI via [1].
[1] https://github.com/NetBSD/src/commit/efec6410b2b5a736
To generate
Module Name:src
Committed By: rillig
Date: Mon Feb 22 19:34:07 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: fix assertion when substituting at the end of the longest line
Reported by Weitian LI via GitHub.
Contrary to the patch suggested in [1],
Module Name:src
Committed By: rillig
Date: Mon Feb 22 17:36:42 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: add advanced cursor movement with tab, shift+tab, return
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/games/cgram/cgr
Module Name:src
Committed By: rillig
Date: Mon Feb 22 16:28:20 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: properly handle input errors
On both NetBSD and Cygwin, a missing /usr/bin/fortune would previously
continue since popen does not return an
Module Name:src
Committed By: rillig
Date: Sun Feb 21 22:21:56 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: allow navigation with KEY_PPAGE and KEY_NPAGE
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/games/cgram/cgram.c
Pleas
Module Name:src
Committed By: rillig
Date: Sun Feb 21 20:33:43 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: rewrite completely, fixing bugs and style
Fixed bugs:
Do not consider the puzzle solved if all letters in the visible area are
substituted
Module Name:src
Committed By: rillig
Date: Sun Feb 21 17:16:00 UTC 2021
Modified Files:
src/games/cgram: Makefile cgram.c
Log Message:
cgram: WARNS=6, use int for all coordinates
Eliminate some frequently occurring subexpressions during substitution.
No functional change
Module Name:src
Committed By: rillig
Date: Sun Feb 21 16:50:58 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: consistently use char for characters
Having to convert back and forth between char, unsigned char and int is
confusing. Just stay with cha
Module Name:src
Committed By: rillig
Date: Sun Feb 21 16:37:26 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: fix undefined behavior when pressing function keys
The key codes for function keys are outside of the "range representable
by an unsigned c
Module Name:src
Committed By: rillig
Date: Sun Feb 21 16:05:44 UTC 2021
Modified Files:
src/games/cgram: Makefile cgram.c
Log Message:
cgram: adjust style to survive lint's strict bool mode
The biggest change is the return type of substitute(). Before, 0 meant
success, n
Module Name:src
Committed By: rillig
Date: Sun Feb 21 15:42:21 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: sort includes
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/games/cgram/cgram.c
Please note that diffs are not public d
Module Name:src
Committed By: rillig
Date: Sun Feb 21 15:41:04 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: indent
With manual corrections afterwards:
- indent removes empty lines between statement and declaration. This
had been a syntax error
Module Name:src
Committed By: rillig
Date: Sun Feb 21 13:35:37 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: fix Home key for cursor navigation
Reported by liweitianux via GitHub.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/ga
Module Name:src
Committed By: rillig
Date: Thu Jul 2 19:11:01 UTC 2020
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram(6): use standard cursor keys, use standard shuffle algorithm
The previous shuffle algorithm asked for 100 random numbers, on average.
The ne
Module Name:src
Committed By: wiz
Date: Sun Aug 4 07:55:09 UTC 2013
Modified Files:
src/games/cgram: cgram.6
Log Message:
Add RCS Id.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/games/cgram/cgram.6
Please note that diffs are not public domain; they
Module Name:src
Committed By: dholland
Date: Sun Aug 4 05:42:47 UTC 2013
Added Files:
src/games/cgram: Makefile cgram.6 cgram.c pathnames.h
Log Message:
Add a curses gizmo for solving Sunday-paper-type cryptograms based on
substitution ciphers. It gets the cleartext from
26 matches
Mail list logo