Re: xterm and right click and 'print window'

2005-06-08 Thread Igor Pechtchanski
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
-- 
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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


xterm and right click and 'print window'

2005-06-08 Thread J. David Boyd
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 session OK but ALT ( ALTgr) keys not operational

2005-06-08 Thread Alexander Gottwald
On Wed, 8 Jun 2005, Marie josee Gobiant wrote:

> hello
> I am alone and a new beginner of cygwin . I' ve installed cygwin (OK) on a 
> Windows XP pc with th objective to work with an hp ux into a X session . 
> The french keyboard is working OK with alt keys : When I start a X session 
> with an HP unix server  ( xwin -query  ip adress ) things seem to be OK( 
> into the Xsession) except  the alt keys and altgr keys of the 
> keyboard  don't work ( I am unable to obtain the pipe caracter ) .
> I don't know if the problem comes from cygwin or from HPUX .
> ( in the file attached are the messages shown in the cygwin window when 
> starting xwin )
> I need some help .
> Thanks very much

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#alt-gr-with-old-x

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


Re: TrueType problem + question

2005-06-08 Thread Alexander Gottwald
On Wed, 8 Jun 2005, nitzan shaked wrote:

> Thanks Alex re the font-cache explanation.
> 
> As for the one size issue -- I understand that TrueType fonts are scalable, 
> but the question is whether the fact that xlsfonts etc will only show "size 
> 0" won't confuse applications. I as a human will manage when typing resource 
> values...

This has been used for some time and most applciations do fine with size 0

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


Re: TrueType problem + question

2005-06-08 Thread nitzan shaked
Thanks Alex re the font-cache explanation.

As for the one size issue -- I understand that TrueType fonts are scalable, but 
the question is whether the fact that xlsfonts etc will only show "size 0" 
won't confuse applications. I as a human will manage when typing resource 
values...

N.

- Original Message -
From: Alexander Gottwald <[EMAIL PROTECTED]>
Date: Wednesday, June 8, 2005 10:51 am
Subject: Re: TrueType problem + question

> On Wed, 8 Jun 2005, nitzan shaked wrote:
> 
> > Alex, Thomas
> > 
> > Thank you both. It works, of course... In the mean time I 
> figured out that I do need to run mkfontdir. There are a couple of 
> follow-up questions:
> > 
> > 1) What is FT's "font cache"? Is that related to the fonts.cache-
> 1? I assume if I just delete it it will get rebuilt.
> 
> A cache where Freetype stores information about fonts. Yes. Yes, 
> if you call fc-cache or font-update.
> 
> > 
> > 2) There is no fonts.alias file. I assume that's why xfontsel 
> will only show one size per font. Is that the way you work as 
> well, or do you create a font file (eg a PERL script)?
> 
> For truetype fonts there is no set of font sizes. You can scale 
> them to
> any size you want. Use the entries from xfontsel as base and just 
> add the 
> fontsize as illustrated in my previous mail.
> 
> bye
>   ago
> -- 
> [EMAIL PROTECTED] 
> http://www.gotti.org   ICQ: 126018723
> 



Re: Middle mouse button / Logitech MX-700

2005-06-08 Thread nitzan shaked
Thanks Alex. I did indeed find something in the archives -- one written by you 
(which I am sorry to say did not help me), and another written by Harold.

Harold suggests that Logitech might be registering a new (USER-type) windows 
message for the middle button and suggested that the original poster do some 
detective work to see if that's the case, and if so then some code might be 
included in next Cygwin/X releases.

There was no continuation to that thread... I'll see if I can find something in 
MSDN or on Logitech's site, but I seriously doubt that they do that since I 
suspect that would "break" more than one Windows application.

Cheers,
Nitzan

- Original Message -
From: Alexander Gottwald <[EMAIL PROTECTED]>
Date: Wednesday, June 8, 2005 10:54 am
Subject: Re: Middle mouse button / Logitech MX-700

> On Wed, 8 Jun 2005, nitzan shaked wrote:
> 
> > Hi all
> > 
> > I can't get the scroll wheel to act as the middle mouse button 
> in Cygwin/X. When I press it (eg in Xterm) I don't get "paste". I 
> actually get nothing. I have a Logitech MX700 mouse and Cygwin/X 
> 6.8.2.0-2.
> > 
> > If I run Cygwin/X with "-emulate3buttons 50" and click both 
> buttons Xterm indeed pastes. I changed (in Windows Control Panel) 
> the middle mouse button's "action" to be "Middle Button" (it was 
> "Universal Scroll" at first) and that does not help.
> 
> Check the archives. I think I remember someone asked that some 
> time ago and found 
> a solution. Or ask Logitech how to configure the mouse to properly 
> send WM_MBUTTONDOWN
> messages.
> 
> bye
>   ago
> -- 
> [EMAIL PROTECTED] 
> http://www.gotti.org   ICQ: 126018723
> 



Hey babie.....positron

2005-06-08 Thread July Lacy
Heya hon. It is Little July, from the place on the web for dates. I was 
checking out all about you and I just wanted to say Hi you. Come and take a 
look out my website so you can see all about me and my pictures too. I just 
cant wait to hear from you again soon hottie. Cya soon, Julie

http://jsxp.stankfinger.com/ju29/

__
Jimmie housework catalyst princess uniroyal. no adislistz .com/retract/ Billie 
pastiche.



Re: Middle mouse button / Logitech MX-700

2005-06-08 Thread Alexander Gottwald
On Wed, 8 Jun 2005, nitzan shaked wrote:

> Hi all
> 
> I can't get the scroll wheel to act as the middle mouse button in Cygwin/X. 
> When I press it (eg in Xterm) I don't get "paste". I actually get nothing. I 
> have a Logitech MX700 mouse and Cygwin/X 6.8.2.0-2.
> 
> If I run Cygwin/X with "-emulate3buttons 50" and click both buttons Xterm 
> indeed pastes. I changed (in Windows Control Panel) the middle mouse button's 
> "action" to be "Middle Button" (it was "Universal Scroll" at first) and that 
> does not help.

Check the archives. I think I remember someone asked that some time ago and 
found 
a solution. Or ask Logitech how to configure the mouse to properly send 
WM_MBUTTONDOWN
 messages.

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


Re: TrueType problem + question

2005-06-08 Thread Alexander Gottwald
On Wed, 8 Jun 2005, nitzan shaked wrote:

> Alex, Thomas
> 
> Thank you both. It works, of course... In the mean time I figured out that I 
> do need to run mkfontdir. There are a couple of follow-up questions:
> 
> 1) What is FT's "font cache"? Is that related to the fonts.cache-1? I assume 
> if I just delete it it will get rebuilt.

A cache where Freetype stores information about fonts. Yes. Yes, if you call 
fc-cache or font-update.

> 
> 2) There is no fonts.alias file. I assume that's why xfontsel will only show 
> one size per font. Is that the way you work as well, or do you create a font 
> file (eg a PERL script)?

For truetype fonts there is no set of font sizes. You can scale them to
any size you want. Use the entries from xfontsel as base and just add the 
fontsize as illustrated in my previous mail.

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


Re: Xwin Not Responding

2005-06-08 Thread Alexander Gottwald
On Wed, 8 Jun 2005, Brad Doran wrote:
> (--) Using preset keyboard for "English (USA)" (409), type "4"

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#freeze-at-startup

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


Re: accepting remote connections without using xhost

2005-06-08 Thread Alexander Gottwald
On Tue, 7 Jun 2005, Rob Siklos wrote:

> Hi All,
> 
> I've searched the mailing list archives for this, but couldn't come up with 
> anything.
> 
> I want to have my Cygwin X server accept incoming X data from any host, 
> without me having to use xhost.
> 
> Is there some parameter I can set to turn off the security check that 
> requires me to use xhost?

Yes. XWin -ac

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


Middle mouse button / Logitech MX-700

2005-06-08 Thread nitzan shaked
Hi all

I can't get the scroll wheel to act as the middle mouse button in Cygwin/X. 
When I press it (eg in Xterm) I don't get "paste". I actually get nothing. I 
have a Logitech MX700 mouse and Cygwin/X 6.8.2.0-2.

If I run Cygwin/X with "-emulate3buttons 50" and click both buttons Xterm 
indeed pastes. I changed (in Windows Control Panel) the middle mouse button's 
"action" to be "Middle Button" (it was "Universal Scroll" at first) and that 
does not help.

What's the obvious thing I'm missing?

tia,
Nitzan



Re: TrueType problem + question

2005-06-08 Thread nitzan shaked
Alex, Thomas

Thank you both. It works, of course... In the mean time I figured out that I do 
need to run mkfontdir. There are a couple of follow-up questions:

1) What is FT's "font cache"? Is that related to the fonts.cache-1? I assume if 
I just delete it it will get rebuilt.

2) There is no fonts.alias file. I assume that's why xfontsel will only show 
one size per font. Is that the way you work as well, or do you create a font 
file (eg a PERL script)?

Cheers,
Nitzan