🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Tommy Darby Fri, 01 Mar 1996 00:00
tin 1.3 and mouse control problems
#19697
Author: Tommy Darby
Date: Fri, 01 Mar 1996 00:00
17 lines
1311 bytes
Just tried out the latest beta version of tin 1.3 and checked out all
the new features including mouse control. Button 1 allows you to go
forward through the articles, button 2 goes backwards, button 3 selects
text....

Anyway, tried to turn off mouse control using the new tinrc variable
"use_mouse" and behold, I still have an active mouse. Anyone figured out
how to really turn off the mouse in the new version???

--
            ===================================================
            Tommy Darby                   HackSaw Team Member
            Phone: (214) 917-3643         Texas Instruments
            E-Mail: tomd@dadd.ti.com      Dog's Name: CornBread
            ===================================================

Re: tin 1.3 and mouse control problems
#19707
Author: Urs Janßen
Date: Sat, 02 Mar 1996 00:00
164 lines
5188 bytes
In news.software.readers, <4h81f9$50j@hammerhead.dadd.ti.com>
   Tommy Darby (tomd@dadd.ti.com) wrote:
� Anyway, tried to turn off mouse control using the new tinrc variable
� "use_mouse" and behold, I still have an active mouse. Anyone figured out
� how to really turn off the mouse in the new version???

install this patch:

*** src/config.c.orig	Mon Jan 29 04:30:34 1996
--- src/config.c	Mon Jan 29 04:39:25 1996
***************
*** 351,361 ****
--- 351,363 ----
  			}
  			break;
  #endif
+ /* looks like that xcut_and_paste is useless, use_mouse does it all
  		case 'x':
  			if (match_boolean (buf, "xcut_and_paste=", &xcut_and_paste)) {
  				break;
  			}
  			break;
+ */
  		}
  	}
  	fclose (fp);
***************
*** 511,518 ****
  	fprintf (fp, "# If ON enable scroll keys on terminals that support it\n");
  	fprintf (fp, "use_keypad=%s\n\n", print_boolean (use_keypad));
  #endif
! 	fprintf (fp, "# If ON allows the mouse in an xterm todo cut and paste actions\n");
  	fprintf (fp, "xcut_and_paste=%s\n\n", print_boolean (xcut_and_paste));
  	fprintf (fp, "# If ON strip blanks from end of lines to speedup display on slow terminals\n");
  	fprintf (fp, "strip_blanks=%s\n\n", print_boolean (strip_blanks));
  	fprintf (fp, "# Maximum length of the names of newsgroups displayed\n");
--- 513,522 ----
  	fprintf (fp, "# If ON enable scroll keys on terminals that support it\n");
  	fprintf (fp, "use_keypad=%s\n\n", print_boolean (use_keypad));
  #endif
! /*
! 	fprintf (fp, "# If ON allows the mouse in an xterm todo cut and paste actions\n"); 
  	fprintf (fp, "xcut_and_paste=%s\n\n", print_boolean (xcut_and_paste));
+ */
  	fprintf (fp, "# If ON strip blanks from end of lines to speedup display on slow terminals\n");
  	fprintf (fp, "strip_blanks=%s\n\n", print_boolean (strip_blanks));
  	fprintf (fp, "# Maximum length of the names of newsgroups displayed\n");
*** src/curses.c.orig	Sat Sep 16 16:45:24 1995
--- src/curses.c	Mon Jan 29 03:49:21 1996
***************
*** 999,1005 ****
  void
  set_xclick_on ()
  {
! 	xclick (TRUE);
  }
  
  /*
--- 999,1005 ----
  void
  set_xclick_on ()
  {
! 	if (use_mouse) xclick (TRUE);
  }
  
  /*
***************
*** 1009,1015 ****
  void
  set_xclick_off ()
  {
! 	xclick (FALSE);
  }
  
  void
--- 1009,1015 ----
  void
  set_xclick_off ()
  {
! 	if (use_mouse) xclick (FALSE);
  }
  
  void
*** src/init.c.orig	Mon Jan 29 01:35:59 1996
--- src/init.c	Mon Jan 29 04:35:48 1996
***************
*** 189,195 ****
  int xref_supported = TRUE;
  int xover_supported = FALSE;
  int xuser_supported = FALSE;
! int xcut_and_paste;				/* xterm button cut & paste at article level */
  int xmouse, xrow, xcol;			/* xterm button pressing information */
  int reread_active_file_secs;	/* reread active file interval in seconds */
  
--- 189,197 ----
  int xref_supported = TRUE;
  int xover_supported = FALSE;
  int xuser_supported = FALSE;
! /*
! int xcut_and_paste;
! */
  int xmouse, xrow, xcol;			/* xterm button pressing information */
  int reread_active_file_secs;	/* reread active file interval in seconds */
  
***************
*** 392,398 ****
  #endif
  	use_builtin_inews = TRUE;
  	use_keypad = FALSE;
! 	use_mouse = TRUE;
  #ifdef HAVE_METAMAIL
  #	ifdef M_AMIGA
  		/* for all those AmigaElm users ... ;-) */
--- 394,400 ----
  #endif
  	use_builtin_inews = TRUE;
  	use_keypad = FALSE;
! 	use_mouse = FALSE; /* default changed to FALSE (eb) */
  #ifdef HAVE_METAMAIL
  #	ifdef M_AMIGA
  		/* for all those AmigaElm users ... ;-) */
***************
*** 402,409 ****
  #	endif
  	ask_for_metamail = TRUE;
  #endif
  	xcut_and_paste = FALSE;
! 
  	index_maildir[0] = '\0';
  	index_newsdir[0] = '\0';
  	index_savedir[0] = '\0';
--- 404,412 ----
  #	endif
  	ask_for_metamail = TRUE;
  #endif
+ /*
  	xcut_and_paste = FALSE;
! */
  	index_maildir[0] = '\0';
  	index_newsdir[0] = '\0';
  	index_savedir[0] = '\0';
*** include/extern.h.orig	Sun Jan 21 18:46:35 1996
--- include/extern.h	Mon Jan 29 04:37:10 1996
***************
*** 887,893 ****
--- 887,895 ----
  extern int xover_supported;
  extern int xuser_supported;
  extern int xmouse;
+ /*
  extern int xcut_and_paste;
+ */
  extern int xcol;
  extern int xrow;
  extern int reread_active_file_secs;


urs
-- 
member of the diabolic duo

"The documentation is in Japanese.  Good luck." Rich $alz

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads