🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1031

Re: more idraw enhancement suggestions

#1031
From: John Vlissides
Date: Tue, 30 Apr 1991 16:08
39 lines
2037 bytes
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
--- 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
Technical Details
Message-ID: <VLIS.91Apr30120856@lurch.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!stanford.edu!leland.Stanford.EDU!portia!vlis
References: <1991Apr17.125617.19077@ira.uka.de> <ROSEN.91Apr28215642@polar.bu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!stanford.edu!leland.Stanford.EDU!portia!vlis
From: vlis@lurch.stanford.edu (John Vlissides)
Newsgroups: comp.windows.interviews
Subject: Re: more idraw enhancement suggestions
Message-ID: <VLIS.91Apr30120856@lurch.stanford.edu>
Date: 30 Apr 91 16:08:56 GMT
References: <1991Apr17.125617.19077@ira.uka.de>
 <ROSEN.91Apr28215642@polar.bu.edu>
Sender: news@leland.Stanford.EDU (Mr News)
Distribution: comp,world
Organization: stanford university
Lines: 39
In-Reply-To: rosen@polar.bu.edu's message of 29 Apr 91 01:56:42 GMT