This is the mail archive of the
mailing list for the Cygwin project.
Re: rxvt usage issues under windows xp
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: "gabriele dot mailing at rvmgroup dot it" <gabriele dot mailing at rvmgroup dot it>
- Cc: cygwin at cygwin dot com
- Date: Sun, 11 Jun 2006 14:18:59 -0400 (EDT)
- Subject: Re: rxvt usage issues under windows xp
- References: <448C2142.email@example.com>
- Reply-to: cygwin at cygwin dot com
On Sun, 11 Jun 2006, gabriele.mailing wrote:
> I've switched time ago from the standard cygwin.bat (cmd.exe) window, to
> rxvt. It's miles away from the m$ command line, but I still have some
> First of all, here is my launch command taken from the web with some
> tweaks: C:\cygwin\bin\rxvt.exe -bg black -fg white -si +sk -sw -sr -sl
> 65535 -fn "Courier New-23-bold" -ls -e /usr/bin/bash --login -rcfile
> And in my .bashrc I have:
> export CYGWIN="codepage:oem tty binmode title"
First, "codepage:oem", "tty", and "title" only make sense for the Cygwin
console. You don't need them for rxvt at all. Second, "tty" should be
set before the first Cygwin process is ever invoked -- setting it in
.bashrc is way too late. If you want the setting to be available to all
processes, set CYGWIN in the global system environment instead.
> export TERM="rxvt-cygwin-native"
And this is another problem -- this will bite you when you try using ssh.
Rxvt already sets the TERM to "xterm" by default, and will set it to
whatever you want with the "-tn" command-line option. I suggest adding
"-tn rxvt-cygwin-native" to your rxvt command line instead of the above
> Now the issues:
> A-I want to scroll back manually, without resetting position, event if there
> is something scrolling on the screen. So I have setup -si -sw.
> B-But I want to go on the prompt line on key press. So I have setup +sk.
> A is working fine, B not. Why ?
Because you've misread the manpage. "+sk" turns OFF "scroll-on-keypress".
You want "-sk" instead. This is not Cygwin-specific.
> I used Windows Courier-New font, because it correctly show up character
> (for example, midnight commander) in other applications, like Putty.
> In rxvt, it doesen't work well. I've tried "Lucida Console" too, but the
> result was the same. Why ?
It's a Windows codepage issue. rxvt uses the system-default codepage.
You'll probably need a customized font with the right characters in the
|\ _,,,---,,_ firstname.lastname@example.org | email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html