X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Looking for man pages Date: Wed, 8 Aug 2007 12:58:06 -0400 Message-ID: <4C89134832705D4D85A6CD2EBF38AE0F0117EF6D@PAUMAILU03.ags.agere.com> In-Reply-To: <46B8C3B5.63251179@dessent.net> References: <46B8C3B5 DOT 63251179 AT dessent DOT net> From: "Williams, Gerald S (Jerry)" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l78GwTx2031722 Brian Dessent wrote: > The idea behind texinfo is a format-independent way of writing > documentation. 'info' is just one of a million ways to view this same > documentation. [...] Yes, especially for make, I've found the info files to be the best reference, and they're easily navigable. I'm in the "mildly tolerate" category for the info viewer, however. I mostly use tkinfo (easily googled) to browse info files. However (bringing the discussion back on-topic for the list), I had to make some tweaks to tkinfo to get it to run properly under Cygwin. The main issue was with the commands used to automatically decompress info files. Cygwin implements zcat and gunzip as shell scripts, and (for me at least) the Tcl interpreter didn't handle them properly. I've been assuming this is because wish isn't really a Cygwin executable. Anyway, you simply need to change the value of tki(compresscat-*) to use "gzip -d -c" rather than zcat/gunzip. The following shows what I changed for TkInfo version 2.8: $ diff -u orig/tkinfo-2.8/tkinfo tkinfo-2.8/tkinfo --- orig/tkinfo-2.8/tkinfo 2004-03-22 19:56:39.000000000 -0400 +++ tkinfo-2.8/tkinfo 2007-08-08 12:23:36.856250000 -0400 @@ -562,9 +562,12 @@ set tki(self) [info script] set tki(timestatusB) 0 set tki(iconic) 0 - set tki(compresscat-Z) "zcat" - set tki(compresscat-z) "gunzip -c" - set tki(compresscat-gz) "gunzip -c" + # set tki(compresscat-Z) "zcat" + # set tki(compresscat-z) "gunzip -c" + # set tki(compresscat-gz) "gunzip -c" + set tki(compresscat-Z) "gzip -d -c" + set tki(compresscat-z) "gzip -d -c" + set tki(compresscat-gz) "gzip -d -c" set tki(compresscat-bz2) "bunzip2 -c" set tki(rawHeadersB) [option get . showheaders Showheaders] set tki(showButtonsB) [option get . showbuttons Showbuttons] I also found that it helps to customize the Tkinfo settings in your .Xdefaults file. In particular, the default fonts looked pretty bad for me in Cygwin. Here's how I set them: Tkinfo*font: {Tahoma} 9 Tkinfo*Text.font: {Lucida Console} 12 -Jerry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/