Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision |
rxvt_-_a_decent_windows_shell [2008/10/24 19:29] – created tkbletsc | rxvt_-_a_decent_windows_shell [2010/10/25 19:18] – tkbletsc |
---|
CMD.EXE sucks and the Windows-native replacements are all rubbish. What to do? Install Cygwin with RXVT. It doesn't have tabs, but everything else about it is fine. It doesn't require an X server. | CMD.EXE sucks and the Windows-native replacements are all rubbish. What to do? Install Cygwin with RXVT. It doesn't have tabs, but everything else about it is fine. It doesn't require an X server. You'll have two options: rxvt-x and rxvt-native. Both work. To set the font of rxvt-x, edit values in .Xdefaults (below). To set the font of rxvt-native, edit the shortcut itself. If you're on Windows 7 and want to use pinning, rxvt-native is a better choice, since rxvt-x runs through a wrapper that confuses the Windows 7 pinning system. |
| |
Once installed, create a ~/.Xdefaults file populated as follows to set your settings: | To set your shell to bash, make an environment variable "''SHELL''" equal to "''bash''". |
| |
| To configure RXVT, create a ''~/.Xdefaults'' file populated with the material below. |
| |
| Also, you may wish to add the following to your ''.bashrc'': |
| if [ "$TERM" == "rxvt-cygwin" ] ; then export TERM=xterm ; fi |
| if [ "$TERM" == "rxvt-cygwin-native" ] ; then export TERM=xterm ; fi |
| |
| This will change the value of the TERM environment value to "''xterm''" instead of "''rxvt-cygwin''" when using rxvt, which is useful since most servers have never heard of "''rxvt-cygwin''" and would otherwise assume you have a dumb terminal. |
| |
| Content of ''~/.Xdefaults'': |
<file> | <file> |
! Save this file as ~/.Xdefaults and start a term without any options to | ! Save this file as ~/.Xdefaults and start a term without any options to |
rxvt*visualBell: true | rxvt*visualBell: true |
</file> | </file> |
| |