Re: Resizing problem

2010-07-16 Thread DePriest, Jason R.
On Fri, Jul 16, 2010 at 4:40 PM, Olwe Melwasul  wrote:
 I'd say offer tutorials and guides that include known issues. This
 is very common in other OS projects. Do some hand-holding on-line.
 Don't patronize people. And no, man pages are not suited for newbies
 as guides or tutorials. They're for pros who know what they're doing.


I frequently learn almost everything I need to know about an
application by using its man pages as well as its info doc if it has
it.  One of the finest moments in my introduction to *nix was when I
discovered I could learn about any command by simply typing 'man
command'.  I'd love it if Windows had a similar feature.

Not to be patronizing, but by definition, if someone knows what they
are doing, they won't check out a man page anyway.

If you want to know about Cygwin try the Cygwin User's Guide
http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html.  It has plain
English explanations about how Cygwin works.  There is also the FAQ
http://cygwin.com/faq.html which may answer some of the whys or why
nots that the UG skims over.

I read the UG and FAQ a few times a month and I always find what I am
looking for or learn something new.

If you want to get deep into Cygwin's past, I'd suggest doing a custom
Google search with 'site:cygwin.com/ml/cygwin' to search strictly the
mailing list archives.

Finally, if you *do* happen to find any tutorials about how to do
things with Cygwin and they aren't on the cygwin.com website, they are
probably outdated and are definitely not supported by the Cygwin core
team.  For example, I know there are several old tutorials on getting
ssh to work with Cygwin.  They are wrong.

Oh, Cygwin specific bits of trivia about installed packages can be
found in /usr/share/doc/Cygwin.

Again, don't dis' the man page.  Try 'man bash' or 'man grep' for
examples of excellent man pages with examples and detailed
explanations.  If you have it installed, try 'man nmap'; the source of
the man page is the same source used to build the online
documentation.

'man' is one of the most useful commands there is.  Please don't
discount it as some esoteric, propeller head gizmo.

-Jason

--
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: Questions regarding windows 7 installation

2010-01-11 Thread DePriest, Jason R.
On Mon, Jan 11, 2010 at 6:32 PM, Jerry Lowry  wrote:
 I have installed Cygwin 1.7 twice on my windows 7 laptop.  Each time it
 installs fine but when I try to run the X server it leaves three different X
 windows open as well as an Xterm itself.  Is this the default behavior on
 1.7?  I really would like to get just the X icon in the task bar and nothing
 else until I start an Xterm.  But even the Xterm opens two windows.

 Anyone have any ideas as to the problem I am seeing?
 --

Try modifying your /etc/X11/xinit/xinitrc file

I commented out the last line which had an 'exec xterm' in it and the
xterm no longer runs automatically.

-Jason

--
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: 1.7 - what's the right way to start X?

2009-12-04 Thread DePriest, Jason R.
On Fri, Dec 4, 2009 at 10:12 AM, Fredrik Staxeng  wrote:
 Larry Hall (Cygwin X)  writes:

On 12/03/2009 04:07 PM, Fredrik Staxeng wrote:
 What is the recommended/preferred way to start X in 1.7? In 1.5
 I used a modified version of startxwin.bat. And where do I
 put my .xinitrc/.xsession script?

What about startxwin.bat doesn't work for you?  There shouldn't be
differences between 1.5 and 1.7 here.


1.7 makes some pretty significant changes on how 'mount' works.

Basically, Cygwin 1.7 uses a real fstab file instead of a bunch of
registry entries and 'mount' only creates temporary mounts.  If you
want a permanent mount, use the fstab file.

In a little bit more detail, see below.

From: http://cygwin.com/1.7/cygwin-ug-net/ov-new1.7.html
- Mount points are no longer stored in the registry.  Use /etc/fstab
  and /etc/fstab.d/$USER instead.  Mount points created with mount(1)
  are only local to the current session and disappear when the last
  Cygwin process in the session exits.
- Cygwin creates the mount points for /, /usr/bin, and /usr/lib automatically
  from it's own position on the disk.  They don't have to be specified in
  /etc/fstab.

This discusses the mount table in more detail:
http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table

This is the help information for mount under 1.7:
http://cygwin.com/1.7/cygwin-ug-net/using-utils.html#mount

Thanks.

-Jason

--
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: psexec does not work under cygwin-X

2009-11-20 Thread DePriest, Jason R.
On Fri, Nov 20, 2009 at 9:45 AM, Hemal Pandya  wrote:
 Hello,

 It seems psexec (from sysinternals) does not work correctly under
 cygwin-X. If I run it at the bash prompt in a command window it
 completes normally but from a rxvt or xterm window it stops after the
 first line of output from the remote process.

 I am trying to write some bash scripts that run some processes on
 remote machines. I would like for them to be run under X, though
 that's not an absolute requirement. Is there a work-around for this?

 Thanks in advance,

 - hemal


How are you calling psexec?

You can try something like this:
cmd.exe /c C:\\sysinternals\\psexec.exe

Instead of calling psexec directly.

That would make it run under a cmd.exe prompt instead of directly under bash.

-Jason

--
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: broken install - font fixed

2008-10-09 Thread Jason Yee




From: Jason Yee
Sent: Thursday, October 09, 2008 12:28 PM
To: 'cygwin-xfree@cygwin.com'
Subject: RE: broken install - font fixed


resend.

So i had cygwin installed on my system with Unix line endings.  I wanted to 
change to dos line endings, so i did a reinstall using the same locally 
downloaded package with dos line endings.  installed version was downloaded to 
a local directory from the xmissions site on a windows xp system.

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

I tried the steps laid out in your faq.

$ mount
C:\cygwin\bin on /usr/bin type system (textmode)
C:\cygwin\lib on /usr/lib type system (textmode)
C:\cygwin on / type system (textmode)
c: on /cygdrive/c type system (textmode,noumount)
p: on /cygdrive/p type system (textmode,noumount)
z: on /cygdrive/z type system (textmode,noumount)

$ umount /usr/X11R6/lib/X11/fonts/
umount: /usr/X11R6/lib/X11/fonts/: No such file or directory

And then reinstalling the x11 packages from setup.exe.

I still get the same error.  Any ideas?  log files is  below
Thanks

Jason Yee



(WW) /tmp mounted int textmode
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(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: 2560 height: 1024 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
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
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=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
list!

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress



--
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/



X-Windows not starting up

2007-08-07 Thread jason allen

Hi Cygwin,

Please help!! X-Windows eeps hanging. See below.

[EMAIL PROTECTED] /
$ startx --help

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 -multiwindow -clipboard

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be 
created.


winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
pixel

winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 800 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
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 
shar

ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options = 
(null

)
 6 [main] X 1272 child_copy: linked dll data write copy failed, 
0x3E3000..0

x3E4020, done 0, windows pid 3148, Win32 error 487
(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/CID/, removing 
from li

st!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
from

list!
winPointerWarpCursor - Discarding first warp: 640 400

HELP!!



--
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/



display depth changing when using remote desktop and -multiwindow option, unable to set depth manually with -multiwindow

2007-05-01 Thread Jason May

Hello.  I use Cygwin/X on my office computer to run a program called
Cadence (using 24-bit display), but have limited Cygwin functionality
when I use remote desktop to work from home.  Displays are set to
32-bit on both computers, and the Windows XP remote-desktop protocol
(RDP) version I am using on both supports 32-bit displays.  If I start
Cygwin at the office and then use RDP to connect from home, everything
continues working perfectly.  However, if I log in remotely
and then start a new Cygwin session, I get the following:

*ERROR* Failed to find either 24-bit TrueColor or 8-bit PseudoColor Visual.
*WARNING* Failed to find either 24-bit TrueColor or 8-pbit PseudoColor Visual.

And my application will not start.

I am using the following to start cygwin:

run XWin -multiwindow -clipboard -silent-dup-error
run xterm -e /usr/bin/bash -l

I believe that Cygwin is detecting the optimal display settings on
startup and determining it to be less than 32-bit when initiated
through remote desktop.  I would use the -depth command line option to
manually set the depth to 32 bits, but this does not work with
multiwindow enabled.  Is there another way that I can manually set the
display depth?  Or somehow ensure that Cygwin determines that 32-bits
are optimal when started through a remote desktop session?

I have tried modifying the .inputrc file for 8-bit mode as follows,
but had the same problem.

set meta-flag on
set convert-meta off
set output-meta on

Many thanks,

Jason


cygcheck_original.out
Description: Binary data
--
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: display depth changing when using remote desktop and -multiwindow option, unable to set depth manually with -multiwindow

2007-05-01 Thread Jason May

Thanks Holger for the response.

-
You can't set Xwins display depth larger than the Desktop it is running
on. Usually that would be 16 Bit with rdp sessions.
Did you ever check on the rdp Windows Desktop that you really get 32 Bit
in Windows? Because i get 16 Bit even if i request 24 Bit.
-

I'm using a new beta version of microsoft's RDP which should support
32-bit displays (http://support.microsoft.com/kb/925876), but I will
have to check whether it is actually working as advertised.

-
A possible solution would be a ssh connection and tunneling X11 through
it. Cygwin provides a ssh daemon for windows.


I am currently using SSH (putty) with tunneling to connect from the
office PC to a linux server.  The network administrators have not
opened any ports on the linux server for outside access, I believe I
can only enter the network via RDP on my office computer.  I will see
if they will allow me to open another port on my computer for SSH port
forwarding, it should indeed solve the problem if I can bypass the
office computer directly.

Jason

--
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: startxwin.bat fails: could not open default font 'fixed' (XP, FAQ 8.4 N/A)

2007-03-30 Thread DePriest, Jason R.

On 3/30/07, Brett Harris  wrote:

I reinstalled cygwin and can't seem to get the XServer to start.  It fails
with Fatal server error: could not open default font 'fixed'.  Section 8.4
of the FAQ gives a fix, which doesn't seem to be applicable to my situation.
  I've tried both re-installing the font packages listed and re-running the
applicable post install scripts.  I included some relevant info, but if
y'all need anything else let me know.

Thanks in advance,
  Brett


- - - - 8 - - - - -

-
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
x: on /cygdrive/x type system (binmode,noumount)
y: on /cygdrive/y type system (binmode,noumount)
z: on /cygdrive/z type system (binmode,noumount)
-

- - - - - 8 - - - - - -

I have this in my mount table that you are missing:
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type
system (binmode)

Could you try that?

I snipped out lots of your data just to save space.

-Jason

--
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: can't startup startx in cygwin

2007-03-25 Thread Jason
J. David Boyd wrote:
 Have you tried rebaseall?  I had to do that to get consistent results...

Actually, I did that 2 days ago to fix another problem with fork, and
this issue seems to have disappeared again. Was just going to post that
when I saw this message :)

So, thanks! That seems to have been the answer.

Jason

--
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: xinitrc final command with -multiwindow

2007-03-25 Thread Jason
Phil Betts wrote:
 There's a registry setting to force programs to quit on shutdown/logoff:
 http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/rege
 ntry/34615.mspx?mfr=true

 True to form, MS only tell half the story in their documentation.  They
 don't say whether the timeouts are honoured before forcing the shutdown,
 so a shutdown may be immediate, even if an app is prompting you to click
 OK to cancel the missile launches!  You may want to test this first.
   
I was thinking too, a 'nice' future feature may be if Cygwin X would
shut down on request, without prompting, if there are no clients?

I don't mind, and I actually appreciate the prompt if I have X stuff
running and I try to shut down Cygwin X. But if there are no X clients
connected, it seems it would be expedient and useful for Cygwin X to go
away without a prompt.

Jason

--
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: can't startup startx in cygwin

2007-03-22 Thread Jason
Katherine J Merrill wrote:
 It processes a couple more lines after this and just sits there.

Just curious, do you get the X icon in the task bar?

I've been having this problem lately since I re-installed a couple of
weeks ago. I thought I had a fix, but it turned out to be a red herring
as my problem came back today...

Jason

--
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: xinitrc final command with -multiwindow

2007-03-20 Thread Jason
J. David Blackstone wrote:
snip
   Does anyone know what the standard suggestion for the last command of 
 xinitrc is when you cannot run a window run a window manager and you do not 
 want to run an xterm or anything else that clutters up the task bar?  It'd be 
 nice if sleep just had an option to sleep indefinitely until killed (I exit 
 from the XWinrc menu), but that doesn't seem to be available.
   

I don't know that this helps, but I use the stock startxwin.bat batch
file Cygwin/X shipped with. Using that batch file, I am free to close
down the Xterm that it starts up, without X dying off.

The only caveate is that this prevents a attendentless shutdown. When
you try to shut Windows down, an confirmation will pop up asking if you
are sure you want to disconnect all X clients. Even if there are no X
clients left running. Windows then sits and waits indefinitely for your
answer.

Jason

--
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/



Unable to connect to an AIX server

2007-03-01 Thread JASON FLETCHER
I have an AIX server that I am trying to use CYgwin XFree86 Server on. When I 
connect I type in x -query servername. Where servername is the name of the 
server. On other servers we have no trouble but on this one we do not get the 
login screen only a gray screen with an X as the cursor.
 
Can you help?
 
Jason



--
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: Cygwin/X - Remote App Won't Start

2006-12-11 Thread DePriest, Jason R.

On 12/11/06, Wayne Anderson  wrote:

Hello mailing list.  I'm new to Cygwin/X, and I'm trying to use it to run
Micros 8700 apps (on a SCO OpenServer 5 machine) from my Win2K PC.



Welcome aboard!


I'm running an out-of-the box default install of Cygwin/X, except for adding
the -ac switch to the startxdmcp.bat file (thanks to Matt Flemming's web
site).  I can successfully run startxdmcp.bat and log in to the OpenServer
desktop.  All the built-in OpenServer apps seem to work, and all the Micros
8700 apps work except one (Configurator), which of course is the one I need.

When I attempt to start the app, the outline of the window begins to
display, but before the contents become visible it immediately disappears.
The XWin.log file looks exactly the same whether I run a working app or the
nonworking one, so that doesn't seem to give me any clues.  I tried Xming on
a WinXP PC and got the exact same results.  The app in question does work
just fine when I run it on the UNIX server, so that's not the problem.

I don't know where to go from here to troubleshoot - any suggestions would
be appreciated.  Thanks.


See  Problem reports:   http://cygwin.com/problems.html

Can you run the application successfully if you use ssh and X tunneling?

I've actually never even tried to get Cygwin to function as a regular
old X server.  I have always tunneled it through ssh and have never
had issues.

You'd have to start X up with just startx and then use ssh with at
least -X and possibly -Y.

Have you tried disabling any local firewalls or anti-virus protection
on your Windows system?

Are there any meaningful logs on the OpenServer system?

-Jason

--
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: Fatal Error with Cygwin usage

2006-11-07 Thread DePriest, Jason R.

On 11/7/06, Himanshu wrote:

A fatal error has occured and Cygwin/X will now exit. Please open /tmp.XWin.log
for more imformation.


Without posting the entire contents of /tmp.XWin.log, can you tell the
group if you found anything useful there, such as what is the actual
error is being caused by?

Thank you,
-Jason

--
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: ImageMagick 6.0.4 no longer executes with package xorg-x11-bin-dlls 6.8.99.901-1

2006-07-27 Thread Jason
 /usr/X11R6/bin/cygdpstk-1.dll.
 
 I also discovered that this DLL itself relies on another missing DLL: 
 /usr/X11R6/bin/cygdps-1.dll which I found in the same package.
 
 Work-around:
 
 I've fixed the problem for myself by grabbing these DLLs from the 
 previous version of this package (xorg-x11-bin-dlls-6.8.2.0) and 
 hand-installing them by copying them into the relevant directory. 
 Fortunately they are still compatible with the other DLLs they depend on.
 


I am trying to find the DLLs.  Can you link me to them through my email?  I did
a good amount of googling without finding an actual link to the downloads
(including on cygwin's site itself).

Thanks.



--
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:1.5.18: xwin mouse focus problem

2005-11-03 Thread jason cafarelli
Does numlock status have anything to do with the stuck
mouse scroll?





__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

--
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/



CYGWIN/X11 CRASHES ON BOOT UP - i am not running zone alarm or any other firewall o.O

2005-10-25 Thread jason cafarelli
Hellos,

I've noticed that if my wireless configuration is
changed by a external program (aka a wireless profile
utlility),  The cygwin/X server locks up. 

I read something about the cygwin server not liking
the ip stack changed?

Any work arounds come to mind?

I only use the x server locally


*more details 
Basically i have a wireless tablet that is
autoconfigured on boot up.  I threw a shortcut to
cygwin/usr/x11r6/bin/startxwin.bat into the windows
startup folder.  The first time you go to use the any
of the cygwin/x functions the c/x stops responding. 
After closing the x server then reopening via
startxwin batch file the x server runs perfectly.  The
wirless configuration is configured after cygwin is
loaded.  There are no firewalls, antivirus of any kind
loaded (incuding the xp's firewall and security center).




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

--
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/



Changing the default ICONin a X window?

2005-10-03 Thread jason cafarelli
Hellos,

I was just wondering if there was an easy way to
change the icon that cygwin displays in the upper left
of a window.



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

--
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: MOUSE MOVE EVENT + CTRL + LEFT CLICK not recognized?

2005-08-19 Thread jason cafarelli


--- Cary Jamison [EMAIL PROTECTED] wrote:

 Igor Pechtchanski wrote:
  On Fri, 19 Aug 2005, jason cafarelli wrote:
 
  I've recently started using cygwin in place of
  XVision.  One of my programs uses ctrl + left
 click to
  move a mouse cursor around the screen.  For some
  reason CYGwin does not seem to recognize the ctrl
 key
  being held down.  Is this a newb
 setup/configuration
  problem or something more serious?
 
  Two other xservers i have tested with recognize
 the ctrl+click.
 
  What does xev show?
  Igor
 
 Also, check if your num-lock makes a difference.
 
 Cary
 
 
 
 
 --
 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/
 
 
Num Lock did the trick

Thanks Cary!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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: read bug in Cygwin xterm window only

2005-06-11 Thread Jason Curl

Christopher Faylor wrote:

On Wed, Jun 08, 2005 at 09:22:08PM +0200, Jason Curl wrote:


On Fri, Apr 29, 2005 at 05:54:35PM -0700, Peter Farley wrote:


The following program demonstrates what looks to me
like a bug in the read function in an xterm (as
opposed to a Cygwin console window).  To run the test,
compile with:

gcc -g -o xtermbug.exe xtermbug.c

When you run it in a console window, you can enter
normal keyboard characters, then a return to see
cmdline=what you typed.  Press the Esc key to exit
the program.


Unfortunately I'm seeing exactly the same problem too, and have so for 
some time. I've also noticed that a read() giving a particular length 
will ignore the length field and actually read more data in some cases.



Peter provided a test case which I used to diagnose a problem with
Cygwin.  I fixed the problem and released a new version of cygwin which
fixed the problem so it is unlikely that this is exactly the same
problem.

Please provide a simple test case which shows your specific problem.

And, also please provide the details mentioned at
http://cygwin.com/problems.html .


Sure - I'll start a new post for this as you mention it may be 
different. By the way, what version was it fixed in?


I just confirmed that I'm using cygwin 15-11 (rather old then I think) 
and the problem exists. I'm upgrading to 15-16 now, and will later test 
it with 15-17 when I have a better internet connection.




cgf





Re: read bug in Cygwin xterm window only

2005-06-11 Thread Jason Curl

Jason Curl wrote:

Christopher Faylor wrote:


On Wed, Jun 08, 2005 at 09:22:08PM +0200, Jason Curl wrote:


On Fri, Apr 29, 2005 at 05:54:35PM -0700, Peter Farley wrote:


The following program demonstrates what looks to me
like a bug in the read function in an xterm (as
opposed to a Cygwin console window).  To run the test,
compile with:

gcc -g -o xtermbug.exe xtermbug.c

When you run it in a console window, you can enter
normal keyboard characters, then a return to see
cmdline=what you typed.  Press the Esc key to exit
the program.



Unfortunately I'm seeing exactly the same problem too, and have so 
for some time. I've also noticed that a read() giving a particular 
length will ignore the length field and actually read more data in 
some cases.




Peter provided a test case which I used to diagnose a problem with
Cygwin.  I fixed the problem and released a new version of cygwin which
fixed the problem so it is unlikely that this is exactly the same
problem.

Please provide a simple test case which shows your specific problem.

And, also please provide the details mentioned at
http://cygwin.com/problems.html .



Sure - I'll start a new post for this as you mention it may be 
different. By the way, what version was it fixed in?


I just confirmed that I'm using cygwin 15-11 (rather old then I think) 
and the problem exists. I'm upgrading to 15-16 now, and will later test 
it with 15-17 when I have a better internet connection.


Just downloaded Cygwin 15.17 (without anything else), and the problem is 
now fixed. Noted that the release notes contained the entry


cgf: Fix problem with tty reads where vmin == vtime == 0.

that probably did it.

Thanks!



Re: read bug in Cygwin xterm window only

2005-06-09 Thread Jason Curl

Peter Farley wrote:

Hi all,

The following program demonstrates what looks to me
like a bug in the read function in an xterm (as
opposed to a Cygwin console window).  To run the test,
compile with:

gcc -g -o xtermbug.exe xtermbug.c

When you run it in a console window, you can enter
normal keyboard characters, then a return to see
cmdline=what you typed.  Press the Esc key to exit
the program.


Unfortunately I'm seeing exactly the same problem too, and have so for 
some time. I've also noticed that a read() giving a particular length 
will ignore the length field and actually read more data in some cases.


I haven't seen these problems under a normal console, nor under xterm on 
other operating systems (e.g. Linux).




When run in an xterm window, the first keypress causes
this behavior:

1. Select returns with rc = 0 and readset set to
indicate that a key was received
2. read returns with kblen = 1 and kbbuf[0] = '\0'
3. (1) and (2) repeat forever.

I put in a maxdbg parameter and terminate the
program after 5 occurrences of this loop.

This problem was first detected trying to run a copy
of the hercules IBM mainframe emulator in a Cygwin
xterm window.  The code below is extracted and
minimalized as much as possible from the hercules
keyboard input routine.

Peter Farley





Re: Where does the X11 fonts mount come from?

2005-05-13 Thread Jason Pearce
OK. It was just lying around in my setup for bygone days then.
Thanks for clearing it up!
Regards,
Jason.
On Thu, 12 May 2005, Jason Pearce wrote:
I have a user reporting that they are not getting a mount to the fonts 
directory after installing.
Where does this mount actually come from? I cant see it by greping any 
of the postinstall scripts.
Because it does not exist anymore. The postinstall script runs font-update
to fix the issues which were addressed by the mount before.
bye
	ago
 



Where does the X11 fonts mount come from?

2005-05-12 Thread Jason Pearce
I have a user reporting that they are not getting a mount to the fonts 
directory after installing.
Where does this mount actually come from? I cant see it by greping any 
of the postinstall scripts.

Regards,
Jason.


Question about X-Windows and Perl

2005-03-29 Thread Jason B
I am currently working on a program for school that I must write in Perl.  
The program is to code something that will create a new X-Windows 
application.  Inorder to test my program I need to use an X-Windows 
environment, I installed CygwinX and when I run my perl code using the 
following command
 perl tkdemo.pl
the following error appears
Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin 
/usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin 
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 
/usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 
/usr/lib/perl5/vendor_perl/5.8 .) at tkdemo.pl line 3.
BEGIN failed--compilation aborted at tkdemo.pl line 3

I know for a fact the code is correct as it runs perfectly fine on the 
school Unix boxes.  I however have a windows box, and cannot seem to get 
this work.  Any and all help will be greatly appreciated.

Thank you



tcsh left running after closing down X server

2004-09-04 Thread Jason Farrell Shepherd
Hey guys,
I just installed cygwin on my laptop running XP.  It seems 
to be running fine, no problems with the install; however, 
I noticed that if I start several xterms running tcsh, and 
then close the XWin, the tcsh.exe files are still reported 
by windows as utilizing memory from the windows task 
manager.  Is this a known problem?  

I'm hoping that there is a simple fix or answer that I 
haven't found searching the archives...

Thanks in advance...
Jason Shepherd


Re: CutPaste in xterm

2004-06-04 Thread Jason Dufair
I think I've finally gotten to the bottom of the problem.  I have
discovered that highlighting in Rxvt does copy on to the Windows
clipboard after all, but that pasting by clicking the middle mouse
button does not work.  It turns out that I have my middle button set to
double-click.  When I set my middle mouse button to AutoScroll
(default), it pastes as expected.

Is there any way for Cygwin/X to paste with the middle button in X windows,
regardless of what the driver setting is for the middle button?  Would
this even be desirable?

Tom Sobczynski [EMAIL PROTECTED] writes:

 For a data point, I invoke the Cygwin X.org server with -multiwindow and
 -clipboard, and I can cut and paste between Windows and Gnome
 applications in both directions.

 To speculate wildly about your troubles with Rxvt, I wonder if there are
 problems mapping the multiple X selections to the single Windows
 clipboard.  Can you cut and paste with gnome-terminal?  Have you tried
 restarting the Windows ClipBook service?

 On Fri, 2004-06-04 at 10:54, Jason Dufair wrote:
 I've been meaning to post this same question for weeks.  I Googled quite
 extensively and found nothing.  My question regards Rxvt in X mode, but
 I suspect it's the same issue.  I'm running with the following switches:
 
 -multiwindow -clipboard -multiplemonitors -nounixkill
 
 Is anyone successfully cutting/pasting with -multiwindow?
 
 Ariel Burbaickij [EMAIL PROTECTED] writes:
 
  Dear all,
  happy my question about possibilty to start windows applications
  direclty has provoked rather vivid discusion. Now for a change
  extremly dumb question: Cut  paste inside xterm of cygwin X-server
  does not work neither traditional highlight and point to where you want
  to have it method, not ctrl-c/ctrl-v method. So, what is the trick?
 
  With Best Regards
  Ariel Burbaickij
 
  -- 
  Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen!
  Jetzt aktivieren unter http://www.gmx.net/info

-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Quantum materiae materietur marmota monax si marmota
monax materiam possit materiari?
(How much wood would a woodchuck chuck if a woodchuck could chuck wood?)



multiplemonitors

2003-11-10 Thread Jason Dufair
I just put a 2nd video card in my Win2K PC so that both of my monitors are
running at 1280x1024x32bpp.  The primary is an ATI RADEON 7500 AGP and the
secondary is an ATI AIW 128 PCI.  When I run

start XWin -multiwindow -clipboard -multiplemonitors

I get the following in /tmp/XWin.log

winScreenInit - Monitors do not all have same pixel format / display depth.
Using primary display only.

I know they're running the same display depth.  What's pixel format?  I
also notice in my Device Manager that I have a Microsoft SMS Mirror
Driver (this is my work PC).

Relevant packages include: (just ran setup.exe a few minutes ago and let
it update everything)

XFree86-base4.3.0-1
XFree86-bin 4.3.0-7
XFree86-etc 4.3.0-5
XFree86-fenc4.2.0-3
XFree86-fnts4.2.0-3
XFree86-lib 4.3.0-1
XFree86-lib-compat  4.3.0-2
XFree86-startup-scripts 4.2.0-5
XFree86-xserv   4.3.0-22   


Any ideas as to why -multiplemonitors isn't working?
-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
+kritical christin: you need to learn how to figure out stuff yourself..
+Christin1 how do i do that



Re: Cygwin/XFree86 - No longer associated with XFree86.org

2003-10-28 Thread Jason Dufair
I'll also chime in as a lurker to say that you have kicked some major
ass for us Cygwin/XFree86 users, Harold, and I think you've been nothing
but helpful and responsive on the list.  I think your plea on the
XFree86 list was reasonable.  Good luck as you explore other options.

Harold L Hunt II [EMAIL PROTECTED] writes:

 Egbert,

 Egbert Eich wrote:

 Harold,
 I find it sad that you had to make this decision.
 I've just been absent for a little more than two weeks and
 was unable to commit patches - look what came out of it.

 Egbert, I am sorry, I want to make it absolutely clear that my raising
 the issue with XFree86.org and subsequent decision had nothing to do
 with you.  You were actually a great help to me, I appreciate the work
 that you did with me very much.  There was a larger problem
 here... one that had nothing to do with you.

 I understand that the level of frustration among contributors
 has risen to a point that people are starting to use bad words.
 I've tried to get support from individual core team members
 for giving you commit rights. After I was unable to do so (maybe
 I asked the wrong ones) I decided to no longer persue the issue.
 None of the initiatives I've made so far have been accepted.

 I appreciate that Egbert.  That really gets to the heart of the
 matter: this isn't about cvs commit access, this is about the
 arbitrary, subjective, and unresponsive manner in which the project is
 being managed.

 I don't understand why people cannot deal with issues on the
 pragmatic level by looking at how one can best distribute
 the workload so that the burdeon on each individual volunteer
 is reduced.

 I really wish they could have seen that too.

 The discussion always turns to who owes what to whom. This is
 the wrong question. All or most of us are volunteers. Therefore
 noone owes anything to anybody.
 I get more and more the impression that David is working on
 narrowing down the scope of XFree86. There are alternatives in sight
 and I hope something will be in place before too long that will
 again serve a place where
 people interested in X can meet and work together.

 Yes, I am beginning to work with some other developers who have left
 XFree86.org as well.  It is so unfortunate that XFree86.org is pushing
 away developers one-by-one, only to assemble the same group
 elsewhere. That is a pointless waste of time; that sort of thing
 should not have to happen.

 I was a little surprised too to see that my request was interpreted as
 being owed something :)  Jeez, not only is the process of getting cvs
 commit access undefined, it is a veritable mine field; you cannot
 possibly ask in a humble enough manner for their taste.

 Anyhow, I want to reiterate again that I enjoy working with you Egbert
 and that I hope we continue to work together in the future.

 Thanks for your input,

 Harold

-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Time flies like an arrow. Fruit flies like a banana.
-- Groucho Marx



Strange Cygwin/Emacs/Bash/OpenSSL behavior

2003-09-16 Thread Jason Dufair
I don't believe this is X-specific, but it may be, hence the
cross-post...

I recently upgraded my Cygwin install (to get a new version of the
XFree86-xserv package).  I went ahead and let it upgrade everything to
the latest packages.  All in all, it seems to have gone well, but I have
one strange thing happening.  I use Gnus for my email under Emacs.  In
order to make an SSL connection to my remote IMAP server, it has to
start a shell and run the openssl executable.  This worked fine prior to
the upgrade.  Now, when it tries to make the connection, it hangs.

Oddly, if I launch Emacs from a bash prompt (instead of, for example,
from Harold's handy menu off the X tasktray icon or from a batch file
via Explorer), it works fine.  So it would appear that maybe I have a
problem with my shell setup somehow.  I do have /bin/bash specified for
my shell and I don't have anything specified, shell-wise, in my Emacs.

I've attached my cygcheck in case it's useful.  Can anyone explain this
weirdness?

-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
You wear sandals in the snow
and a smile that won't wash away
Can you look out the window
without your shadow getting in the way?
-- Sarah McLachlan
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Sep 16 11:34:02 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   C:\progra~1\cygwin\home\jase\bin
C:\progra~1\cygwin\home\jase\bin
C:\progra~1\cygwin\usr\local\bin
C:\progra~1\cygwin\bin
C:\progra~1\cygwin\bin
c:\WINNT\MS\SMS\CORE\BIN
c:\oracle\ora81\bin
c:\Program Files\Oracle\jre\1.1.7\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\WINNT\system32\nls
c:\WINNT\system32\nls\ENGLISH
c:\Program Files\Common Files\Adaptec Shared\System
c:\Program Files\Audio Codecs
c:\Program Files\j2sdk1.4.1\bin
c:\Program Files\j2sdk1.4.1\jre\bin
c:\Program Files\Microsoft SDK for Java 4.0\Bin
C:\progra~1\cygwin\bin
C:\progra~1\cygwin\usr\local\bin
c:\Program Files\WinZip
C:\progra~1\cygwin\usr\X11R6\bin
c:\progra~1\micros~2\office\
Z
.
Y
.
.

Output from C:\progra~1\cygwin\bin\id.exe (nontsec)
UID: 21779(jase) GID: 10513(Domain Users)
10513(Domain Users)

Output from C:\progra~1\cygwin\bin\id.exe (ntsec)
UID: 21779(jase) GID: 10513(Domain Users)
544(Administrators)  545(Users)
19212(Advance Users) 10513(Domain Users)
17664(DPE Admins)31902(DPE Client Users)
33911(Exchange Users)11005(Local Admins)
19108(MetaFrame Users)   16220(PVCS UD Users)
24701(SIS Client Users)  30698(TRAX TD Admins)

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntsec tty binmode'
HOME = `C:\progra~1\cygwin\home\jase'
MAKE_MODE = `unix'
PWD = `/home/jase'
USER = `jase'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS   38162Mb  27% CP CS UN PA FC Local Disk
d:  cd   N/AN/A
e:  fd  FAT32  38129Mb  76% CPUN   RCA_LYRA
h:  hd  NTFS   38162Mb  27% CP CS UN PA FC Local Disk
i:  net NWFS   39998Mb  93% CP EF
j:  net NTFS   120791Mb  79% CP CS UN PA FC Volume 4
n:  net NWFS   12499Mb  70% CP ITAP
s:  net NWFS   12499Mb  70% CP ITAP
y:  net NWFS 976Mb  58% CP  FC SYS
z:  net NWFS5713Mb  36% CP  FC SYS

.   / user
binmode,cygdrive
C:\progra~1\cygwin  / system  binmode
C:\progra~1\cygwin/bin  /usr/bin  system  binmode
C:\progra~1\cygwin/lib  /usr/lib  system  binmode
C:\progra~1\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.   / system  
binmode,cygdrive

Found: C:\progra~1\cygwin\bin\awk.exe
Found: C:\progra~1\cygwin\bin\bash.exe
Found: C:\progra~1\cygwin\bin\cat.exe
Found: C:\progra~1\cygwin\bin\cp.exe
Found: C:\progra~1\cygwin\bin\cpp.exe
Found: C:\progra~1\cygwin\bin\find.exe
Found: C:\progra~1\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\progra~1\cygwin\bin\grep.exe
Found: C:\progra~1\cygwin\bin\ld.exe
Found: C:\progra~1\cygwin\bin\ls.exe
Found: C:\progra~1\cygwin\bin\make.exe
Found: C:\progra~1\cygwin\bin\mv.exe
Found: C:\progra~1\cygwin\bin\rm.exe
Found: C:\progra~1\cygwin\bin\sed.exe
Found: C:\progra~1\cygwin\bin\sh.exe
Found: C:\progra~1\cygwin\bin\tar.exe

   61k 2003/08/09 C:\progra~1\cygwin\bin\cygbz2-1.dll
  848k 2003/04/11 C:\progra~1\cygwin\bin\cygcrypto-0.9.7.dll
  645k 2003/04/11 C:\progra~1\cygwin\bin\cygcrypto.dll
  380k 2002/07/24 C:\progra~1\cygwin\bin\cygdb-3.1.dll
  487k 2002/07/24 C:\progra~1\cygwin\bin\cygdb_cxx-3.1.dll
   45k 2001/04/25 C:\progra~1\cygwin

Re: minimize emacs

2003-09-15 Thread Jason Dufair
Harold -

This is working.  Many thanks for putting this in.  Talk about service!

Harold L Hunt II wrote:

Jason,

Yes, that is exactly what I wanted.

I don't have time for a formal release announcement now, but I just 
posted XFree86-xserv-4.3.0-8 as a test release.  You have to 
manually select this in Cygwin's setup.exe when it shows up on mirrors 
in a few hours.

The new test release handles WM_CHANGE_STATE IconicState messages and 
calls ShowWindow (hWnd, SW_MINIMIZE).  I tested it with emacs and it 
works for me.  I can't believe that no one asked for this before... it 
seems to have been a missing feature for a long time.

Thanks for testing,

Harold

Jason Dufair wrote:

Harold -

How does the following sound?


Check the function `x_iconify_frame' in xterm.c in the Emacs sources
to see what it does.  Basically, what it boils down to is Emacs
running `XIconifyWindow' which sends a `ClientMessage' with
`IconicState' to X.  See if the windowmanager listens to the
`WM_CHANGE_STATE' hint properly.




Harold L Hunt II [EMAIL PROTECTED] writes:


Jason,

I think this means that we have to trap a window manager
message/hint/whatever that tells us that an application is requesting
to be minimized.  It is up to our internal window manager to then
perform the minimization and report that to the app that the
minimization has been performed.
Can anyone find some information about how this is implemented?  It
sounds fairly simple, so a quick example from somewhere could probably
help me get it done quickly.
Harold

Jason Dufair wrote:


Andrew DeFaria [EMAIL PROTECTED] writes:


I wouldn't call it a fix, rather a default configuration. I think you
can put the following in your .emacs file:
(global-set-key \C-z 'suspend-emacs-or-iconify-fram)


I don't seem to have a 'suspend-emacs-or-iconify-frame.  When I call
'suspend-emacs, I get Suspending an emacs running under X makes no
sense.  Thanks for the suggestion.  C-z does work under Linux for me,
but no luck here.  C-z does have the effect of making the cursor 
hollow,
however.  I suspect whatever tricks are being done with -multiwindow
prevent iconify from behaving correctly.  Thanks for checking into it.



--
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Being in politics is like being a football coach.
You have to be smart enough to understand the game,
and dumb enough to think it's important.
-- Eugene McCarthy



Re: minimize emacs

2003-09-12 Thread Jason Dufair
Andrew DeFaria [EMAIL PROTECTED] writes:

 I wouldn't call it a fix, rather a default configuration. I think you
 can put the following in your .emacs file:

 (global-set-key \C-z 'suspend-emacs-or-iconify-fram)

I don't seem to have a 'suspend-emacs-or-iconify-frame.  When I call
'suspend-emacs, I get Suspending an emacs running under X makes no
sense.  Thanks for the suggestion.  C-z does work under Linux for me,
but no luck here.  C-z does have the effect of making the cursor hollow,
however.  I suspect whatever tricks are being done with -multiwindow
prevent iconify from behaving correctly.  Thanks for checking into it.

-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Our task must be to free ourselves...
by widening our circle of compassion to embrace all living creatures
and the whole of nature and its beauty.
-- Albert Einstein



Re: minimize emacs

2003-09-12 Thread Jason Dufair
I'll poke around and see if I can find the answer, Harold.

Harold L Hunt II [EMAIL PROTECTED] writes:

 Jason,

 I think this means that we have to trap a window manager
 message/hint/whatever that tells us that an application is requesting
 to be minimized.  It is up to our internal window manager to then
 perform the minimization and report that to the app that the
 minimization has been performed.

 Can anyone find some information about how this is implemented?  It
 sounds fairly simple, so a quick example from somewhere could probably
 help me get it done quickly.

 Harold

 Jason Dufair wrote:

 Andrew DeFaria [EMAIL PROTECTED] writes:

I wouldn't call it a fix, rather a default configuration. I think you
can put the following in your .emacs file:

(global-set-key \C-z 'suspend-emacs-or-iconify-fram)
 I don't seem to have a 'suspend-emacs-or-iconify-frame.  When I call
 'suspend-emacs, I get Suspending an emacs running under X makes no
 sense.  Thanks for the suggestion.  C-z does work under Linux for me,
 but no luck here.  C-z does have the effect of making the cursor hollow,
 however.  I suspect whatever tricks are being done with -multiwindow
 prevent iconify from behaving correctly.  Thanks for checking into it.


-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Being in politics is like being a football coach.
You have to be smart enough to understand the game,
and dumb enough to think it's important.
-- Eugene McCarthy



Re: minimize emacs

2003-09-12 Thread Jason Dufair
Harold -

How does the following sound?

 Check the function `x_iconify_frame' in xterm.c in the Emacs sources
 to see what it does.  Basically, what it boils down to is Emacs
 running `XIconifyWindow' which sends a `ClientMessage' with
 `IconicState' to X.  See if the windowmanager listens to the
 `WM_CHANGE_STATE' hint properly.


Harold L Hunt II [EMAIL PROTECTED] writes:

 Jason,

 I think this means that we have to trap a window manager
 message/hint/whatever that tells us that an application is requesting
 to be minimized.  It is up to our internal window manager to then
 perform the minimization and report that to the app that the
 minimization has been performed.

 Can anyone find some information about how this is implemented?  It
 sounds fairly simple, so a quick example from somewhere could probably
 help me get it done quickly.

 Harold

 Jason Dufair wrote:

 Andrew DeFaria [EMAIL PROTECTED] writes:

I wouldn't call it a fix, rather a default configuration. I think you
can put the following in your .emacs file:

(global-set-key \C-z 'suspend-emacs-or-iconify-fram)
 I don't seem to have a 'suspend-emacs-or-iconify-frame.  When I call
 'suspend-emacs, I get Suspending an emacs running under X makes no
 sense.  Thanks for the suggestion.  C-z does work under Linux for me,
 but no luck here.  C-z does have the effect of making the cursor hollow,
 however.  I suspect whatever tricks are being done with -multiwindow
 prevent iconify from behaving correctly.  Thanks for checking into it.


-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Give a man fire and he will be warm for a day.
Set a man on fire and he will be warm for the rest of his life.
-- Terry Pratchett



minimize emacs

2003-09-11 Thread Jason Dufair
Does anyone have any suggestion on how to minimize GNU Emacs running
under Cygwin/XFree86 with the keyboard?  I don't really need Emacs'
M-Spc command, so should I just undefine it?  Will that cause the
keystroke to be passed to Windows?
-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
xterm The problem with America is stupidity. I'm not saying there
should be a capital punishment for stupidity, but why don't we just
take the safety labels off of everything and let the problem solve
itself?



Re: minimize emacs

2003-09-11 Thread Jason Dufair
Maybe it's just me, but Windows-M minimizes everything.  Is this
happening to everyone?

(I am talking about Cygwin/XFree86 with -multiwindow, BTW).  For Ctrl-Z
to work, would that mean a fix for Emacs or for X?

Harold L Hunt II [EMAIL PROTECTED] writes:

 Just tried the following:

 1) Ctrl-Z: Doesn't work

 2) Ctrl-X + Ctrl-Z: Doesn't work

 3) Windows-M: Works


 Looks like we found a winner.

 Note: This is for running emacs under Cygwin/XFree86 with the
 -multiwindow command-line parameter.  I gather that is what we are all
 talking about here.

 Harold

 Laura McWilliams wrote:

 how about Cntrl-Z or C-X C-Z
 it works in X-emacs, anyways...
 * --Laura L McWilliams |
 * AIX kernel development- BN2S |
 * ph 512.838.9224 t/l 678.9224 |
 * [EMAIL PROTECTED] |
 there are 10 kinds of people in the world...
  those who understand binary, and those who don't
 On Thu, 11 Sep 2003, Igor Pechtchanski wrote:

On Thu, 11 Sep 2003, Jason Dufair wrote:


Does anyone have any suggestion on how to minimize GNU Emacs running
under Cygwin/XFree86 with the keyboard?  I don't really need Emacs'
M-Spc command, so should I just undefine it?  Will that cause the
keystroke to be passed to Windows?

If your machine has a Windows key, you could use Windows-M to minimize any
window (I don't know if XFree86 intercepts that keystroke).  Just a
thought.
 Igor
--
 http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_ [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton



-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
A laugh for for the newsprint nightmare
A world that never was
Where the questions are all 'why?' and
The answers are all 'Because'
-- Bruce Cockburn




Re: rootless cygwin emacs howto?

2003-09-10 Thread Jason Dufair
There is really nothing to it.  Just get a recent version of X, run it
with -multiwindow (and, I recommend, -clipboard), and run Emacs.  Voila!
Not sure if the currently packaged XWin.exe supports -multiwindow, but
the latest Server Test Series, available from the Cygwin/XFree86
website, will do what you need (and is pretty stable).

Thomas L Roche [EMAIL PROTECTED] writes:

 I've been running NTEmacs for awhile, and Cygwin for awhile, but have
 only occasionally used X. I'd like to cut over to the cygwinized
 Emacs if I can keep a single desktop, i.e. run X rootless. Could
 someone point me to a howto illustrating setup and running of the
 cygwin Emacs on X, rootlessly? (If possible, please also CC: me.)
 Apologies if this is a FAQ, but I tried Googling

 cygwin emacs rootless

 (i.e. not the phrase) and saw only claims that it can be done.

-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Being in politics is like being a football coach.
You have to be smart enough to understand the game,
and dumb enough to think it's important.
-- Eugene McCarthy



Re: cut and paste between Cygwin emacs and Win2k windows?

2003-09-02 Thread Jason Dufair
If you run emacs under XFree86 with a recent server test series,
xclipboard is integrated and this happens automatically.  Dunno about
selecting text with a mouse, but C-w/M-w works great.

[EMAIL PROTECTED] writes:

 Is there a way to select text in a cygwin emacs window, copy it, and paste it into a 
 Win2k window? In linux, for example, KDE provides a clipboard utility (Klipper?) 
 that provides this capability.

 best,
 cyggie stardust

-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Our task must be to free ourselves...
by widening our circle of compassion to embrace all living creatures
and the whole of nature and its beauty.
-- Albert Einstein



Test 92 observations

2003-07-29 Thread Jason Dufair
Hi Harold, et. al. -

I just installed Test 92 and it seems to work fine.  Just a few notes,
for what they're worth.  I'm on Win2K, SP2

- I use the Dvorak keyboard layout and I have to do a run setxkbmap
dvorak in my batch file that start XWin.exe.  I don't know if it should
automatically detect my Windows keyboard layout or not.

- I start XWin.exe with start Xwin -multiwindow -multiplemonitors
-clipboard.  I have 2 monitors on my system, both with the same
resolution, the secondary with a lower bit depth.  When I drag windows
to the secondary monitor, they just draw the whole window in white.  I'm
not sure how far along the -multiplemonitors support is, so I'm not sure
what to expect, but I thought I'd mention it.

Many thanks to all for XFree on Windows.  What a treat to have all these
great apps and tools.
-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Time flies like an arrow. Fruit flies like a banana.
-- Groucho Marx



Re: Newbie : XWin, rxvt, gv

2003-07-28 Thread Jason Dufair
[EMAIL PROTECTED] writes:
MIME-Version: 1.0
 After using rxvt without XFree I thought I'd try XFree. I'm amazed. Almost
 everything just works, and the bits that don't must be my bad driving. It's
 so nice to use gnuplot (which compiled oob) and not wgnuplot, for instance.
 Apart from a minor error msg, xdvi simply works. So does latex. I'm
 absolutely staggered.

 I'm running W98/SE.

 I would like to ask a couple of questions:

 Q1 of 2.

 I start things up with a three-line batch file

 set DISPLAY=127.0.0.1:0.0
 start XWin -multiwindow
 run rxvt {switches} -e /bin/bash

 I'm sorry: I'm completely new to this. are the args to DISPLAY to do with
 size and resolution or something else? What is the role of the word start?
 I ask because on exiting rxvt I always end up with a copy of XWin hanging
 around that has to be kill'd through Task Manager. Can I omit the word
 start, or if not, should there be a 4th line that carries the sense of stop
 XWin? Similarly, the word run. Can I omit this word and just use

 rxvt {switches} -e /bin/bash?
The args to display are the ip address of the X server that your X
client apps will use.  The :0.0 has to do with display numbers and,
theoretically running multiple X servers on the same host.
start just causes the batch file to launch the command following in a
separate process, a sort of fork, so that subsequent commands in the
batch file execute in parallel with the started command.  Not sure
about W98, but W2K has info in the main help file (Start button, help),
about start.  Not sure about the semantics of run.  Perhaps it's an
alias for start.
You *want* XWin to be hanging around, at least as long as you want to
continue running X apps.  XWin.exe is the X server and is necessary to
run X-based apps.
You might also try running XWin with -clipboard (depending on which
version of XWin.exe you have - I'm using test series 90, I think).
Allows windows/X clipboard integration.  Additionally, if you run test
series (somewhere in the high eighties, maybe), you get a handy little
tray icon where you can kill XWin.exe with a nice menu and not feel
guilty about killing the process.  Look on the Cygwin/XFree website for
the Server Test Series.  I found 91 to be a bit unstable but 90 to be
pretty decent (one crash every few days on Win2K).
-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Ad in classifieds: Pandora's Box (no box) $5




Minimize emacs

2003-07-17 Thread Jason Dufair
I'm running GNU Emacs under Cygwin XFree (multiwindow).  Needless to say, I'm in sheer
heaven.  What a treat to be able to run a real Emacs under Windows.
Many thanks to Harold and the other XFree developers and to Joe Buhler
for the Emacs port.

My question:  How can I minimize Emacs using only keystrokes?  Emacs
catches Alt-Space (M-space), so I can't activate the window menu.
Normally, in X on Linux, I can to Ctrl-z, but under Cygwin XFree, I find
that the only effect this has is to make the Emacs cursor (point)
hollow.  Is anyone currently able to do this?  I found nothing on Google
or the mailing list archives.  TIA!
-- 
Jason Dufair - [EMAIL PROTECTED]
http://www.dufair.org/
Time flies like an arrow. Fruit flies like a banana.
-- Groucho Marx



./configure trouble with X

2003-01-31 Thread Jason Sewall
In everything I've tried to install that needs X - like gnuplot and TeXmacs, I can't 
get past a problem with ./configure. Every time I run the script, I get this error 
after some regular-looking output:

checking for ANSI C header files... yes
checking for string.h... yes
checking how to run the C preprocessor... gcc -E
checking for working const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking if compiler handles warn and error directives correctly... yes
checking for X... eval: 1: Syntax error: ( unexpected

I've tried hacking open the scripts and so forth, to no avail. I looks like an 
interpreter problem, but hell if I know what it means. X works fine under my cygwin 
install, but I can't compile anything for it!

I have the x headers installed and so on...

Any help would be appreciated!

Jason



fvwm-themes anyone?

2002-11-27 Thread Jason Hinson
I haven't been using cygwin for too long (less than a year), and I've
just recently decided to try using Xfree within the environment--so, I
hope the is a reasonable question for the list...

Has anyone been successful in getting fvwm-themes to run under cygwin?

I've researched a bit, and apparently as of build 0.6.1, fvwm-themes
now has DOS-friendly file names and is ready to compile under cygwin. 
As suggested in the readme, I downloaded and installed a more recent
version of fvwm (2.4.13), and then I installed fvwm-themes.

It starts up just fine (except, of course, there doesn't seem to be a
working version of xload under cygwin yet).  However, when I try to
switch themes, it seems to crash fvwm and gives this error message:

[FvwmScript][ReadConfig]: ERROR Can't open the script
FvwmScript-NoteMessage

Anyone seen this before?  Anyone know how to get fvwm-themes running
properly under cygwin?

Thanks!!!


-Jason

p.s., I don't guess I'm actually on this mailing list, so I'd
appreciate it if you would cc any replies to me personally (unless, of
course, that's considered bad form, in which case just tell me how to
properly subscribe to the list.)

--thanks again!