Re: Background-color of bash

2006-10-11 Thread Thomas Dickey

On Wed, 11 Oct 2006, -Patrick wrote:


This may seem trivial to some, but at least to me it affects
productivity. I would like to know how I can change the background-color
of the X- bash shell. So when I do 'startx' at the cygwin shell, I get
the X terminal, which leads to programs like ddd, emacs etc. etc. This
terminal's background is default to the color white. How do I change
this? Further, I would like to change the colors of directories and
executables for easier identification.


It sounds like xterm:

xterm -fg blue -bg green

You can also set the resource file for xterm to do the same thing.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Background-color of bash

2006-10-11 Thread -Patrick
As far as the resource file, that would be ideal for setting default 
values? Please oblige as to where it's located...?


Thanks!
-Patrick




Thomas Dickey wrote:

On Wed, 11 Oct 2006, -Patrick wrote:


This may seem trivial to some, but at least to me it affects
productivity. I would like to know how I can change the background-color
of the X- bash shell. So when I do 'startx' at the cygwin shell, I get
the X terminal, which leads to programs like ddd, emacs etc. etc. This
terminal's background is default to the color white. How do I change
this? Further, I would like to change the colors of directories and
executables for easier identification.


It sounds like xterm:

xterm -fg blue -bg green

You can also set the resource file for xterm to do the same thing.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Background-color of bash

2006-10-11 Thread Thomas Dickey

On Wed, 11 Oct 2006, -Patrick wrote:

As far as the resource file, that would be ideal for setting default values? 
Please oblige as to where it's located...?


something like (am not where I can check)

/usr/lib/X11/app-defaults or
/usr/X11R6/lib/X11/app-defaults

The files for xterm are named XTerm and XTerm-color, but you probably
want to modify the former.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Background-color of bash

2006-10-11 Thread -Patrick

Thanks Tom,

The former ended up being a symbolic link to the latter. So I made 
changes to the latter, specifically uncommented 'light foreground, dark 
background' settings. Closed everything out and did 'startx' to find 
that nothing was changed - I still had a light background with dark 
lettering(default). The only thing that seems to work is what was 
mentioned earlier


   xterm -fg *color* -bg *color*

but this as you know is not permanent.

Attached is the files if you'd like to check...

Thanks!
-Patrick






Thomas Dickey wrote:

On Wed, 11 Oct 2006, -Patrick wrote:

As far as the resource file, that would be ideal for setting default 
values? Please oblige as to where it's located...?


something like (am not where I can check)

/usr/lib/X11/app-defaults or
/usr/X11R6/lib/X11/app-defaults

The files for xterm are named XTerm and XTerm-color, but you probably
want to modify the former.



! $Xorg: XTerm.ad,v 1.3 2000/08/17 19:55:08 cpqbld Exp $
!
!
!
!
! $XTermId: XTerm.ad,v 1.65 2005/04/22 00:21:53 tom Exp $
! $XFree86: xc/programs/xterm/XTerm.ad,v 3.30 2005/04/22 00:21:53 dickey Exp $

*saveLines: 1024

*SimpleMenu*BackingStore: NotUseful
*SimpleMenu*menuLabel.font: 
-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*
*SimpleMenu*menuLabel.vertSpace:100
*SimpleMenu*HorizontalMargins: 16
*SimpleMenu*Sme.height: 16

*SimpleMenu*Cursor: left_ptr

*mainMenu.Label:  Main Options
*mainMenu*toolbar*Label:  Toolbar
*mainMenu*securekbd*Label:  Secure Keyboard
*mainMenu*allowsends*Label:  Allow SendEvents
*mainMenu*redraw*Label:  Redraw Window
*mainMenu*logging*Label:  Log to File
*mainMenu*print*Label:  Print Window
*mainMenu*print-redir*Label:  Redirect to Printer
*mainMenu*8-bit control*Label: 8-Bit Controls
*mainMenu*backarrow key*Label: Backarrow Key (BS/DEL)
*mainMenu*num-lock*Label: Alt/NumLock Modifiers
*mainMenu*meta-esc*Label: Meta Sends Escape
*mainMenu*delete-is-del*Label: Delete is DEL
*mainMenu*oldFunctionKeys*Label: Old Function-Keys
*mainMenu*sunFunctionKeys*Label: Sun Function-Keys
*mainMenu*sunKeyboard*Label: VT220 Keyboard
*mainMenu*hpFunctionKeys*Label: HP Function-Keys
*mainMenu*scoFunctionKeys*Label: SCO Function-Keys
*mainMenu*suspend*Label:  Send STOP Signal
*mainMenu*continue*Label:  Send CONT Signal
*mainMenu*interrupt*Label:  Send INT Signal
*mainMenu*hangup*Label:  Send HUP Signal
*mainMenu*terminate*Label:  Send TERM Signal
*mainMenu*kill*Label:  Send KILL Signal
*mainMenu*quit*Label:  Quit

*vtMenu.Label:  VT Options
*vtMenu*scrollbar*Label:  Enable Scrollbar
*vtMenu*jumpscroll*Label:  Enable Jump Scroll
*vtMenu*reversevideo*Label:  Enable Reverse Video
*vtMenu*autowrap*Label:  Enable Auto Wraparound
*vtMenu*reversewrap*Label:  Enable Reverse Wraparound
*vtMenu*autolinefeed*Label:  Enable Auto Linefeed
*vtMenu*appcursor*Label:  Enable Application Cursor Keys
*vtMenu*appkeypad*Label:  Enable Application Keypad
*vtMenu*scrollkey*Label:  Scroll to Bottom on Key Press
*vtMenu*scrollttyoutput*Label:  Scroll to Bottom on Tty Output
*vtMenu*allow132*Label: Allow 80/132 Column Switching
*vtMenu*cursesemul*Label:  Enable Curses Emulation
*vtMenu*visualbell*Label:  Enable Visual Bell
*vtMenu*poponbell*Label:  Enable Pop on Bell
*vtMenu*marginbell*Label:  Enable Margin Bell
*vtMenu*cursorblink*Label: Enable Blinking Cursor
*vtMenu*titeInhibit*Label:  Enable Alternate Screen Switching
*vtMenu*activeicon*Label: Enable Active Icon
*vtMenu*softreset*Label:  Do Soft Reset
*vtMenu*hardreset*Label:  Do Full Reset
*vtMenu*clearsavedlines*Label:  Reset and Clear Saved Lines
*vtMenu*tekshow*Label:  Show Tek Window
*vtMenu*tekmode*Label:  Switch to Tek Mode
*vtMenu*vthide*Label:  Hide VT Window
*vtMenu*altscreen*Label:  Show Alternate Screen

*fontMenu.Label:  VT Fonts
*fontMenu*fontdefault*Label:Default
*fontMenu*font1*Label:  Unreadable
*VT100*font1:   nil2
*IconFont:  nil2
*fontMenu*font2*Label:  Tiny
*VT100*font2:   5x7
*fontMenu*font3*Label:  Small
*VT100*font3:   6x10
*fontMenu*font4*Label:  Medium
*VT100*font4:   7x13
*fontMenu*font5*Label:  Large
*VT100*font5:   9x15
*fontMenu*font6*Label:  Huge
*VT100*font6:   10x20
*fontMenu*fontescape*Label: Escape Sequence
*fontMenu*fontsel*Label:Selection
!fontescape and fontsel overridden by application
*fontMenu*font-linedrawing*Label: Line-Drawing Characters
*fontMenu*font-doublesize*Label: Doublesized Characters
*fontMenu*font-loadable*Label:  VT220 Soft Fonts
*fontMenu*render-font*Label:TrueType Fonts
*fontMenu*utf8-mode*Label:  UTF-8

*VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
*VT100.utf8Fonts.font:  
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
*VT100.utf8Fonts.font3: 
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
*VT100.utf8Fonts.font4: 
-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
*VT100.utf8Fonts.font5: 

Re: Background-color of bash

2006-10-11 Thread Reid Thompson
On Wed, 2006-10-11 at 03:45 -0400, -Patrick wrote:
 This may seem trivial to some, but at least to me it affects
 productivity. I would like to know how I can change the background-color
 of the X- bash shell. So when I do 'startx' at the cygwin shell, I get
 the X terminal, which leads to programs like ddd, emacs etc. etc. This
 terminal's background is default to the color white. How do I change
 this? Further, I would like to change the colors of directories and
 executables for easier identification.
 
 I apologize if this seems like a ridiculous request, but this type of
 stuff affects the speed in which I can be productive; recognizing easy
 to spot files and multitasking in general, etc etc.
 
 Thank you and take care,
 -Patrick
 
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 

man xterm

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Background-color of bash

2006-10-11 Thread Simon Crombie
Thanks for the information about changing the defaults for X-term windows.
How can I amend this to get scroll bars to appear? And can you set the
default window size there as well?

Grateful for any advice.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Background-color of bash

2006-10-11 Thread Randy Brown
-sb makes the scroll bars appear.  -sb rightbar moves the scroll bars to 
the right hand side. 

*-geom 90x30+140+80*. This will produce a window 90 units wide by 30 
units tall, 140 units from the left edge of the screen and 80 units from 
the top edge of the screen. You will have to adjust these numbers until 
the desired setting is achieved. Keep in mind that the size of the 
window is also relative to the display resolution on your PC.


I hope this helps.

Randy

Simon Crombie wrote:

Thanks for the information about changing the defaults for X-term windows.
How can I amend this to get scroll bars to appear? And can you set the
default window size there as well?

Grateful for any advice.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

  


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Background-color of bash

2006-10-11 Thread Randy Brown

Ignore the asterisks around the -geom option.

Randy Brown wrote:
-sb makes the scroll bars appear.  -sb rightbar moves the scroll bars 
to the right hand side.
*-geom 90x30+140+80*. This will produce a window 90 units wide by 30 
units tall, 140 units from the left edge of the screen and 80 units 
from the top edge of the screen. You will have to adjust these numbers 
until the desired setting is achieved. Keep in mind that the size of 
the window is also relative to the display resolution on your PC.


I hope this helps.

Randy

Simon Crombie wrote:
Thanks for the information about changing the defaults for X-term 
windows.

How can I amend this to get scroll bars to appear? And can you set the
default window size there as well?

Grateful for any advice.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

  


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Background-color of bash

2006-10-11 Thread Reid Thompson
On Wed, 2006-10-11 at 20:18 +0100, Simon Crombie wrote:
 Thanks for the information about changing the defaults for X-term windows.
 How can I amend this to get scroll bars to appear? And can you set the
 default window size there as well?
 
 Grateful for any advice.
 
 
 
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 
man xterm or

http://www.die.net/doc/linux/man/man1/xterm.1.html


xterm -sb -sl 2600 -rightbar -bg mycolorbg -fg mycolorfg etc, etc, etc

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Background-color of bash

2006-10-11 Thread Duane Krings

The best way to do this is to edit (or create) the .Xdefaults file in your home 
directory.
something like the following:

 begin .Xdefaults 
*XTerm*background: red
*XTerm*foreground: white
*XTerm.VT100.geometry: 80x40
*XTerm*scrollBar: true
 end .Xdefaults ---

then at your shell prompt...
unix xrdb .Xdefaults
unix xterm 

Note: the geometry setting uses VT100, not the wildcard, to avoid resizing the 
menus
the xrdb step is not required if you stop and restart XWin

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/