Re: lynx-dev very long ; can we not overwrite or change ";" to "(" ?</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=lynx-dev@sig.net&q=from:%22Thomas+Dickey%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Thomas Dickey</span></span></a></span> <span class="date"><a href="/search?l=lynx-dev@sig.net&q=date:20020821" rel="nofollow">Wed, 21 Aug 2002 01:26:11 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> On Wed, Aug 21, 2002 at 01:49:23PM +0900, Henry Nelson wrote: > It really bugs me that I have to advertise "Microsoft Internet Explorer" > in the title bar to everyone who accesses my pages with MSIE. The only > work around I know of is to make a very long <title> to push the M$ > insert off the screen. When you access a document with such a long > <title> in Lynx, the left parenthesis around the page indicator is over- > written with a ";", i.e., you get ";p1 of 2)" rather than "(p1 of 2)." > > I looked around in lynx.po for a possible way to personalize my Lynx to > not do this, but I couldn't find anything off hand. Is that ";" hard- > coded somewhere (and if so where)? > > If other people are interested in a "fix," I can think of at least two > ways to go. I like 1. better since it seems a little more universal. > 1.) change the code so that a character is not overwritten with ";" but > rather prefix the character inserted by Lynx on the right with "; ". > The right side of Lynx's title bar would look like: "; (pN of N)". > 2.) simply replace ";" with "("; and get "(pN of N)". But of course > there might be situations where you don't want "(".</pre><pre> Reading the code (src/GridText.c, display_title()), I only see it doing a truncation of the title string based on its length. If your title contains non-ASCII text, it may therefore split one of the multibyte characters. I don't see an explicit ';', so it's possible that is just trash from an incomplete character. -- Thomas E. Dickey <[EMAIL PROTECTED]> <A HREF="http://invisible-island.net">http://invisible-island.net</A> <A HREF="ftp://invisible-island.net">ftp://invisible-island.net</A> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED] </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg08324.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd12.html#08325">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail12.html#08325">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg08326.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg08324.html">lynx-dev very long <title>; can we not overwrite or ch...</a></span> <span class="sender italic">Henry Nelson</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg08326.html">Re: lynx-dev very long <title>; can we not overwr...</a></span> <span class="sender italic">Thomas Dickey</span></li> <li class="icons-email"><span class="subject"><a href="msg08326.html">Re: lynx-dev very long <title>; can we not overwr...</a></span> <span class="sender italic">Henry Nelson</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: lynx-dev very long <title>; can we not overwrite or change ";" to "(" ?"> <input type="hidden" name="msgid" value="20020821045323.C546@invisible-island.net"> <input type="hidden" name="relpath" value="lynx-dev@sig.net/msg08325.html"> <input type="submit" value=" Thomas Dickey "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="lynx-dev@sig.net"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search lynx-dev"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/lynx-dev@sig.net/">lynx-dev - all messages</a></li> <li class="icons-about"><a href="/lynx-dev@sig.net/info.html">lynx-dev - about the list</a></li> <li class="icons-expand"><a href="/search?l=lynx-dev@sig.net&q=subject:%22Re%5C%3A+lynx%5C-dev+very+long+%3Ctitle%3E%3B+can+we+not+overwrite+or+change+%5C%22%3B%5C%22+to+%5C%22%5C%28%5C%22+%5C%3F%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg08324.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg08326.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">20020821045323.C546@invisible-island.net</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9b5a9d04ef93113f',t:'MTc2NzAyNTEwNg=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>