From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28508 Path: main.gmane.org!not-for-mail From: jari.aalto@poboxes.com (Jari Aalto+mail.emacs) Newsgroups: gmane.emacs.gnus.general Subject: Re: User Agent string: making it more specific? Date: 31 Dec 1999 17:45:17 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165343 30239 80.91.224.250 (21 Oct 2002 01:55:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:55:43 +0000 (UTC) Keywords: gnus,emacs,string,user-agent,karl,com Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 3367CD051E for ; Sat, 1 Jan 2000 15:28:52 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB03595; Sat, 1 Jan 2000 14:25:04 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 01 Jan 2000 14:22:22 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA22079 for ; Sat, 1 Jan 2000 14:22:11 -0600 (CST) Original-Received: from pyyhe.saunalahti.fi (mail.sci.fi [195.74.0.41]) by mailhost.sclp.com (Postfix) with ESMTP id 57ABDD051E for ; Sat, 1 Jan 2000 15:20:28 -0500 (EST) Original-Received: from PICASSO (MCMLXXIV.dyn.saunalahti.fi [195.197.29.174]) by pyyhe.saunalahti.fi (8.9.1/8.9.1) with ESMTP id WAA11238 for ; Sat, 1 Jan 2000 22:30:27 +0200 (EET) Original-Newsgroups: gnu.emacs.gnus X-Sender-Info: Emacs tiny tools: http://poboxes.com/jari.aalto/emacs-elisp.html http://home.eu.org/~jari/homepage.html PGP 2.6.x keyid 47141D35 http://www.pgp.net/pgpnet/ User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 In-Reply-To: Karl Kleinpaste's message of "31 Dec 1999 06:09:48 -0500" Posted-To: gnu.emacs.gnus Original-Lines: 36 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28508 This is your copy. Article has been posted to the newsgroup(s). * 1999-12-31 Karl Kleinpaste gnu.emacs.gnus * | Jonadab the Unsightly One writes: | [+] | > I'd like to have it be more specific, for example: | > User-Agent: Gnus v5.8.2 GNU Emacs 20.4.1 (i386-*-windows95.1212) | > Is there an easy way to do this? | | No. User-Agent, in the USEFOR draft, has a rather particular syntax. | The general form for each segment is "name/version (free format string)" | and its generation is fixed. If there were an architecture string | naturally part of Emacs 20.4's environment, that would go into the | parenthesized part at the end, but there isn't one. ...But Emacs knows it Karl :-) I suggest that the architecture info is added to next Gnus release jari (defadvice gnus-extended-version (around my act) "Add Architechture string to User-Agent: string." ad-do-it (setq ad-return-value (format "%s (%s)" ad-return-value system-configuration ))) (gnus-extended-version) --> "Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 (i386-*-windows98.1998)"