🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5873

Re: Mouse support in 6.5.0.b3

#5873
From: R. Stewart Ellis
Date: Tue, 17 May 1994 20:13
49 lines
3393 bytes
schnoebe@convex.com (Eric Schnoebelen) writes:

 >ellis@nova.gmi.edu (R. Stewart Ellis) writes:
 >- hanson@fnsolar.fnal.gov (Steve Hanson) writes:
 >-  >I just built 6.5.0 beta 3 mostly for purposes of getting the mouse support
 >-  >in xterms.  However, it isn't at ALL clear to me how this is supposed to
 >-  >work (and in fact all I can get to happen with using the mouse are seemingly
 >-  >random events).  
 >- 
 >- I am posting this from b3, running within an xterm.  When nn b3 initialized
 >- it did not set the mouse variable.  Setting it to 1 or 2 still does not make
 >- the mouse work.  I too get the random events that seem to be from the cut
 >- buffer getting pasted in.  What is the magic incantation that is required?

 >	setting the mouse variable from within nn (6.5, beta 3)
 >doesn't seem to execute the initialization code.  

 >	How ever, if the mouse variable is set from your init file,
 >the mouse works file (or so report my nn 6.5 beta testers... I use trn
 >myself.. :-)

I tried this and it worked.  The only problem is that if one of the other
versions of nn encounters the unknown variable it exits rudely.  I have
setup 6.5b3 with its own lib dir, so I put the "set mouse-usage 1" command
in that one.  I had already tried that but had a typo and gave up on it.
Thanks for the pointer. (particularly since you are a newsreader infidel) :)

This is a general question:  I rambled around in the code for a while by
grep'ing the word mouse in a jove error buffer, and the way in which the
mouse is set up does not make any sense.  I did not discern that it is not
possible to set the mouse-usage variable interactively, but I did figure out
that the only test of the mouse-usage variable against xterm required the
mouse-usage to be already set.  It seems like it would make more sense to
set mouse-usage if getenv(TERM) is set to xterm and mouse-usage is not
already set.  I also have not figured out the reason why it can be set to 1
OR 2.

Finally, does anyone have a crib on mouse usage?

 >-- 
 >Eric Schnoebelen		eric@cirr.com		schnoebe@convex.com
 >    Mitchell's Law of Committees: Any simple problem can be made insoluble
 >		    if enough meetings are held to discuss it.

-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______ 
  Flint, MI 48504      ellis@nova.gmi.edu               /        / /  /  / /
  Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ /  /  / /
Technical Details
Message-ID: <ellis.769205614@gmi.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!gmi.edu!ellis
References: <2rarjn$86o@fnsolar.fnal.gov> <ellis.769194792@gmi.edu> <2rb01h$oba@lovecraft.convex.com>

Show Full Headers
Complete Article Headers
Message-ID: <ellis.769205614@gmi.edu>
Subject: Re: Mouse support in 6.5.0.b3
Date: Tue, 17 May 1994 20:13:34 +0000
From: ellis@nova.gmi.edu (R. Stewart Ellis)
References: <2rarjn$86o@fnsolar.fnal.gov> <ellis.769194792@gmi.edu> <2rb01h$oba@lovecraft.convex.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!gmi.edu!ellis
Newsgroups: news.software.nn
Organization: GMI Engineering&Management Institute, Flint, MI
Lines: 49
NNTP-Posting-Host: nova.gmi.edu
X-Newsreader: NN version 6.5b3.0 #4 (NOV)