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 [2010/06/30 14:34] 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.+ 
 + 
 +**// Disregard this, use [[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 set your shell to bash, make an environment variable "''SHELL''" equal to "''bash''".  
Line 6: Line 16:
  
 Also, you may wish to add the following to your ''.bashrc'': Also, you may wish to add the following to your ''.bashrc'':
-  if [ $TERM == "rxvt-cygwin" ] ; then export TERM=xterm ; fi+  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.+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'': Content of ''~/.Xdefaults'':
rxvt_-_a_decent_windows_shell.1277933688.txt.gz · Last modified: 2010/06/30 14:34 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki