Module Name:src
Committed By: rillig
Date: Wed May 10 12:30:27 UTC 2023
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: replace comments with code
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/games/cgram/cgram.c
Module Name:src
Committed By: rillig
Date: Wed May 10 12:30:27 UTC 2023
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: replace comments with code
No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/games/cgram/cgram.c
Module Name:src
Committed By: rillig
Date: Sun Jun 12 14:59:44 UTC 2022
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: allow cursor navigation with KEY_BEG as well
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/games/cgram/cgram.c
Module Name:src
Committed By: rillig
Date: Sun Jun 12 14:59:44 UTC 2022
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: allow cursor navigation with KEY_BEG as well
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/games/cgram/cgram.c
Module Name:src
Committed By: rillig
Date: Sat May 14 14:20:10 UTC 2022
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: clear bottom line of the screen at the end
Previously, the prompt line of the shell overwrote only part of the
prompt of cgram, the rest
Module Name:src
Committed By: rillig
Date: Sat May 14 14:20:10 UTC 2022
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: clear bottom line of the screen at the end
Previously, the prompt line of the shell overwrote only part of the
prompt of cgram, the rest
Module Name:src
Committed By: rillig
Date: Mon Mar 28 20:00:29 UTC 2022
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: define a word as a sequence of letters, not non-whitespace
Pressing Tab or Shift+Tab now advances to the next letter that could be
Module Name:src
Committed By: rillig
Date: Mon Mar 28 20:00:29 UTC 2022
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram: define a word as a sequence of letters, not non-whitespace
Pressing Tab or Shift+Tab now advances to the next letter that could be
Module Name:src
Committed By: nia
Date: Fri Oct 29 11:45:39 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram(6): realloc(x * y) -> reallocarr
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/games/cgram/cgram.c
Please note that
Module Name:src
Committed By: nia
Date: Fri Oct 29 11:45:39 UTC 2021
Modified Files:
src/games/cgram: cgram.c
Log Message:
cgram(6): realloc(x * y) -> reallocarr
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/games/cgram/cgram.c
Please note that
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
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
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
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
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.
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.
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
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
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: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
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
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
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
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
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
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
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
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
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
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: 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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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,
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
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
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
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
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
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
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
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
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: 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
61 matches
Mail list logo