annotate example/exampleSession.txt @ 115:0820c42ea23e

new README
author catherine@Elli.myhome.westell.com
date Sat, 25 Oct 2008 20:47:53 -0400
parents 7d215852f9a6
children 33cd0e1bebb8
rev   line source
109
78c4db4c2045 all done but the proper packaging
catherine@dellzilla
parents: 108
diff changeset
1 This is cut-and-pasted from an interactive example.py session.
78c4db4c2045 all done but the proper packaging
catherine@dellzilla
parents: 108
diff changeset
2 Calling `example.py -t` runs it as a series of unit tests,
78c4db4c2045 all done but the proper packaging
catherine@dellzilla
parents: 108
diff changeset
3 verifying that the same output is still returned.
78c4db4c2045 all done but the proper packaging
catherine@dellzilla
parents: 108
diff changeset
4
115
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
5 (Cmd) help
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
6
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
7 Documented commands (type help <topic>):
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
8 ========================================
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
9 _load edit history li load r save set shortcuts speak
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
10 ed hi l list orate run say shell show
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
11
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
12 Undocumented commands:
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
13 ======================
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
14 EOF cmdenvironment eof exit help q quit
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
15
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
16 (Cmd) help say
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
17 Repeats what you tell me to.
106
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
18 Usage: speak [options] arg
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
19
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
20 Options:
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
21 -h, --help show this help message and exit
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
22 -p, --piglatin atinLay
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
23 -s, --shout N00B EMULATION MODE
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
24 -r REPEAT, --repeat=REPEAT
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
25 output [n] times
115
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
26
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
27 (Cmd) say goodnight, Gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
28 goodnight, Gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
29 (Cmd) say -ps --repeat=5 goodnight, gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
30 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
31 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
32 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
33 (Cmd) set
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
34 prompt: (Cmd)
106
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
35 editor: gedit
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
36 echo: False
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
37 maxrepeats: 3
115
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
38 (Cmd) set maxrepeats 5
106
2d3232693807 prompt-setting quirks
catherine@dellzilla
parents:
diff changeset
39 maxrepeats - was: 3
115
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
40 now: 5
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
41 (Cmd) say -ps --repeat=5 goodnight, gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
42 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
43 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
44 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
45 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
46 OODNIGHT, GRACIEGAY
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
47 (Cmd) orate these are the
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
48 > times that
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
49 > try mens' souls
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
50 >
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
51 >
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
52 these are the times that try mens' souls
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
53 (Cmd) & we made a shortcut!
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
54 we made a shortcut!
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
55 (Cmd) history
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
56 -------------------------[1]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
57 help
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
58 -------------------------[2]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
59 help say
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
60 -------------------------[3]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
61 say goodnight, Gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
62 -------------------------[4]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
63 say -ps --repeat=5 goodnight, gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
64 -------------------------[5]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
65 set
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
66 -------------------------[6]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
67 set maxrepeats 5
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
68 -------------------------[7]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
69 say -ps --repeat=5 goodnight, gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
70 -------------------------[8]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
71 orate these are the
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
72 times that
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
73 try mens' souls
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
74
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
75
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
76 -------------------------[9]
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
77 & we made a shortcut!
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
78 (Cmd) run 3
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
79 say goodnight, Gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
80 goodnight, Gracie
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
81 (Cmd) say put this in a file > text.txt
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
82 (Cmd) say < text.txt
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
83 put this in a file
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
84 (Cmd) set prompt "---> "
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
85 prompt - was: (Cmd)
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
86 now: --->
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
87 ---> say goodbye
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
88 goodbye
0820c42ea23e new README
catherine@Elli.myhome.westell.com
parents: 113
diff changeset
89 --->