Your message dated Sat, 11 Jun 2005 15:32:38 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#108581: fixed in urlview 0.9-15
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Aug 2001 08:51:35 +0000
>From [EMAIL PROTECTED] Mon Aug 13 03:51:35 2001
Return-path: <[EMAIL PROTECTED]>
Received: from alpha8.cc.monash.edu.au [130.194.1.8]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15WDRf-0001ba-00; Mon, 13 Aug 2001 03:51:35 -0500
Received: from splat.its.monash.edu.au ([130.194.1.73])
by vaxh.cc.monash.edu.au (PMDF V5.2-31 #29714)
with ESMTP id <[EMAIL PROTECTED]> for
[EMAIL PROTECTED]; Mon, 13 Aug 2001 18:51:32 +1000
Received: from localhost (splat [127.0.0.1]) by splat.its.monash.edu.au
(Postfix) with ESMTP id C4E6B12C012 for <[EMAIL PROTECTED]>; Mon,
13 Aug 2001 18:51:31 +1000 (EST)
Received: from barclay.its.monash.edu.au
(barclay.its.monash.edu.au [130.194.2.4]) by splat.its.monash.edu.au
(Postfix)
with ESMTP id 0E73612C006 for <[EMAIL PROTECTED]>; Mon,
13 Aug 2001 18:51:31 +1000 (EST)
Received: by barclay.its.monash.edu.au (Postfix, from userid 1000)
id E5D11A70A4; Mon, 13 Aug 2001 18:51:29 +1000 (EST)
Date: Mon, 13 Aug 2001 18:51:29 +1000
From: Kim Oldfield <[EMAIL PROTECTED]>
Subject: specify default url for cursor
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
Content-transfer-encoding: 7BIT
User-Agent: Mutt/1.3.18i
X-Reportbug-Version: 1.21
X-Virus-Scanned: by AMaViS perl-11
Delivered-To: [EMAIL PROTECTED]
Package: urlview
Version: 0.9-2
Severity: wishlist
Tags: patch
Here is a patch to allow the calling program to specify which line the
default url is located on.
For example:
urlview -150 url-and-text-file
will default to the next url after line 150 in url-and-text-file.
The would allow programs (such as mutt) a more intelligent default url
depending on where the user is currently browsing within the message.
========= begin patch =================
--- ../orig/urlview.c Mon Aug 13 13:39:32 2001
+++ urlview.c Mon Aug 13 17:55:13 2001
@@ -165,6 +165,7 @@
size_t offset;
int i;
int top = 0;
+ int startline = 0;
int oldcurrent = 0;
int current = 0;
int done = 0;
@@ -296,6 +297,12 @@
fp = stdin;
reopen_tty = 1;
}
+ else if (!is_filter && argv[optind][0] == '-')
+ {
+ startline = atoi(argv[optind]+1);
+ current = -1;
+ continue;
+ }
else if (!(fp = fopen (argv[optind], "r")))
{
perror (argv[optind]);
@@ -304,6 +311,7 @@
while (fgets (buf, sizeof (buf) - 1, fp) != NULL)
{
+ --startline;
offset = 0;
while (regexec (&rx, buf + offset, 1, &match, offset ? REG_NOTBOL : 0)
== 0)
{
@@ -335,6 +343,8 @@
break;
}
}
+ if (current < 0 && startline <= 0)
+ current = urlcount;
urlcount++;
offset += match.rm_eo;
}
@@ -352,6 +362,9 @@
puts ("No URLs found.");
exit (1);
}
+
+ if (current < 0)
+ current = urlcount - 1;
/*** present the URLs to the user ***/
@@ -372,6 +385,10 @@
curs_set (1);
#endif
keypad (stdscr, TRUE);
+
+ top = current - PAGELEN / 2;
+ if (top < 0)
+ top = 0;
while (!done)
{
========= end patch =================
-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux barclay 2.4.7-15 #1 Mon Aug 6 13:57:50 EST 2001 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages urlview depends on:
ii libc6 2.2.3-5 GNU C Library: Shared libraries an
ii libncurses5 5.2.20010318-2 Shared libraries for terminal hand
---------------------------------------
Received: (at 108581-close) by bugs.debian.org; 11 Jun 2005 19:39:42 +0000
>From [EMAIL PROTECTED] Sat Jun 11 12:39:42 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DhBpV-0002A1-00; Sat, 11 Jun 2005 12:39:42 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DhBig-0000ev-00; Sat, 11 Jun 2005 15:32:38 -0400
From: Emanuele Rocca <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#108581: fixed in urlview 0.9-15
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 11 Jun 2005 15:32:38 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: urlview
Source-Version: 0.9-15
We believe that the bug you reported is fixed in the latest version of
urlview, which is due to be installed in the Debian FTP archive:
urlview_0.9-15.diff.gz
to pool/main/u/urlview/urlview_0.9-15.diff.gz
urlview_0.9-15.dsc
to pool/main/u/urlview/urlview_0.9-15.dsc
urlview_0.9-15_i386.deb
to pool/main/u/urlview/urlview_0.9-15_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emanuele Rocca <[EMAIL PROTECTED]> (supplier of updated urlview package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 9 Jun 2005 12:40:24 +0200
Source: urlview
Binary: urlview
Architecture: source i386
Version: 0.9-15
Distribution: unstable
Urgency: low
Maintainer: Emanuele Rocca <[EMAIL PROTECTED]>
Changed-By: Emanuele Rocca <[EMAIL PROTECTED]>
Description:
urlview - Extracts URLs from text
Closes: 108581 307576 307577 309169
Changes:
urlview (0.9-15) unstable; urgency=low
.
* Patched to support url pre-selection.
Thanks to Kim Oldfield for the patch. Closes: #108581
.
urlview (0.9-14) experimental; urgency=low
.
* Patched to support wrapping.
Thanks to Martin Michlmayr for the patch. Closes: #307576
.
urlview (0.9-13) experimental; urgency=low
.
* Missing build dependencies added: libtool, automake1.8, autoconf.
Thanks, Kenshi Muto. Closes: #309169
* Patched to support page up and page down also with few results.
Closes: #307577
* Changed 'Recommends' to: elinks | www-browser to make lintian happy.
.
urlview (0.9-12) experimental; urgency=low
.
* Switched to CDBS
- debian/rules rewritten to support CDBS
- changes from the pristine tarball splitted and added to debian/patches
- debhelper versioned build-dependency bumped to 4.1.0
* Watch file added
Files:
4de4c67fd481e9c2260ce93edc9c3480 630 misc optional urlview_0.9-15.dsc
f5c66bf60cddfc8e6553ee2c9329c313 10992 misc optional urlview_0.9-15.diff.gz
3618a3e10272674b79211274967bb179 24244 misc optional urlview_0.9-15_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCqzIZC6DuA+rxm2ARAtfHAJ4nV690l8mbI480mlDd0TGfhKKlAACcCZGh
+awzpsC1j9gUjpI41jqEznY=
=1VgA
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]