Article View: news.software.readers
Article #19707Re: tin 1.3 and mouse control problems
From: Urs Janßen
Date: Sat, 02 Mar 1996 00:00
Date: Sat, 02 Mar 1996 00:00
164 lines
5188 bytes
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
Technical Details
Message-ID:
<4h835d$bva@nz12.rz.uni-karlsruhe.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<4h81f9$50j@hammerhead.dadd.ti.com>Show Full Headers
Complete Article Headers
Message-ID: <4h835d$bva@nz12.rz.uni-karlsruhe.de> Subject: Re: tin 1.3 and mouse control problems Date: Sat, 02 Mar 1996 00:00:00 +0000 From: urs@akk.uni-karlsruhe.de (Urs Janßen) References: <4h81f9$50j@hammerhead.dadd.ti.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 141756295 Content-type: text/plain; charset=iso-8859-1 Organization: Arbeitskreis Kultur und Kommunikation (AKK) Mime-version: 1.0 Newsgroups: news.software.readers Nntp-posting-user: urs