Re: Cygwin/x doesn't work on windows 8
Anton Malykh writes: > Hi all, > > I apologize if this bug is already known. > I have two fresh windows 8 machines. Looks like cygwin/x doesn't work > on either of them with similar symptoms. > The installation went fine. "xwin" command seems to work as expected. > But when I try to right click on X icon in tray -> Applications -> > xterm (or emacs/xload) - nothing happens. In the terminal I'm getting: >> >> 0 [main] xwin 1880 child_info_fork::abort: >> C:\cygwin\bin\cygXdmcp-6.dll: Loaded to different address: >> parent(0x34) != child(0x2C) >> fork() to run command failed > > I attach my cygcheck and xwin log files. Please let me know if any > additional information is needed. > > Thanks! > Tony Whenever I get that I need to rebase everything. A little involved, but not too complicated. Google for something like "cygwin rebaseall" and you should find out what you need to do. I'd dig into more detail, but I'm at work right now... Good luck, Dave -- 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 and xwin and super and hyper
Jon TURNEY writes: > On 21/06/2013 16:56, J. David Boyd wrote: >> Jon TURNEY writes: >>> On 19/06/2013 22:27, J. David Boyd wrote: >> >> All perfect so far. >> >> So, when I start up emacs, and press C-h k, then, for example, Capslock-d, >> (hyper-d) I get 'H-d is undefined'. Yeah. >> >> Then I press C-h k, then Left-Win-d, (super-d), I get 'H-d is undefined', and >> not 's-d is undefined', which is what I expected to see. >> >> Any ideas how I might resolve this? > > Looking at the xev output for Hyper-d and Super-d, it seems they have the same > state (modifier) value. > > This is because xkeyboard-config seems to place super and hyper on the same > modifier, mod4, as can be seen looking at the output of 'xmodmap -pm' > >> $ xmodmap -pm >> xmodmap: up to 5 keys per modifier, (keycodes in parentheses): >> >> shift Shift_L (0x32), Shift_R (0x3e) >> lock >> control Control_L (0x25), Control_R (0x6d) >> mod1Alt_L (0x40), Alt_R (0x74), Meta_L (0x9c) >> mod2Num_Lock (0x4d) >> mod3 >> mod4Hyper_L (0x42), Super_L (0x73), Super_R (0x75), Super_L >> (0x7f), Hyper_L (0x80) >> mod5Mode_switch (0x8), ISO_Level3_Shift (0x7c) > > And it seems that emacs only looks at the modifier state, not the actual > proceeding keypress. > > A workaround for this is to move Hyper_L to the unused mod3 modifier. > >> $ xmodmap -e "remove mod4 = Hyper_L" >> >> $ xmodmap -e "add mod3 = Hyper_L" >> >> $ xmodmap -pm >> xmodmap: up to 3 keys per modifier, (keycodes in parentheses): >> >> shift Shift_L (0x32), Shift_R (0x3e) >> lock >> control Control_L (0x25), Control_R (0x6d) >> mod1Alt_L (0x40), Alt_R (0x74), Meta_L (0x9c) >> mod2Num_Lock (0x4d) >> mod3Hyper_L (0x42), Hyper_L (0x80) >> mod4Super_L (0x73), Super_R (0x75), Super_L (0x7f) >> mod5Mode_switch (0x8), ISO_Level3_Shift (0x7c) > > It's probably a bug that this doesn't work as expected, but I'm not sure in > what. Thanks, that just what I did, and now it works fine. -- 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 and xwin and super and hyper
Jon TURNEY writes: > On 19/06/2013 22:27, J. David Boyd wrote: >> I can get my capslock key to be super with the command line 'setxkbmap >> -option >> caps:super', but I can't get 'setxkbmap -option altwin:hyper_win' to do >> anything. >> >> Running 'setxkbmap -print' shows both options as being set, but the win keys >> still act as the win key. >> >> Is there something else I need to do so windows lets go of these keys? > > Yes. > > Again, let me refer you to [1]. The operative sentence is: > >> (Note that mapping the Windows keys to hyper also requires the -keyhook >> option, so that the X server sees those keys before the Windows shell) > > One thing I failed to mention there is that without any keymap options the > keymap should give you super on the windows keys, but you will still need > -keyhook X server option to enable the X server to see the key. > > [1] http://cygwin.com/ml/cygwin/2012-03/msg00427.html I can get everything working up to the point I start emacs. The output from 'setxkbmap -print' is: xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat{ include "complete" }; xkb_symbols { include "pc+us+inet(pc105)+altwin(alt_super_win)+capslock(hyper)" }; xkb_geometry { include "pc(pc105)" }; }; and if I run XEV, and press capslock I get: KeyPress event, serial 32, synthetic NO, window 0xc1, root 0x131, subw 0x0, time 8145997, (504,324), root:(2162,400), state 0x0, keycode 66 (keysym 0xffed, Hyper_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0xc1, root 0x131, subw 0x0, time 8146122, (504,324), root:(2162,400), state 0x40, keycode 66 (keysym 0xffed, Hyper_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False and if I press Left Windows key I get: KeyPress event, serial 32, synthetic NO, window 0xc1, root 0x131, subw 0x0, time 8148993, (504,324), root:(2162,400), state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0xc1, root 0x131, subw 0x0, time 8149102, (504,324), root:(2162,400), state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False All perfect so far. So, when I start up emacs, and press C-h k, then, for example, Capslock-d, (hyper-d) I get 'H-d is undefined'. Yeah. Then I press C-h k, then Left-Win-d, (super-d), I get 'H-d is undefined', and not 's-d is undefined', which is what I expected to see. Any ideas how I might resolve this? Dave -- 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 and xwin and super and hyper
I can get my capslock key to be super with the command line 'setxkbmap -option caps:super', but I can't get 'setxkbmap -option altwin:hyper_win' to do anything. Running 'setxkbmap -print' shows both options as being set, but the win keys still act as the win key. Is there something else I need to do so windows lets go of these keys? Dave -- 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/
Hyper and Super in X-windows shell
Is there somewhere to configure XWin Server to allow Hyper and Super keys to be assigned when running an SSH -X -Y shell from a remote linux server? -- 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/
line drawing characters in vt100 xterm
Howdy Sometime, I can connect to a customer system, and the vt100 terminal does a great job of drawing lines. Other time, I get + and - and | characters instead. A clue please? Where do I start troubleshooting this? Dave -- 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
"Ken Brown" wrote in message news:[EMAIL PROTECTED] On 3/26/2007 8:13 AM, J. David Boyd wrote: Of course, now that I've run rebaseall to get my X apps working okay, emacs no longer starts... You have to reinstall libncurses7 to get emacs back. See http://sourceware.org/ml/cygwin/2006-10/msg00540.html Ken Thanks, that worked just fine. Dave -- 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
"Jason" wrote in message news:[EMAIL PROTECTED] 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 Of course, now that I've run rebaseall to get my X apps working okay, emacs no longer starts... Dave -- 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
Have you tried rebaseall? I had to do that to get consistent results... Dave - Original Message - From: "Jason" <[EMAIL PROTECTED]> Newsgroups: gmane.os.cygwin.xfree To: Sent: Thursday, March 22, 2007 3:06 PM Subject: Re: can't startup startx in cygwin 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/ -- 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: XWin and Vista -- 100% CPU on exit
As much as I hate to admit it, I've been using Xming from sourceforge.net as my X server, along with all the regular cygwin progams. XWin.exe used to go 100% cpu every once in a while, but Xming has been running great! Dave "Michael PARKER" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] And me on Windows XP Pro x64 SP1. Mike -- 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: Issue with xemacs in CygwinX
Paul Mallas <[EMAIL PROTECTED]> writes: > Sorry for the cross posting, but I was told my original post on the > Cygwin mail list was inappropriate and I should make it on the > CygwinX. > > A recent xemacs upgrade does not work properly on my Cygwin system. > > I was running xemacs version 21.4.19-1 with no problem. Newer versions > (21.4.19-2, 21.4.19-3, and 21.4.20-2) fail. The error reads "X > server not responding: ." > > I reinstalled 21.4.19-1, things worked fine again. But I would like to > figure out what the issue is for the newer versions. > > I can unset my DISPLAY variable and xemacs will run in a Windows > window. If my DISPLAY variable is set - I get "X server not > responding: <>" Everything else runs properly in X with DISPLAY > set- xterm, xclock, just not xemacs. Any thoughts? > No, mine works fine. I'm using the latest of everything, on XP with 768M of memory. With my DISPLAY set to 192.168.0.102:0.0, I get an X version of Xemacs. With it unset, I get the windows one. They both work fine. You aren't starting xemacs from a script that might be changing something in your environment, are you? Dave -- 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: texmacs does not launch in cygwin
"Abuzer Bakis" <[EMAIL PROTECTED]> writes: > Hi everybody, > > I am using cygwin on XP on a DELL inspiron portable computer. When I > launch "texmacs" on cygwin command editor I get the following message: > > Fatal error: I failed to connect to Xserver in > 'x_display_rep::x_display_rep' > > > In the texmacs web page, it is said that: > > If you get an error message including the following: > > Fatal error: I failed to connect to Xserver in > 'x_display_rep::x_display_rep > > then execute "export DISPLAY=127.0.0.1:10.0" on the remote machine and make > sure your /etc/hosts file is sound, i.e. it contains the line "127.0.0.1 > localhost" and "the IP information about the local and remote machine". > > In my /etc/hosts file I do not have "the IP information about the > local and remote machine". > Are you running the Cygwin X-Server on your machine? There is a startxwin.bat file (mine is C:\cygwin\usr\X11R6\bin\startxwin.bat), that I call to start the x-server. Then TeXmacs and LyX all work great, as well as emacs, xemacs, etc... Dave -- 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 I close the startx cygwin shell?
Trebor Sreyb <[EMAIL PROTECTED]> writes: > --- "J. David Boyd" <[EMAIL PROTECTED]> wrote: > >> I use the startxwin.bat file in the >> c:\cgywin\usr\X11R6\bin folder. You can >> modify to open several xterms, or whatever you want, >> and it works great. > > > > I had tried once to customize startxwin.bat for my > needs but gave up because it won't successfully launch > my window manager (wmaker). Hence since then I have > been using startx from within a cygwin shell session. > > Looks like I need to resolve the original problem > first before I can get rid of that unwanted shell > window. > > So, what happens with my startxwin.bat is that wmaker > gets started, but the mouse is unusable, and the > initial icons I expect to see never get displayed. > Only an empty wmaker desktop. I can start an xterm, > but its window has no title bar, resizing button, > window borders, etc. I can use the keyboard. > > > I had changed startxwin.bat to run the following : > > cd c:\cyghome\tsreyb > run XWin -clipboard -silent-dup-error > > > Also, the contents of my .xinitrc (in > c:\cyghome\tsreyb) are: > > PATH="$PATH:/usr/X11R6/bin" > exec wmaker > > > > > > I suspected the problem was that certain X environment > variables aren't set, because, by comparing > environment variables with and without the problem, I > find these aren't set when the problem exists: > > XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults > XAUTHORITY=/cygdrive/c/cyghome/tsreyb/.Xauthority > XCMSDB=/usr/X11R6/lib/X11/Xcms.txt > XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB > XNLSPATH=/usr/X11R6/lib/X11/locale > > But, using startxwin.bat, where am I supposed to set > these? > > I tried putting them in startxwin.bat, like this: > > SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults > SET XAUTHORITY=/cygdrive/c/cyghome/bbyers/.Xauthority > SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt > SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB > SET XNLSPATH=/usr/X11R6/lib/X11/locale > run XWin -clipboard -silent-dup-error > > but those variables still don't appear in an xterm > after the manager is started, and the > windowing/mousing problems persist. > > I also placed them in .xinitrc, but, again, the > variables never get set and the problems persist. > > I even placed them in .cshrc and .profile. Still, no improvement. > > __ > 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/ I went into the default startxwin.bat, and changed and uncommented the run twm command to be run wmaker (sp?), and changed -multiwindows to -rootless, and everything worked fine. I can send you a copy of it tomorrow from work, if you would like to look at it, as I took today off, and have no remote access to my work machine from home. -- 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 I close the startx cygwin shell?
Trebor Sreyb <[EMAIL PROTECTED]> writes: > --- "J. David Boyd" <[EMAIL PROTECTED]> wrote: > >> I use the startxwin.bat file in the >> c:\cgywin\usr\X11R6\bin folder. You can >> modify to open several xterms, or whatever you want, >> and it works great. > > > > I had tried once to customize startxwin.bat for my > needs but gave up because it won't successfully launch > my window manager (wmaker). Hence since then I have > been using startx from within a cygwin shell session. > > Looks like I need to resolve the original problem > first before I can get rid of that unwanted shell > window. > > So, what happens with my startxwin.bat is that wmaker > gets started, but the mouse is unusable, and the > initial icons I expect to see never get displayed. > Only an empty wmaker desktop. I can start an xterm, > but its window has no title bar, resizing button, > window borders, etc. I can use the keyboard. > > > I had changed startxwin.bat to run the following : > > cd c:\cyghome\tsreyb > run XWin -clipboard -silent-dup-error > > > Also, the contents of my .xinitrc (in > c:\cyghome\tsreyb) are: > > PATH="$PATH:/usr/X11R6/bin" > exec wmaker > > > I suspected the problem was that certain X environment > variables aren't set, because, by comparing > environment variables with and without the problem, I > find these aren't set when the problem exists: > > XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults > XAUTHORITY=/cygdrive/c/cyghome/tsreyb/.Xauthority > XCMSDB=/usr/X11R6/lib/X11/Xcms.txt > XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB > XNLSPATH=/usr/X11R6/lib/X11/locale Most of these are already in startxwin.bat. Take a look at startxwin.bat again. There is a spot at the bottom where twm would be started if it were not commented out. Also, you might need to use the -rootless or -fullscreen option to XWin, instead of simply removing the -multiwindow option. There are some docs embedded in startxwin, but not much. I'll try it some this weekend if I get a chance, and let you know how it goes. I always have been running mine using the default startxwin, so it comes up in multiwindow mode, using windows itself as the window manager, which works okay for me. But in the past, I did use twm, so everything was embedded in one window that I could open and close, to have all my Xsessions together. Let me get back to you after I beat on it some, maybe I'll find out how to get it working again! Dave in Largo, FL -- 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 I close the startx cygwin shell?
Trebor Sreyb <[EMAIL PROTECTED]> writes: > Is there some way to run startx without opening a > cygwin shell window? Or, alternatively, to exit the > shell window after the X window manager has > successfully started? > > Otherwise, I find myself having to leave open a cygwin > shell window that is used for nothing other than > kicking off startx - that window just sits there. > > This is only a nuissance (adds an extra icon to the > task bar), but if there's another way I'd like to > know. > > I use cygwin on Win XP SP2. > > NOTE: I also tried doing the following from Win XP > Start->Run: > > c:\cygwin\bin\sh.exe -c /usr/X11R6/bin/startx > > but this also opens up an unwanted window that must > remain open. > > Thanks, > -Bob > Andover, MA > USA > > > I use the startxwin.bat file in the c:\cgywin\usr\X11R6\bin folder. You can modify to open several xterms, or whatever you want, and it works great. Dave in Largo, FL -- 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: more in insert and copy from clipboard
"Peter Valdemar Morch" <[EMAIL PROTECTED]> writes: > J. David Boyd david-at-adboyd.com |Lists| wrote: >> Okay, thanks, I'll start hanging out on the Cygwin/Xfree location. >> Makes sense, now I know where to start looking. >> Actually, I was under the impression that these lists didn't like or >> allow attachments. It must be list dependent. > > Man, that must be frustrating. Clipboard unreliability was the main > reason I switched from XThinPro to cygwin's X server. > >> Last week (two, three weeks ago?) I would have used the mouse to >> highlight the text in firefox (notepad, openoffice.org), then pressed >> Ctl-Ins to copy it into the clipboard. (Or clicked on copy in the >> menus, it worked either way.) Then I would have moved into my xterm, >> and type 'wget ' and then pressed shift-ins, to paste from the >> clipboard. I hit enter, and wget worked perfect. > > I can confirm that. That works here. > > Helping you grab at straws: > > You can see what is going on the with the windows clipboard run-time > with the clipboard viewer: > C:\WINNT\system32\clipbrd.exe > on my W2K. Is there any such thing in X, anybody? > > A few additional test cases: > > The middle mouse button is the scroll-wheel on my two-button+wheel > mouse. emacs calls it "mouse-2", and hitting CTRL and then pressing > that mouse-wheel-button, mouse-2, in an xterm gives me the "VT > Options" menu. Now you know what button I mean. > > * Same test case as before, put some text on the windows clipboard > (check with clipboard viewer) and then press the mouse-2 button (no > CTRL) in the xterm, that pastes the windows clipboard contents in > the xterm, right? (Note, no keyboard for paste) Here: yes - pass > > * Using the xterm, if you highlight something with the mouse (just > highlight - no keypresses) does that make it to the windows clipboard? > (As seen in the clipboard viewer?) Here: yes - pass > > I only use xemacs, and never emacs, but while looking at this, I started > emacs. It complained about my start up files, some of which are > xemacs-only, so that doesn't surprise me. But I saw that selecting > something in emacs and then hitting ctrl-ins didn't put it into the > windows clipboard - your symptoms. However, starting emacs as "emacs > -q" skipping the startup files altogether made emacs behave "right" > with my > clipboard. Does emacs -q work for you? (X)Emacs also has its own > "kill-ring" which just complicates matters... xterms are simpler! :-D > > And I don't think you've posted /tmp/XWin.log yet... > > Peter > > -- > Peter Valdemar Mørch > http://www.. > > -- > 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/ Well, I do see some errors occassionaly in my /tmp/XWin.log file, but, after rebooting the other morning, cut and paste is again working. It has quit working several times since then, but a quick reboot brings it back. Windows! Thanks for the info on clipbrd, I didn't know that was there, and it was a handy debugging tool. Dave -- 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: more in insert and copy from clipboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From: Igor Pechtchanski <[EMAIL PROTECTED]> Subject: Re: more in insert and copy from clipboard Date: Fri, 5 Aug 2005 15:47:18 -0400 (EDT) > > Ah, so you're using an xterm. This makes the question off-topic for this > list. I've redirected my reply to the right list, and set the Reply-To: > accordingly. Please remove from further > discussion of this, unless it veers back to something relevant to Cygwin > at large, and not just Cygwin/X. Okay, thanks, I'll start hanging out on the Cygwin/Xfree location. > > This has nothing to do with Cygwin settings -- it's an internal setting of > the X server. My guess would be that either the clipboard thread isn't > starting properly, or you need to run xwinclip instead of using the > -clipboard parameter. Looking at (and posting) /tmp/XWin.log would help. > > The X clipboard settings are generally confusing -- they have at least 4 > clipboards, only one of which corresponds to the system clipboard. As far > as I know, the recent X servers are pretty good at doing the copy/paste > with the system clipboard, but there's always the possibility of > misconfiguration or some other factor that affects this. Perhaps the > people on the Cygwin/X list will have more helpful comments. Makes sense, now I know where to start looking. > That's why we prefer it attached to the message, rather than included > inline. At first glance[*], nothing looks wrong. Actually, I was under the impression that these lists didn't like or allow attachments. It must be list dependent. Thanks for the info, Dave -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFC88zgULP5ApZWlDMRAnbyAJ9vscjao1a1VtTNUTYH6TOpjbQgqQCeIRUP tXnSaVASQlt2GHl3AfFX+t0= =Lwgi -END PGP SIGNATURE- -- 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: xterm and right click and 'print window'
Igor Pechtchanski <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > On Thu, 9 Jun 2005, J. David Boyd wrote: > >> Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > ><http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. > >> > On Wed, 8 Jun 2005, J. David Boyd wrote: >> > >> >> Has anyone found a way to make this feature work, on any version >> >> of windows, with any printer? >> > >> > This works for me. WinXP, networked printer. As long as the >> > PRINTER variable is exported. >> > >> >> I've had no luck so far, and am grasping for clues. >> >> >> >> I've defined my $PRINTER as //quantex2/hplaserj, which prints okay >> >> from windows, but not cygwin. >> > >> > Open a regular bash window (no X), and type "echo $PRINTER". If >> > that prints the correct thing, try "bash -c 'echo $PRINTER'". If >> > that works too, type "xterm -display 127.0.0.1:0", and from that >> > xterm type "echo $PRINTER". If you see the correct printer in all >> > 3 cases, the "Print Window" command should work (it does for me). >> > >> > Alternatively, since all xterm does is pipe stuff to lpr, does "lpr >> > -P //quantex2/hplaserj /etc/passwd" print /etc/passwd to that >> > printer (just to make sure lpr works)? >> > Igor >> >> All the variable expansion looks fine, so maybe it is an lpr problem. >> >> When I try the command line >> >> "lpr -P //quantex2/HPLaserJ /etc/passwd" >> >> I get the error printer name is invalid. >> >> When I go back to what my profile set up, which is >> "HP LaserJet 6P", I actually get output. I was thinking all along >> that I couldn't use that name, but perhaps cygwin's lpr has been >> patched to use the windows resource name? > > lpr interacts directly with the print spooler, so whatever name is > used for the printer in Windows, lpr will also use. > >> I also noticed that nothing came out of the printer until I >> sent another file... > > That may be because your driver needs to be set up to send a FF after > each job. There may be an lpr option for that as well, not sure. > >> And, are you setup for DOS endings or Unix? > > Unix, of course. But it doesn't matter for lpr -- it's all pipes > anyway. > >> So, I can print from the command line. But, after closing my >> terms and opening some new ones (just to be sure I have the correct >> environment), and verifying that $PRINTER is still "HP LaserJet 6P", >> I get nothing from 'Print window', and I don't see any errors. >> I wonder if there is a log somewhere that I can peruse. > > If you start an xterm from a bash console window, all error messages > from that xterm go into the console window. Otherwise, you can > redirect the stdout/stderr of the xterm to a file. > >> Anyway, thanks for the help. I guess I won't worry about it >> for now. I can always do an Alt-PrtScn and paste it >> somewhere to print it. > > It would be interesting to find out why your config doesn't work. Do > you have PRINTER set in the global Windows environment? How do you > start your xterm? > Igor I start my xterm from startxwin.bat. Four of them. I've tried defining PRINTER in startxwin.bat, but it seems to make no difference. Oh well, I have to go to Oregon tomorrow morning for a week, so I'll look into this when I get back. Thanks again, Dave
Re: xterm and right click and 'print window'
Igor Pechtchanski <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > On Wed, 8 Jun 2005, J. David Boyd wrote: > >> Has anyone found a way to make this feature work, on any version of >> windows, with any printer? > > This works for me. WinXP, networked printer. As long as the PRINTER > variable is exported. > >> I've had no luck so far, and am grasping for clues. >> >> I've defined my $PRINTER as //quantex2/hplaserj, which prints okay >> from windows, but not cygwin. > > Open a regular bash window (no X), and type "echo $PRINTER". If that > prints the correct thing, try "bash -c 'echo $PRINTER'". If that > works too, type "xterm -display 127.0.0.1:0", and from that xterm type > "echo $PRINTER". If you see the correct printer in all 3 cases, the > "Print Window" command should work (it does for me). > > Alternatively, since all xterm does is pipe stuff to lpr, does "lpr -P > //quantex2/hplaserj /etc/passwd" print /etc/passwd to that printer > (just to make sure lpr works)? > Igor All the variable expansion looks fine, so maybe it is an lpr problem. When I try the command line "lpr -P //quantex2/HPLaserJ /etc/passwd" I get the error printer name is invalid. When I go back to what my profile set up, which is "HP LaserJet 6P", I actually get output. I was thinking all along that I couldn't use that name, but perhaps cygwin's lpr has been patched to use the windows resource name? I also noticed that nothing came out of the printer until I sent another file... And, are you setup for DOS endings or Unix? So, I can print from the command line. But, after closing my terms and opening some new ones (just to be sure I have the correct environment), and verifying that $PRINTER is still "HP LaserJet 6P", I get nothing from 'Print window', and I don't see any errors. I wonder if there is a log somewhere that I can peruse. Anyway, thanks for the help. I guess I won't worry about it for now. I can always do an Alt-PrtScn and paste it somewhere to print it. Dave
xterm and right click and 'print window'
Has anyone found a way to make this feature work, on any version of windows, with any printer? I've had no luck so far, and am grasping for clues. I've defined my $PRINTER as //quantex2/hplaserj, which prints okay from windows, but not cygwin. Dave in Largo, FL
Re: X file manager for Cygwin?
I just got gentoo to compile and run fine on Cygwin. I had to install all the gtk stuff first, but it works like a champ. Give it a try. I don't remember where I got the source for gentoo, I believe it was on sourceforge.