delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/21/15:56:32

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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: Map Backspace to ASCII DEL?
Date: Thu, 21 Aug 2003 12:56:16 -0700
Lines: 54
Message-ID: <bi384m$ae8$1@sea.gmane.org>
References: <200308211644 DOT RAA01916 AT aps5 DOT ph DOT bham DOT ac DOT uk> <3F451290 DOT 5090504 AT ianbrandt DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en, zh
In-Reply-To: <3F451290.5090504@ianbrandt.com>

Ian Brandt wrote:

> Wow, go figure, it does run in a native window.  That is pretty darn 
> cool.  Well, so far so good.  I've got the keys mapped the way I want 
> them.  I like the way Cut/Copy/Paste works.  I like that selections 
> are line by line, as opposed to rectangular.  Scroll wheel works.  So 
> far no problem with full screen apps such as emacs and less. 

Yes very cool. I use it all the time. Here's another tip: Instead of 
wildly long invocation lines use ~/.Xdefaults to specify things that are 
common and possibly to create term "types" then use rxvt -name... For 
example, instead of

$ rxvt -fn "Lucida Console-*-15" -sl 500 -backspacekey ^? -deletekey ^? \
 > -bg "#0000aaaaffff" -fg Whtie -colorBD Blue -colorUL Red -cursor Red

You can just do rxvt for your default rxvt. If you want different colors 
(or other things) then you can use rxvt -name hostb or rxvt -name hostc, 
etc, given the following ~/.XDefaults file. This allows you to keep all 
your terminal "types" or "schemes" neatly defined in one place.

! Rxvt defaults

! Global Settings
*font:                          "Lucida Console-*-15"
*saveLines:                     500
*termName:                      cygwin
*scrollBar_right:               True
*geometry:                      80x24
*loginShell:                    True
*backspacekey:                  ^?
*deletekey:                     ^h

! Default color "scheme" (when no -name is used):
Rxvt.background:                #0000aaaaffff
Rxvt.foreground:                White
Rxvt.colorBD:                   Blue
Rxvt.colorUL:                   Red
Rxvt.cursorColor:               Red

! Color scheme for hostb
hostb.background:              Slateblue
hostb.foreground:              White
hostb.colorBD:                 Yellow
hostb.colorUL:                 Red
hostb.cursorColor:             Yellow

! Color scheme for hostc
hostc.background:              Black
hostc.foreground:              White
hostc.colorBD:                 Green
hostc.colorUL:                 Orang
hostc.cursorColor:             Cyan



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