Tip: http://www.tldp.org has at least two documents on learning to use bash.
Find and install rxvt, I used cygwin extensively and ended up considering it be the best terminal in cygwin.
"bash" is what you run in any of these.
rxvt simulates "xterm" which has been available "for ages" in the Linux world,
if you find the need to modify it in any way you may google on it and find a lot of tweaks that often do work.
cygwin.bat is for you to modify, launch rxvt from there.
The remainder is old stuff and may or may not be useful, if you decide that rxvt is "good to use".
This was the end of my old cygwin.bat
- I leave it to you to ponder on WHY I launched and re-launched bash in this manner, uh there is a hint in there.
REM Making .bash_profile and .Xdefaults be used,
REM the chicken and egg problem!
bash -lc "run /bin/rxvt -ls -e /bin/bash -l "
Note: I have no idea if it works as intended any longer, nor if it makes any real difference.
To get rxvt nicely set, I used this...
$HOME/.XDefaults
# XTerm == rxvt as rxvt simulates xterm
rxvt.background: black
rxvt.foreground: grey
rxvt.visualBell: true
rxvt.keysym.7e37: ^A
rxvt.keysym.7e38: ^E
rxvt.cutchars: "/`"'&()*,;?@[]{|}"
rxvt.meta8: true
rxvt.backspacekey: ^H
# Don't juggle display when 'doing' output
rxvt.scrollTtyOutput: false
rxvt.scrollWithBuffer: false
rxvt.scrollTtyKeypress: true
# Local preferences
rxvt.saveLines: 6000
rxvt.scrollBar_right: true
rxvt.scrollColor: #c5c0a5
Rxvt.scrollstyle: rxvt
# Allow four columns of ls output
# ...nicely positioned on 1024x768 pixels
rxvt.geometry: 112x56+20+20
rxvt.font: "Lucida Console-12"
Rxvt.font1: "Lucida Console-10"
Rxvt.font2: "Lucida Console-13"
Rxvt.font: "Lucida Console-16"
Rxvt.font3: "Lucida Console-19"
Rxvt.font4: "Lucida Console-22"
Rxvt.font5: "Lucida Console-25"
Rxvt.font6: "Lucida Console-28"
# Peculiar char spacing
# rxvt.font: Verdana-13
... and also this:
$HOME/.inputrc
# base-files version 3.6-1
# To pick up the latest recommended .inputrc content,
# look in /etc/defaults/etc/skel/.inputrc
# Modifying /etc/skel/.inputrc directly will prevent
# setup from updating it.
# The copy in your home directory (~/.inputrc) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
# would be benifitial to all, please feel free to send
# a patch to the cygwin mailing list.
# the following line is actually
# equivalent to "\C-?": delete-char
"\e[3~": delete-char
# VT
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# kvt
"\e[H": beginning-of-line
"\e[F": end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~": beginning-of-line
"\e[8~": end-of-line
# VT220
"\eOH": beginning-of-line
"\eOF": end-of-line
# Allow 8-bit input/output
#set meta-flag on
#set convert-meta off
#set input-meta on
#set output-meta on
#$if Bash
# Don't ring bell on completion
#set bell-style none
# or, don't beep at me - show me
#set bell-style visible
# Filename completion/expansion
#set completion-ignore-case on
#set show-all-if-ambiguous on
# Expand homedir name
#set expand-tilde on
# Append "/" to all dirnames
#set mark-directories on
#set mark-symlinked-directories on
# Match all files
#set match-hidden-files on
#$endif
How has this changed now? I dont see any of these things/ options from the Question or the Answer. – Alex S – 2019-10-28T10:16:25.887