Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 8bafa8a1787504c484691b08482bed1a > files > 46

elinks-0.12-7.mga4.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>What User-Agent header does ELinks send?</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="The ELinks Manual"><link rel="up" href="ch02.html" title="Chapter 2. Frequently Asked Questions"><link rel="prev" href="ch02s08.html" title="How can I get 256 colors?"><link rel="next" href="ch02s10.html" title="ELinks doesn't erase characters from the screen when it should!"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">What User-Agent header does ELinks send?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s08.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Frequently Asked Questions</th><td width="20%" align="right"> <a accesskey="n" href="ch02s10.html">Next</a></td></tr></table><hr></div><div class="section" title="What User-Agent header does ELinks send?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="useragent"></a>What User-Agent header does ELinks send?</h2></div></div></div><p>The older ELinks versions (up to 0.4.3) send:</p><pre class="literallayout">ELinks ($version; $osinfo; $textmode_dimensions)</pre><p>The new ELinks versions (from 0.9.0 on) send:</p><pre class="literallayout">ELinks/$version (textmode; $osinfo; $textmode_dimensions)</pre><p>You should therefore check against something like /^ELinks[\/ ]/, since more
fields can be added inside the parenthesis in subsequent versions.  Note that
users can change their User-Agent through the options system.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s08.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s10.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">How can I get 256 colors? </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ELinks doesn't erase characters from the screen when it should!</td></tr></table></div></body></html>