User Tools

Site Tools


rxvt_-_a_decent_windows_shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rxvt_-_a_decent_windows_shell [2008/10/24 19:30] tkbletscrxvt_-_a_decent_windows_shell [2011/04/15 10:37] (current) tkbletsc
Line 1: Line 1:
-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. 
  
-To set your shell to bash, make an environment variable "SHELL" equal to "bash".   
  
-To configure RXVTcreate a ~/.Xdefaults file populated as follows:+**// Disregard thisuse [[mintty - A decent native Windows shell]]//**
  
 +
 +
 +----
 +
 +
 +
 +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.
 +
 +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
Line 100: Line 117:
 rxvt*visualBell: true rxvt*visualBell: true
 </file> </file>
 +
rxvt_-_a_decent_windows_shell.txt · Last modified: 2011/04/15 10:37 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki