delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/27/18:06:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-ETB-scan: YES
Mail-Copies-To: never
X-Archive: encrypt
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Message-ID: <6.1.0.6.2.20040427162228.027508a8@localhost>
X-Sender: dradul AT localhost
Date: Tue, 27 Apr 2004 16:44:41 -0500
To: <cygwin AT cygwin DOT com>
From: =?iso-8859-1?Q?Alejandro_L=F3pez-Valencia?= <dradul AT etb DOT net DOT co>
Subject: Re: How to set the colors of terminfo's standout mode?
In-Reply-To: <020d01c42c2e$606fbd70$647ba8c0@wanadoo.nl>
References: <005701c426b0$dbd5fbb0$647ba8c0 AT wanadoo DOT nl> <020d01c42c2e$606fbd70$647ba8c0 AT wanadoo DOT nl>
MIME-Version: 1.0
X-OriginalArrivalTime: 27 Apr 2004 22:06:45.0857 (UTC) FILETIME=[EE108D10:01C42CA3]
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i3RM6TUe017065

At 03:05 a.m. 27/04/2004, Frank Slootweg wrote:
>   Please?
>
>On April 20, I wrote:
>
> >   How can I set the colors of terminfo's standout (smso, so) mode?
> >
> >   I have a terminfo application (tin, the newsreader) which, as far as

[snip]

> >   I now rebuilt (configure,/make, compile, link, etc.) the application
> > on Cygwin 1.5.9. That new version displays standout mode as light-grey
> > text on a dark-grey background, i.e. little contrast and very hard to
> > read.
> >
> >   Basically I want the old behaviour (white-on-black) on Cygwin 1.5.9,
> > but have no idea how/where that can be set.

Have you read the man page? Particularly the section titled:

         "GLOBAL OPTIONS MENU AND TINRC CONFIGURABLE VARIABLES"

where it documents how you can set up screen colors by editing tinrc? My 
knowledge on this topic stops here (I use slrn with jwk patches, best 
offline news reading I've done ever). I just happen to have tin's man page 
in /var/spool/cache/man/cat1 yet [1]).

> >   Some more information: The application is started from a "Command
> > Prompt" 'DOS' window, i.e. not from a (bash) shell. However when I do


[snip]

If you are running in a plain Windows console with command.com or cmd.exe 
as shell, you should not set TERM to cygwin but to something more 
appropriate such as 'pccons'. Heck, anything in /usr/share/terminfo/p/ with 
a name starting on 'pc' would be more appropriate.

I can understand that you have some resistance to using the supplied start 
up icon because it is wasteful. As it runs a batch file that in turn runs 
the shell, namely bash, you are in practice running *two* applications 
instead of one. That is, for each bash or preferred shell session you 
start, you are running a copy of the default windows command processor 
(cmd.exe in my case).

For example in my system, a default bash session takes 4552Kb for bash.exe 
plus 1152Kb for the attached cmd.exe. I solved this issue by setting a 
system wide value of "CYGWIN=tty" and then using direct shortcuts, as in 
right-click on desktop, "create shortcut" and giving "c:\cygwin\bin\zsh.exe 
-i -l" as the running comand and "c:\cygwin\bin" as the default execution 
directory, so that zsh finds cygwin1.dll. I don't have cygwin directories 
exposed to the win32 system; in general you don't need them in your system 
path unless you have very particular needs.

[1] BTW, there is already an "official" binary of tin you can download from 
the mirrors with setup.exe. Unless you are using the latest unstable, of 
course...

-- 
Alejandro López-Valencia
http://dradul.tripod.com/
The limits of my language are the limits of my world.
                                     (L. Wittgenstein)  


--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019