Re: Changing colours of XTerm

2005-07-03 Thread Alexander Gottwald
On Sun, 3 Jul 2005 [EMAIL PROTECTED] wrote:

 
 Thanks, 
 
 It was a problem to do with line endings. I sent my .Xdefaults file to my 
 remote UNIX account and opened it with vim. It looked OK. I opened it with vi 
 and it had ^M appended to each line, so I removed each one and sent the file 
 back to my PC where it worked without errors with Cygwin. 

you can handle it in vim too.
Open the file  :e filename
change format  :set fileformat=unix
write changes  :w

 I ran dos2unix on the file on my UNIX account but it seemed to make no 
 difference. dos2unix does not seem to be in my Cygwin installation and I 
 couldn't find it using the download utility, setup.exe. 

it is in package cygutils
http://cygwin.com/cgi-bin2/package-cat.cgi?file=cygutils%2Fcygutils-1.2.8-1grep=dos2unix

 Also, should the -g geometry command work with Cygwin? I tried opening an 
 xterm with -g and something like 600x500 and it restarted my Win98 PC. 

Get a decent OS. xterm uses characters instead of pixels for geometry settings. 
So you 
requested a window of size 4800x4000 which was way to much for Win98 to handle.

 Another thing: When I single click with left or right mouse button on an 
 XTerm window Cygwin freezes and has to be Ctrl+Alt+Delled. I can click and 
 drag text to copy it and all, but when I single click the window to remove 
 the highlighting Cygwin will freeze. This happens consistently. 

Does this happen too without the -clipboard parameter for XWin?

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: Changing colours of XTerm

2005-06-27 Thread Reid Thompson
[EMAIL PROTECTED] wrote:
 Hello,
 
 I have begun to use Cygwin on Windows and I have tried every
 technique I could find on the web for changing from the
 default black-on-white colours of Xterm (and perhaps other X
 applications) to something that's easier to look at. None of
 the techniques worked.
 
 I tried, among other things, changing XResources and
 uncommenting the lines in XTerm-color that XTerm-color told
 me to uncomment if I wanted to change colours. Does anyone
 know for sure how to change colours IN CYGWIN, because the
 general UNIX techniques don't seem to be working?
 
 Thanks in advance,
 Liam.
 
 
 _
 eircom broadband is now up to four times faster than before.
 Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer

configuration using .Xdefaults works fine for me.

If that doesn't work, you can always setup a script/shortcut and
explicitly set -fg and -bg

reid


RE: Changing colours of XTerm

2005-06-27 Thread Baksik, Frederick (NM75)
 

 -Original Message-
 From: Reid Thompson [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 27, 2005 7:06 AM
 To: cygwin-xfree@cygwin.com
 Subject: RE: Changing colours of XTerm
 
 [EMAIL PROTECTED] wrote:
  Hello,
  
  I have begun to use Cygwin on Windows and I have tried 
 every technique 
  I could find on the web for changing from the default 
 black-on-white 
  colours of Xterm (and perhaps other X
  applications) to something that's easier to look at. None of the 
  techniques worked.
  
  I tried, among other things, changing XResources and 
 uncommenting the 
  lines in XTerm-color that XTerm-color told me to uncomment 
 if I wanted 
  to change colours. Does anyone know for sure how to change 
 colours IN 
  CYGWIN, because the general UNIX techniques don't seem to 
 be working?
  
  Thanks in advance,
  Liam.
  
  
  _
  eircom broadband is now up to four times faster than before.
  Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer
 
 configuration using .Xdefaults works fine for me.
 
 If that doesn't work, you can always setup a script/shortcut 
 and explicitly set -fg and -bg
 
 reid
 

Hi, Here are the settings I've used in .Xdefaults:
XTerm*background: black
XTerm*foreground: orchid3
XTerm*internalBorder: 10

!This is for fixing the backspace not to do ^H but ^?
XTerm.*.backarrowKey: false

!This is for double clicking
XTerm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48

XTerm*cursorBlink: true
XTerm*cursorColor: green4
XTerm*pointerColor: green4

!The default blue is too dark on my monitor
XTerm*color4: blue1