/*
 *  @(#)$Header: /u/multimedia/william/X11/TGIF2/RCS/HISTORY,v 2.95 1995/07/11 04:15:24 william Exp $
 */
-----------------------> tgif-2.16-p11 => tgif-2.16-p12 <-----------------------
I've just put tgif-2.16-patch12 (12th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch12.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch12.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text home
page is at <URL:http://bourbon.cs.ucla.edu:8001/tgif/> and its hyper-graphics
home page is at <URL:http://bourbon.cs.ucla.edu:8001/tgif/index.obj>.
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.
It is also NOT related to GIF nor Transparent GIF.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch12'.
Here's a short list of added features/bug fixes.

1)  Fix a silly bug that causes segmentation fault in animation.
-----------------------> tgif-2.16-p10 => tgif-2.16-p11 <-----------------------
I've just put tgif-2.16-patch11 (11th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch11.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch11.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text home
page is at <URL:http://bourbon.cs.ucla.edu:8001/tgif/> and its hyper-graphics
home page is at <URL:http://bourbon.cs.ucla.edu:8001/tgif/index.obj>.
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.
It is also NOT related to GIF nor Transparent GIF.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch11'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in handling the http_proxy environment variable.  Thanks to
    Klaus Steinberger <Klaus.Steinberger@Physik.Uni-Muenchen.DE> for the fix.
2)  When printing into a color PS file, use setgray instead of setrgbcolor
    for all objects when the object is all black or all white.  It used to
    only work for polygon/closed-spline objects.  Thanks to Hasegawa Kay
    <hasegawa@exa.onlab.ntt.jp> for pointing out the problem.
3)  Fix a bug with resolving directories in linked EPS objects.  Thanks to
    Jon Nash <jon@phys121.physics.colostate.edu> for pointing out the problem.

4)  Print/export to GIF files.  It is assume that you have pbmplus/netpbm
    installed.  Add SetExportPixelTrim() under the File Menu so that
    additional pixels can be trimmed when exporting (and be asked to input
    these values every time).  A new X default, Tgif*InitExportPixelTrim,
    is added to setup these values initially.
5)  Add ImportGIFFile() under the File Menu to import GIF files.  It is assume
    that you have pbmplus/netpbm installed.  Add a new X default, Tgif*GifToXpm,
    to specify how conversion is done.
-----------------------> tgif-2.16-p9 => tgif-2.16-p10 <-----------------------
I've just put tgif-2.16-patch10 (10th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch10.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch10.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.
It is also NOT related to GIF nor Transparent GIF.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch10'.
Here's a short list of added features/bug fixes.

1)  Reduce the amount of PostScript code generated for polygons/closed-splines.
    If you see any problems/incompatibilities, please send e-mail to
    william@cs.ucla.edu.  If there are bugs, I'll make patches avaiable
    as soon as possible.
2)  When PrintOneFilePerPage() is selected, the page number separator
    character is changed from '_' to '-'.
3)  Supports the twosuperior and threesuperior 8-bit characters (<ESC>2 and
    <ESC>3 in regular fonts).  Thanks to Juha Takala <juha@piuha.ydi.vtt.fi>
    for the patch.
4)  Fix in bug in setting shortcuts.
5)  Add the following internal commands:
    navigate_back(),
    stop(),
    sqrt(<attr_name>,<expr>),
    random(<attr_name>),
    round(<attr_name>,<expr>),
    redraw_obj(<obj_name>,
    redraw_drawing_area(),
    itox(<attr_name>,<digits>,<expr>), and
    for_i(<attr_name>,<min_val>,<max_val>,<increment>,<attr_to_exec>).
6)  Add new X defaults, Tgif*OneMotionTimeout and Tgif*MinMoveInterval, so
    that unintentionally moving an object can be considered to be just
    making a selection.  Thanks to Kyle Bateman <kyle@actarg.com> for the
    suggestions.
7)  Change Tgif*QueryZoomInPoint to accept [always,no_select,no_query,never]
    in addition to [true,false].  If the no_select option is selected,
    a zoom-in point is queried only if no objects are selected.  If the
    no_query option is selected, zoom-in point is where the mouse is.
8)  Add a new command line argument, -hyper, to go into hyperspace immediately
    when tgif is started.
-----------------------> tgif-2.16-p8 => tgif-2.16-p9 <-----------------------
I've just put tgif-2.16-patch9 (9th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch9.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch9.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.
It is also NOT related to GIF nor Transparent GIF.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch9'.
Here's a short list of added features/bug fixes.

1)  Support reading of gzipped remote tgif files.  Add an X resource
    Tgif*GUnZipCmd so that default gunzip program can be overridden.
    If you have gzip and would like to try it out, please connect to
    "http://bourbon.cs.ucla.edu:8001/tgif.gz/index.obj.gz".
2)  Support proxy servers.  Add X resources Tgif*HttpProxy and Tgif*FtpProxy
    to specify HTTP and FTP proxy servers.  These X resources can be overridden
    by http_proxy and ftp_proxy environment variables, respectively.
3)  Support page numbers in a URL.  Please see the OBJECT NAMES section of
    the man pages for details.  Among other thing, this works with the
    hyperjump() internal command and importing remote tgif files.
4)  Add PrintOneFilePerPage() to the Page Menu to generate one PS/EPS file for
    each page when printing in the stacked page mode.  Add an command-line
    option, -one_file_per_page, to go with the -print command to achieve the
    same effect.
5)  Add a new internal command,
    post_attr_and_get_cgi_result(<url_attr>,<query_attr>,<result_attr>).
    Please see the man pages for details.  An example of how it can be used is
    at "http://bourbon.cs.ucla.edu:8001/tgif/ticker.obj" or
    "http://bourbon.cs.ucla.edu:8001/tgif/ticker.obj.gz".

6)  Add a new X default, Tgif*InitialArrowStyle, for specifying the startup
    arrow style.
7)  Add a new X default, Tgif*ShowPageInEPS, to force a "showpage" even when
    generating an EPS file.
8)  Add a new X default, Tgif*MaxNavigateCacheBuffers, to specify the number of
    cache buffers allocated for remote files (to minimize communication).
    The default is to have 40 cache buffers.
9)  Add a new X default, Tgif*NumberFileInPrintOnePage, to allow PS/EPS file
    name to be generated in the same fashions as the newly introduced
    PrintOneFilePerPage() command when PrintOnePage() is selected from the
    Page Menu in stacked page mode.

10) Use a different style for line-continuation in Imakefile to work with
    Debian Linux.  Please send e-mail to william@cs.ucla.edu if your imake
    doesn't work with the new Imakefile.
11) Fix a bug in using the HotList and SessionHistory from the Navigate Menu.
    Thanks to Ralphe Neill <ran@rdt.monash.edu.au> for pointing out the
    problem.
12) Add a command-line option, -pepsc (PreserveEPSComment), to go with the
    -print command.  If it is used, it is as if Tgif*StripEPSComment is set
    to False.  Thanks to Kyle Bateman <kyle@actarg.com> for pointing out the
    problem.  Two additional command-line options, -bop_hook and -eop_hook,
    are also added.
-----------------------> tgif-2.16-p7 => tgif-2.16-p8 <-----------------------
I've just put tgif-2.16-patch8 (8th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch8.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch8.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch8'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in printing XPM objects.
-----------------------> tgif-2.16-p6 => tgif-2.16-p7 <-----------------------
I've just put tgif-2.16-patch7 (7th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch7.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch7.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch7'.
Here's a short list of added features/bug fixes.

1)  Fix bugs with sqrt() domain error.  This happens with very very large
    page in tiled page mode.  Thanks to Nobuyuki Miyajima
    <miyajima@kazusa.or.jp> for pointing out the problem.  However, there
    will still be a limitation since 16-bit integers are used to represent
    coordinates (the XPoint structure is used).
2)  Make the -DNO_STRSTR compile option work again.  Also, reverse the
    left and right mouse button action on the zoom button to match what's in
    the Status Window.  Thanks to Ralphe Neill <ran@rdt.monash.edu.au> for
    pointing out the problems.
3)  Be able to launch an external viewer for an URL that ends with the '/'
    character.  Thanks to Francis Ngoh <fngoh@asic.sc.ti.com> for pointing
    out the problem.
4)  Allow Tgif*PrintCommand to use a '%s' substring to that a font can be
    downloaded to the printer.  Please see the man pages for details.  Also
    supports a -print_cmd command line option.  Thanks to Kyle Bateman
    <kyle@actarg.com> for pointing out the problem.
-----------------------> tgif-2.16-p5 => tgif-2.16-p6 <-----------------------
I've just put tgif-2.16-patch6 (6th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch6.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch6.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch6'.
Here's a short list of added features/bug fixes.

1)  Use case-insensitive string-compare when matching Content-type to work
    with the CERN 3.0 httpd.  Thanks to Nobuyuki Miyajima
    <miyajima@kazusa.or.jp> for pointing out the problem.
2)  Tgif*PageStyleLandscape did not work properly.  Thanks to Kyle Bateman
    <kyle@actarg.com> for pointing out the problem.
3)  Add DeletePages() command under the Page Menu to delete a range of pages.
4)  It's no longer necessary to specify all Tgif*Color#, Tgif*LineWidth#,
    Tgif*ArrowWidth*, and Tgif*ArrowHeight* in X defaults if one want to
    override/add colors and line widths.  When a requested item is not in 
    X defaults, the program default will be used.
5)  Change the default value of Tgif*HandleSize to 3.
6)  A collection of Avery Label symbols is available through anonymous ftp
    from "ftp://bourbon.cs.ucla.edu/pub/samples_tgif/labels.tar.Z".  Please
    send e-mail to william@cs.ucla.edu if the values of the labels are not
    correctly set (such as wrong size).  Hyper-graphics instruction on using
    the labels can be found at
    "http://bourbon.cs.ucla.edu:8001/tgif/labels/index.obj".
-----------------------> tgif-2.16-p4 => tgif-2.16-p5 <-----------------------
I've just put tgif-2.16-patch5 (5th patch for tgif-2.16) in the
following places for anonymous ftp:

    ftp://ftp.x.org/contrib/applications/tgif/tgif-2.16-patch5.Z
    ftp://ftp.cs.ucla.edu/pub/tgif/tgif-2.16-patch5.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.)

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch5'.
Here's a short list of added features/bug fixes.

1)  Reduce PS/EPS file size.  Please send e-mail to william@cs.ucla.edu
    as soon as you see a bug related to this new improvement.

2)  Fix a seg-fault bug when SaveSelectedAs is selected from the File Menu.
    Thanks to Helmut Jarausch <jarausch@igpm.igpm.rwth-aachen.de> for
    pointing out the problem.
3)  Fix a bug with setting up page information in MergeWithTable().
4)  Make a few minor adjustments to make it run on BSDI machines.  Thanks
    to Scott Spetka <scott%fang.cs.sunyit.edu@sunyit.edu> to the patches.

5)  When opening a file, executes the auto_exec file attribute if it exists.
    Thanks to Nicolas Rouquette <rouquett@aig.jpl.nasa.gov> for the patch.
6)  Interprets retracted_arrows and auto_retracted_arrows attributes for
    polyline and open-splines.  Please read the SPECIAL ATTRIBUTES section
    of the man pages for details.  Thanks to Nicolas Rouquette
    <rouquett@aig.jpl.nasa.gov> for the patch.
7)  Handles the Compose Key for inputting internation characters.  Thanks to
    Johan Vromans <jv@NL.net> for the patch.
8)  Add USER_PLACEMENT attribute to bypass auto-layout and allow the user
    to place objects in MergeWithTable().
9)  Add STRIP_DOUBLE_QUOTES attribute strip strings enclosed by double-quotes
    (such as files generated by Microsoft Excel) in MergeWithTable().
10) Do not generate the usual PS preview bitmap (i.e., %%BeginPreview and
    %%EndPreview) when TiffEPSI is used.
11) If Tgif*GenerateImageMap is used, the XPM file is removed after the GIF
    files are generated.
12) Add a new X default, Tgif*ShowMeasurementUnit, to show measurements
    in inch/cm/pixel units.
13) Add new X defaults, Tgif*PageStyleLandscape and Tgif*QueryZoomInPoint.
    Thanks to Kyle Bateman <kyle@actarg.com> for the patch.  If
    Tgif*QueryZoomInPoint is set to 'true', the user will be asked to select
    a zoom center when zooming in.
14) Add the following internal commands:
    message_box(<attr_name>,<msg>,<title>,<style>),
    get_user_input(<attr_name>,<msg1>,<msg2>),
    add_attr_to_selected_obj(<attr_name>,<attr_value>),
    user_end_an_edge(<attr_name>,<abs_x>,<abs_y>),
    and user_draw_an_edge(<start_attr_name>,<end_attr_name>).  Thanks to
    Nicolas Rouquette <rouquett@aig.jpl.nasa.gov> for the suggestions.
-----------------------> tgif-2.16-p3 => tgif-2.16-p4 <-----------------------
I've just put tgif-2.16-patch4 (4th patch for tgif-2.16) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.16-patch4.Z
	cs.ucla.edu:/pub/tgif/tgif-2.16-patch4.Z

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.)

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch4'.
Here's a short list of added features/bug fixes.

1)  Tgif-2.16-patch3 does not quite work.  Thanks to Johan Vromans
    <jv@NL.net> for pointing out the problem.
2)  Fix a couple of bugs in UpdateEPS().  It did not work with embedded EPS
    objects.  Thanks to Johan Vromans <jv@NL.net> for pointing out the problem.
3)  Add the following internal commands:
    get_attr_bbox(<ltx_attr>,<lty_attr>,<rbx_attr>,<rby_attr>,<attr_name>) and
    size_selected_obj_absolute(<abs_w>,<abw_h>).  Thanks to
    Nicolas Rouquette <rouquett@aig.jpl.nasa.gov> for the suggestions.
-----------------------> tgif-2.16-p2 => tgif-2.16-p3 <-----------------------
I've just put tgif-2.16-patch3 (3rd patch for tgif-2.16) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.16-patch3.Z
	cs.ucla.edu:/pub/tgif/tgif-2.16-patch3.Z

(Pelase note that tgif is NEITHER an html viewer NOR an html editor.)

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch3'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in EmbedEPSFile() under the File Menu.  The same bug also
    appears in the update_eps_child() internal command.  This bug only shows
    up if you embed an EPS file that does NOT have a preview bitmap.  Thanks
    to Johan Vromans <jv@NL.net> for pointing out the problem.
-----------------------> tgif-2.16-p1 => tgif-2.16-p2 <-----------------------
I've just put tgif-2.16-patch2 (2nd patch for tgif-2.16) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.16-patch2.Z
	cs.ucla.edu:/pub/tgif/tgif-2.16-patch2.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch2'.
Here's a short list of added features/bug fixes.

1)  Fix a typo in exec.e.  This will show up if -D_NO_PROTO is not used.
    Thanks to Jens Schleusener <Jens.Schleusener@dlr.de> for pointing out
    the problem.
2)  Add the following internal commands: show_attr(<attr_name>),
    hide_attr(<attr_name>), show_attr_name(<attr_name>), and
    hide_attr_name(<attr_name>).
3)  In MergeWithTable(), instead of executing the attribute named 'exec',
    now it also looks for another attribute named 'EXEC_AFTER_MERGE'.  If
    the 'EXEC_AFTER_MERGE' attribute is found, the attribute named by it
    is executed instead.
-----------------------> tgif-2.16 => tgif-2.16-p1 <-----------------------
I've just put tgif-2.16-patch1 (1st patch for tgif-2.16) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.16-patch1.Z
	cs.ucla.edu:/pub/tgif/tgif-2.16-patch1.Z

Tgif is an Xlib-based 2-D drawing tool.  It's also a hyper-graphics (or
hyper-structured-graphics) browser on the World-Wide-Web.  Its hyper-text
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/" and its hyper-graphics
home page is at "http://bourbon.cs.ucla.edu:8001/tgif/index.obj".
(Please note that the Content-type of a tgif file sent by the httpd at
bourbon.cs.ucla.edu:8001 is applications/x-tgif.)

Dur to the large size of the patch, it is not posted to comp.sources.bugs
as usual.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.16-patch1'.
Here's a short list of added features/bug fixes.

1)  Fix a few #ifdef's to compile properly on SGI and Linux machines.
2)  Fix a seg-fault bug with -print when a file contains file attributes.
3)  Fix a bug in drawing freehand polylines.  Thanks to Roger Gonzalez
    <rg@elmendorf.camb-lads.loral.com> for pointing out the problem.
4)  Fix a bug in saving paper size for landscape drawings.  Thanks to
    Uwe Holzgreve <uwe@zelux1.zel.kfa-juelich.de> for pointing out the problem.

5)  Add a -page <page_number> command line option to work with the -print -eps
    options to generate an EPS file from a multipage file.
6)  Attempt to handle non-existent fonts better.
7)  Add ExportToTable() command under the Special Menu to write out attributes
    of objects in a tab-separated table form.  Please see the EXPORT TO TABLE
    section of the man pages for details.
8)  Add MergeWithTable() command under the Special Menu to ``merge'' (also
    known as ``Mail Merge'' on PCs) an object with a tab-separated table file.
    Please see the MERGE WITH TABLE section of the man pages for details.
    A collection of Avery Label symbols will be available through anonymous ftp
    from "ftp://bourbon.cs.ucla.edu/pub/samples_tgif/labels.tar.Z" (there are
    only 2 symbols at the time of this posting).
9)  If the <file_name> argument to the read_file_into_attr() internal command
    starts with the '|' character, <file_name> is treated as an executable whose
    stdout is read instead.  Thanks to Juha Takala <juha@piuha.ydi.vtt.fi>
    for the patch.
10) Add the following internal commands: get_current_file(<attr_name>),
    getenv(<attr_name>,<env_var_name>), strlen(<attr_name>,<string>),
    substr(<attr_name>,<string>,<start_index>,<length>),
    strstr(<attr_name>,<string>,<sub_string>),
    strrstr(<attr_name>,<string>,<sub_string>), unmake_selected_obj_iconic(),
    and hyperjump_then_exec(<attr_name>,<attr_name_to_exec>).  Please see the
    INTERNAL COMMANDS section of the man pages for details.
11) Supports MIME types and MailCap files (partically) in addition to the
    existing mechanism for specifying external viewers.  A new X default,
    Tgif*MimeTypesFile, is added to specify the location of the .mime.types
    file.  The MAILCAPS environment variable is also recognized.  Please see
    the MIME TYPES AND MAILCAPS section of the man pages for details.
12) Add a new X default, Tgif*LocalRGBTxt to specify a local rgb.txt file to
    be consulted first before asking the X server for colors.  Add another new
    X default, Tgif*PrintUsingRequestedColor to be able to print with the
    requested color instead of the color returned by the X server.  On an X
    server that makes gamma corrections, these X defaults can be used to
    generate correct color PostScript files.
13) Use a more visible cursor in hyperspace.
-----------------------> tgif-2.15-p7 => tgif-2.16 <-----------------------
Due to the tremendous surge of interest in the World-Wide-Web,
this release of tgif supports the retrieval of tgif (obj and sym)
files from HTTP servers.  Hypertext jumps are supported
using the old tgif ``teleporting'' or ``traveling'' mechanism
(the attribute "href=" is recognized in addition to the original ones).

For a test run, build the new tgif and do:

	tgif http://bourbon.cs.ucla.edu:8001/tgif/index.obj

to retrieve the home page of tgif and navigate from that point on.
A network of tgif files works in a similar fashion as a network of html
files.

This is basically an ALPHA release, please send bug reports to
william@cs.ucla.edu as you see them!  I'll release patches as
fatal errors are fixed.

I've just put tgif-2.16 in the following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.16.tar.Z
	cs.ucla.edu:/pub/tgif/tgif-2.16.tar.Z

Tgif is an Xlib-based 2-D drawing tool.  Its hypertext World-Wide-Web
home page is at <a href="http://bourbon.cs.ucla.edu:8001/tgif/">.

Due to the large size of the patch, the patch is NOT posted to
comp.sources.bugs as usual.

Here's a list of added features/bug fixes.

1)  Add another interpretable attribute, "href=", for teleporting.  This
    is basically equivalent to "warp_to=" (and "wapr_to=" should be consider
    obsoleted starting from this release).  The attribute value can be an URL
    (only http and ftp are supported).  This allows remote viewing of an .obj
    file located on an http or an ftp server.  (Please note that tgif is
    NOT an html viewer.)
2)  Add animation through the use of new internal commands.  New internal
    commands are: select_obj_by_name, unselect_all_obj,
    move_selected_obj_relative, repeat, hyperjump, make_cgi_query, wait_click,
    sleep, begin_animate, end_animate, set_redraw, set_selected_obj_color,
    set_selected_obj_fill, set_selected_obj_pen, set_selected_obj_line_width,
    set_selected_obj_spline, set_selected_obj_arrow, set_selected_obj_dash,
    inc, dec, shuffle_obj_to_top, disable_undo, enable_undo, get_drawing_area,
    get_selected_obj_bbox, move_selected_obj_absolute, assign, strcpy, while,
    and if.  Please see the man pages for explanations.
3)  Add expressions in internal commands.
4)  Add a Navigate Menu to go back and forth between tgif files and to
    access a hot file list.  A new X default, Tgif*HotListFileName, can
    be used to specify where to store the hot file list.
5)  Add a ``hyperspace'' mode in which the cursor is position sensitive.
    The cursor changes from a pointer to a pointing hand when it is on top of
    an object containing a hot-link.  When a remote file is opened, tgif enters
    hyperspace immediately unless Tgif*AutoHyperSpaceOnRemote is set to false.
    NOTE:  To prevent a script to do catastrophic damages, the launch= command
    is disable while in hyperspace.  This can be overridden by the
    Tgif*AllowLaunchInHyperSpace X default (but highly discouraged).
6)  Add new X defaults, Tgif*@@@Viewer, where @@@ is a file extension.  For
    example, @@@ can be html to specify a viewer for remote files with the
    html extensions.
7)  Add a new command, EmbedEPSFile(), under the File Menu to actually
    embed the content of an EPS file in a tgif file (instead of just link
    to the EPS file).
8)  Add new Edit Menu functions SetSelLineWidth() and AddColor().
9)  Add new Special Menu functions ImportAttrs() and ExportAttrs().

10) Add a new X default, Tgif*UsePaperSizeStoredInFile, to set the paper
    size when a file is opened.
11) Add a new X defaults, Tgif*OneMotionSelMove, so that one can select and
    move an object in one motion.
12) Add a new X default, Tgif*TiffEPSI, to allow ``Microsoft Windows (tm)
    compatible EPS'' files to be generated when printing in the EPSI
    mode.  Please note that a ``Microsoft Windows compatible EPS'' file is
    by no means an EPS file (it does not even start with the %! string, also
    it contains binary data).  Xbmtopbm and pnmtotiff are needed to make
    this work.  Tgif*XbmToTiff can be used to specify other converters.
13) Add a new X default, Tgif*EPSIExportExtension, to set the exporting EPSI
    file extension to a user specified one (such as 'epsi').
14) Add a new X default, Tgif*CanChangeAttrColor, to allow changing the color
    of attributes when they are attached to objects.

15) Fix a couple of bugs in editing file attributes.  Thanks to Keefe Hayes
    <saskeh@unx.sas.com> for pointing out the problems.
16) Fix a bug in processing Tgif*InitialPaperSize.
17) Fix a bug in editing file attributes and getting the "Undo()/Redo() may
    crash Tgif" error message.

18) Cleanup the internal commands.  Thanks to Michael Kauschke
    <mka@rob.cs.tu-bs.de> for the contributed code.
19) Clean up some of the VMS releated stuff.  Thanks to Jonathan Couper
    <couper@metdp2.met.co.nz> and Damian Cannell <Damian.Cannell@cmc.com.au>
    for their help.
20) When importing EPS files, also look for files with the epsi extension.
    Thanks to Jaap Haalboom <haalboom@prl.philips.nl> for the patch.

*)  A new vertion of 'pstotgif', which is called 'pstoedit', written by
    Wolfgang Glunz, which converts a PostScript file to a tgif .obj file
    is made available at the following places for anonymous ftp:

        ftp.x.org:/contrib/applications/tgif/pstoedit/pstoedit.tar.gz
        cs.ucla.edu:/pub/tgif/pstoedit/pstoedit.tar.gz
        bourbon.cs.ucla.edu:/pub/pstoedit/pstoedit.tar.gz

    Below is the beginning part of its README file (README.pstoedit in
    the ftp directories):

	PSTOEDIT
	Copyright (C) 1993,1994 Wolfgang Glunz, Wolfgang.Glunz@zfe.siemens.de

	pstoedit allows to convert Postscript(TM) files to a simple vector
	graphic format, that can be edited. Currently tgif and Framemaker(TM)
	(MIF-format) and flat PostScript are supported.  Ask archie on where to
	find tgif.  pstoedit works by redefining the basic painting operators
	of Postscript. Others like image are not supported.  After redefining
	these operators, the Postscript file that needs to be converted is
	processed by GhostScript (gs). So you need to have Ghostscript in order
	to use this program.  pstoedit uses a postprocessor to actually build
	the input file for the editor.  This is a small lex-program (makeedit).
	To build it, just type make.  Edit the pstoedit script and change LIB
	according to your local environment. You need a C++ compiler, e.g. g++,
	to compile makeedit.
-----------------------> tgif-2.15-p6 => tgif-2.15-p7 <-----------------------
I've just put tgif-2.15-patch7 (7th patch for tgif-2.15) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.15-patch7.Z
	cs.ucla.edu:/pub/tgif/tgif-2.15-patch7.Z

Tgif is an Xlib-based 2-D drawing tool.  Its World-Wide-Web home page is at
<A HREF="http://bourbon.cs.ucla.edu:8001/tgif/">.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.15-patch7'.
Here's a short list of added features/bug fixes.

1)  Generate NCSA imagemap and CERN clickable image files.  Please read the
    GENERATING NCSA IMAGEMAP AND CERN CLICKABLE IMAGE FILES section of the
    man pages for details.  Tgif*GenerateImageMap, Tgif*XpmToGif,
    Tgif*ImageMapFileExtension, Tgif*GifFileExtension,
    Tgif*ImageMapFileFormat, and Tgif*UseXPmVersion1ForImageMap X defaults
    are added to support this feature.
2)  Fix a bug in printing an interpolated line with only two points and without
    right arrows.  Thanks to Jaap Haalboom <haalboom@prl.philips.nl> for
    pointing out the problem.
3)  Fix a bug in generating the preview bitmap in landscape mode.  Thanks to
    Wolfgang Glunz <wogl@sylt.zfe.siemens.de> for pointing out the problem.
4)  Fix a bug when only one of Tgif*Foreground and Tgif*Background is
    specified.  Thanks to <rkc@xn.ll.mit.edu> for pointing out the problem.
5)  When creating a non-text object, pressing the <ESC> key will cancel the
    create operation.  <ESC> key works similarly in the add-point mode.
6)  Support all the international characters by completing the ISO Latin 1
    encoding vector.  Thanks to Juha Takala <juha@piuha.ydi.vtt.fi> for the
    patch.
7)  Modify the man pages to indicate that one can import .sym files using the
    Import command under the File Menu.  Also, modify the man pages to include
    the fact that if Tgif*NoTgifIcon is set to true, Tgif*UseWMIconPixmap
    should also be set to true.
8)  Give window names to dialogboxes.  Apparently, if these dialogboxes do not
    have names, fvwm-1.22f may crash.  Thanks to Christoph Litauer
    <litauer@informatik.uni-koblenz.de> for pointing out the problem.
-----------------------> tgif-2.15-p5 => tgif-2.15-p6 <-----------------------
I've just put tgif-2.15-patch6 (6th patch for tgif-2.15) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.15-patch6.Z
	cs.ucla.edu:/pub/tgif/tgif-2.15-patch6.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.15-patch6'.
Here's a short list of added features/bug fixes.

1)  Fix a bug which caused bad PostScript command (0 0 atan) to be generated
    for a line segment of 0 width and height.  Thanks to Edmond Mesrobian
    <edmond@cs.ucla.edu> for pointing out the problem.
2)  Fix a bug which caused segmentation fault when Tgif*PercentPrintReduction
    is set to any value other than 100.  Thanks to Dietrich Bartel
    <d.bartel@kfa-juelich.de> for pointing out the problem.
3)  Fix something that looks like a typo.  In xbitmap.c, atof()'s declaration
    was skipped for ANSI C or C++ for unknown reason.  It is put back in as:

    extern double atof ARGS_DECL((const char *));

    If it causes any problem, please let me know.  In general, I recommand
    using the -D_NO_EXTERN and -D_NO_PROTO compile options and not using
    ANSI because, as far as I can see, multi-platform ANSI standard does
    not works, yet.  It seems that it always need some tweeking.
-----------------------> tgif-2.15-p4 => tgif-2.15-p5 <-----------------------
I've just put tgif-2.15-patch5 (5th patch for tgif-2.15) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.15-patch5.Z
	cs.ucla.edu:/pub/tgif/tgif-2.15-patch5.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.15-patch5'.
Here's a short list of added features/bug fixes.

1)  The -color command line option does NOT work (the -color option was added
    in version 2.15 patchlevel 4 to work with the -print command line option).
    It is removed.
-----------------------> tgif-2.15-p3 => tgif-2.15-p4 <-----------------------
I've just put tgif-2.15-patch4 (4th patch for tgif-2.15) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/applications/tgif/tgif-2.15-patch4.Z
	cs.ucla.edu:/pub/tgif/tgif-2.15-patch4.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.15-patch4'.
Here's a short list of added features/bug fixes.

1)  Fix a bug that causes wrong color to be stored when running tgif on a
    black & white display and a drawing contains XPM objects is saved.
    Thanks to Johan Vromans <jv@NL.net> for pointing out the problem.
2)  Fix a bug with printing 8-bit (international) characters.  If an 8-bit
    character was part of an icon and not an attribute, PostScript output
    would not contain that character.  Thanks to Christoph Litauer
    <litauer@informatik.uni-koblenz.de> for pointing out the problem.
3)  Add a new command line option, -color.  When -color (or -bw) is used
    in conjunction with the -print option, color (or black & white) PostScript
    output is generated (instead of using the color-print flag stored in the
    file).
4)  Add a new X default, Tgif*UpdateChildUsingAlignment.  If it is set to
    'true' or 'no_overlap', when update_eps_child(), update_xbm_child(), or
    update_xpm_child() internal command is executed, the current horizontal
    and vertical alignments are used to place the EPS/XBM/XPM subobject.
5)  Rober Estes <estes@cipic.ucdavis.edu> contributes a perl script and a
    symbol for faster generation of PostScript equations.  It's available for
    anonymous ftp as bourbon.cs.ucla.edu:/pub/samples_tgif/latex2epsi.tar.Z.
-----------------------> tgif-2.15-p2 => tgif-2.15-p3 <-----------------------
I've just put tgif-2.15-patch3 (3rd patch for tgif-2.15) in the
following places for anonymous ftp:
(Due to the temporary unavailability of ftp.x.org, this release is NOT
available from the /contrib directory of ftp.x.org.)

	cs.ucla.edu:/pub/tgif/tgif-2.15-patch3.Z
	bourbon.cs.ucla.edu:/pub/tgif-2.15-patch3.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.15-patch3'.
Here's a short list of added features/bug fixes.

1)  Fix a bug that causes segmentation fault if -print and -ps are used in
    the command line.  Thanks to Paul A Sand <pas@unh.edu> for pointing out
    the problem.
2)  Fix a few things so that tgif compiles properly under Solaris (using
    -D_NO_EXTERN).
3)  When using InputPolyPts or InputPolygonPts from the File Menu, all objects
    inputed together (separated by ';'s) are grouped together.
4)  Add SpecifyPaperSize under the Page Menu so that the physical paper size
    can be specified as "11in x 14in" or "21cm x 30cm".  Add a new X default,
    Tgif*InitialPaperSize, to set the initial physical paper size.
5)  Add a new X default, Tgif*ScrollBarWidth, to specify the width of the
    scroll bar.
6)  Add BrowseXBitmap and BrowseXPixmap under the File Menu to display
    X11 bitmap/pixmap files under a directory in a recursive manner.
-----------------------> tgif-2.15-p1 => tgif-2.15-p2 <-----------------------
I've just put tgif-2.15-patch2 (2nd patch for tgif-2.15) in the
following places for anonymous ftp:
(Due to the temporary unavailability of ftp.x.org, this release is NOT
available from the /contrib directory of ftp.x.org.)

	cs.ucla.edu:/pub/tgif/tgif-2.15-patch2.Z
	bourbon.cs.ucla.edu:/pub/tgif-2.15-patch2.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.15-patch2'.
Here's a short list of added features/bug fixes.

1)  Fix a couple of bugs in saving files.  There are extra left square
    brackets.  Even though tgif can read the files without problem, the
    .obj files are not readable by Prolog.  Thanks to Michael Kauschke
    <mka@rob.cs.tu-bs.de> for the patch.
2)  Fix a couple of bugs in hiding/showing of the status window.  Thanks
    to Jez Nicholls <jez@ee.bath.ac.uk> for pointing out the problem.
3)  Add three internal commands, read_file_into_attr(<file_name>,<attr_name>),
    write_attr_into_file(<attr_name>,<file_name>), and
    append_attr_into_file(<attr_name>,<file_name>) to read/write/append a file
    into/from an attribute.
4)  Add two internal commands, update_xbm_child(<xbm_file_name>) and
    update_xpm_child(<xpm_file_name>), similar to the existing
    update_eps_child(<eps_file_name>) command for importing XBM and XPM
    subobjects.
5)  Add a command line option, -D_USE_XDRAWPOINT_TO_PUT_A_POINT, to bypass
    some X server bugs (such as certain Linux X server using VGA16 screen)
    where the XDrawLine() Xlib call does not work properly.
-----------------------> tgif-2.15 => tgif-2.15-p1 <-----------------------
I've just put tgif-2.15-patch1 (1st patch for tgif-2.15) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.15-patch1.Z
	cs.ucla.edu:/pub/tgif/tgif-2.15-patch1.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.15-patch1'.
Here's a short list of added features/bug fixes.

1)  Fix a bug that caused a segmentation fault when pulling down from the
    menubar.  Thanks to us Steinberger
    <Klaus.Steinberger@Physik.Uni-Muenchen.DE> for the patch.
-----------------------> tgif-2.14-p11 => tgif-2.15 <-----------------------
I've just put tgif-2.15 in the following places for anonymous ftp:
(Due to the temporary unavailability of ftp.x.org, this release is NOT
available from the /contrib directory of ftp.x.org.)

        cs.ucla.edu:/pub/tgif/tgif-2.15.tar.Z
        bourbon.cs.ucla.edu:/pub/tgif-2.15.tar.Z


Tgif is an Xlib-based 2-D drawing tool.

Due to the large size of the patch to take tgif from 2.14-p11 to 2.15, the
patch file is NOT posted to comp.sources.bugs.

Here's a short list of added features/bug fixes.

1)  Support generalized polyline/polygon/spline objects.  Each vertex on one
    of these objects can either be a ``smooth'' vertex or a ``hinge'' vertex.
    The Smooth <-> Hinge command in the Edit Menu can be used to convert a
    smooth vertex to a hinge vertex and vice versa.
2)  Support EPSI output.  A preview bitmap is generated when print in this
    mode.  It may take quite a bit longer to print in this mode, so unless
    you really need a preview bitmap, just print in the EPS mode.  (For
    example, unlike FrameMaker, xdvi does not use the preview bitmap, so
    generating an EPSI file for LaTeX is not worthwhile.)  EPSI files are
    generated with the .eps extension.
3)  Support ASCII text file output (suitable for spelling check).
4)  Add a menubar.  Tgif*NoMenubar can be used to specify whether the menubar
    should be used initially.  A Hide/ShowMenubar command is added to the
    Layout Menu hide/show the menubar.  By default, the minimal menubar is
    used.  If Tgif*MinimalMenubar is set to false, then the menubar will
    contain the same menus as the Main (popup) Menu.
5)  Add a status window.  Tgif*NoStatusWindow can be used to specify whether
    the status window should be used initially.  A Hide/ShowStatus command is
    added to the Layout Menu hide/show the status window.  When the status
    window is showing the functions of the mouse buttons, right-handed mouse
    is assumed.  Setting Tgif*ReverseMouseStatusButtons to true will reverse
    the status (as if a left-handed mouse is used).
6)  Add Cut command to the Edit Menu.
7)  Store color printing information in files.
8)  Add %%Orientation to PostScript output so that PostScript previewer (such
    as ghostview) can display a landscape file better.
9)  Add -text command line option (only in effect when -print is used).
10) Add a new X default, Tgif*ColorBgInPrintingColorPS, to use the window's
    background color as the background color when generating color PostScript
    output.
11) Add new X defaults, Tgif*InitialShowGrid and Tgif*InitialSnapOn, to
    show/hide the grid points and to set the snap on/off on startup.
12) Add a new X default, Tgif*InitialPrintInColor, to turn on the
    print-in-color mode on startup.
-----------------------> tgif-2.14-p10 => tgif-2.14-p11 <-----------------------
I've just put tgif-2.14-patch11 (11th patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch11.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch11.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch11'.
Here's a short list of added features/bug fixes.

1)  Fix a bug that caused a compile error.  Thanks to Dietrich Bartel
    <d.bartel@KFA-JUELICH.DE> for pointing out the problem.
2)  Fix a bug which does not duplicate an EPS object correctly when the EPS
    object is obtained through the update_eps_child internal command.  Thanks
    to Edmundo de Souza e Silva <edmundo@cs.ucla.edu> for pointing out the
    problem.
-----------------------> tgif-2.14-p9 => tgif-2.14-p10 <-----------------------
I've just put tgif-2.14-patch10 (10th patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch10.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch10.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch10'.
Here's a short list of added features/bug fixes.

1)  Fix a bug that caused segmentation fault when drawing interpolated splines.
    Thanks to Fozzy C. Dressel <dressel@edvvie.edvg.co.at> for the patch.
2)  Fix a bug that caused segmentation fault on Linux when executing the
    create_file_using_simple_template internal command (which is used in
    'eq.sym' in the LaTeX example of /pub/samples_tgif/latex.tar.Z on
    bourbon.cs.ucla.edu).  Thanks to Edmundo de Souza e Silva
    <edmundo@cs.ucla.edu> for pointing out the problem.
3)  Fix a bug in Edit editing attributes and page names (names was truncated
    if it contains a '/' character).  Thanks to Leana Golubchik
    <leana@cs.ucla.edu> for pointing out the problem.
4)  Supports double-click in text mode (select a word).
5)  Supports page numbering objects in a multipage drawing.  Please read the
    MULTIPAGE DRAWING section of the man pages for details.
6)  Supports auto-centered attributes.  Such an attribute centers around its
    owner when the owner is stretched.  Please read the auto_center_attr
    entry in the SPECIAL ATTRIBUTES section of the man pages for details.
    Another feature is added to expose the objects inside an icon when the
    object is instantiated.  Please read the unmakeiconic_on_instantiate
    entry in the SPECIAL ATTRIBUTES section of the man pages for details.
    These features are handy when it comes to drawing flowcharts.  There are
    a few examples available for anonymous ftp:

        bourbon.cs.ucla.edu:/pub/samples_tgif/flowchart.tar.Z

7)  Add a new X default, Tgif*MinimalEPS, to allow DSC conforming EPS to be
    generated.  Too much information was generated before.  Thanks to James
    Geller <geller@vienna.njit.edu> for pointing out the problem.
8)  Fix a bug which generates erroneous %%DocumentFonts information with 8-bit
    characters and when additional fonts are used.  Thanks to Johan Vromans
    <jv@nl.net> for pointing out the problems.
9)  Fix a bug which occationally generates a ghost box when importing EPS files.
    Thanks to Edmond Mesrobian <edmond@cs.ucla.edu> for pointing out the
    problem.
------------------------> tgif-2.14-p8 => tgif-2.14-p9 <------------------------
I've just put tgif-2.14-patch9 (9th patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch9.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch9.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch9'.
Here's a short list of added features/bug fixes.

1)  Fix a segmentation fault bug in drawing closed interpolated splines.
    Thanks to Juha Takala <jta@piuha.sah.vtt.fi> for pointing out the problem.
2)  Fix a bug to correct the postscript output for the German character
    germandbls.  Thanks to Nils Rennebarth <nils@exp-math.uni-essen.de>
    for the patch.
3)  If the <Shift> or <Cntrl> key is held down when drawing an oval or a
    rectangle, a circle or a square is drawn.
4)  Add a new X default, Tgif*ShowMeasurement, so that the location of the
    cursor and the width and height of an object being drawn/dragged/stretched
    can be shown.  A new entry is added to the Layout Menu to toggle the
    showing of the measurements.
5)  Fix a bug in strstr() if NO_STRSTR is defined.  Thanks to Kazuhisa Shirakami
    <shira@pfu.fujitsu.co.jp> for the patch.
6)  Checks for file system full on writing and printing to files.
------------------------> tgif-2.14-p7 => tgif-2.14-p8 <------------------------
I've just put tgif-2.14-patch8 (8th patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch8.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch8.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch8'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in processing the Tgif*AdditionalFonts X default.  Thanks to
    Yoichiro Ueno <ueno@cs.titech.ac.jp> for pointing out the problem.
2)  With some X servers, some of the times, courier, helvetica, new centry
    schoolbook, and symbol screen fonts may not be supported.  A new X default,
    Tgif*HasAlternateDefaultFonts is added so that alternative screen fonts
    can be used.  Please see the man pages for details.  Thanks to
    DaviD W. Sanderson <dws@ssec.wisc.edu> for pointing out the problem.
3)  Add a new X default, Tgif*RulerFontSize, to override the default font
    used in the ruler windows.
4)  Fix a bug in breaking up right justified rotated text objects.  Thanks to
    Yoichiro Ueno <ueno@cs.titech.ac.jp> for the patch.
5)  Fix a segmentation fault bug in running tgif with the -print option when
    the file uses more than one non-standard fonts.  Thanks to Yoichiro Ueno
    <ueno@cs.titech.ac.jp> for the patch.
------------------------> tgif-2.14-p6 => tgif-2.14-p7 <------------------------
I've just put tgif-2.14-patch7 (seventh patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch7.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch7.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch7'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in Update() from the Edit Menu.  A bad text size was used.
    Thanks to Yoichiro Ueno <ueno@cs.titech.ac.jp> for pointing out the
    problem.
2)  Fix a segmentation fault bug with two-point interpolated splines.  
    Thanks to Richard R. Muntz <muntz@cs.ucla.edu> for pointing out the
    problem.  A few more interpolated spline bugs are also fixed.
3)  Add a comment in Makefile.noimake that 'make install' would not work
    with Solaris because 'install' on Solaris is not compatible with SunOS
    (unbelievable).
------------------------> tgif-2.14-p5 => tgif-2.14-p6 <------------------------
I've just put tgif-2.14-patch6 (sixth patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch6.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch6.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch6'.
Here's a short list of added features/bug fixes.

1)  Fix a segmentation fault bug in running tgif in the printing mode
    (tgif -print).
2)  Add a new X default, Tgif*InitialPrintInColor, so that tgif can come
    up in color printing mode.
------------------------> tgif-2.14-p4 => tgif-2.14-p5 <------------------------
I've just put tgif-2.14-patch5 (fifth patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch5.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch5.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch5'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in reading non-interpolated polygon objects when the initial
    line type in a file is set to the interpolated type.  Thanks to
    Wolfgang Thronicke <wolf@hador.cadlab.de> for pointing out the problem.
------------------------> tgif-2.14-p3 => tgif-2.14-p4 <------------------------
I've just put tgif-2.14-patch4 (fourth patch for tgif-2.14) in the
following places for anonymous ftp:

	ftp.x.org:/contrib/tgif-2.14-patch4.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch4.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch4'.
Here's a short list of added features/bug fixes.

1)  Be more complete with the PostScript international characters.  Thanks to
    Heimir Thor Sverrisson <heimir@plusplus.is> for the patch.
2)  Add new X defaults, Tgif*PSBopHook and Tgif*PSEopHook, to be used if
    additional PostScript procedures need to be called at the beginning and
    at the end of each page, when printing to the printer or into a PS file
    (not EPS).  PostScript procedures such as bop-hook and eop-hook used in
    dvips can be called using this X default.  Please read the man pages for
    details.  Thanks to Juha Takala <jta@piuha.sah.vtt.fi> for the patch.
3)  For InputPolyPts() and InputPolygonPts(), if the polyline/polygon is
    terminated with the '.\n' line (instead of EOF), then the file is not
    rewound.
4)  Duplicate the PrintOnePage() function on the File Menu.
5)  Fix a bug to be compatible with the old style domain specification.
6)  Yet another attempt to fix the uniconifing redraw problem.

*)  A program called 'pstotgif', written by Wolfgang Glunz, which converts
    a PostScript file to a tgif .obj file is made available (in 'shar' format)
    at the following places for anonymous ftp:

	cs.ucla.edu:/pub/tgif/pstotgif/pstotgif.sh
	bourbon.cs.ucla.edu:/pub/pstotgif/pstotgif.sh

    Below is the beginning part of its README file:

	PSTOTGIF
	Copyright (C) 1993, Wolfgang Glunz, Siemens AG,
	glunz@ztivax.zfe.siemens.de

	pstotgif allows to convert Postscript files to a simple vector graphic
	format, that can be edited with tgif. Ask archie on where to find tgif.
	pstotgif works by redefining the two basic painting operators of
	Postscript, stroke and show. Others like fill or image are not
	supported.  After redefining these operators, the Postscript file that
	needs to be converted is processed by GhostScript (gs). So you need to
	have Ghostscript in order to use this program.
------------------------> tgif-2.14-p2 => tgif-2.14-p3 <------------------------
I've just put tgif-2.14-patch3 (third patch for tgif-2.14) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.14-patch3.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch3.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch3'.
Here's a short list of added features/bug fixes.

1)  Produces the %%DocumentFonts in PostScript output correctly.  Thansk to
    Johan Vromans <jv@mh.nl> for pointing out the problem.
2)  Supports a second form in the Tgif*AdditionalFonts X default.  Please
    see the ADDITIONAL FONTS section of the man pages for details.  Thanks to
    Johan Vromans <jv@mh.nl> for the code.
3)  Be able to paste from a file.  User please beware: reading in a large file
    may have significant impact on performance.
4)  Fix a bug in copying/pasteing using the popup menu in text mode.  The
    copy/paste used to not take effect until a key is pressed.
5)  Fix a bug in undo/redo when the update_eps_child() internal command is
    involved.
6)  Fix a bug in not including names.e if -D_NO_EXTERN is used.  Thanks to
    <R.K.Lloyd@compsci.liverpool.ac.uk> for pointing out the problem.  The
    necessary constants and data structures are moved to const.h.
7)  Fix an initialization bug in reporting problems when font sizes are
    being intiialized.  Thanks to Johan Vromans <jv@mh.nl> for pointing out
    the problem.
------------------------> tgif-2.14-p1 => tgif-2.14-p2 <------------------------
I've just put tgif-2.14-patch2 (second patch for tgif-2.14) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.14-patch2.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch2.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch2'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in including PostScript file generated by psroff and FrameMaker.
    Apparently, a PostScript file generated by these software contains commands
    such as "letter" and "legal" which forces the printer to start a new page.
    Thanks to Jason Cong <cong@cs.ucla.edu> for pointing out the problem.
2)  Fix a bug in moving vertices.  It used to be that selecting more than
    10 vertices caused problems.  Thanks to Dietrich Bartel
    <d.bartel@kfa-juelich.de> for pointing out the problem.
3)  Add a compile option _NO_EXTERN to disable the inclusion of .e files by
    the .c files with the same name.  Normally, file x.c would include
    x.e.  Using -D_NO_EXTERN in the compile option will not include x.e
    in x.c.
4)  Do #undef BAD for AIX machines.  Thanks to DaviD W. Sanderson
    <dws@ssec.wisc.edu> for the patch.  Also, srand() is defined differently
    on AIX machines.  (If the #ifdef's doesn't work, one can use the
    -D_NO_EXTERN compile option to disable that external definition all
    together.)
5)  Use XCOMM instead of /**/# in Imakefile.  Thanks to DaviD W. Sanderson
    <dws@ssec.wisc.edu> for the patch.
6)  Fix the <sys/select.h> include file problems for AIX machines.  Thanks
    to Uri <uri@watson.ibm.com> for helpful information.
7)  Change the icon for "Special" to be an exclamation mark instead of the
    question mark (which usually means "Help").

Apparently there is quite a variation in the ANSI standard (kind of
a contradiction in terms).  So if you have having trouble compiling
tgif with some kind of an ``ANSI'' option turn on, turn that option
off and use the -D_NO_PROTO compile option in either the Imakefile or
Makefile.noimake.  Also, the -D_NO_EXTERN should also be used.  My
feelings about putting #ifdef's all over the code is that it doesn't
seem to be a reasonable solution.  I guess ANSIfication is a good idea
if the software only compiles on one platform.
------------------------> tgif-2.14 => tgif-2.14-p1 <------------------------
I've just put tgif-2.14-patch1 (first patch for tgif-2.14) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.14-patch1.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14-patch1.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.14-patch1'.
Here's a short list of added features/bug fixes.

1)  Fix a serious bug goes into INFINITE loop when the Freehand mode is
    selected.  Thanks to Michael Arras <arras@forwiss.uni-erlangen.de> and
    David Torok <torok@nynexst.com> for pointing out the bug.
2)  Fix a naming conflict for RS6000.  Apparently, the constant PAGE_SIZE
    is already defined for RS6000.  Thanks to Dietrich Bartel
    <d.bartel@kfa-juelich.de> for pointing out the problem.
------------------------> tgif-2.13-p2 => tgif-2.14 <------------------------
I've just put tgif-2.14 in the following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.14.tar.Z
	cs.ucla.edu:/pub/tgif/tgif-2.14.tar.Z

Tgif is an Xlib-based 2-D drawing tool.

Dur to the large size of the patch, the patch will not be posted to
comp.sources.bugs.

Here's a short list of added features/bug fixes.

1)  Supports additional fonts and text of any point size.  Newly added
    X defaults are:  Tgif*FontSizes, Tgif*AdditionalFonts, Tgif*MsgFontSize,
    Tgif*InitialFontSize, and Tgif*DefaultFontSize.  Obsoleted X defaults are:
    Tgif*InitialFontDPI, Tgif*MsgFontSizeIndex, and Tgif*InitialFontSizeIndex.
2)  Add a new X default, Tgif*FontNamePrefix to support certain obscure
    fonts whose font names do not start with the '-' character.  By default,
    "-*" can be used as the first two characters of a font name.  Using this
    X default, it can be set to just "*" (may degrade performance when fonts
    are being opened).
3)  Add interpolated open and closed splines.  Since there are 3 kinds of
    curved shapes now, the ToggleLineType() cycles through (instead of toggles
    between) different shapes.
4)  Add ConvertIntSpline() to convert interpolated splines to regular splines.
5)  Clicking the mouse buttons in the Message Window while the <Cntrl> or
    <Shift> key is held down scrolls the Message Window horizontally.
6)  Fix a bug which prints panic warning messages when saving files in text
    mode while in pages other than the first page.  Thanks to A. Illek
    <illek@edvvie.edvg.co.at> for pointing out the problem.
7)  Fix a bug in initializing print reduction.  Thanks to Dietrich Bartel
    <d.bartel@kfa-juelich.de> for pointing out the problem.
8)  Fix a bug in printing 8-bit characters in a multipage document.  Thanks
    to Dietrich Bartel <d.bartel@kfa-juelich.de> for pointing out the problem.
9)  Fix a bug in running with tvtwm.  If tgif was iconified, panning in tvtwm
    caused tgif to be uniconified.  However, if this fix causes problems with
    other window managers, please send bug reports! Thanks to Austin Hastings
    <austin@franklin.com> for pointing out the problem.
10) Fix a bug in reading XPM3 files.  Some XPM3 file failed to be imported.
11) Fix a bug in dealing with object id's.  If the same object was pasted
    several times, they all had the same id's.  Thanks to Xianwu Ma
    <xma@socs.uts.EDU.AU> for pointing out the problem.
12) Fix a bug in executing the PrintOnePage() function.  Sometimes the wrong
    page get print out in TILED mode.  Thanks to Deeptendu Majumder
    <Deeptendu.Majumder@cad.gatech.edu> for pointing out the problem.
13) Make Update() from the Edit Menu work with composite objects.
14) Add a new X default, Tgif*StickyMenuSelection.  When it is set to 'true',
    if patterns/linewidth/linestyle/... of objects are changed using a
    menu action, the pattern/linewidth/linestyle/... becomes the current
    selection.
15) Add functions InputPolyPts() and InputPolygonPts() for reading points
    from stdin.
16) Add EditAttrs() to edit attributes of an object in a fashion similar to
    editing file attributes.
17) Add PrintSelectedObjs() to print selected objects.
18) Replace the mechanism of using the Tgif*Domain# X defaults and environment
    variables to specify domain names and paths with a new X default,
    Tgif*DomainPath#.  Please see the man pages for details.
19) Add the -DNO_STRSTR compile option to get around systems that do not have
    strstr() (such as sequent).
20) All header files are updated to include function prototypes.  Checking for
    function prototypes are automatically enabled if you are using an ANSI or
    C++ compilor.  Nevertheless, not all ANSI/C++ compilors are created equal.
    A compile option, -D_NO_PROTO, is added to disable the checking of function
    prototypes if there is a problem.
------------------------> tgif-2.13-p1 => tgif-2.13-p2 <------------------------
I've just put tgif-2.13-patch2 (second patch for tgif-2.13) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.13-patch2.Z
	cs.ucla.edu:/pub/tgif/tgif-2.13-patch2.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.13-patch2'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in MakeIconic().  Used to seg-fault.  Thanks to Olaf Bigalk
    <bigalk@cs.tu-berlin.de> for pointing out the problem.
2)  Fix a bug in updating pinned Layout Menu when the move mode changes.
    Thanks to Olaf Bigalk <bigalk@cs.tu-berlin.de> for the patch.
-------------------------> tgif-2.13 => tgif-2.13-p1 <-------------------------
I've just put tgif-2.13-patch1 (first patch for tgif-2.13) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.13-patch1.Z
	cs.ucla.edu:/pub/tgif/tgif-2.13-patch1.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.13-patch1'.
Here's a short list of added features/bug fixes.

1)  Fix a few bugs in printing multiple pages in STACK mode.  The bounding
    boxes were incorrect.  Also, if the last page contains no objects,
    nothing is printed.
2)  Fix a bug in GotoPage where lines, bitmaps, and text looks wrong after
    zooming or scrolling.  Thanks to Robert Crowe <bob@benton.prepress.com>
    for pointing out the problem.
3)  Fix a bug which causes a crash when both -DUSE_XAPPLRESDIR and
    -DXAPPLOADDIR_DEF are used in the DEFINES and the XAPPLRESDIR environment
    variable is not set.  Thanks to Simon Gornall <sjg@phlim.ph.kcl.ac.uk>
    for pointing out the problem.
4)  Add PrintOnePage() in STACK mode.
5)  Use the same interface as NamePages() for GotoPage().
-------------------------> tgif-2.12-p18 => tgif-2.13 <-------------------------
I've just put tgif-2.13 in the following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.13.Z
	cs.ucla.edu:/pub/tgif/tgif-2.13.Z

Tgif is an Xlib-based 2-D drawing tool.

Due to the large size of the patch, the patch itself it not posted
to comp.sources.bugs.

Here's a short list of added features/bug fixes.

1)  Add multi-page functionality.  Two modes are supported, namely, the
    STACK mode and the TILED mode.  When in the TILED mode, an X default,
    TiledPageScaling, is used to specify a scale used when the drawing is
    printed.  Since most PostScript printers do not use the full page as
    the drawing area, setting this value to 1.0 may get truncated output.
    The recommanded (default) value is 0.9.
2)  Add file attributes (can be manipulated through the Special Menu).
3)  Add the ability to execute a few internal commands using the same
    mechanism as the ``travel'' and ``launch'' operations.  Two demo
    files can be ftped from the /pub/samples_tgif directory from
    bourbon.cs.ucla.edu (131.179.16.60).

    The 'latex' example shows how to specify a latex equation as an attribute
    and what additional attributes are needed so that when it is <Shift><Btn2>
    clicked, it will run LaTeX using a template file, run dvips to generate a
    PS file, run pstoepsi to generate a preview bitmap for the PS file, and
    finally import the EPS file to be part of an object.

    The 'spin' example shows how to specify a 30 frames spinning globe.  When
    the globe is <Shift><Btn2> clicked, it starts to spin.  Any subsequent
    button click or key click causes it to stop spinning.  If this file is
    used as a tgif icon, when tgif is iconified, the icon spins.  The file
    attribute icon_init_exec_obj= is used to specify that the globe should be
    executed.
4)  Add a few #ifdefs so that tgif can compile under linux (linux does not have
    SIG_BUS).
5)  Add a few #ifdefs so that tgif can compile under Omron Luna 88k.  Thanks to
    Jim Blandy <jimb@totoro.cs.oberlin.edu> for the patch.
6)  Add -DXAPPLOADDIR_DEF and -DUSE_XT_INITIALIZE compile flags in the
    Imakefile.  If -DXAPPLOADDIR_DEF is specified, $(XAPPLOADDIR)/Tgif is used
    as the resource file to be used in conjunction with the -DUSE_XAPPLRESDIR
    compile flag.  If -DUSE_XT_INITIALIZE is specified (and -DUSE_XAPPLRESDIR
    is not specified), XtInitialize() is used to initialize the display.
    (These are hacks since tgif is Xlib based, while XAPPLOADDIR and
    XtInitialize() are Xt specific.)  Thanks to Dave Yearke
    <yearke@geordi.calspan.com> for the patch.
7)  Add a function, CenterAnEndPoint() to move an endpoint of a polyline
    object to the center of another object.  The function is only accessible
    from the Arrange Menu.
8)  Add a compile option -DINVERT_CTM_BUG to accommodate certain PostScript
    utilities which fails when trying to invert non-invertible CTM
    (e.g., muluti.ps from ftp.ucc.su.oz.au:/pub/ps_printing/multi).  Thanks
    to Danny Thomas <vthrc@mailbox.uq.oz.au> for the suggestion.
9)  Add a shortcut command ToggleNamedAttrShown() for toggling the showing
    the name of an attribute.  The syntax for such a shortcut is a bit
    different from the usual ones.  Please see the SHORTCUT section in the
    man pages for details.
10) Add X defaults, TGIFPATH and TGIFICON, to be used if the TGIFPATH and/or
    the TGIFICON environment variables are not set.
-----------------------> tgif-2.12-p17 => tgif-2.12-p18 <-----------------------
I've just put tgif-2.12-patch18 (18 patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.12-patch18.Z
	cs.ucla.edu:/pub/tgif/tgif-2.12-patch18.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch18'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in reading the preview bitmap of an EPS file.  Certain format
    was erroreously detected as invalid.  Thanks to Eric Sink
    <sink@ux2.cso.uiuc.edu> for pointing out the problem.
-----------------------> tgif-2.12-p16 => tgif-2.12-p17 <-----------------------
I've just put tgif-2.12-patch17 (17 patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.12-patch17.Z
	cs.ucla.edu:/pub/tgif/tgif-2.12-patch17.Z

Tgif is an Xlib-based 2-D drawing tool.

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch17'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in running with '-print -ps' command line arguments.  Used to
    cause segmentation fault where there are X11 Pixmap objects in the drawing.
    Thanks to David L. Johnson <dlj0@lehigh.edu> for pointing out the problem.
2)  Edit text would look find now even if the color of the text is the same as
    the background color.
3)  Add a new X default, Tgif*UseWMIconPixmap, so that use can choose
    to use the standard icon pixmap.  Setting it to true will force
    Tgif*NoTgifIcon to be true.
4)  Fix a problem with printing X11 pixmap objects in color PostScript.  There
    might be some ghost streaks running around the pixmap before.  Thanks to
    Leana Golubchik <leana@cs.ucla.edu> for pointing out the problem.
5)  Fix a few types.  Thanks to Paul Eggert <eggert@twinsun.com> for the
    patches.
-----------------------> tgif-2.12-p15 => tgif-2.12-p16 <-----------------------
I've just put tgif-2.12-patch16 (16 patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.12-patch16.Z
	cs.ucla.edu:/pub/tgif/tgif-2.12-patch16.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch16'.
Here's a short list of added features/bug fixes.

1)  Allow the launch= attribute to be multiline.
2)  Make pasting work in text mode.  The default paste command is still
    <Cntrl><Meta>y.
3)  Add user interrupt when redrawing.  Add a new X default,
    Tgif*IntrCheckInterval to define the number of objects drawn before
    checking for user interrupt.
4)  Fix some memory leaks.  Thanks to Mark Sterin <mark@FibHaifa.com> for
    the fixes.
-----------------------> tgif-2.12-p14 => tgif-2.12-p15 <-----------------------
I've just put tgif-2.12-patch15 (15 patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.12-patch15.Z
	cs.ucla.edu:/pub/tgif/tgif-2.12-patch15.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch15'.
Here's a short list of added features/bug fixes.

1)  Fix a fatal bug in generating PS files (not EPS).  The first line was
    missing if Tgif*UsePsAdobeString is not set to either true nor false.
    Thanks to Tyson Tuttle <tuttle@cserve1.crystal.cirrus.com> for pointing
    out the bug.
2)  Add the ability to launch an application from tgif (similar to MS-Windows'
    Program Manager) using the same mechanism as ``traveling'' among .obj
    files.  A couple of examples are provided (launch-demo.obj and
    launch-demo-1.obj).  Please see the LAUNCH APPLICATION section of the
    man pages for details.
3)  Add -cwo command line option (same as setting Tgif*CanvasWindowOnly to
    true).
4)  Use a home-grown "colorimage" operator if the color PostScript interpretor
    does not have it defined.  Now a color PostScript printer which only
    supports level 1 PostScript should be able to print the color PS files.
-----------------------> tgif-2.12-p13 => tgif-2.12-p14 <-----------------------
I've just put tgif-2.12-patch14 (14 patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.12-patch14.Z
	cs.ucla.edu:/pub/tgif/tgif-2.12-patch14.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch14'.
Here's a short list of added features/bug fixes.

1)  Fix a fatal bug in printing 8 bit characters.  Thanks to Wolfgang Glunz
    <wogl@sun11a.zfe.siemens.de> for pointing out the problem.
2)  Handle the postscript stack correctly.  The Tgif*ForceClearAfterEPS
    X default is now obsolete!
3)  Add a new X default, DefaultEPSScaling.  This specifies the scaling factor
    applied to an imported PS or EPS image.  Tgif treats 128 pixels as an inch
    and PostScript treats 72 points as an inch.  In order to have real-size
    PostScript images, one should set this parameter to 1.7778 (which is
    128/72).
4)  When generating a PS file, do not generate the EPSF part of the
    UsePsAdobeString specification.
-----------------------> tgif-2.12-p12 => tgif-2.12-p13 <-----------------------
I've just put tgif-2.12-patch13 (13th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.12-patch13.Z
	cs.ucla.edu:/pub/tgif/tgif-2.12-patch13.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch13'.
Here's a short list of added features/bug fixes.

1)  Fix bugs related to the tgif -print feature.  The problem was that
    popen() calls sh(1) and that quotes are stripped by sh(1).
    Thanks to Yoichiro Ueno <ueno@cs.titech.ac.jp> for the code fixes.
2)  The TextSize and TextStyle menus were reversed.
3)  Generate integer bounding box in PostScript output files.  This is to
    conform to the PostScript standard.
4)  Augment the UsePsAdobeString X default such that specific %!PS-Adobe
    string can be specified.  In addition to ``true'' and ``false'',
    UsePsAdobeString can also be specified with <Adobe_Version>/<EPSF_Version>.
    The command line option "-adobe=<Adobe_Version>/<EPSF_Version>" is also
    added.
5)  Add a new X default, ForceClearAfterEPS.  When it is set to ``true'',
    the PostScript stack is cleared after printing an EPS object.  This action
    was always taken in patchlevel 12 of version 2.12.  However, recently
    I found that the PostScript Language Reference Manual strongly discourages
    doing so.  Therefore, use this only if you REALLY want to generate the
    illegal "clear" command to get around some buggy EPS documents (such as
    the one generated by xgrabsc).
6)  Add the -DHP_LINE_BUG compile option to get around some buggy HP servers.
7)  Remove unrecognized commands in the man pages.
-----------------------> tgif-2.12-p11 => tgif-2.12-p12 <-----------------------
I've just put tgif-2.12-patch12 (12th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu:/contrib/tgif-2.12-patch12.Z
	cs.ucla.edu:/pub/tgif/tgif-2.12-patch12.Z

Here's a short list of added features/bug fixes.

1)  Fix a bug that causes PostScript stack overflow.  This could occur when
    printing files (black/white or color) containing xpm objects.
2)  Clears the PostScript stack when printing drawings with EPS objects so that
    certain buggy EPS files (such as the ones generate by xgrabsc) work.
3)  Tgif used to allocate black and white colors for internal use.  These
    colors are freed during initialization to allow the possibility of
    displaying pixmap of 256 colors.  (Please define DONTFREECOLORS in the
    DEFINES compile options to disable calls to free colors on buggy X servers.)
4)  Merge prtgif into tgif to save space.  Tgif will now take all the command
    line options that prtgif used to take; in addition, the -print option turns
    tgif into prtgif.  Thanks to Germano Caronni <caronni@nessie.cs.id.ethz.ch>
    for the suggestion.
5)  Fix a malloc bug in spline.c, poly.c, and polygon.c.  Again, thanks to
    Germano Caronni <caronni@nessie.cs.id.ethz.ch> for the bug fix.
6)  Fix a couple of bugs relating to VMS and that sometimes objects are not
    drawn when tgif comes up.  Thanks to Mats Bergstr"om
    <KOSU_MATSB@routh.kosufy.lu.se> for the code fixes.  Also included in
    this distribution is another example of a VMS makefile, VMS_MAKE_TGIF.COM,
    contributed by Mats Bergstr"om.
-----------------------> tgif-2.12-p10 => tgif-2.12-p11 <-----------------------
I've just put tgif-2.12-patch11 (11th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	/contrib/tgif-2.12-patch11.Z
	cs.ucla.edu		/pub/tgif/tgif-2.12-patch11.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch11'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in erasing text from a grouped object.  This bug only appears if
    the Tgif*GroupedTextEditable X default is set to 'true'.
2)  Fix a bug in setting the clipping rectangles.  Sometimes, tgif would not
    redraw properly.  Thanks to Yoichiro Ueno <ueno@cs.titech.ac.jp> for the
    fix.
3)  Fix a bug in copying objects with attributes.  It used to be that every
    time such a object is copied, the ordering of the attributes are reversed.
4)  Fix a typo in box.c.  This bug only appears if -DNO_THIN_LINE is specified
    as a compile option.
-----------------------> tgif-2.12-p9 => tgif-2.12-p10 <-----------------------
I've just put tgif-2.12-patch10 (10th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	/contrib/tgif-2.12-patch10.Z
	cs.ucla.edu		/pub/tgif/tgif-2.12-patch10.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch10'.
Here's a short list of added features/bug fixes.

1)  Fix a bug that causes seg fault when moving from attribute to attribute
    using <Shift><Tab> (feature introduced in patchlevel 8).
2)  Add a new command, SaveSymInLibrary(), under the FileMenu to save a symbol
    (.sym) file.  This will prompt the user to pick a library directory from
    the current domain for saving the symbol file.
3)  Add a compile option USE_XAPPLRESDIR to tell tgif to look at the
    XAPPLRESDIR environment variable first and try to locate the tgif
    resources if XENVIRONMENT is not set.  However, if you machine doesn't
    support putenv() (such as IBM-RT), then this won't work.  Thanks to
    Jaap Haalboom <haalboom@prl.philips.nl> for the suggestion and the code.
4)  Add -gray and -adobe command line options to prtgif.  They have
    the same effects as setting the Tgif*UseGrayScale and Tgif*UsePsAdobeString
    X defaults to ``true'' (prtgif does not read X defaults).
5)  Allow prtgif to specify a symbol file name.
6)  Try to generate a more compact xbm or xpm file when the bounding box can
    be figured out exactly.
-----------------------> tgif-2.12-p8 => tgif-2.12-p9 <-----------------------
I've just put tgif-2.12-patch9 (9th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	/contrib/tgif-2.12-patch9.Z
	cs.ucla.edu		/pub/tgif/tgif-2.12-patch9.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch9'.
Here's a short list of added features/bug fixes.

1)  Replace calls to random() and srandom() by rand() and srand() because
    VMS, HP-UX, and other systems do not support them.  Thanks to Roberto
    Cecchini <SYSTEM@FI.INFN.IT> for pointing out the problem.
-----------------------> tgif-2.12-p7 => tgif-2.12-p8 <-----------------------
I've just put tgif-2.12-patch8 (8th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	/contrib/tgif-2.12-patch8.Z
	cs.ucla.edu		/pub/tgif/tgif-2.12-patch8.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch8'.
Here's a short list of added features/bug fixes.

1)  Add a new drawing mode for freehand drawing of polylines and open-splines.
2)  Add a new X default, GroupedTextEditable.  When it is set to ``true'',
    text objects and attributes embedded in grouped objects can be edited.
    (The default setting is ``false'' though.)
3)  When editing an attribute of an object, <Meta><Tab> will move the cursor
    to the next visible attribute and <Shift><Tab> will move the cursor to the
    previous visible attribute.
4)  Add new X defaults, HalfToneBitmap and ThresholdBitmap.  When
    HalfToneBitmap (or ThresholdBitmap) is set to ``true'', the Floyd-Steinberg
    half-tone method adapted from pbmplus (or a simple thresholding method) is
    used to turn bits on or off when printing in X11 bitmap format.  These are
    useful when the drawing contains X11 pixmap objects.  Another new X default,
    BitmapThreshold should be used in conjection with the above two X defaults.
    It's interpreted differently depending on which method is specified.
5)  Fix bugs in handling long strings.  Thanks to Neal Holtz
    <holtz@civeng.carleton.ca> for fixing the bugs.
6)  Fix a minor bug in popping from a symbol file where the original font size
    was not restored.
7)  If a private colormap is used, executing FlushUndoBuffer() will try
    to reset the colormap.  This will not work if the -DDONT_FREE_COLORMAP
    compile option is used.
-----------------------> tgif-2.12-p6 => tgif-2.12-p7 <-----------------------
I've just put tgif-2.12-patch7 (7th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12-patch7.Z
	cs.ucla.edu		pub/tgif/tgif-2.12-patch7.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch7'.
Here's a short list of added features/bug fixes.

1)  Use Tgif*DefaultColorIndex to determine what color string to generate
    in black and white mode.  Used to always use 'magenta'.  The
    tgif.Xdefaults and tgif.man files are updated to reflect that there are
    11 default colors.  If Tgif*DefaultColorIndex is not specified,
    'black' will be used (equivalent to the default setting of 9).
2)  Make it work with the numeric keypad (specifically, handling the keys
    with the XK_KP_* keysyms).
3)  Support a new compile option -DNO_THIN_LINE.  This can be used to get
    around some server bugs in drawing lines with 0 width.
4)  Add an X default, CanvasWindowOnly.  When it is set to 'true', only the
    canvas window will be displayed.
5)  Add an X default, UsePsAdobeString.  When it is set to 'true', the first
    line of generated PS or EPS file will be "%!PS-Adobe-2.0 EPSF-1.2".
    Otherwise, the first line is defaulted to be "%!".  The PS-Adobe
    string might confuse Transcript, but it is needed to work with groff.
-----------------------> tgif-2.12-p5 => tgif-2.12-p6 <-----------------------
I've just put tgif-2.12-patch6 (6th patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12-patch6.Z
	cs.ucla.edu		pub/tgif/tgif-2.12-patch6.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch6'.
Here's a short list of added features/bug fixes.

1)  Add retainable comments to tgif files.  If you add lines that start
    with "%%" (two percent signs) in a .obj file, after you edit and save
    the file, those lines will be retained (put near the top of the file).
    If the file is imported, comments of this type are dropped.
    If saving into a new file, whether comments of this type are dropped
    is determined by the SaveCommentsInSaveNew X default.
    Thanks to David Bright <bright@SCTC.COM> for his contribution.
2)  Fix a bug in proportional stretching when stretching starts in the
    right middle handle.
3)  Fix a bug in reading files with invalid linewidths.  Used to seg fault.
4)  Support a new compile option -DTHIN_OVAL_AND_ARC.  This is mainly used
    to get around a SUN3 server bug where drawing arcs having width > 0 is
    VERY slow.  If this option is used, when the width of an arc is <= 1,
    0 width arcs are used.
5)  Update tgif.Xdefaults to use ! instead of # for comments.
6)  Fix a color allocation bug.
7)  This item is just a note.  Currently, when an EPS file is imported,
    the EPS file is scaled down.  In order to get the original scale,
    use the PreciseScale() command under the EditMenu (or type
    <Meta><RightParanthesis>) and give a scaling factor of 1.778 if
    English grid system is used, or 1.764 if Metric grid system is used.
    Tgif uses 128 pixels per inch in English grid system and 127 pixels
    per inch in Metric grid system, and PostScript is 72 points per inch.
    128/72=1.778 and 127/72=1.764.
-----------------------> tgif-2.12-p4 => tgif-2.12-p5 <-----------------------
I've just put tgif-2.12-patch5 (fifth patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12-patch5.Z
	cs.ucla.edu		pub/tgif-2.12-patch5.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch5'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in printing stretched large bitmaps.
2)  Speed up the printing of xpixmap objects in non-color mode.
3)  Add an X default, XPmInXGrabSCFormat, to make the xpixmap output resembles
    what's generated by xgrabsc.  This shouldn't be done normally unless you
    are using some software the insists on xpm generated by xgrabsc (such as
    Servio's GeODE).  The xpm file generated by xgrabsc is kind of non-standard
    (you can't directly #include such a file in C because some commas are    
    missing).
-----------------------> tgif-2.12-p3 => tgif-2.12-p4 <-----------------------
There was a severe typo in the release of tgif-2.12-patch3 (for those
who do not use Imakefile).  I've just put tgif-2.12-patch4 (fourth patch
for tgif-2.12) in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12-patch4
	cs.ucla.edu		pub/tgif-2.12-patch4

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch4'.
Here's the bug description.

1)  Fix bugs in Makefile.noimake and descrip.mms.  Was complaining about
    not being able to find DumpPSMacro() during link.
-----------------------> tgif-2.12-p2 => tgif-2.12-p3 <-----------------------
I've just put tgif-2.12-patch3 (second patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12-patch3.Z
	cs.ucla.edu		pub/tgif-2.12-patch3.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch3'.
Here's a short list of added features/bug fixes.

1)  Add a new X default, Tgif*UseGrayScale.  When set to true, gray scale
    will be used to print the tiling patterns for non-color PostScript output.
    This speeds up printing quite a bit.  However, the tiling pen or fill
    pattern you see on the screen is not what you get on paper.
2)  Add a new X default, Tgif*AutoPanInEditText.  When set to true, auto
    panning will be used such that the text cursor is always visible in
    text edit mode (except when the cursor is to the left or on top of the
    paper).  This should probably be turned off on slow servers.
3)  Add a new X default, Tgif*PercentPrintReduction, to specify the initial
    reduction/magnification.
4)  Add a new command, PrintMsgBuffer, under the EditMenu to write out the
    content of the message buffer to a file.
5)  For some VMS systems, it's not desirable to delete the temporary print
    file right after the print file is printed (actually spooled) to the
    printer.  If this is the case, a compiler option -DKEEP_WHEN_PRINT can
    be added to the DEFINES line.
6)  Will not use tgifmacro.ps file anymore (since it is not installed properly
    often enough).  Instead, the PostScript macros are generated from tgif.
7)  Fix a bug in breaking up text objects.
8)  Fix a bug such that <Cntrl>n is not recognized as 'n' in the yes/no/cancel
    dialog boxes.
9)  Fix miscellaneous bugs.  Thanks to Dan Forrest
    <forrest@lidar2.meteor.Wisc.EDU> for the bug fixes.
-----------------------> tgif-2.12-p1 => tgif-2.12-p2 <-----------------------
I've just put tgif-2.12-patch2 (second patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12-patch2.Z
	cs.ucla.edu		pub/tgif-2.12-patch2.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch2'.
Here's a short list of added features/bug fixes.

1)  Fix tgif so that it works correctly with scalable-font X servers.
    All fonts starts with "-" and ends with "iso8859-1" now.
    Apparently, some scalable font servers requires all the XLFD fields.
    Thanks for the help from Oliver Jones <oj@roadrunner.pictel.com>.
    (If anyone finds that this slows down the opening of fonts considerably,
    please let me know.  I'll make it a compile option.)
2)  ImportEPSFile() will, by default, take files with both .eps and .ps
    extensions.
3)  When the current drawing mode is either select or select vertex and
    nothing is selected, using the arrow keys will scroll and using
    <Control> arrow keys will scroll a screen full.  <Control> arrow
    keys work similarly in select file names.
4)  Do a few more '#ifdef apollo' to get 'names.c' compiled on the Apollos.
-------------------------> tgif-2.12 => tgif-2.12-p1 <-------------------------
I've just put tgif-2.12-patch1 (first patch for tgif-2.12) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12-patch1.Z
	cs.ucla.edu		pub/tgif-2.12-patch1.Z

The patch is also posted to comp.sources.bugs.

Please uncompress and then apply the patch with
'patch -p -N < tgif-2.12-patch1'.
Here's a short list of added features/bug fixes.

1)  Fix bugs on getting an X error when exiting on Apollo workstations.
    Thanks for the help from Jaap Haalboom <haalboom@prl.philips.nl>.
2)  Fix bugs on undo/redo when attributes are involved in certain ways.
3)  Attribute menus are not supposed to be pinnable.
4)  EPS outline on the screen is drawn with the wrong dash pattern sometimes.
5)  Try to make the PostScript output a little more robust.
6)  Fix a type-casting problem on rotating/stretching xbitmap/xpixmap
    objects on certain platforms.  Thanks for the help from Carsten B.
    Mortensen <cbm@elctr.dk>.
-------------------------> tgif-2.11-p2 => tgif-2.12 <-------------------------
I've just put tgif-2.12 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.12.tar.Z
	cs.ucla.edu		pub/tgif-2.12.tar.Z

Here's a short list of added features/bug fixes.

1)  Undo/redo all operations (#u will undo and #* will redo).
2)  Supports the importing of EPS files.  (The content of the EPS file is
    not stored in the .obj file.)
3)  Make all menus (except the ColorMenu -- this is because I can't seem to
    get around the colormap problem) pinnable.
4)  Add the ability to lock objects.
5)  Can stretch bitmap and pixmap objects (not yet for text objects).
6)  Add object distribution (spacing).
7)  Auto-justify one-line text objects when they are aligned with other objects.
8)  Add a #& command to align selected objects to the page boundaries.
9)  Xterm-style scrollbars.
10) Add a new drawing mode -- vertex mode.  In this mode, multiple vertices
    can be moved, aligned, or deleted.  Double-click in this mode will
    de-select all selected objects.  (Still haven't decide if it's a good
    idea to use double-click to de-select in select mode.)
11) An icon object can now be stretched if it has an inherited attribute
    whose name is empty and whose value is "not_rigid".
12) Change a little bit the way constrained move/stretch mode works.
13) Rearrange the panel (choice) window.  Rearrang the bindings on the
    mouse buttons -- middle button will generate the main menu, right
    button will generate the mode menu (even in text mode), and
    Shift or Control left button will be used to mark the end of a string
    in text mode.
14) Support the following command line options:  -fg -bg -bd -rv -nv -bw.
15) Add a new X default, HandleSize, so that the size of the little square
    (handle), which shows up when objects are selected, can be specified.
16) Add a new X default, HistoryDepth, to specify the size of the
    undo/redo buffer.
17) For those who care, it used to be that the '"' character is saved
    as \" in .obj and .sym files, now it can be changed to "" by using
    the DoubleQuoteDoubleQuote X default.
-----------------------> tgif-2.11-p1 => tgif-2.11-p2 <-----------------------
I've just put tgif-2.11-patch2 (second patch for tgif-2.11) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.11-patch2
	cs.ucla.edu		pub/tgif-2.11-patch2

The patch is also posted to comp.sources.bugs.

Please apply the patch with 'patch -p -N < tgif-2.11-patch2'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in un-deleting polyline or polygon objects.
2)  Fix a typo in the shortcuts stuff; DrawPoly() was mis-spelled.
-------------------------> tgif-2.11 => tgif-2.11-p1 <-------------------------
I've just put tgif-2.11-patch1 (first patch for tgif-2.11) in the
following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.11-patch1
	cs.ucla.edu		pub/tgif-2.11-patch1

Please apply the patch with 'patch -p -N < tgif-2.11-patch1'.
Here's a short list of added features/bug fixes.

1)  Fix a bug in handling long strings in text objects.  Thanks to
    Yoichiro Ueno (ueno@cs.titech.ac.jp) for the fix.
2)  Fix a bug in handling shortcuts (used to seg-fault if there are
    too many shortcuts).
3)  Fix a bug in caching X11 pixmap objects.
4)  Fix bugs in caching attributes (doesn't look right before).
5)  Add ScrollPageUp(), ScrollPageDown(), ScrollPageLeft(), and
    ScrollPageRight() to the list of shortcuts.
6)  If the initial file can not be opened, set the name of the current
    file to the specified name anyways.
--------------------------> tgif-2.10 => tgif-2.11 <--------------------------
I've just put tgif-2.11 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.11.tar.Z
	cs.ucla.edu		pub/tgif-2.11.tar.Z

Here's a short list of added features/bug fixes.

1)  Add constrained/unconstrained move (and stretch) modes (toggled by #@
    command); the X defaults ConstrainedMove is used to specify the initial
    move (and stretch) mode.  Please read the subwindows and idiosynchrasies
    sections of the man page for more detail.  (This feature is kind of a
    double-edged sword.  Use with caution.)
2)  Fix bugs with composed characters.
3)  Use <dirent.h> instead of <sys/dir.h> for most machines.  IBM-RT is the
    only exception.  This patch is also needed for people running RS6000
    (in addition to include the -DNOTR4MODE in the DEFINES line in Imakefile
    or Makefile.noimake).  Please send bug reports if this doesn't work on
    your machine.
--------------------------> tgif-2.9 => tgif-2.10 <--------------------------
I've just put tgif-2.10 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.10.tar.Z
	cs.ucla.edu		pub/tgif-2.10.tar.Z

Here's a short list of added features/bug fixes.

1)  Add the ability to zoom in from the default zoom.
2)  Add proportional stretching (scaling) of objects.  When stretching
    objects, if the shift key is held down _after_ stretching is
    initiated, then scaling mode is activated.
3)  Add ## command to break up text objects into single character text
    objects.  (Since PostScript fonts are a little bit different from X11
    fonts, this MIGHT help to minimize the difference between the two in
    some situations, at the expense of larger file size and slower printing.
    However, sometimes it might look worse.)
4)  Add #_ and #| commands to join objects end to end horizontally and
    vertically.
5)  Add #^ command to scroll to the left top corner of the page.
6)  Add a new X default, InitialGrid, to specify the initial grid size.
7)  Fix a couple array index out of range bugs that cause unaligned
    access warnings on MIPS.  Thanks to David Slate (dave@math.nwu.edu)
    for tracking down the bugs.
8)  Include tgif.cat and prtgif.cat in the distribution for people who
    doesn't have nroff.
--------------------------> tgif-2.8 => tgif-2.9 <--------------------------
I've just put tgif-2.9 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.9.tar.Z
	cs.ucla.edu		pub/tgif-2.9.tar.Z

Here's a short list of added features/bug fixes.

1)  Add user-definable ``shortcut'' keys (in additional to the
    <Cntrl> and <Meta> key bindings).  See the SHORTCUTS section
    in man page for details.  I personally wouldn't recommand
    using this feature because if you fall asleep on your keyboard, ...
2)  Use dragging to hightlight text (in additional to using the middle
    mouse button).
3)  Add vertical spacing control between lines within the same
    text object.
4)  When printing xpm objects from tgif (not prtgif) in black and white,
    greyscale is used (PostScript procedure adapted from xgrabsc).
    Color PostScript dump is made more efficient and condensed with
    the 'colorimage' operator (which some black/white PostScript might
    not support).
5)  Clicking the arrows in the scrollbars with the shift key held
    down will scroll a window-full.
6)  Add a new X default, XPmOutputVersion, to select the output X Pixmap
    format/version.  XPM version 3 is supported now (only color visuals
    are supported, meaning that the key field is the color section
    must be the character 'c').
7)  Add FlushUndoBuffer in the Edit menu to free objects in the
    un-delete buffer.
8)  When creating polygon objects, use non-self-closing rubberband
    (closed-splines will always see self-closing rubberband).  If the
    self-closing style is prefered, the user can holding down the
    <Shift> key while creating the polygon.
9)  Make the domain 'Examples' always available.  The library for that
    domain is specified in the compile flag TGIF_PATH.
10) Add a new X default, ImportFromLibrary.  If set to true, the library
    directories specified by the current domain are searched for
    xbitmap/xpixmap files to import.  Otherwise, the old style is used.
11) Add more pen and fill patterns.
12) Combine the 75dpi and 100dpi font sizes to be able to access from
    one menu.  The FontDPI menu is no longer available.
13) In drawing any object, clicking the left or right mouse buttons
    in the panel window will NEITHER change the current object NOR
    terminate the current drawing mode.  The exception being that,
    in text mode, changing justification, fonts, fill, or pen will
    change the current mode to the selecting mode.
14) Fix a bug in print xbitmap/xpixmap file.  Some objects might be
    missing if they were no visible in the window.
15) Other miscellaneous bug fixes.
--------------------------> tgif-2.7-p1 => tgif-2.8 <--------------------------
I've just put tgif-2.8 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.8.tar.Z
	cs.ucla.edu		pub/tgif-2.8.tar.Z

Here's a short list of added features/bug fixes.

1)  Use true splines for rubberbanding in creating, moving, reshaping,
    and adding vertices to splines.  The new X default, SplineRubberband,
    can be used to disable this visual effect in the case where the
    spline has too many vertices.
2)  Allow grouping a single spline or poly with itself so it can be stretched
    all by itself (without the grouping, it can only be reshaped).
3)  'Teleport' used to be activated by the middle mouse button and
    ModeMenu used to be activated by the middle mouse button with
    shift or control key down.  They are switched now since 'teleport'
    is probably not used as often as the other function.
4)  Add -DOBJ_FILE_EXT and -DSYM_FILE_EXT to the makefiles so that
    the file extensions for the object and symbol files can be
    specified.  The default file extensions are .obj and .sym.
5)  Add -DPRINT_CMD to the makefiles (disabled by default) so that a default
    print command can be specified in addition to the PrintCommand X default.
6)  Add -DNOTR4MODE to the makefiles (disabled by default) so that tgif
    can be compiled not using XSetWMProtocols() and XSetWMNormalHints()
    to run under X11R3 (these functions are available only in X11R4).
7)  Add X default GuessXPmBgColor to disable guessing of the background
    color when importing X pixmaps.
8)  Add a HISTORY file to the distribution.
9)  Fix initial paper width and paper height for A4PAPER.
-------------------------> tgif-2.7 => tgif-2.7-p1 <-------------------------
I've just put tgif-2.7-p1 (patch 1 diff file for tgif-2.7) in the
following places for anonymous ftp:

	cs.ucla.edu		pub/tgif-2.7-p1
	rye.cs.ucla.edu		pub/tgif-2.7-p1

I'll put a copy on export.lcs.mit.edu as soon as it starts
accepting files again.  I'm also posting tgif-2.7-p1 on
comp.sources.bugs.

Please apply the patch with 'patch -p -N < tgif-2.7-p1'.

Here's a short list of added features/bug fixes.

1)  Fix a bug in displaying open splines with arrows heads.  This bug
    causes segmentation faults in tgif-2.7.
2)  Add optional compiler switch (-DDONT_FREE_COLORMAP) to disable
    XFreeColormap() call to get around server bugs on certain machines.
3)  Fix a bug in importing file.
4)  Fix a bug in reading very old version files.
5)  Add ^W and ^Y and arrow keys in selecting file names with a popup window.
6)  Checks memory allocation error in handling X pixmap objects.
-------------------------> tgif-2.6 => tgif-2.7 <-------------------------
I've just put tgif-2.7 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.7.tar.Z
	cs.ucla.edu		pub/tgif-2.7.tar.Z

Here's a short list of added features/bug fixes.

1)  Add #% command to allow arbitrary reduction/enlargement while printing.
2)  Add #: and #` commands to zoom all the way in and all the way out.
3)  Add #; command to cut and magnify xbitmap/xpixmap objects.
4)  Add #~ command to save selected objects.
5)  Add arrow tips for arcs.
6)  Use cursor keys to move objects by the grid amount.
7)  Page size is now 8.5x11 instead of 7.5x10.
8)  Add user specifiable line widths, arrow head widths, and arrow head
    heights through X defaults.
9)  Colors in X pixmaps no longer have to be in the X defaults; colors
    are allocated on depend until no more color cell is available.
10) Support X pixmap format where the chars_per_pixel is 2.
11) Modify tgifmacro.ps so that it is complient with EPSF standards.
    Thanks to Glenn Lewis's (glewis@fws204.intel.com) contribution.
12) Detect errors while reading files.  This is helpful when the
    tgif files are not generated by other tools.  Thanks to
    Christos Zoulas's <christos@ee.cornell.edu> contribution.
13) Add three more dash patterns.  Add miscellaneous control key input
    in choosing a name.  Thanks to Yoichiro Ueno's (ueno@cs.titech.ac.jp)
    contribution.
14) Performance enhancement in displaying bitmaps and pixmaps while zoomed out.
15) Performance enhancement in generated PostScript output.
16) Add an X defaults WarpToWinCenter and SaveTmpOnReturn.
-------------------------> tgif-2.5 => tgif-2.6 <-------------------------
I've just put tgif-2.6 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.6.tar.Z
	cs.ucla.edu		pub/tgif-2.6.tar.Z

Here's a short list of added features/bug fixes.

1)  Add -o flag to prtgif and X default PrintDirectory so that
    the printout can go to a specified directory.
2)  Fix a (typo) bugs in reading long poly objects.
3)  Fix the foreground/background pattern for rotated text.
4)  Fix some minor bugs in arc code.
5)  Add a #" command to convert selected polygons to regular ones.
    Each new polygon will be made to fit inside the bounding box of the
    corresponding original one.
6)  Add a <META>9 command to specify an arc with the string:
		radius,dir,theta1,theta2
    where radius (integer) is in pixels; dir can be a + or a -
    for clockwise or counter-clockwise; theta1 and theta2 are
    measured from the 12 o'clock position.
7)  Rename the file .psmac to tgifmacro.ps.
8)  Add X default DropObsIconAttrWhenUpdate.  If set to true, obsolete
    icon attributes will be dropped without confirmation when the
    UpdateSymbols command is executed.  If set to false (which is the
    default), a popup window will prompt the user to specify what to do
    with the obsoleted icon attributes.
9)  Add X default UseRecentDupDistance.  If set to true, the most recent
    change in position produced by a combination of a duplicate and a move
    command will be used for the new duplicate command.
10) Add a #- command to show all the attributes of selected objects.
11) Some additional VMS support.
12) Change the #ifdef APOLLO to the standard #ifdef apollo form.
13) Add patchlevel.h so that, in the future, small patches can be
    added without version changes.

The patch will be posted to comp.sources.x.
-------------------------> tgif-2.4 => tgif-2.5 <-------------------------
I've just put tgif-2.5 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.5.tar.Z
	cs.ucla.edu		pub/tgif-2.5.tar.Z

Here's a short list of added features/bug fixes.

1)  Add support for Metric grid system.  ^#- toggles between
    the English and the Metric grid system.  The X default
    GridSystem is used to specify the initial grid system.
2)  Add pinned main menu.  Thanks for Kouichi Matsuda
    (matsuda@ccs.mt.nec.co.jp).  The X default MainMenuPinDistance
    controls the horizontal distance away from the main popup menu
    the mouse must travel before the main menu is pinned.
    Right mouse button moves the pinned main menu and the middle
    mouse button un-pins it.
3)  Include VMS compatibility stuff.  Thanks to gjc@mitec5.mitech.com
    for the VMS code and Roger Grywalski <grywalski@idicl1.idi.battelle.org>
    for helping to make things work.  (The VMS makefile, descrip.mms,
    will be included in the distribution from now on.  VMS users should
    modify the TGIF_PATH and TMP_DIR definitions in the DEFINES line
    in descrip.mms.)
4)  Add X defaults AskForXBmSpec and AskForXPmSpec so that
    magnification and geometry can be specified when importing
    a X Bitmap or a X Pixmap file.  Also allow #RRRGGGBBB type
    of color specification in a X Pixmap file (easier integration
    with xgrabsc).
5)  Add X default XBmReverseVideo to use reverse video when
    importing X Bitmap files.
6)  Add X default NoTgifIcon to disable tgif's own icon window.
7)  Add X default MsgFontSizeIndex to specify the point size used
    for messages and popup windows.
8)  Add X default SplineTolerance so that the user can see a
    smoother spline if desired (doesn't affect print out).
9)  Allow the root name to be '//' for Apollo platforms.
    (Users on Apollo systems should add -DAPOLLO to the
    DEFINES definition in Imakefile or Makefile.noimake.)
10) Fix a bunch of calloc() bugs with related to string copy.

Note:  In the DEFINES definition in the Imakefile and the
       Makefile.noimake, the PSFILE_MOD changes from a string
       to an octal number.

The patch will be posted to comp.sources.x.
-------------------------> tgif-2.3-beta => tgif-2.4 <-------------------------
I've just put tgif-2.4 in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.4.tar.Z
	cs.ucla.edu		pub/tgif-2.4.tar.Z

Here's a short list of added features/bug fixes.

1)  Add ^E key binding to save/restore current drawing mode.
2)  Text objects now have a background fill (file version is now at 11).
3)  Use shorter names in the title window if possible.
4)  Allow primitive objects to become iconic or symbolic.
5)  Use user definable cursors (in X defaults) for pointing, drawing, and
    draging.
6)  Add -display and -geometry command line arguments.
7)  Use <Shift>button2 for drawing mode menu.
8)  Highlight the current selections in popup menus.
9)  Add the following X defaults:  DoubleClickUnIconify, RubberBandColor,
    DontShowVersion, and WhereToPrint.  See tgif.man for details.
10) Fix a bug in generating color PostScript.  Something used to be
    transparent when they are not supposed to.
11) Fix a bug in using rubber-banding with 24-bit display.
12) Make the encapsulated PostScript bounding box slightly bigger.
13) Try to handle icon window and expose event better, and try to interact
    with the window manager better.
14) Try to handle exit() better.
15) Remove tgif2ps stuffs from the distribution (they were not needed
    since long time ago).

Special thanks to Kouichi Matsuda <matsuda@msdl86.ccs.mt.nec.co.jp>
and Christos Zoulas <christos@ee.cornell.edu> for their patches.
(Appology to <gjc@mitec5.mitech.com> for not getting the VMS support
stuff included.)

The patch will be posted to comp.sources.x.
-------------------------> tgif-2.2 => tgif-2.3-beta <-------------------------
I've just put tgif-2.3-beta in the following places for anonymous ftp:

	export.lcs.mit.edu	contrib/tgif-2.3-beta.tar.Z
	cs.ucla.edu		pub/tgif-2.3-beta.tar.Z

Here's a short list of the major added features/bug fixes.

1) Support importing of a subset of X11 Pixmap format files.
   (Colors are limited.  See tgif.man in the distribution for details.)
2) Support HyperCard-like mechanism for ``teleporting'' or ``traveling''
   between tgif drawings.
3) Support upper 128 characters of a font.  These characters can now
   be accessed through <ESC> sequences.  For example, <ESC>A gives
   Aacute.
4) Fix bugs related to printing large bitmaps.  (Used to tile the
   size of the bitmap image with part of the bitmap.)

I've tested this release as much as I could.  When all the bug
reports are in, I'll post the patch and bring tgif to 2.4.
-------------------------> tgif-2.1 => tgif-2.2 <-------------------------
I've just put tgif-2.2 in the following places for anonymous ftp:
(Note:  EXPORT, not EXPO!)

	export.lcs.mit.edu	contrib/tgif-2.2.tar.Z
	cs.ucla.edu		pub/tgif-2.2.tar.Z

Here's a short list of added features/bug fixes.

1) Fix a bug in producing PostScript output with odd nibble count.
   Thanks to Suzanne Liebowitz Taylor (suzanne@PRC.Unisys.COM) for
   pointing out the problem.

Due to the small size of this patch, the patch file is posted in this
newsgroup.

The following is the patch to take tgif from version 2.1 to 2.2.
Apply it with 'patch -p -N < patchfile'.
-------------------------> tgif-2.0 => tgif-2.1 <-------------------------
I've just put tgif-2.1 in the following places for anonymous ftp:
(Note:  EXPORT, not EXPO!)

	export.lcs.mit.edu	contrib/tgif-2.1.tar.Z
	cs.ucla.edu		pub/tgif-2.1.tar.Z

The (short) patch included fixes small bugs in Makefile.noimake.
The complete source of tgif-2.1 will be posted to comp.sources.x.
(The complete source of tgif-2.0, therefore, will NOT be posted to
comp.sources.x.)

The following is the patch to take tgif from version 2.0 to 2.1.
-------------------------> tgif-2.0 <-------------------------
I've just put tgif-2.0 in the following places for anonymous ftp:
(Note:  EXPORT, not EXPO!)

	export.lcs.mit.edu	contrib/tgif-2.0.tar.Z
	cs.ucla.edu		pub/tgif-2.0.tar.Z

Tgif is at revision 2.0 for maintenance reason.  The complete
source will be posted to comp.sources.x.  (Maintenance for
revisions 1.* will eventually be dropped.)

Here's a short list of added features/bug fixes from tgif-1.23.

1) Can import X11 bitmaps as new primitive objects.
2) Output X11 bitmap (xbm) or X11 pixmap (xpm) files.
3) Fix color PostScript output.  There are still some problem
   with printing to Apple LaserWriter.  Please read the BUGS
   section in tgif.man.
4) Scrollable message window (no scrollbars, just clicks).
5) Comment line (starts with %) are allowed in .obj and .sym files.
6) Handle more X defaults to setup initial fonts, styles, etc.
7) Keeping track of importing directory, and better handling
   of the popup window that enquires about file names.
8) The directory 'bitmaps' is renamed to 'xbm'.
