Newsgroups: comp.windows.interviews
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!stanford.edu!cascade.stanford.edu!cascade!interran
From: interran@lurch.Stanford.EDU (John Interrante)
Subject: fix2 for 3.0-beta
Message-ID: <INTERRAN.91May2195230@lurch.Stanford.EDU>
Sender: news@cascade.Stanford.EDU (USENET News System)
Organization: Stanford University
Date: 2 May 91 19:52:30
Lines: 57

John Vlissides archived his fix for the 8-bit character problem in
~ftp/pub/3.0-fixes/fix2 on interviews.stanford.edu.  For people's
convenience, I'll enclose the contents of fix2 in this message.
-- 
	Apply with ``patch -p -N < fix2'' at the top of the source tree.

Newsgroups: comp.windows.interviews
From: vlis@lurch.stanford.edu (John Vlissides)
Subject: Re: more idraw enhancement suggestions
In-Reply-To: rosen@polar.bu.edu's message of 29 Apr 91 01:56:42 GMT
Organization: stanford university
Distribution: comp,world
Date: 30 Apr 91 12:08:56

In article <ROSEN.91Apr28215642@polar.bu.edu> rosen@polar.bu.edu (David B. Rosen) writes:

   2) Ability to use the entire postscript character set in text objects
   (not just the bottom 128!).

3.0 idraw is meant to support such characters via the Meta key;
however, there is a bug that prevents this from working consistently.
Below is the patch:

*** /interviews/dist/3.0-beta/iv/src/lib/Unidraw/manips.c	Thu Apr  4 22:46:50 1991
--- iv/src/lib/Unidraw/manips.c	Tue Apr 30 12:03:29 1991
***************
*** 608,614 ****
          case '\015':  if (_multiline) InsertCharacter('\n'); break;
          case '\033':  manipulating = false; break;
          default:
!             if (!iscntrl(c)) {
                  InsertCharacter(c);
              }
              break;
--- 608,614 ----
          case '\015':  if (_multiline) InsertCharacter('\n'); break;
          case '\033':  manipulating = false; break;
          default:
!             if (!iscntrl(c & 0x7f)) {
                  InsertCharacter(c);
              }
              break;

   7) Constrained move, like on the mac.  I.e. when you hold down the
   shift key during a move, you can move the object horizontally or
   vertically, but not both.  (Suggested by Gary Bradski I think.)

This works in 3.0 idraw exactly as you describe.
--
John Vlissides
Computer Systems Lab
Stanford University
vlis@interviews.stanford.edu


--
John Interrante / interran@lurch.stanford.edu
