sheet.git
9 years agorevert html5 elements usage
Mischa POSLAWSKY [Thu, 31 Dec 2009 17:11:21 +0000 (17:11 +0000)]
revert html5 elements usage

Breaks styling in MSIE upto version 8 (hurray).  Not worth it (yet) as
classes are nearly as descriptive.

Completely reverts v1.2-135-g9a4d896 [use html5 elements (section, footer)].

9 years agoupdate meta page descriptions of readline, source
Mischa POSLAWSKY [Sun, 20 Dec 2009 01:14:37 +0000 (01:14 +0000)]
update meta page descriptions of readline, source

9 years agouse html5 elements (section, footer)
Mischa POSLAWSKY [Fri, 18 Dec 2009 01:16:13 +0000 (01:16 +0000)]
use html5 elements (section, footer)

9 years agocommon html initialisation function
Mischa POSLAWSKY [Fri, 18 Dec 2009 00:22:40 +0000 (00:22 +0000)]
common html initialisation function

9 years agotermcol: hover title with decimal r,g,b values
Mischa POSLAWSKY [Fri, 4 Dec 2009 19:48:17 +0000 (19:48 +0000)]
termcol: hover title with decimal r,g,b values

9 years agotermcol: fix index numbers of 88-colour greyscale ramp
Mischa POSLAWSKY [Fri, 4 Dec 2009 19:37:54 +0000 (19:37 +0000)]
termcol: fix index numbers of 88-colour greyscale ramp

Loop with sequence number so index can be derived.  Replace measured colour
values with equivalent algorithm.

9 years agocountries: rename from cc
Mischa POSLAWSKY [Wed, 2 Dec 2009 21:26:04 +0000 (21:26 +0000)]
countries: rename from cc

9 years agoindex: link to countries and termcol
Mischa POSLAWSKY [Wed, 2 Dec 2009 21:24:10 +0000 (21:24 +0000)]
index: link to countries and termcol

9 years agotermcol: optional display of 256-colour space
Mischa POSLAWSKY [Wed, 2 Dec 2009 21:20:29 +0000 (21:20 +0000)]
termcol: optional display of 256-colour space

9 years agoupdate page meta descriptions
Mischa POSLAWSKY [Wed, 2 Dec 2009 21:10:42 +0000 (21:10 +0000)]
update page meta descriptions

9 years agotermcol: enable dark page styling
Mischa POSLAWSKY [Wed, 2 Dec 2009 20:55:11 +0000 (20:55 +0000)]
termcol: enable dark page styling

9 years agominor changes (reorder index link; unicode title)
Mischa POSLAWSKY [Wed, 2 Dec 2009 20:20:15 +0000 (20:20 +0000)]
minor changes (reorder index link; unicode title)

9 years agonormal link tags to refer keys to other pages
Mischa POSLAWSKY [Sat, 28 Nov 2009 02:09:49 +0000 (02:09 +0000)]
normal link tags to refer keys to other pages

Prefer standard HTML feature to Javascript onclick.

Link tags including (outside) the entire list items would allow further
customisation, but is only allowed as of HTML5, and currently renders
incorrectly in at least Opera 9.25, Safari 4.0.4, and MSIE 7.0.

9 years agorobots: disallow crawlers to sources of perl modules
Mischa POSLAWSKY [Sun, 22 Nov 2009 06:18:12 +0000 (06:18 +0000)]
robots: disallow crawlers to sources of perl modules

As far as they support * in Disallow.
Advantage of indexing all related modules is limited: source is (better)
available at official repository site.

9 years agocolemak keyboard map
Mischa POSLAWSKY [Sun, 22 Nov 2009 05:58:55 +0000 (05:58 +0000)]
colemak keyboard map

9 years agoforward old vi.shiar.net domains
Mischa POSLAWSKY [Sun, 22 Nov 2009 05:31:20 +0000 (05:31 +0000)]
forward old vi.shiar.net domains

Initial vi(m).shiar.* locations should always give a permanent redirect
to the preferred sheet.shiar.nl (/vi unless specified otherwise).

9 years agovi: rename vim page to generic /vi
Mischa POSLAWSKY [Sun, 22 Nov 2009 04:40:03 +0000 (04:40 +0000)]
vi: rename vim page to generic /vi

9 years agodigraphs: more memorable proposal for bullets
Mischa POSLAWSKY [Sat, 21 Nov 2009 01:19:39 +0000 (01:19 +0000)]
digraphs: more memorable proposal for bullets

9 years agounicode: improve dark page styling
Mischa POSLAWSKY [Sat, 21 Nov 2009 01:19:08 +0000 (01:19 +0000)]
unicode: improve dark page styling

9 years agored paperclip favicon
Mischa POSLAWSKY [Fri, 20 Nov 2009 20:42:05 +0000 (20:42 +0000)]
red paperclip favicon

A clip seems appropriate to identify _sheets_.

Original picture by Kyle MacDonald (CC-by 2.0); retrieved from
http://commons.wikimedia.org/wiki/File:One_red_paperclip.jpg
and made transparent (hints in clip.source.xcf) and stretched in Gimp.

9 years agositemap to help robots prioritise pages
Mischa POSLAWSKY [Fri, 20 Nov 2009 17:33:14 +0000 (17:33 +0000)]
sitemap to help robots prioritise pages

9 years agoadd meta data (language, description, keywords)
Mischa POSLAWSKY [Fri, 20 Nov 2009 17:24:24 +0000 (17:24 +0000)]
add meta data (language, description, keywords)

10 years agostyle/red: apply slight outline to header text
Mischa POSLAWSKY [Mon, 19 Oct 2009 21:05:24 +0000 (21:05 +0000)]
style/red: apply slight outline to header text

10 years agoindex: only use common stylesheet
Mischa POSLAWSKY [Mon, 19 Oct 2009 15:21:19 +0000 (15:21 +0000)]
index: only use common stylesheet

10 years agored styling for index and unicode
Mischa POSLAWSKY [Mon, 19 Oct 2009 15:15:06 +0000 (15:15 +0000)]
red styling for index and unicode

10 years agosource: optional syntax highlighting
Mischa POSLAWSKY [Mon, 19 Oct 2009 14:06:01 +0000 (14:06 +0000)]
source: optional syntax highlighting

Gracefully fall back to no markup if Text::VimColor cannot be used.

The latest version 0.11 contains a bug which makes it fail under at least
FCGI, so require a future release which will hopefully contain the fix at
https://rt.cpan.org/Ticket/Display.html?id=50646 (until then apply it
manually and just call it v0.12).

10 years agouse EscapeHTML() from PLP v3.23
Mischa POSLAWSKY [Mon, 19 Oct 2009 02:49:03 +0000 (02:49 +0000)]
use EscapeHTML() from PLP v3.23

Instead of manually defining (incorrect) quote() functions to escape HTML
attributes, use the new PLP feature EscapeHTML(), which was written for this
purpose.

10 years agominor code cosmetics (declare version first)
Mischa POSLAWSKY [Sun, 18 Oct 2009 18:40:03 +0000 (18:40 +0000)]
minor code cosmetics (declare version first)

10 years agoremember given style option in cookie
Mischa POSLAWSKY [Sun, 18 Oct 2009 18:36:10 +0000 (18:36 +0000)]
remember given style option in cookie

10 years agocommon include for setup and stylesheet output
Mischa POSLAWSKY [Sun, 18 Oct 2009 17:57:40 +0000 (17:57 +0000)]
common include for setup and stylesheet output

10 years agocc: improve abbreviations; show options legend
Mischa POSLAWSKY [Sun, 18 Oct 2009 14:28:51 +0000 (14:28 +0000)]
cc: improve abbreviations; show options legend

10 years agostyle: common setup for floating tables
Mischa POSLAWSKY [Sat, 17 Oct 2009 23:02:30 +0000 (23:02 +0000)]
style: common setup for floating tables

10 years agostyle: center by default
Mischa POSLAWSKY [Sat, 17 Oct 2009 21:31:05 +0000 (21:31 +0000)]
style: center by default

10 years agominor updates to footers (file-specific git links)
Mischa POSLAWSKY [Sat, 17 Oct 2009 18:48:14 +0000 (18:48 +0000)]
minor updates to footers (file-specific git links)

10 years agomplayer: more distinct categories
Mischa POSLAWSKY [Sat, 17 Oct 2009 15:48:42 +0000 (15:48 +0000)]
mplayer: more distinct categories

Change key classes so colours are more distinct.

10 years agoindex: link to mplayer page
Mischa POSLAWSKY [Tue, 13 Oct 2009 23:34:11 +0000 (23:34 +0000)]
index: link to mplayer page

10 years agomplayer: update footer to recent changes
Mischa POSLAWSKY [Tue, 13 Oct 2009 23:32:37 +0000 (23:32 +0000)]
mplayer: update footer to recent changes

10 years agomplayer: add command modes and option classes
Mischa POSLAWSKY [Tue, 13 Oct 2009 23:28:56 +0000 (23:28 +0000)]
mplayer: add command modes and option classes

10 years agomplayer: preliminary keyboard page of default bindings
Mischa POSLAWSKY [Wed, 29 Jul 2009 16:20:40 +0000 (16:20 +0000)]
mplayer: preliminary keyboard page of default bindings

MPlayer v1.0rc3 keys according to manpage.

10 years agolink to current page source in footers
Mischa POSLAWSKY [Tue, 13 Oct 2009 22:04:11 +0000 (22:04 +0000)]
link to current page source in footers

10 years agotermcol: code cleanup (mostly break wide lines)
Mischa POSLAWSKY [Tue, 13 Oct 2009 19:59:03 +0000 (19:59 +0000)]
termcol: code cleanup (mostly break wide lines)

10 years agounicode: replace Å by more educational ā
Mischa POSLAWSKY [Thu, 16 Jul 2009 00:09:56 +0000 (00:09 +0000)]
unicode: replace Å by more educational ā

Assume users can figure out capitals for themselves.  More useful is
mentioning something with a macron, which fits very well (similar to å:
usually a long aa).

10 years agocharset: ucd fallback for undigraphed characters
Mischa POSLAWSKY [Tue, 2 Jun 2009 10:30:24 +0000 (10:30 +0000)]
charset: ucd fallback for undigraphed characters

10 years agotermcol: add footer
Mischa POSLAWSKY [Tue, 13 Oct 2009 19:23:56 +0000 (19:23 +0000)]
termcol: add footer

10 years agotermcol: 256-colour tables (like 88)
Mischa POSLAWSKY [Tue, 13 Oct 2009 19:20:49 +0000 (19:20 +0000)]
termcol: 256-colour tables (like 88)

10 years agotermcol: float tables automatically
Mischa POSLAWSKY [Tue, 13 Oct 2009 19:20:38 +0000 (19:20 +0000)]
termcol: float tables automatically

10 years agotermcol: 88-colour tables (rgb cube, greyscale ramp)
Mischa POSLAWSKY [Tue, 13 Oct 2009 16:01:40 +0000 (16:01 +0000)]
termcol: 88-colour tables (rgb cube, greyscale ramp)

10 years agotermcol: adapt text colour to background luminosity
Mischa POSLAWSKY [Tue, 13 Oct 2009 16:00:09 +0000 (16:00 +0000)]
termcol: adapt text colour to background luminosity

Ensure legibility by using white text on perceived dark backgrounds.

10 years agotermcol: page to list unix terminal colours
Mischa POSLAWSKY [Sat, 9 May 2009 01:24:15 +0000 (01:24 +0000)]
termcol: page to list unix terminal colours

10 years agocc: alternate stylesheets
Mischa POSLAWSKY [Tue, 13 Oct 2009 03:53:35 +0000 (03:53 +0000)]
cc: alternate stylesheets

10 years agocc: names by default
Mischa POSLAWSKY [Tue, 13 Oct 2009 00:32:40 +0000 (00:32 +0000)]
cc: names by default

Abbreviated country names make for a better sheet.
Flag images have to be requested manually by getting ?show.

Makes most glyph styling apply to any table, including this one.
Enlarged text and uniform width remains .glyphs-specific, but colouring and
borders should be good to enforce for all (future) tables.

10 years agosource: list root files for index
Mischa POSLAWSKY [Mon, 12 Oct 2009 22:50:53 +0000 (22:50 +0000)]
source: list root files for index

10 years agosource: link stylesheet/js references
Mischa POSLAWSKY [Mon, 12 Oct 2009 22:18:20 +0000 (22:18 +0000)]
source: link stylesheet/js references

10 years agosource: support whitespace before module reference
Mischa POSLAWSKY [Mon, 12 Oct 2009 15:33:23 +0000 (15:33 +0000)]
source: support whitespace before module reference

In `require Some::Module` the module name includes leading space (unlike
`use` where it belongs to the preceding construct).  Support this so that
such references will be linked as well.

10 years agosource: alternate styling for syntax highlighting
Mischa POSLAWSKY [Mon, 12 Oct 2009 19:22:35 +0000 (19:22 +0000)]
source: alternate styling for syntax highlighting

10 years agosource: syntax highlighting in global stylesheet
Mischa POSLAWSKY [Sun, 4 Oct 2009 04:34:08 +0000 (04:34 +0000)]
source: syntax highlighting in global stylesheet

10 years agosource: various improvements
Mischa POSLAWSKY [Sun, 4 Oct 2009 01:08:57 +0000 (01:08 +0000)]
source: various improvements

10 years agosource: frontend to show code of any specified page
Mischa POSLAWSKY [Sat, 3 Oct 2009 18:57:05 +0000 (18:57 +0000)]
source: frontend to show code of any specified page

10 years agodigraphs: propose a few relocations for consistency
Mischa POSLAWSKY [Sun, 13 Sep 2009 21:25:48 +0000 (21:25 +0000)]
digraphs: propose a few relocations for consistency

These characters have really stupid digraphs.  Propose more memorable
aliases.

10 years agoreadline: mention common ^c/^z as bash extensions
Mischa POSLAWSKY [Wed, 19 Aug 2009 16:49:33 +0000 (16:49 +0000)]
readline: mention common ^c/^z as bash extensions

10 years agoindex: link to mutt page
Mischa POSLAWSKY [Sat, 16 May 2009 00:27:17 +0000 (00:27 +0000)]
index: link to mutt page

10 years agomutt: message flag keys
Mischa POSLAWSKY [Sat, 16 May 2009 00:22:09 +0000 (00:22 +0000)]
mutt: message flag keys

10 years agomutt: compose mode
Mischa POSLAWSKY [Sat, 16 May 2009 00:10:38 +0000 (00:10 +0000)]
mutt: compose mode

10 years agomutt: page, key classes, various updates
Mischa POSLAWSKY [Fri, 15 May 2009 22:34:25 +0000 (22:34 +0000)]
mutt: page, key classes, various updates

10 years agoupdate todo list
Mischa POSLAWSKY [Tue, 5 May 2009 23:50:34 +0000 (23:50 +0000)]
update todo list

10 years agomutt: search flags (/~)
Mischa POSLAWSKY [Wed, 13 May 2009 17:15:40 +0000 (17:15 +0000)]
mutt: search flags (/~)

Probably the most useful keys of all, as they are not explained on the
normal mutt help screen.

Link directly to /, as other leading chars aren't as interesting (nor
included).

10 years agocharset: minor unicode range fixes
Mischa POSLAWSKY [Mon, 11 May 2009 19:10:14 +0000 (19:10 +0000)]
charset: minor unicode range fixes

Some miscalculations leading to cells having too much width allocated.
Also define all columns so the number is explicit (making the table
validate(able)).

10 years agodefine charset first, before title
Mischa POSLAWSKY [Mon, 11 May 2009 18:52:56 +0000 (18:52 +0000)]
define charset first, before title

Name the used encoding as soon as possible.  This may actually be
mandatory in HTML5, but makes more sense in any case (except in
practise, where browsers use either the HTTP header or support meta
tags at any time).

Fix some invalid meta values (missing mime type).

10 years agodeclare type in HTML style tags
Mischa POSLAWSKY [Mon, 11 May 2009 18:47:11 +0000 (18:47 +0000)]
declare type in HTML style tags

Though all browsers default to css, it's not strictly valid.

10 years agoescape special html characters in key descriptions
Mischa POSLAWSKY [Mon, 11 May 2009 18:39:24 +0000 (18:39 +0000)]
escape special html characters in key descriptions

Descriptions are raw HTML, so add some forgotten entities to keep
everything valid.

10 years agounicode: minimal sample characters for greek, hebrew
Mischa POSLAWSKY [Wed, 6 May 2009 00:20:00 +0000 (00:20 +0000)]
unicode: minimal sample characters for greek, hebrew

10 years agostrike gzip from todo list
Mischa POSLAWSKY [Wed, 6 May 2009 00:19:31 +0000 (00:19 +0000)]
strike gzip from todo list

10 years agoforce keyboard width to prevent row breaks
Mischa POSLAWSKY [Tue, 5 May 2009 23:59:04 +0000 (23:59 +0000)]
force keyboard width to prevent row breaks

Prefer horizontal scrolling to mispositioned keys.

10 years agocharmap: revert double-sized key styling
Mischa POSLAWSKY [Tue, 5 May 2009 23:54:11 +0000 (23:54 +0000)]
charmap: revert double-sized key styling

Undo v1.2-41-g2fbd3bc [charset: enlarge glyph cells] (2009-04-21)
style change.

10 years agoreadline: mark readline v2.1 additions
Mischa POSLAWSKY [Tue, 5 May 2009 23:53:18 +0000 (23:53 +0000)]
readline: mark readline v2.1 additions

10 years agoreadline: add emacs C-x mode
Mischa POSLAWSKY [Tue, 5 May 2009 20:12:06 +0000 (20:12 +0000)]
readline: add emacs C-x mode

10 years agoflexible keyboard ?rows override option
Mischa POSLAWSKY [Tue, 5 May 2009 19:52:00 +0000 (19:52 +0000)]
flexible keyboard ?rows override option

10 years agoalter styling of ext/new key classes
Mischa POSLAWSKY [Tue, 5 May 2009 19:43:11 +0000 (19:43 +0000)]
alter styling of ext/new key classes

10 years agogeneric extension key classes: ext (bash, vim), new (vim7)
Mischa POSLAWSKY [Tue, 5 May 2009 16:47:43 +0000 (16:47 +0000)]
generic extension key classes: ext (bash, vim), new (vim7)

10 years agoreadline: mark keys setting the kill ring
Mischa POSLAWSKY [Tue, 5 May 2009 16:45:54 +0000 (16:45 +0000)]
readline: mark keys setting the kill ring

10 years agoreadline: describe/complete key modes
Mischa POSLAWSKY [Tue, 5 May 2009 16:00:27 +0000 (16:00 +0000)]
readline: describe/complete key modes

10 years agoreadline: rename from bash (which is just one application)
Mischa POSLAWSKY [Tue, 5 May 2009 13:48:52 +0000 (13:48 +0000)]
readline: rename from bash (which is just one application)

10 years agounicode: prefer shorter digraph codes
Mischa POSLAWSKY [Sat, 2 May 2009 17:21:14 +0000 (17:21 +0000)]
unicode: prefer shorter digraph codes

10 years agounicode: hide japanese, PUA arrows; omit alphabetic samples
Mischa POSLAWSKY [Sat, 2 May 2009 17:13:20 +0000 (17:13 +0000)]
unicode: hide japanese, PUA arrows; omit alphabetic samples

Require verbose option ?v to show uncommon/specific tables.

10 years agounicode: minor reordering
Mischa POSLAWSKY [Sat, 2 May 2009 17:08:31 +0000 (17:08 +0000)]
unicode: minor reordering

10 years agounicode: opposites table, more arrow pads
Mischa POSLAWSKY [Sat, 2 May 2009 16:55:44 +0000 (16:55 +0000)]
unicode: opposites table, more arrow pads

10 years agounicode: fix for non-digraph digraphs
Mischa POSLAWSKY [Sat, 2 May 2009 15:53:56 +0000 (15:53 +0000)]
unicode: fix for non-digraph digraphs

10 years agocc: add reserved codes
Mischa POSLAWSKY [Sat, 2 May 2009 14:24:47 +0000 (14:24 +0000)]
cc: add reserved codes

10 years agoonly set up input bindings for clickable keys
Mischa POSLAWSKY [Tue, 28 Apr 2009 00:43:30 +0000 (00:43 +0000)]
only set up input bindings for clickable keys

10 years agocc: page listing names for ISO-3166 country codes
Mischa POSLAWSKY [Tue, 28 Apr 2009 00:29:01 +0000 (00:29 +0000)]
cc: page listing names for ISO-3166 country codes

Initial data set up using:

perl -MDBIx::Simple -MData::Dump=pp -e 'pp({
DBIx::Simple->new("dbi:SQLite:dbname=locale.db")->query(q[
SELECT country.code_alpha2, country.name, continent.name
FROM country LEFT JOIN continent ON country.code_alpha2 = continent.country_code
ORDER BY country.code_alpha2
])->map_arrays(0)
})'

10 years agoapache config to compress html output if possible
Mischa POSLAWSKY [Mon, 27 Apr 2009 23:56:39 +0000 (23:56 +0000)]
apache config to compress html output if possible

Enable mod-deflate to bring down all pages to under 30kB for clients
accepting gzip compression (which should be most nowadays).  Do not
bother with crappy browsers maladvertising their abilities, since we're
mostly only supporting (modern) standards-compliant behaviour.

Savings in bandwidth and load time are very significant:
digraphs 159522 -> 27734 (17%) - saves nearly 20s on 56k!
vim      107160 -> 13800 (13%)
unicode   64588 ->  8418 (13%)
charset   58682 ->  8269 (14%)
nethack   13428 ->  3396 (25%)
index      1486 ->   828 (56%)

Not compressing stylesheets, because even for base.css this would only
save 8322 bytes, at the risk of browsers being unkind.  Maybe later.

10 years agoindex page to list and link all public pages
Mischa POSLAWSKY [Mon, 27 Apr 2009 14:11:12 +0000 (14:11 +0000)]
index page to list and link all public pages

10 years agoglobal changes to version declaration/display
Mischa POSLAWSKY [Wed, 22 Apr 2009 22:12:17 +0000 (22:12 +0000)]
global changes to version declaration/display

- prepend 'v' to version vars
- do not show modification time, since it often sends the wrong message
  to end-users
- link to repository at git.shiar.nl

10 years agoless: preliminary keyboard page for the less pager
Mischa POSLAWSKY [Sat, 7 Feb 2009 02:44:39 +0000 (02:44 +0000)]
less: preliminary keyboard page for the less pager

10 years agobash: keyboard page for bash shell defaults
Mischa POSLAWSKY [Sat, 14 Mar 2009 00:19:20 +0000 (00:19 +0000)]
bash: keyboard page for bash shell defaults

10 years agocharset: unicode plane overview (macro blocks)
Mischa POSLAWSKY [Wed, 22 Apr 2009 17:53:26 +0000 (17:53 +0000)]
charset: unicode plane overview (macro blocks)

10 years agocharset: enlarge glyph cells
Mischa POSLAWSKY [Tue, 21 Apr 2009 02:10:33 +0000 (02:10 +0000)]
charset: enlarge glyph cells

10 years agocharset: show unicode blocks requested by U$num
Mischa POSLAWSKY [Tue, 21 Apr 2009 02:10:08 +0000 (02:10 +0000)]
charset: show unicode blocks requested by U$num

10 years agocharset: legend to list common scripts and features
Mischa POSLAWSKY [Tue, 21 Apr 2009 01:35:45 +0000 (01:35 +0000)]
charset: legend to list common scripts and features

10 years agocharset: move unicode specifications to separate includes
Mischa POSLAWSKY [Mon, 20 Apr 2009 23:31:05 +0000 (23:31 +0000)]
charset: move unicode specifications to separate includes