Commit bb5d4e1a authored by Richard M. Stallman's avatar Richard M. Stallman

Initial revision

parent acb93e31
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename tasks.info
@settitle GNU Task List
@c UPDATE THIS DATE WHENEVER YOU MAKE CHANGES!
@set lastupdate 16 July 1993
@c %**end of header
@setchapternewpage off
@ifinfo
Copyright (C) 1993 Free Software Foundation
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
@ignore
Permission is granted to process this file through TeX and print the
results, provided the printed document carries copying permission
notice identical to this one except for the removal of this paragraph
(this paragraph not being relevant to the printed manual).
@end ignore
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation approved
by the Free Software Foundation.
@end ifinfo
@titlepage
@title GNU Task List
@author Richard Stallman
@author last updated @value{lastupdate}
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 1993 Free Software Foundation
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation approved
by Free Software Foundation.
@end titlepage
@ifinfo
@node Top, Documentation, (dir), (dir)
@top Version
Last updated @value{lastupdate}.
@end ifinfo
Check with gnu@@prep.ai.mit.edu, for a possibly more current copy.
This task list is not exclusive; any other useful program might be a
good project--but it might instead be something we already have, so
check with gnu@@prep before you start writing it.
@menu
* Documentation::
* Unix-related projects::
* Kernel-related projects::
* Extensions to existing GNU software::
* X windows projects::
* Other random projects::
* Compilers for other batch languages::
* Games and recreations::
@end menu
If you start working steadily on a project, please let gnu@@prep know.
We might have information that could help you; we'd also like to send
you the GNU coding standards.
Because of the natural tendency for most volunteers to write
programming tools or programming languages, we have a comparative
shortage of applications useful for non-programmer users. Therefore,
we ask you to consider writing such a program.
In general, a new program that does a completely new job advances the
GNU project more than an improvement to an existing program.
@node Documentation, Unix-related projects, Top, Top
@chapter Documentation
We very urgently need documentation for some parts of the system
that already exist or will exist very soon:
@itemize @bullet
@item
A C reference manual. (RMS has written half of one which you could
start with).
@item
A manual for Ghostscript.
@item
A manual for CSH.
@item
A manual for PIC (the graphics formatting language).
@item
A manual for Perl. (The manual that exists is not free, and
is thus not available to be part of the GNU system.)
@item
A manual for Oleo.
@item
A book on how GCC works and why various machine descriptions
are written as they are.
@item
A manual for programming X-window applications.
@item
Manuals for various X window managers.
@item
Reference cards for those manuals that don't have them: Gawk, C
Compiler, Make, Texinfo, Termcap and maybe the C Library.
@item
Many utilities need documentation, including @code{grep}, @code{cpio},
@code{find}, @code{less}, and the other small utilities.
@end itemize
@node Unix-related projects, Kernel-related projects, Documentation, Top
@chapter Unix-related projects
@itemize
@item
We could use an emulation of Unix @code{spell}, which would run by
invoking @code{ispell}.
@item
Less urgent: @code{diction}, @code{explain}, @code{style}.
@item
An improved version of the POSIX utility @code{pax}. There is one on
the usenet, but it is said to be poorly written. Talk with
mib@@gnu.ai.mit.edu about this project.
@item
Modify the GNU @code{dc} program to use the math routines of GNU
@code{bc}.
@item
A @code{grap} preprocessor program for @code{troff}.
@item
Various other libraries.
@item
An emulation of SCCS that works using RCS.
@end itemize
@node Kernel-related projects, Extensions to existing GNU software, Unix-related projects, Top
@chapter Kernel-related projects
@itemize
@item
An over-the-ethernet debugger that will allow the kernel to be
debugged from GDB running on another machine.
@item
A shared memory X11 server to run under MACH is very desirable. The
machine specific parts should be kept well separated.
@end itemize
@node Extensions to existing GNU software, X windows projects, Kernel-related projects, Top
@chapter Extensions to existing GNU software
@itemize
@item
Enhance GCC. See files PROJECTS and PROBLEMS in the GCC distribution.
@item
GNU @code{sed} probably needs to be rewritten completely just to make it
cleaner.
@item
Add a few features to GNU @code{diff}, such as handling large input
files without reading entire files into core.
@item
Extend GDB with an X-based graphical interface better than @code{xxgdb}.
@item
An @code{nroff} macro package to simplify @code{texi2roff}.
@item
A queueing system for the mailer Smail that groups pending work by
destination rather than by original message. This makes it possible
to schedule retries coherently for each destination. Talk to
tron@@veritas.com about this.
@item
Cross-referencing, flow graph, and execution trace programs for C and
other languages, like @code{cxref}, @code{cflow}, and @code{ctrace}.
@end itemize
@node X windows projects, Other random projects, Extensions to existing GNU software, Top
@chapter X windows projects
@itemize
@item
An emulator for Macintosh graphics calls on top of X Windows.
@item
An emulator for Microsoft windows calls on top of X Windows. (A
commercial program to do this took just three months to write.)
@item
A music playing and editing system.
@item
A program to edit dance notation (such as labanotation) and display
dancers moving on the screen.
@item
A library for displaying circle-shaped menus with X windows.
@item
A program to display and edit Hypercard stacks.
@item
An interface-builder program to make it easy to design graphical
interfaces for applications. This could work with the dynamic linker
DLD and C++, loading in the same class definitions that will be used
by the application program.
@item
A desktop program with icons and such, for X-windows.
@item
A paint program, supporting both bitmap-oriented operations and
component-oriented operations. @code{xpaint} exists, but isn't very
usable.
@end itemize
@node Other random projects, Compilers for other batch languages, X windows projects, Top
@chapter Other random projects
If you think of others that should be added, please
send them to gnu@@prep.ai.mit.edu.
@itemize
@item
[This seems to be being done:]
A program to convert Postscript to plain ASCII text. Ghostscript will
soon have a mode to output all the text strings in a document, each with
its coordinates. You could write a program to start with this output
and ``layout the page'' in ASCII. The program will be both easier and
more useful if you don't worry pedantically about how the output text
should be formatted. Instead, try to make it look reasonable as plain
ASCII.
@item
A program to convert compiled programs represented in OSF ANDF
(``Architecture Neutral Distribution Format'') into ANSI C.
@item
An imitation of Page Maker or Ventura Publisher.
@item
An imitation of @code{dbase2} or @code{dbase3} (How dbased!)
@item
A program to reformat Fortran programs in a way that is pretty.
@item
A bulletin board system. There are a few free ones, but they don't have
all the features that people want in such systems. It would make sense
to start with an existing one and add the other features.
@item
A general ledger program.
@item
A single command language that could be suitable for use in a shell, in
GDB for programming debugging commands, in a program like @code{awk}, in
a calculator like @code{bc}, and so on. The fact that all these
programs are similar but different in peculiar details is a great source
of confusion. We are stuck with maintaining compatibility with Unix in
our shell, @code{awk}, and @code{bc}, but nothing prevents us from
having alternative programs using our new, uniform language. This would
make GNU far better for new users.
@item
A program to typeset C code for printing.
For ideas on what to do, see the forthcoming book,
@display
Human Factors and Typography for More Readable Programs,
Ronald M. Baecker and Aaron Marcus,
Addison-Wesley, ISBN 0-201-10745-7
@end display
(I don't quite agree with a few of the details they propose.)
@item
Speech-generation programs (there is a program from Brown U that you
could improve).
@item
Speech-recognition programs (single-speaker, disconnected speech).
@item
Scientific mathematical subroutines, including clones of SPSS.
@item
Statistical tools.
@item
Software to replace card catalogues in libraries.
@item
Grammar and style checking programs.
@item
An implementation of the S language.
@item
A translator from Scheme to C.
@item
Optical character recognition programs; especially if suitable for
scanning documents with multiple fonts and capturing font info as well
as character codes. This may not be very difficult if you let it
@emph{train} on part of the individual document to be scanned, so as to
learn what fonts are in use in that document. We would particularly
like to scan the Century Dictionary, an unabridged dictionary now in the
public domain.
You don't need scanning hardware to work on OCR. We can send you
bitmaps you can use as test data.
@item
A program to scan a line drawing and convert it to Postscript.
@item
A program to recognize handwriting.
@item
A pen based interface.
@item
Software suitable for creating virtual reality user interfaces.
@item
CAD software, such as a vague imitation of Autocad.
@item
Software for displaying molecules.
@item
Software for comparing DNA sequences, and finding matches and
alignments.
@end itemize
@node Compilers for other batch languages, Games and recreations, Other random projects, Top
@chapter Compilers for other batch languages
Volunteers are needed to write parsers/front ends for languages such
as Algol 60, Algol 68, PL/I, or whatever, to be used with the
code generation phases of the GNU C compiler. (C++ is done, and
Ada, Fortran, Pascal and Modula are being worked on.)
@node Games and recreations, , Compilers for other batch languages, Top
@chapter Games and recreations
@itemize
@item
Video-oriented games should work with the X window system.
@item
Empire (there is a free version but it needs upgrading)
@item
Imitations of popular video games:
@itemize
@item
Space war, Asteroids, Pong, Columns.
@item
Defending cities from missiles.
@item
Plane shoots at lots of other planes.
@item
Wizard fights fanciful monster.
@item
A golf game.
@item
Program a robot by sticking building blocks together,
then watch it explore a world.
@item
Biomorph evolution (as in Scientific American).
@item
A program to display effects of moving at relativistic speeds.
@end itemize
@item
Intriguing screen-saver programs to make interesting pictures.
Other such programs that are simply entertaining to watch.
For example, an aquarium.
@end itemize
We do not need @code{rogue}, as we have @code{hack}.
@contents
@bye
;;; avoid.el -- make mouse pointer stay out of the way of editing.
;;; Copyright (C) 1993 Free Software Foundation, Inc.
;; Author: Boris Goldowsky <boris@cs.rochester.edu>
;; Keywords: mouse
;; $Revision: 1.10 $
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
;;; Commentary:
;;;
;;; For those who are annoyed by the mouse pointer obscuring text,
;;; this mode moves the mouse pointer - either just a little out of
;;; the way, or all the way to the corner of the frame.
;;; To use, load or evaluate this file and type M-x mouse-avoidance-mode .
;;; To set up permanently, put this file on your load-path and put the
;;; following in your .emacs:
;;;
;;; (cond (window-system
;;; (require 'avoid)
;;; (mouse-avoidance-mode 'cat-and-mouse)))
;;;
;;; The 'animate can be 'jump or 'banish or 'protean if you prefer.
;;;
;;; For added silliness, make the animatee animate...
;;; put something similar to the following into your .emacs:
;;;
;;; (cond (window-system
;;; (setq x-pointer-shape
;;; (eval (nth (random 4)
;;; '(x-pointer-man x-pointer-spider
;;; x-pointer-gobbler x-pointer-gumby))))
;;; (set-mouse-color (cdr (assoc 'mouse-color (frame-parameters))))))
;;;
;;; For completely random pointer shape, replace the setq above with:
;;; (setq x-pointer-shape (mouse-avoidance-random-shape))
;;;
;;; Bugs & Warnings:
;;;
;;; - THIS CODE IS FOR USE WITH FSF EMACS 19.21 or later.
;;; It can cause earlier versions of emacs to crash, due to a bug in the
;;; mouse code.
;;;
;;; - Using this code does slow emacs down. "banish" mode shouldn't
;;; ever be too bad though, and on my workstation even "animate" doesn't
;;; seem to have a noticable effect.
;;;
;;; - There are some situations where it doesn't do what you expect,
;;; notably when there are long wrapped lines in the buffer. Since
;;; there is no low-level command for finding point's position
;;; on the screen, it can fail to move the pointer when on such a line.
;;;
;;; Copyright (c) 1993 Free Software Foundation
;;; This program is free software; you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 2, or (at your option)
;;; any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; A copy of the GNU General Public License can be obtained from this
;;; program's author or from the Free Software Foundation, Inc., 675
;;; Mass Ave, Cambridge, MA 02139, USA.
;;; LCD Archive Entry:
;;; avoid|Boris Goldowsky|boris@cs.rochester.edu|
;;; Keep mouse pointer away from cursor|
;;; $Date: 93/11/22 15:34:50 $ |$Revision: 1.10 $||
;;; Credits:
;;; This code was helped by all those who contributed suggestions, fixes, and
;;; additions:
;;; Joe Harrington (and his advisor), for the original inspiration
;;; Ken Manheimer, for dreaming up the Protean mode
;;; Richard Stallman, for the awful cat-and-mouse pun, among other things
;;; Mike Williams, Denis Howe, Bill Benedetto, Chris Moore, Don Morris,
;;; Simon Marshall, and M.S. Ashton, for their feedback.
;;;
;;; Code:
(provide 'avoid)
(defvar mouse-avoidance-mode nil
"Value is t or a symbol if the mouse pointer should avoid the cursor.
See function mouse-avoidance-mode for possible values. Changing this
variable is NOT the recommended way to change modes; use the function
instead.")
(defvar mouse-avoidance-nudge-dist 4
"*Average distance that mouse will be moved when approached by cursor.
Only applies in mode-avoidance-modes `animate' and `jump'.")
(defvar mouse-avoidance-nudge-var 3
"*Variability of mouse-avoidance-nudge-dist (which see).")
(defvar mouse-avoidance-animation-delay .01
"Delay between animation steps, in seconds.")
(defvar mouse-avoidance-threshhold 5
"*Mouse-pointer's flight distance.
If the cursor gets closer than this, the mouse pointer will move away.
Only applies in mouse-avoidance-modes `animate' and `jump'.")
;; Internal variables for mouse-avoidance-random-shape
(defvar mouse-avoidance-pointer-shapes nil)
(defvar mouse-avoidance-n-pointer-shapes 0)
;;; Functions:
(defun mouse-avoidance-too-close-p ()
;; Return t if mouse pointer and point cursor are too close.
;; Acceptable distance is defined by mouse-avoidance-threshhold.
(let ((mouse (mouse-position)))
(and (car (cdr mouse))
(< (abs (- (car (cdr mouse)) (current-column)))
mouse-avoidance-threshhold)
(< (abs (- (cdr (cdr mouse))
(+ (car (cdr (window-edges)))
(count-lines (window-start) (point)))))
mouse-avoidance-threshhold))))
(defun mouse-avoidance-banish-mouse ()
;; Put the mouse pointer in the upper-right corner of the current frame.
(set-mouse-position (selected-frame) (1- (frame-width)) 0))
(defun mouse-avoidance-nudge-mouse ()
;; Push the mouse a little way away, possibly animating the move
(let* ((cur (mouse-position))
(deltax (* (+ mouse-avoidance-nudge-dist
(random mouse-avoidance-nudge-var))
(if (zerop (random 2)) 1 -1)))
(deltay (* (+ mouse-avoidance-nudge-dist
(random mouse-avoidance-nudge-var))
(if (zerop (random 2)) 1 -1))))
(if (or (eq mouse-avoidance-mode 'animate)
(eq mouse-avoidance-mode 'proteus))
(let ((i 0.0)
(color (cdr (assoc 'mouse-color (frame-parameters)))))
(while (<= i 1)
(set-mouse-position
(car cur)
(mod (+ (car (cdr cur)) (round (* i deltax))) (window-width))
(mod (+ (cdr (cdr cur)) (round (* i deltay))) (window-height)))
(setq i (+ i (/ 1.0 mouse-avoidance-nudge-dist)))
(if (eq mouse-avoidance-mode 'proteus)
(progn
(setq x-pointer-shape (mouse-avoidance-random-shape))
(set-mouse-color color)))
(sit-for mouse-avoidance-animation-delay)))
(set-mouse-position
(car cur)
(mod (+ (car (cdr cur)) deltax) (window-width))
(mod (+ (cdr (cdr cur)) deltay) (window-height))))))
(defun mouse-avoidance-random-shape ()
"Return a random cursor shape.
This assumes that any variable whose name begins with x-pointer- and
has an integer value is a valid cursor shape. You might want to
redefine this function to suit your own tastes."
(if (null mouse-avoidance-pointer-shapes)
(progn
(setq mouse-avoidance-pointer-shapes
(mapcar '(lambda (x) (symbol-value (intern x)))
(all-completions "x-pointer-" obarray
'(lambda (x)
(and (boundp x)
(integerp (symbol-value x)))))))
(setq mouse-avoidance-n-pointer-shapes
(length mouse-avoidance-pointer-shapes))))
(nth (random mouse-avoidance-n-pointer-shapes)
mouse-avoidance-pointer-shapes))
(defun mouse-avoidance-simple-hook ()
(if (and (mouse-avoidance-keyboard-command (this-command-keys)))
(mouse-avoidance-banish-mouse)))
(defun mouse-avoidance-fancy-hook ()
(if (and (mouse-avoidance-keyboard-command (this-command-keys))
(mouse-avoidance-too-close-p))
(mouse-avoidance-nudge-mouse)))
(defun mouse-avoidance-keyboard-command (key)
"Return t if the KEYSEQENCE is composed of keyboard events only.
Returns nil if there are any lists in the key sequence."
(cond ((null key) nil) ; Null event seems to be
; returned occasionally.
((not (vectorp key)) t) ; Strings are keyboard events.
((catch 'done
(let ((i 0)
(l (length key)))
(while (< i l)
(if (listp (aref key i))
(throw 'done nil))
(setq i (1+ i))))
t))))
(defun mouse-avoidance-mode (&optional mode)
"Set cursor avoidance mode to MODE.
MODE should be one of the symbols `banish', `jump', `animate',
`cat-and-mouse', or `none'. `Animate' is the same as `cat-and-mouse'.
If MODE is nil, toggle mouse avoidance. Positive numbers and