[comp.sys.sun] constrained cursor movement

wilde@cbnewsd.ATT.COM (charles.j.wilde) (10/19/89)

I have an application where I draw lines with the mouse.  I'd like to be
able to constrain movement to either horizontal ot vertical, as in
FrameMaker's graphics tool or the resize of a Shelltool in SunView.  I
could not find any environment variable to set, or any routine which does
this.  Can anyone point me in the right direction?  I'm working on both
Sun3 and Sun4 platforms, but all under OS 4.0.3.

Chuck Wilde
AT&T Bell Labs