delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
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)" <Jerry DOT Williams AT lsi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |