x-gateway: Thu from help-lucid-emacs to alt.lucid-emacs.help; Thu, 20 Aug 1992 12:45:13 EDT


Ken Butler wrote:

> Paul,
>
> Regarding "Menu and mouse support for News", you write:
>
> Paul>    Has anyone written some lucid emacs specific code for use with gnus. I
> Paul>    like the menu/mouse support someone posted for VM, and am looking for
> Paul>    something similar. Is there an FTP site that has all the lucid
> Paul>    specific code on it ???? or is it a case of just looking thru the
> Paul>    alt.lucid-emacs.help archives ????

> Yeah, I did.  Nothing sophisticated, but I guess it was okay since the VM
> postings looked similar to what I had posted previously for RMAIL.

> Here's what I have so far for RMAIL and GNUS.  The RMAIL I'm using is not
> the standard RMAIL but the extended function RMAIL posted by Bob Weiner to
> the elisp archive at Ohio State.  It's much better than the old one.

If you like that RMAIL stuff of mine, you really should install the current
release of Hyperbole which integrates quite a few facilities in one
easy to install package including direct selection 2-button mouse interfaces
for RMAIL, VM, GNUS, Info, buffer-menu, dired, outline-mode, etc.  It supports
X, Sunview, Apollo DM, and terminals and also Epoch.  I haven't done anything
specific for Lucid Emacs (I probably will within the next month)
but if the mouse key binding syntax differs from that of standard X
bindings for GNU Emacs then you only have to add about 5 lines in one
file, "hmouse-key.el", and everything will work.

So go ahead and use it rather than reinventing.

Here is the full Hyperbole README which explains how to get it via ftp,
the only way it is available.  I don't mail out copies.

Bob
-------

#
# FILE:		README
# SUMMARY:      Intro information on Hyperbole.  
#
# AUTHOR:       Bob Weiner
# ORG:          Brown U.
#
# ORIG-DATE:    19-Oct-91 at 03:27:47

The author's work on this project has been sponsored by Motorola Inc.
under the Distinguished Student-Employee program.

We hope you enjoy using and developing with Hyperbole.  Suggestions and bug
reports are welcome, as described later in this document.  Feel free to
mail or post news containing this file wherever it may be of use.


           Outline
================================
* Hyperbole Overview
* What's New?
* How to Obtain
* Installation / Configuration
* Quick Reference
* Mail Lists
* Beta Tester Quotes
* Why was Hyperbole developed?
* Copyright
================================


* Hyperbole Overview

Hyperbole is an open, efficient information browsing and management
system based around a hypertext model.  It is intended for everyday work
on any UNIX platform supported by GNU Emacs (or Epoch from the
University of Illinois).  Hyperbole allows hypertext buttons to be
embedded within unstructured and structured files, mail messages and
news articles.  It also provides point-and-click access to ftp archives,
Wide-Area Information Servers (WAIS), and the World-Wide Web (WWW)
hypertext system through encapsulations of software that support these
protocols.

Hyperbole consists of three parts:

   1.  an interactive information management interface which anyone can use;

   2.  a set of programming library classes for system developers who
       want to integrate Hyperbole with another user interface or as a
       back-end to a distinct system.  (All of Hyperbole is written in
       Lisp for ease of modification.  Although Hyperbole is a
       prototype, it has been engineered for real-world usage and is
       well structured.)

   3.  A set of hyper-button-action types that provides core hypertext
       and other behaviors.  Users can make simple changes to button
       types and those familiar with Emacs Lisp can quickly prototype
       and deliver new types.

A Hyperbole user works with hypertext buttons; he may create, modify,
move or delete buttons.  Each button performs a specific action, such as
linking to a file or executing a UNIX shell command.

Presently, there are two distinct categories of Hyperbole buttons:
explicit buttons (the ones that Hyperbole creates) and implicit buttons
(buttons created and managed by other programs or embedded within the
structure of a document and recognized contextually by Hyperbole).
Explicit Hyperbole buttons may be embedded within any type of text file.

Hyperbole buttons may be clicked upon with a mouse to activate them or
to describe their actions.  Thus, a user can always check how a button
will act before activating it.  Buttons may also be activated from a
keyboard.  (In fact, all Hyperbole operations, including menu usage, may
be performed from any standard character terminal interface, so one need
not be anchored to a workstation all day).

Hyperbole does not enforce any particular hypertext or information
management model, but instead allows you to organize your information in
large or small chunks as you see fit.  Some of its most important
features include:

    Buttons may link to information or may execute procedures, such as
    starting or communicating with external programs;

    Buttons may be embedded within electronic mail messages;

    Other hypertext and information retrieval systems may be
    encapsulated under a Hyperbole user interface (a number of samples
    are provided).

Typical Hyperbole applications include:

    personal information management
       Overlapping link paths provide a variety of views into an
       information space.

       A search facility locates buttons in context and permits quick
       selection.

    documentation browsing
       Embed cross-references in your favorite documentation format.

       Add a point-and-click interface to existing documentation.

       Link code and design documents.  Jump to the definition of an
       identifier from its use within code or its reference within
       documentation.

    help/training systems
       Create tutorials with embedded buttons that show students how
       things work while explaining the concepts, e.g. an introduction
       to UNIX commands.  This technique can be much more effective than
       descriptions alone.

    archive managers
       Supplement programs that manage archives from incoming
       information streams by having them add topic-based buttons that
       link to the archive holdings.  Users can then search and create
       their own links to archive entries.


* What's New?

  Changes between V2 and V3.

  BUTTONS

    - Global buttons that can be created, deleted or activated by name.

    - Ange-ftp pathnames whether quoted or not are recognized as implicit
      buttons in any context, just click to view.

    - Internet RFC document random-access browsing via table of contents
      ibtype.

    - Implicit button type, grep-msg, which jumps to source of grep and
      error msg lines.

    - Multi-line button labels preceded by common fill prefixes are
      recognized properly, e.g. in source code with comment characters as
      the fill prefix.

  SMART KEY

    - C and Lisp jump to definition of tag at point.

    - Calendar scrolling and appointment viewing.

    - Man page apropos viewing and reference following.

    - Outline expanding and collapsing.

    - Rmail and GNUS browsing.

    - Dired and Buffer Menu selecting and deleting.

    - Wrolo entry source editing and entry narrowing to focus.

  MESSAGING

    - Automatic support for buttons in RMAIL, VM, MH-e, and GNUS messages.
      Support is loaded only if the particular tool is invoked.

    - Mail and news comments automatically inserted to alert others that you
      can utilize Hyperbole buttons in messages.

    - Msg/ menu for sending messages to the Hyperbole mail list and for
      sending in an add/remove/change request for your entry on one of
      the Hyperbole mail lists.  (The hyperbole mail list is now
      accessible via WAIS clients, if you know what that means.  The
      source entry for this WAIS server appears in the Mail Lists
      section of this file.) 

    - Automatic insertion of Hyperbole configuration info when click on
      hyperbole mail list address in outgoing messages.

  HELP

    - A documentation quick access menu.

  USER INTERFACE

    - Working SunView support.

    - Built in rolodex (wrolo) support.

    - Mouse keys may be toggled between Hyperbole Smart Key bindings and any
      set of prior bindings.

    - Support for Epoch V4 Beta.

  DEVELOPMENT/PROGRAMMING

    - New implicit button type format the same as defuns.
      It permits one ibtype to perform any number of actions, so for
      example, one ibtype could handle all the kinds of buttons found in a
      particular document format.  Ibtypes can send any number of needed
      arguments to actions.  Ibtypes can be evaluated without triggering any
      actions to test their return values.

    - Any Lisp function may now be used to create a Hyperbole action, not
      just defacts.

    - Non-nil action return values are now accessible to callers.


* How to Obtain

Hyperbole is available across the Internet via anonymous ftp.  Do not send
requests to have it mailed to you since it won't be.  Instead have another
party who has Internet access obtain it for the both of you.

A server which sends the Hyperbole distribution in response to mail
requests may be put into service sometime in the first quarter of 1992.
The Free Software Foundation has expressed interest in distributing
Hyperbole as a separate add-on to GNU Emacs, once Hyperbole reaches a
stable point of maturation, so you may eventually be able to get it from
them.  Here is how to obtain it from the Brown software archive:

Move to a directory below which you want the 'hyperbole' directory to
be created.  Unpacking the Hyperbole archive will create this
directory and place all of the files below it.

   cd <LOCAL-LISP-DIR>

Ftp to wilma.cs.brown.edu  (Internet Host ID = 128.148.31.66):

   prompt> ftp wilma.cs.brown.edu

Login as 'anonymous' with your own <user-id>@<site-name> as a password.
   
   Name (wilma.cs.brown.edu:rsw): anonymous
   331 Guest login ok, send EMAIL address (e.g. user@host.domain) as password.
   Password:
   230 Guest login ok, access restrictions apply.

Move to the Hyperbole directory:

   ftp> cd pub/hyperbole

Set your transfer mode to binary:

   ftp> bin
   200 Type set to I.

Turn off prompting:

   ftp> prompt
   Interactive mode off.

Either retrieve just the Hyperbole archive:

   ftp> mget h*tar.Z

or retrieve all of the files (the individual, non-tar files, are also
included in the above archive, so they are not strictly necessary):

   ftp> mget *

Close the ftp connection:

   ftp> quit
   221 Goodbye.

Unpack the tar archive with:

   zcat h*tar.Z | tar xvf -
or
   uncompress h*tar.Z; tar xvf h*tar


* Installation / Configuration

The Hyperbole Manual is included in three forms:
    "hypb.info"       - online version
     hypb.ps          - Postscript form
    "hypb.texinfo"    - source form

If you have just retrieved Hyperbole, see "hsite-ex.el" for installation
and setup instructions.  If Hyperbole has already been installed for
use at your site, you can manually invoke it from within GNU Emacs or Epoch by
loading the "hsite.el" code library file:  {M-x load-lib RTN hsite RTN}.  See
the section on 'Initializing' in the Hyperbole Manual for information on how to
set up for permanent Hyperbole use.

To add a pointer to the Info version of the Hyperbole manual within your Info
directory file, add the following two lines (the '*' should be in the first
column) to the menu within that file, substituting for <HYP-DIR>:

    * Hyperbole: (<HYP-DIR>/hypb.info).
        GNU Emacs-based extensible hypertext management system.

When used with a mouse, Hyperbole uses your middle and right mouse buttons by
default.  The bindings are set in "hmouse-key.el".  What the mouse
buttons do is set in the 'smart-key-alist' variable in "hui-mouse.el"
and is summarized in "hmouse-doc".


* Quick Reference

"MANIFEST" summarizes most of the files in the distribution.

See "DEMO" for a demonstration of standard Hyperbole button
capabilities.

Naming conventions:
  All Hyperbole-specific code files begin with an 'h'.
  Hyperbole user-interface files begin with 'hui-' or 'hmous'.
  Files that define implicit button types begin with 'hib'.
  Encapsulations of foreign systems begin with 'hsys-'.

Most of the standard Emacs user interface for Hyperbole is located in
"hui.el".  Most of the Hyperbole application programming interface can be
found in "hbut.el".  "hbdata.el" encapsulates the button attribute storage
handling presently implemented by Hyperbole.  "hmail.el" provides a basic
abstract interface for folding mail readers other than Rmail into Hyperbole.


* Mail Lists

There are several Hyperbole-related mail addresses.  Learn what each is
for before you contemplate mailing to any of them.


hyperbole-request@cs.brown.edu

   ALL mail concerning administration of the Hyperbole mailing lists
   should be sent here.  That includes addition, change, or deletion
   requests.  Don't EVER consider sending such a request to a Hyperbole
   mail list or people will think you can't read.  ONLY FULLY
   DOMAIN-BASED ADDRESSES WILL BE ACCEPTED (no UUCP '!' characters nor
   .UUCP pseudo-domain).  If you don't have such an address by now, you
   should get one.  Anyone else who wants to handle these other
   addresses is free to forward the contents of the lists to them.

   Use the following formats on your subject line to execute requests,
   where you substitute your own values for the <> delimited items.
 
   Subject: Add <your name> '<' <user@domain> '>' to <mail-list-sans-domain>.
   Subject: Remove '<' <user@domain> '>' from <mail-list-sans-domain>.
   Subject: Change '<' <user@domain> '>' to '<' <newuser>@<newdomain> '>' in <mail-list-sans-domain>.

   For example:
     Subject: Add Joe Williams <joe@cs.brown.edu> to hyperbole.
     Subject: Remove <joe@cs.brown.edu> from hyperbole.
     Subject: Change <joe@cs.brown.edu> to <joe@mot.com> in hyperbole.


hyperbole@cs.brown.edu

   Mail list for discussion of all Hyperbole issues.  Bug reports and
   suggestions may also be sent here.

   Always use your Subject and/or Summary: lines to state the position
   that your message takes on the topic that it addresses, e.g. send
   "Subject: Basic bug in top-level Hyperbole menu." rather than
   "Subject: Hyperbole bug".  Statements end with periods, questions
   with question marks (typically), and high energy, high impact
   declarations with exclamation points.  This simple rule makes all
   e-mail communication much easier for recipients to handle
   appropriately.

   If you ask a question, your subject line should include the word
   'question' or 'query' or should end with a '?', e.g. "Subject: How
   can man page SEE ALSOs be made implicit buttons?"  A "Subject: Re:
   How can ..." then indicates an answer to the question.  Question
   messages should normally include your Hyperbole and Emacs version
   numbers and clearly explain your problem and surrounding issues.
   Otherwise, you will simply waste the time of those who may want to
   help you.  (Your top-level Hyperbole menu shows its version number
   and {M-x emacs-version RTN} gives the other.)

   If you ask questions, you should consider adding to the discussion by
   telling people the kinds of work you are doing or contemplating doing
   with Hyperbole.  In this way, the list will not be overwhelmed by
   messages that ask for but provide no information.

   This list is now archived as a WAIS server.  Ask <wais-talk@think.com>
   if you have questions about what WAIS is.  The source entry for this
   server is:

(:source 
   :version  3 
   :ip-address "128.148.31.66"
   :ip-name "wilma.cs.brown.edu"
   :tcp-port 8000
   :database-name "hyperbole"
   :cost 0.00 
   :cost-unit :free 
   :maintainer "mlm@cs.brown.edu"
   :description "This WAIS server contains all messages sent to the Hyperbole mailing list.
Hyperbole is a flexible, information manager built on top of GNU Emacs.
It is available for anonymous ftp from /wilma.cs.brown.edu:pub/hyperbole.
See the README file there for details.
Server created with WAIS release 8 b3.1 on Feb 20 14:40:09 1992 by wais@wilma"
)


hyperbole-announce@cs.brown.edu

   Those who don't want to participate in the discussion but want to
   hear about bug fixes and new releases of Hyperbole should subscribe
   to this list.  Anyone on the 'hyperbole' list is automatically on
   this one too, so there is no need to subscribe to this one in that
   case.  This list is for official fixes and announcements so don't send
   your own fixes here.  Send them to 'hyperbole' instead.


* V2 Beta Tester Quotes

 "In general, Hyperbole is an embeddable, highly extensible hypertext
  tool.  As such, I find it very useful. As it stands now, Hyperbole is
  particularly helpful for organizing ill-structured or loosely coupled
  information, in part because there are few tools geared for this purpose.
  Hyperbole also possesses a lot of potentials in supporting a wider
  spectrum of structuredness, ranging from unstructured to highly
  structured environments, as well as structural changes over time.

  Major Uses:

  * Menu interface to our own Epoch-based collaborative support environment
    called CoReView: This interface brings together all top-level user
    commands into a single partitioned screen, and allows the end user to
    interact with the system using simple mouse-clicking instead of the
    meta-x key.

  * Gateway to internet resources: this includes links to major Internet
    archive sites of various types of information. Links are made at both
    directory and file levels.

  * Alternative directory organizer: The hierarchical nature of the Unix
    file system sometimes makes it difficult to find things quickly and
    easily using directory navigational tools such as dired. Hyperbole
    enables me to create various "profile" views of my directory tree, with
    entries in these views referring to files anywhere in the hierarchy.

  * Organizing and viewing online documentation: using Hyperbole along with
    Hyper-man and Info makes it truly easy to look up online documentation.
      
  * Other desktop organization tasks: including links to various mail
    folders, saved newsgroup conversation threads, online note-taker,
    emacs-command invocations, etc."

				    	-- Dadong Wan

-------

 "Hyperbole is the first hyper-link system I've run across that is
  actually part of the environment I use regularly, namely Emacs. The
  complete flexibility of the links is both impressive and expected -- the
  idea of making the link itself programmable is clever, and given that one
  assumes the full power of emacs.  Being able to send email with buttons
  in it is a very powerful capability.  Using ange-ftp mode, one can make
  file references "across the world" as easily as normal file references."

				        -- Mark Eichin

-------

 "The Hyperbole system provides a nice interface to exploring corners of
  Unix that I didn't know existed before."

					-- Craig Smith

-------


* Why was Hyperbole developed?

Hyperbole has been designed to aid in research aimed at Personalized
Information production/retrieval Environments (PIEs).  Hyperbole is a
backend manager to be used in prototyping an initial PIE.

An examination of many hypertext environments as background research did
not turn up any that seemed suitable for the research envisioned, mainly
due to the lack of rich, portable programmer and user environments.  We also
tired of trying to manage our own distributed information pools with standard
UNIX tools.  And so Hyperbole was conceived and raved about until it
got its name.


* Copyright

The following copyright applies to the Hyperbole system as a whole.
Each file also bears its own copyright, e.g. the files based upon GNU
copyrighted code bear the same copyright as GNU Emacs.

Copyright (C) 1991, Brown University, Providence, RI

Permission to use, modify and redistribute this software and its
documentation for any purpose other than its incorporation into a
commercial product is hereby granted without fee.  A distribution fee
may be charged with any redistribution.  Any distribution requires
that the above copyright notice appear in all copies, that both that
copyright notice and this permission notice appear in supporting
documentation, and that neither the name of Brown University nor the
author's name be used in advertising or publicity pertaining to
distribution of the software without specific, written prior permission.

Brown University makes no representations about the suitability of this
software for any purpose.  It is provided "as is" without express or
implied warranty.