From 05b8e48c507d90a171c58fc5a57681c54d83070c Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Mon, 7 Jan 2013 09:26:41 +0000 Subject: [PATCH] Update pages and do some spellchecking --- tools/ct.md | 7 +++++-- tools/lackey.md | 9 ++++++++- tools/mkinit.md | 6 ++++++ tools/vpaste.md | 44 +++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 62 insertions(+), 4 deletions(-) diff --git a/tools/ct.md b/tools/ct.md index 9e04e2f..fa36a4b 100644 --- a/tools/ct.md +++ b/tools/ct.md @@ -1,3 +1,6 @@ -ct is a web template system written in C. It allows embedding C code within HTML (or anything else for that matter). The pages are then translated to C code and complied into an executable which can be by a web server though CGI. +ct is a web template system written in C. It allows embedding C code within +HTML (or anything else for that matter). The pages are then translated to C +code and complied into an executable which can be used by a web server though +CGI. -It is used on for the pileus.org and AWeather homepages. +It is used for the pileus.org and AWeather homepages. diff --git a/tools/lackey.md b/tools/lackey.md index 21ff073..e9ad9d2 100644 --- a/tools/lackey.md +++ b/tools/lackey.md @@ -1 +1,8 @@ -Lackey is a ncurses calendar client for viewing (and eventually editing) iCalendar files. +Lackey is a ncurses calendar client for viewing (and eventually editing) +iCalendar files. + +Source Code +----------- +Source code is available in git and [gitweb](/git/?p=lackey) + + git clone git://pileus.org/lackey diff --git a/tools/mkinit.md b/tools/mkinit.md index f84492b..d5a4b54 100644 --- a/tools/mkinit.md +++ b/tools/mkinit.md @@ -1,2 +1,8 @@ mkinit is an alternate init system that uses the Plan 9 mk program to perform dependency resolution and parallel startup. + +Source Code +----------- +Source code is available in git and [gitweb](/git/?p=mkinit) + + git clone git://pileus.org/mkinit diff --git a/tools/vpaste.md b/tools/vpaste.md index 5626f90..95ff6be 100644 --- a/tools/vpaste.md +++ b/tools/vpaste.md @@ -1,3 +1,45 @@ vpaste is a pastebin that uses Vim for syntax highlighting. - +The pastebin +------------ +* + +Source Code +----------- +Source code is available in git and [gitweb](/git/?p=vpaste) + + git clone git://pileus.org/vpaste + +Embedding examples +------------------ +vpaste allows pastes to be embedded in external websites: + + + +This can be done by including code in the script tag itself, as in the above +example, or by linking to an existing paste: + + + +A third way to use the embedding script is to include it once, possibly in the +in the header, and then call the `format_code('pre','vpaste')` function later +on to perform syntax highlighting on all the `
` tags.
+
+In this case, slightly more care must be taken to properly escape HTML
+characters scuh as `<` and `>`.
+
+
+	#include <stdio.h>
+
+	int main(int argc, char **argv)
+	{
+		printf("hello, world");
+		return 0;
+	}
+
+ + -- 2.43.2