head	1.3;
access;
symbols
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2003.03.01.19.13.14;	author demon;	state dead;
branches;
next	1.2;

1.2
date	2002.06.28.11.35.38;	author demon;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.24.17.40.36;	author demon;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Update to the latest version (2.1.p9).
Remove patch-width since it is useless without -dump option which
is absent in links version2...

Submitted by:	Thomas Seck <tmseck-lists@@netcologne.de>
@
text
@--- default.c.orig	Fri Jun 28 14:53:11 2002
+++ default.c	Fri Jun 28 14:56:17 2002
@@@@ -908,6 +908,9 @@@@
   is allowed, but user can't add or modify entries in\n\
   association table.\n\
 \n\
+ -width <size>\n\
+  Size of screen in characters, used in combination with -dump\n\
+\n\
  -no-connect\n\
   Runs links as a separate instance - instead of connecting to\n\
   existing instance.\n\
@@@@ -982,6 +985,7 @@@@
 int download_utime = 0;
 int max_connections = 10;
 int max_connections_to_host = 8;
+int screen_width = 80;
 int max_tries = 3;
 int receive_timeout = 120;
 int unrestartable_receive_timeout = 600;
@@@@ -1060,6 +1064,7 @@@@
 	{1, gen_cmd, num_rd, num_wr, 1, 16, &max_connections, "max_connections", "max-connections"},
 	{1, gen_cmd, num_rd, num_wr, 1, 8, &max_connections_to_host, "max_connections_to_host", "max-connections-to-host"},
 	{1, gen_cmd, num_rd, num_wr, 1, 16, &max_tries, "retries", "retries"},
+	{1, gen_cmd, num_rd, num_wr, 40, 512, &screen_width, "screen_width", "width"},
 	{1, gen_cmd, num_rd, num_wr, 1, 1800, &receive_timeout, "receive_timeout", "receive-timeout"},
 	{1, gen_cmd, num_rd, num_wr, 1, 1800, &unrestartable_receive_timeout, "unrestartable_receive_timeout", "unrestartable-receive-timeout"},
 	{1, gen_cmd, num_rd, num_wr, 0, 256, &max_format_cache_entries, "format_cache_size", "format-cache-size"},
--- links.1	Mon Jan  1 09:26:52 2001
+++ links.1	Tue Mar  5 11:34:37 2002
@@@@ -94,6 +94,11 @@@@
 Write a plain-text version of the given HTML document to stdout.
 
 .TP
+\f3-width \f2<size>\f1
+Size of screen in characters, used in combination with -dump.
+(default: 80)
+
+.TP
 \f3-no-connect\f1
 Runs links as a separate instance - instead of connecting to
 existing instance.
--- links.h	Mon Jun 11 20:14:25 2001
+++ links.h	Tue Mar  5 11:25:24 2002
@@@@ -1975,6 +1975,7 @@@@
 extern int max_connections;
 extern int max_connections_to_host;
 extern int max_tries;
+extern int screen_width;
 extern int receive_timeout;
 extern int unrestartable_receive_timeout;
 
--- main.c	Mon Apr  9 06:46:06 2001
+++ main.c	Tue Mar  5 11:24:41 2002
@@@@ -198,7 +198,7 @@@@
 		memset(&fd, 0, sizeof(struct f_data_c));
 		o.xp = 0;
 		o.yp = 1;
-		o.xw = 80;
+		o.xw = screen_width;
 		o.yw = 25;
 		o.col = 0;
 		o.cp = 0;
@


1.2
log
@Update to version 2.0.
Now with graphics mode support.

PR:		39903
Submitted by:	matthias.andree@@web.de
(with numerious modifications).
@
text
@@


1.1
log
@Add -width option for use with -dump.

PR:		35547
Submitted by:	Edwin Groothuis <edwin@@mavetju.org>
@
text
@d1 5
a5 5
--- default.c	Tue Mar  5 11:31:44 2002
+++ default.c	Tue Mar  5 11:26:50 2002
@@@@ -773,6 +773,9 @@@@
   Write a plain-text version of the given HTML document to\n\
   stdout.\n\
d13 1
a13 1
@@@@ -831,6 +834,7 @@@@
d16 1
a16 1
 int max_connections_to_host = 2;
d21 8
a28 8
@@@@ -884,6 +888,7 @@@@
 	1, gen_cmd, num_rd, num_wr, 1, 16, &max_connections, "max_connections", "max-connections",
 	1, gen_cmd, num_rd, num_wr, 1, 8, &max_connections_to_host, "max_connections_to_host", "max-connections-to-host",
 	1, gen_cmd, num_rd, num_wr, 1, 16, &max_tries, "retries", "retries",
+	1, gen_cmd, num_rd, num_wr, 40, 512, &screen_width, "screen_width", "width",
 	1, gen_cmd, num_rd, num_wr, 1, 1800, &receive_timeout, "receive_timeout", "receive-timeout",
 	1, gen_cmd, num_rd, num_wr, 1, 1800, &unrestartable_receive_timeout, "unrestartable_receive_timeout", "unrestartable-receive-timeout",
 	1, gen_cmd, num_rd, num_wr, 0, 256, &max_format_cache_entries, "format_cache_size", "format-cache-size",
@

