File: README

package info (click to toggle)
wordgrinder 0.8-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,100 kB
  • sloc: ansic: 3,880; makefile: 194; xml: 13; sh: 10
file content (235 lines) | stat: -rw-r--r-- 9,222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
                               WORDGRINDER V0.8
                               ================

                           © 2007-2020 David Given
                                 2020-10-23

                                Unix version


INTRODUCTION
============

WordGrinder is a simple, Unicode-aware word processor that runs on the
console. It's designed to get the hell out of your way and let you write;
it does very little, but what it does it does well.

It supports basic paragraph styles, basic character styles, basic screen
markup, a menu interface that means you don't have to remember complex
key sequences, HTML import and export, and some other useful features.

WordGrinder does not require X. It runs in a terminal. (But there's a
version which uses X if you want it.)



INSTALLATION
============

WordGrinder needs the following packages installed:

 - ninja, the build tool. This is available from:
     https://ninja-build.org/

 - ncursesw, the wide-character version of curses. This is supplied with
   most systems.

 - an X development kit including Xft (if you want the X frontend). This
   is supplied with most systems.

 - zlib. You will already have this, but just on the offchance, it's here:
     http://www.zlib.net/

 - Optionally: Lua, the programming language. WordGrinder has its own built-
   in copy, but if you want to use the system Lua, install it and edit the
   Makefile. Lua is available from:
     http://www.lua.org/

 - a terminal emulator that supports UTF-8. gnome-terminal, konsole, xterm
   and rxvt-unicode do. rxvt and the Linux console don't (unless you use
   jfbterm). You will also need a decent set of Unicode fonts or WordGrinder
   will look funny.

Chances are you already have these in your distribution. Merely install these
packages:

  If you have Debian/Ubuntu:
    ninja-build libncursesw5-dev liblua5.2-dev zlib1g-dev libxft-dev

  If you have Fedora:
    lua lua-devel lua-libs lua-filesystem zlib-devel libXft-devel ncurses ncurses-devel ninja-build

  If you have OSX with Homebrew (ncurses only, sorry):
    ninja pkg-config

To build, simply do:

    make

To install, do:

    sudo make install PREFIX=/usr

(Change PREFIX to whatever you like; naturally, if you're not installing in a
global location, you don't need sudo.)

(There are various other configuration options in the Makefile.)

It is now ready to use.

Special note for compilation on Windows: do 'make windows' with the Mingw64
toolchain and nsis installed. You can either cross-compile from Linux, or
use Cygwin. You'll end up with the installer package in bin/. Yes, if you
prefer the ncurses version will compile natively for Cygwin.



USAGE
=====

Do this:

    wordgrinder

...to get a blank document. You can load an existing document with:

    wordgrinder README.wg

Please read README.wg; it contains the manual. There is also a man page,
which describes the command line interface.


If you use WordGrinder, please join the mailing list. This will allow you
to ask questions, hopefully receive answers, and get news about any
new releases. You can subscribe or view the archives at the following page:

    https://lists.sourceforge.net/lists/listinfo/wordgrinder-users



LICENSE
=======

WordGrinder contains a number of embedded libraries, described here. Not all of
them may be used by any given binary depending on your configuration. Please
look in the licenses directory for the full license text.

WordGrinder is © 2007-2020 David Given, and is available under the MIT license.

The distribution contains a copy of Lua 5.1. This is also MIT licensed and is ©
1994–2017 Lua.org, PUC-Rio. See http://lua.org for more information.

The distribution contains a copy of the Lpeg parser library. This is also MIT
licensed and is © 2007-2019 Lua.org, PUC-Rio. See
http://inf.puc-rio.br/~roberto/lpeg for more information.

The distribution contains a copy of LuaBitOp. This is also MIT licensed and is ©
2008-2012 Mike Pall. See http://bitop.luajit.org/ for more information.

The distribution contains a copy of the MiniZip library. This is © 1998-2010
Gilles Vollant and Mathis Svenson, and is available under the BSD license.

The distribution contains a copy of the SCOWL wordlist for British and
American-Canadian English. This is © Kevin Atkinson and J. Ross Beresford.
Please see the licenses/COPYING.Scowl file for the full license text.

The distribution contains a copy of the uthash and utlist libraries. This is ©
2003-2009 Troy D Hanson, and is available under a simplified BSD license.

The distribution contains a copy of the xpattern module. This is also MIT
licensed and is © 2008-2009 David Manura. See
http://lua-users.org/wiki/ExPattern for more information.

The distribution contains a (thoroughly hacked up) copy of the Lunamark
Markdown parser. This is also MIT licensed and is © 2009-2016 John MacFarlane.
See https://github.com/jgm/lunamark for more information.



REVISION HISTORY
================

WordGrinder 0.8: 2020-10-13: started out as a bugfix release but then I got
carried away. New features: a paragraph style for numbered bulletpoints; more
look-and-feel options; the caret now flashes; basic template support; word
count display of selected text; custom autosave directory; autocompletion in
file dialogues; Windows console version; recent documents list; Markdown
import. Bugfixes: lots of import and export fixes (and tests so that they stay
fixed); spellchecker fixes; selection position fixes; keyboard entry fixes on
Windows; graphics fixes on Windows; filesystem fixes on Windows; assorted other
minor tweaks.

WordGrinder 0.7.2: 2018-11-29: bugfix release. Pasting immediately after
loading a document no longer hard crashes. Don't buffer overrun if given
invalid unicode. Global settings are now updated correctly (in several
places). Fix a data loss situation when saving fails.

WordGrinder 0.7.1: 2017-11-02: correct and cleaner license reporting;
rearrange the source so that we can avoid shipping upstream dependencies
if we want. No actual code changes.

WordGrinder 0.7: 2017-10-30: new plain text diffable file format; Lua 5.3
support; better locale detection; dense paragraphs mode; lots of bugfixes.
Official OSX support. New (better, hopefully) build system.

WordGrinder 0.6: 2015-04-18: New X11 frontend (actual bold and italic on
Linux machines!); shift+cursor keys starts a selection; more HTML emission
fixes; non-document persistent settings; global key maps (currently via a
configurationfile); search works properly across words with markup; italic
display in a terminal (if you have a new enough version of ncurses); more
traditional charstyle selection (you can press ^B at the beginning of words
now!); more traditional selection model (shift+cursor keys works now!); fix
crash on loading very large .wg files; smart quote support; more efficient
files; undo and redo; spellchecker; colour configuration on X11 and Windows;
MarkDown export.

WordGrinder 0.5.2.1: 2015-02-21: Minor bugfixes: build system fixes; updated
minizip to a version which builds better on Ubuntu; OSX Homebrew build system;
delete word; subsection counts now correct; HTML PRE emission issue corrected.

WordGrinder 0.5.1: 2013-12-08: Major overhaul: fixed hideous file corruption
bug; much improved Windows text renderer; bold; page count; widescreen mode;
UI style overhaul; many other minor bugfixes. Many thanks to Connor Karatzas
for extensive Windows testing.

WordGrinder 0.4.1: 2013-04-14: Minor bugfixes and build optimisation in aid
of the Debian package.

WordGrinder 0.4: 2013-03-24: Major overhaul: OpenDocument import/export,
new much smaller file format, a proper Windows port, updated to Lua 5.2,
switched away from Prime Mover to make (sob), much bug fixage.

WordGrinder 0.3.3: 2009-12-13: Fixed a bug when searching for or replacing
strings containing multiple whitespace characters (that was triggering the
crash handler). Thanks to lostnbronx for the report. Added RAW and PRE
paragraph styles. Cleaned up HTML import. Add customisability to HTML export.
Relicensed to MIT.

WordGrinder 0.3.2: 2008-11-03: Fixed a very simple and very stupid typo that
caused a crash if you tried to turn autosave on. Added a simple exception
handler to try and prevent data loss on error in the future.

WordGrinder 0.3.1: 2008-09-08: Minor bugfix revision to correct a few minor
but really embarrassing crashes problems in 0.3: no crash on HTML import, no
crash on File->New. Also some minor cosmetic fixes I noticed while doing the
work.

WordGrinder 0.3: 2008-09-07: Lots more bug fixes. Added LaTeX export; troff
export; next/previous word/character; table of contents; autosave; scrapbook;
Windows console port. Fixed some issues with key binding. Lua bytecode is now
embedded in the executable, making it self contained. --lua option. General
overhaulage.

WordGrinder 0.2: 2008-01-13: Lots of bug fixes. Added word count. Added about
dialogue.

WordGrinder 0.1: 2007-10-14: Initial release.



THE AUTHOR
==========

WordGrinder was written by me, David Given. You may contact me at
dg@cowlark.com, or visit my website at http://www.cowlark.com. There may or
may not be anything interesting there.