Thread View: news.software.readers
3 messages
3 total messages
Started by Zixiong Wang
Fri, 09 Feb 1996 00:00
Disable mouse in tin 1.3 ?
Author: Zixiong Wang
Date: Fri, 09 Feb 1996 00:00
Date: Fri, 09 Feb 1996 00:00
16 lines
797 bytes
797 bytes
Hi, I'v set use_mouse=OFF in my ~/.tin/tinrc file, but the mouse always works. This is very annoying when I want to copy some text from an article by mouse (often a http URL, for example). I run tin 1.3 on Sun/Solaris 2.4 in an xterm. Thanks. Zixiong WANG InfoPointu
Re: Disable mouse in tin 1.3 ?
Author: Urs Janssen
Date: Fri, 09 Feb 1996 00:00
Date: Fri, 09 Feb 1996 00:00
158 lines
4895 bytes
4895 bytes
In news.software.readers, <4ff1l1$1ss@cf01>
Zixiong Wang (wang@cli51am.der.edf.fr) wrote:
> Hi,
> I'v set use_mouse=OFF in my ~/.tin/tinrc file, but the mouse always
> works.
here's a 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;
Re: Disable mouse in tin 1.3 ?
Author: Stormy (loves Lisa)
Date: Mon, 12 Feb 1996 00:00
Date: Mon, 12 Feb 1996 00:00
13 lines
944 bytes
944 bytes
Over 400 years ago, Nostradamus predicted that Zixiong Wang would write:
I'v set use_mouse=OFF in my ~/.tin/tinrc file, but the mouse always
works. This is very annoying when I want to copy some text from an
article by mouse (often a http URL, for example).
Also set xcut_and_paste to on.
Be happy...
http://www.gtlug.org/~stormy/signature
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