Rich Simoes wrote:
> I just feel that if the CMD/Bash window is launched by
> default instead of RXVT, then we as users need some
> configuration options so we can get a more useful or
> pleasing CMD/Bash window.
FWIW, I agree with you that the *default* configuration of the
native Woe32 console is just downright ugly. It doesn't have to
be that way; here's how I set mine up in Win2K:--
1) Open the properties dialogue of the shortcut which starts
the MSYS session, and add the `--norxvt' flag to the command
line used to start the session, (for Win2K, it's in the field
tagged as `Target:' on the `Shortcut' tab).
If you are still using MSYS-1.0.10, you may need to update
your MSYS.BAT file, to get support for the `--norxvt' flag;
grab the latest version from CVS:
or rename MSYS' /bin/rxvt.exe to /bin/rxvt.no, to permanently,
(but reversibly), disable it.
The remaining steps may also be completed in this same properties
dialogue window, but I've found it more reliable to apply and quit
the properties update, then start a session in the native console,
right-click on the window title bar, reopen the properties dialogue
from the context menu, and proceed from there; YMMV.
2) On the `Options' tab, select `Window' for the `Display options'
property, and enable *both* `Quick Edit mode' and `Insert mode'
for the `Edit options'. Set the `Cursor size' property as you
prefer it, (I set mine to `Small'), and leave the defaults for
the `Command history' property.
3) On the `Font' tab, select a font and font-size with which you
feel comfortable; on my 17in monitor at 1280x1024 resolution,
I find `Lucida Console' at size 14 suits me.
4) On the `Layout' tab, adjust the `Window size' settings to get
the window size to fill whatever area of the screen you like.
I've set mine with a `Width' of 180 and a `Height' of 80, to
make the window fill my entire screen; you may have to tweak
these, to suit your own preference or screen resolution.
After you've set your preferred `Window size', you should
adjust the `Screen buffer size' properties, to establish the
scroll buffer; I find that keeping `Screen buffer size.Width'
the same as `Window size.Width' works best, and I have the
`Height' for `Screen buffer size' set to 300, to give me 300
lines of scrollable history.
Set the `Window position' property to your own preference; I
have mine with `Left' at -3, `Top' at -2, and I've disabled
the `Let system position window' option.
5) On the `Colors' tab, activate the `Screen Background' property;
select the leftmost slot in the colour pallette, and adjust the
RGB fields of the `Selected Color Values' property, to achieve
a background colour to your liking, (mine is RGB 255/255/192,
which gives me a pale cream). After making the final RGB field
adjustment, left-click in another RGB field, *without* making
any further change, otherwise your final change may not be
Activate the `Screen Text' property, select the second palette
slot from the left, and select appropriate RGB values for the
`Selected Color Values' property; this selection will relate to
the text colour mapped to the `ESC[31m' SGR sequence. Again,
click in another RGB field, after the last adjustment. Repeat,
selecting each of the remaining palette slots from left to right.
Ensure that the colour in the eighth slot from the left is how
you want your normal text to appear; also, if you use `man' or
`nroff', be aware that the fourth and sixth colours from the
left will be substituted for underlined and heading (bold) text
respectively. Finally, select the eighth colour slot from the
left, as the normal setting for the `Screen Text' property.
Note: I haven't discovered the purpose of the `Popup Text' and
`Popup Background' properties, but it does no harm to activate
each of them, and select a suitable colour for each, from the
palette you just defined for the `Screen Text' property; there
is no need to adjust that palette any further--just select the
colour slots you want to assign.
6) Select `Ok', and then the `Save properties for future windows
with same title' option, `Ok' that, and you are done.
> I'll have to go back through the archives
> to find the previous discussions on the topics of Mouse
> or Keyboard Selection, Cut and Paste of text in the
> CMD/Bash window as none of those functions seem to work
> for me at this time.
It appears that you have not enabled the `Quick Edit mode' and
`Insert mode' options, as described in (2) above. Do note that
the behaviour is not identical to RXVT's; you must:--
a) Drag the mouse, with left button depressed, to mark a selection.
b) Right click *once*, to copy the selection to the clipboard.
c) Right click *again*, to paste at the cursor in *any* console
window, or use Ctrl-V to paste in any non-console window.
d) Repeat (c) as many times as you wish, for multiple copies of
the same selection.
e) Repeat from (a), for a new selection.
HTH. I'll try to find time to publish some of the info from this
thread on the Wiki, if no one beats me to it.