rxvt as Bash login console

David Christensen dpchrist@holgerdanske.com
Mon Oct 17 04:56:00 GMT 2005

Chris Taylor wrote:
> It should be pointed out that rxvt can be used in place of CMD.EXE, 
> which is what is started by the Cygwin icon created by setup.
> If you want to do that, here is my cygwin.bat:
> @echo off
> C:
> chdir C:\cygwin\bin
> rxvt -sl 10000 -sr +sk -si -sw -fg Green -bg Black -e /bin/bash --logi
> n -i
> Obviously the path needs to be altered to whatever you have for your 
> cygwin installation.
> I find this to be much more usable than using bash inside cmd.exe - 
> things actually work.

Interesting.  But, I ran across some issues:

1.  The font looks like a scalable font; I prefer the 7x12 bit-mapped
    font so that I can put six consoles on my desktop (1280x1024) and
    the stroke width makes the characters legible.  "man rxvt" and
    playing around with the "-fn" (7x14, 7x13, 7x12) option didn't
    produce a desirable result.  Nor did Shift+KP_Add or
    Shift+KP_Minus. "locate font" led me to
    /usr/share/groff/1.18.1/font, but grep'ing for "7x14" found
    nothing.  Is there a way I can get the 7x12 bit-mapped font in

2.  It looks like there's a slight problem with the rxvt man page:

        dpchrist@p42800e:~$ man rxvt
        /usr/bin/tbl:<standard input>:310: `.' not last character on lin
        /usr/bin/tbl:<standard input>:310: giving up on this table

    Looking at the same page using cmd.exe./Bash, the error message
    flashes by just before the man page is displayed, and is gone after
    exiting the man page.

3.  Copying from the rxvt console to the Windows (XP Professional SP2)
    clipboard using Ctrl+C causes a new prompt to be displayed.  Is
    there a way to avoid/ prevent this?  "man rxvt" "/copy" reveals

4.  How do I paste from the clipboard to rxvt?  "man rxvt" "/paste"
    reveals nothing.

5.  The rxvt consoles appear to be always on top.  How do I turn this
    mode off?


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/

More information about the Cygwin mailing list