about summary refs log tree commit diff stats
path: root/arc/charterm/test-charterm.rkt
blob: 04eb376ffa87b16c53b127fbfbffaf1f620b396f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#lang racket/base
;; For legal info, see file "charterm.rkt".

;; (require (planet neil/charterm:1))
(require "charterm.rkt")

(with-charterm
 (charterm-clear-screen)
 (charterm-cursor 10 5)
 (charterm-display "Hello, ")
 (charterm-bold)
 (charterm-display "you")
 (charterm-normal)
 (charterm-display ".")
 (charterm-cursor 1 1)
 (charterm-display "Press a key...")
 (let ((key (charterm-read-key)))
   (charterm-cursor 1 1)
   (charterm-clear-line)
   (printf "You pressed: ~S\r\n" key)))
/span>a></li> <li><a href="http://www.catb.org/esr/">Eric S. Raymond's</a></li> <li><a href="https://www.cs.helsinki.fi/u/torvalds/">Linus Torvalds</a></li> <li><a href="https://www.schneier.com/">Bruce Schneier</a></li> </ul> <h2>Security & Privacy</h2> <ul> <li><a href="https://riseup.net">Rise Up</a></li> <li><a href="https://ssd.eff.org/en">Surveillance Self-Defense</a></li> <li><a href="http://pastehtml.com/view/1dzvxhl.html">Security Handbook</a></li> <li><a href="http://www.phrack.org">Phrack</a></li> </ul> <h2>Libraries</h2> <ul> <li><a href="https://web.archive.org/web/20150516162427/http://zinelibrary.info/language/english">Zine Library</a></li> <li><a href="http://theanarchistlibrary.org/special/index">The Anarchist Library</a></li> <li><a href="http://www.freebookspot.es/Default.aspx">Free Book Spot</a></li> </ul> <a href="index.html">Documentation Index</a> <p>This is part of the c9 Manual. Copyright (C) 2016 c9 team. See the file <a href="fdl-1.3-standalone.html">Gnu Free Documentation License</a> for copying conditions.</p> </body> </html>