annotate README.txt @ 57:a2bbe406f570 default tip

which is no longer maintained; roll our mediocre own
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Feb 2017 10:40:34 -0800
parents 0930c6884f8a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 TextShaper
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 ===========
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
20
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
4 /text manipulation: a package to shape text blocks/
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
5
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
6 So you have a block of text ...
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
7 What do you want to do with it?!?
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
8
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
9 == Desired Functionality ==
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
10
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
11 - onelineit
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
12 - quoting
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
13 - dequoting (including e.g. +/-, diff-ish shit)
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
14 - remove whitespace
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
15 - removing timestamps
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
16 - removing/adding irc quote tags
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
17
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
18 == Previous work ==
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
19
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
20 /corpus of past programs -> consolidate/
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
21
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
22
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
23 Interface:
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
24 - library code
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
25 - (n)curses
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
26 - javascript/REST
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
27
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
28 Consider the pattern:
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
29
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
30 * things that add and/or remove a thing
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
31 * things that alter spacing
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
32
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
33
22
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
34 == Things to import from my fluxbox keys ==
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
35
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
36 From http://k0s.org/hg/config/file/tip/.fluxbox/keys ::
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
37
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
38 Control Mod1 o :ExecCommand xclip -o | /home/jhammel/python/onelineit.py | xclip -i # put the clipboard contents on one line
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
39 Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/pbmoz.py | xclip -i # pastebin
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
40 Control Mod1 q :ExecCommand xclip -o | /home/jhammel/python/quote.py | xclip -i # quote using >'s
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
41 Control Mod1 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
42
586631375670 STUB: README.txt textshaper/main.py
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
43
20
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
44 == Reference ==
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
45
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
46 Ubuntu packages:
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
47 - par (paragraph reformatter)
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
48
09f4c09d9617 remove cruft
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
49
0
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
50 ----
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
51
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
52 Jeff Hammel
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
53
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
54 http://k0s.org/hg/TextShaper
53cfd6e1ad0f initial commit,
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
55