Re: Background-color of bash
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/
RE: Background-color of bash
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
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
-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
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
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
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: -misc-fixed-medium-r-normal--18-120-100-100-c-9
Re: Background-color of bash
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
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
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: 50% of xterms do not appear on screen.
The issue has been resolved. The new drivers for the logitec camera decided to hook into every single DLL on the system. Uninstalling the driver solves the issue. Geordy On 10/10/06, Geordy Korte <[EMAIL PROTECTED]> wrote: Hi, To start off with I have been using Cygwin for years and I must aplaude all of the dev team for the great work they do. Unfortunatly I have hit a snag which I really puzzeling me. I normally start an Xwin.exe server at startup. This works fine and the process runs. The I start xterm.exe processes using the attached script. Now about half the xterm that I start do not seem to hook into the Xwin server the other half hook fine and show me an xterm screen. It's just completely random and I cannot figure for the life of me what is stopping these hooks. Here is the output of Xwin.exe: _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 depth: 32 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=250, rate=31 (--) winConfigKeyboard - Layout: "00020409" (00020409) (--) Using preset keyboard for "English (USA, International)" (20409), type "4" (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! So we do the only thing that windows is really good at. Uninstall reboot and reinstall. No diceā¦ Same problems. If I look at the taskmgr then I have about 40 xterms of which only 20 or so are on the screen. If I kill the X server then it only tells me that 20 clients are connected. Start xterm script: @echo off SET DISPLAY=127.0.0.1:0.0 SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SET XNLSPATH=/usr/X11R6/lib/X11/locale REM Main programming Window C:\cygwin\bin\run C:\cygwin\bin\xterm -cr red -sl 1000 -sb -rightbar -ms red -fg white -bg black -e /usr/bin/bash Anyone have any clue on how to solve this? -- == Geordy Korte ICQ 14458242 MSN geordy @t nai.nu -- == Geordy Korte ICQ 14458242 MSN [EMAIL PROTECTED] -- == Geordy Korte ICQ 14458242 MSN [EMAIL PROTECTED] -- 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/
Background-color of bash
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/