Re: Windows dialog placement

2006-03-27 Thread Bill Ricker
I have the same situation ... although I have desktop Linux at home, I
have to access my *n[iu]x at $DayJob through PuTTY and
Hummingbird/eXceed, but have dual-head which makes it berable..

I have a monitor attached to the $DayJob laptop docking station and
set the laptop (Win XP)'s DockingMode to dual monitor, with the
external as primary, with the layout adjusted based on one being lower
and smaller than the other. Most apps pop up upper-left or centered on
the primary, some remember where they last were closed, but some other
poorly  behaved apps pop open their dialogs centered on the
convex-hull of the two screens. Ugly.

Luckily for me, the ugly is the rarest

(And i'm not sure if it was centering or offset-right and the app 
launching it was thin-bar on the right of the left screen. Moving it
to the left of the left screen may have solved that one.)

--
Bill
[EMAIL PROTECTED] [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Windows dialog placement

2006-03-27 Thread Ken D'Ambrosio
On Mon, March 27, 2006 4:07 pm, Michael ODonnell wrote:
>

... deleted attempt to make this on-topic ;-)

> in the "middle" of the display which, of course, means that they span the
> gap between the two physical displays and are a P.I.T.A to read. Anybody
> know how to modify this behavior such that the Windows dialog widgets can
> be persuaded to pop somewhere else?

This is interesting -- usually 'doze puts a box up in the middle of the
*default* monitor; it sounds as if your video card is doing the
abstraction to make two displays look like one, instead of the OS.  Go
into your video card's settings, and see if it thinks your resolution is
something obscene in the Y axis (like, say, 3200).  If so, see if you
can't get it to think of the monitors as discrete entities, and then
choose one of them as the default monitor -- specifically, the one where
you want your popups to pop up.

Sorry to not be able to be more specific, but without a
similarly-configured system (with whatever your video card is, in it), I
can't get a good feel for what's going on.

-Ken

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


CentraLUG, Monday April 3: David Berube on Extracting Content from MSOffice

2006-03-27 Thread Ted Roche

Presentation April 3, 2006
Monday, 7pm at NHTI

The monthly meeting of CentraLUG, the Concord/Central New Hampshire  
chapter of the Greater New Hampshire Linux Users Group, occurs on the  
first Monday of each month on the New Hampshire Institute Campus  
starting at 7 PM. This month, we'll be meeting in Room 146 of the  
Library/Learning Center/Bookstore, http://www.nhti.net/nhtimap.pdf ,  
marked as "I" on that map. Directions and maps are available on the  
NHTI site at http://www.nhti.edu. Open to the public. Free admission.  
Tell your friends.


This month's meeting will feature David Berube of http:// 
www.berubeconsulting.com presenting techniques to extract content  
from MS Office documents. From David:


"Microsoft Office documents are ubiquitous. However, the Microsoft  
Office suite is not available for all platforms and comes with a  
prohibitive cost attached to it. While a variety of open source  
readers are available to read the MS Office suite formats, you can’t  
always count on the user having installed one these readers. On the  
other hand, PDF viewers are common, freely available, and have a much  
smaller footprint than an office suite. This presentation will show  
you how to programatically convert Word and Excel documents into PDF,  
using open source tools and PHP."


Should be a great presentation! Tell your friends! Tell your co-workers!

More details at about the group are available at http://www.gnhlug.org.

Hope to see you there!



___
gnhlug-announce mailing list
gnhlug-announce@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Windows dialog placement

2006-03-27 Thread Michael ODonnell

 [ While this question is not about a Linux problem,
   strictly speaking, it *is* about a Windows problem
   that arises as a direct result of me trying to make
   the Windows2000 machine on my desktop a bearable
   platform from which to do Linux development...  ]   :-/

I had the IT gang install a second display on my Windows
box and I'm using VNC to connect to a remote Linux machine
where all the real action is.  That part is all working fine
but whenever I use any of the Windows apps they all want to
pop their little dialog boxes and such in the "middle" of
the display which, of course, means that they span the gap
between the two physical displays and are a P.I.T.A to read.
Anybody know how to modify this behavior such that the Windows
dialog widgets can be persuaded to pop somewhere else?
 
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: perl and network addresses

2006-03-27 Thread Ben Scott
On 3/27/06, Paul Lussier <[EMAIL PROTECTED]> wrote:
> I'm stumped.  I've got a network address space of 10.0.32/19.  How
> ever, this space is carved up using a /16 netmask.

  HUH?

> Given an address, say 10.0.33.189, I want to get the "network" and
> "host" portion of the address.

  (1) Red Hat provides a nifty utility called "ipcalc" that will do
that for you.  E.g.:

$ ipcalc -b -m -n -p 10.0.33.189/19
NETMASK=255.255.224.0
PREFIX=19
BROADCAST=10.0.63.255
NETWORK=10.0.32.0
$

  (2) I find it's a lot easier to conceptualize this stuff if you
write it out in binary notation (view using a fixed-width font):

/19 = 255.255.224.0

010.000.033.189 = 1010  0011 1001
255.255.224.000 =   1110 
Net portion = 1010  0010 
Node portion=   0001 1001

  (3) You mentioned Perl, but this is the same in most programming
languages: It's simple binary arithmetic and Boolean logic.  All you
need are AND and NOT (complement).  The trickier part is usually
converting from dotted-quad notation to binary storage.  Fortunately,
Unix provides a function for that: inet_addr(2).  C code looks like
this:

/* includes */
#include 
#include 
#include 
#include 
/* main program */
int main() {
/* variables */
unsigned int a;  /* address */
unsigned int m;  /* mask */
unsigned int n;  /* node */
/* get address and mask, in network byte order */
a = inet_addr("192.0.2.42");
m = inet_addr("255.255.255.0");
/* find node portion by AND'ing with complement of net-mask */
n = a & (~m);
/* convert to host byte order */
n = ntohl(n);
/* print result as decimal integer */
printf("node=%d\n", n);
}

  I tried

perl -we '$a = inet_addr("192.0.2.42");'

but it complained that inet_addr is not defined.  I suspect there's a
module somewhere you need to pull in.  Hopefully this is enough to get
you started.

-- Ben

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: In Linux, no one can hear you Wine

2006-03-27 Thread Ben Scott
On 3/27/06, Lawrence Tilly <[EMAIL PROTECTED]> wrote:
>>   FWIW: It has been some time, but I used to run Starcraft under WINE
>> with excellent results.  Full sound and video.
>
> Did you build your install from source or was it from a Deb or RPM package?

  As I recall, I started off with the wine package the distribution
provided, but later downloaded and built Wine from sources to fix some
problem.  I don't remember what the problem was.

> Also, did you use ALSA for sound?

  I don't think ALSA existed yet.  Certainly not beyond the early
development stages.

> Considering the packages currently coming from YaST are fairly recent
> and people have siad it "just works" for a year or more, I have to
> think I just have some flag or conflicting config somewhere.

  First, I'd check for sound servers and other programs holding the
sound device open.  That's a common source of trouble.  I'd also check
permissions.

  If none of that helps, Wine is capable of producing gobs and gobs of
debug output.  In many cases, software can tell you what's wrong with
it.  Look there.

-- Ben

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: database modeling tools (again)

2006-03-27 Thread Paul Lussier
Christopher Chisholm <[EMAIL PROTECTED]> writes:

> haha alright... damn my demanding taste!  I'll add this to a list of
> projects to attempt in the future.

To be fair, this was said mostly with tongue in cheek.  Emacs'
postgres/mysql modes are really nothing more than emacs buffers
wrapped around the command line psql and mysql clients :)
-- 

Seeya,
Paul
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: perl and network addresses

2006-03-27 Thread Python
On Mon, 2006-03-27 at 14:25 -0500, Paul Lussier wrote:
> Hi all,
> 
> I'm stumped.  I've got a network address space of 10.0.32/19.  How
> ever, this space is carved up using a /16 netmask.  In otherwords, the
> /19 netmask was simply used to *allocate* the space from 10.0.32.0 to
> 10.0.63.255, but we actually *use* the space with a /16 netmask (yes,
> this means that 10.0.8.10 is in the *same* physical network as
> 10.0.33.93!).
> 
> Given an address, say 10.0.33.189, I want to get the "network" and
> "host" portion of the address.  given that I'm really on a /16, it's
> fairly easy to split the IP at 10.0 and 33.189.  However, I want to be
> able to do the same thing on the /19 as well.  Once I have the network
> and host portions of the address, I need to increment the network
> portion by 1 block, then re-apply the host portion.
> 
> For example, given the address 10.0.33.189/16:
> 
> Network = 10.0   Host = 33.189
>+ 1
>  -
>   10.1 + $HOST = 10.1.33.189
Would it help to convert to 32-bit integers?  

When you add 1 here, you are really adding 2 ** 17.  Your host mask is 
int('1' * 16, 2)
So newIP = oldIP + 2 ** 17
newhost = newIP & hostmask

> 
> And, given the address 10.0.33.189/19:

With a /19, you are adding 2**14
hostmask = int('1' * 13, 2)

Converting a.b.c.d (base 256) to integer is left as an exercise for the
reader.  Perhaps you do not really care about the host mask.  You can
simply convert the newIP back to base-256 notation.

I think I understand the arithmetic.  I do not really understand what
you are trying to do.

> 
> Network = 10.0.32   Host = 1.189
>   + 1
> -
>   10.0.64 + $HOST = 10.1.65.189
> 
> And, given the address 10.0.35.189/19:
> Network = 10.0.32   Host = 3.189
>   + 1
> -
>   10.0.64 + $HOST = 10.1.67.189
> 
> Getting the "next" network block isn't too tough, Net::Netmask does
> that for me.  What I can't quite figure out is how to get the host
> portion, and then add it to the new network portion.  For a classful
> address it's fairly simple, for CIDR address, not so much...
> 
> All ideas are welcome and appreciated :)
> 
> Thanks,
-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


perl and network addresses

2006-03-27 Thread Paul Lussier

Hi all,

I'm stumped.  I've got a network address space of 10.0.32/19.  How
ever, this space is carved up using a /16 netmask.  In otherwords, the
/19 netmask was simply used to *allocate* the space from 10.0.32.0 to
10.0.63.255, but we actually *use* the space with a /16 netmask (yes,
this means that 10.0.8.10 is in the *same* physical network as
10.0.33.93!).

Given an address, say 10.0.33.189, I want to get the "network" and
"host" portion of the address.  given that I'm really on a /16, it's
fairly easy to split the IP at 10.0 and 33.189.  However, I want to be
able to do the same thing on the /19 as well.  Once I have the network
and host portions of the address, I need to increment the network
portion by 1 block, then re-apply the host portion.

For example, given the address 10.0.33.189/16:

Network = 10.0   Host = 33.189
   + 1
 -
  10.1 + $HOST = 10.1.33.189

And, given the address 10.0.33.189/19:

Network = 10.0.32   Host = 1.189
  + 1
-
  10.0.64 + $HOST = 10.1.65.189

And, given the address 10.0.35.189/19:
Network = 10.0.32   Host = 3.189
  + 1
-
  10.0.64 + $HOST = 10.1.67.189

Getting the "next" network block isn't too tough, Net::Netmask does
that for me.  What I can't quite figure out is how to get the host
portion, and then add it to the new network portion.  For a classful
address it's fairly simple, for CIDR address, not so much...

All ideas are welcome and appreciated :)

Thanks,
-- 

Seeya,
Paul
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: In Linux, no one can hear you Wine

2006-03-27 Thread Lawrence Tilly
On 3/27/06, Ben Scott <[EMAIL PROTECTED]> wrote:
> On 3/27/06, Lawrence Tilly <[EMAIL PROTECTED]> wrote:
> > I guess I'll continue to poke around with Wine when I have chances.  I
> > would be interrested to know if ANYONE here is using Wine for running
> > older Win-based games and if so, does sound work for you?
>
>   FWIW: It has been some time, but I used to run Starcraft under WINE
> with excellent results.  Full sound and video.
>
> -- Ben

That's what I hear from so many people and both encourages and
frustrates me since sound  continues to evade me under most, but not
all, WINE conditions ( remember I mentioned that sound works find
during installation...just not during game play ).  Did you build your
install from source or was it from a Deb or RPM package?  Also, did
you use ALSA for sound?

Considering the packages currently coming from YaST are fairly recent
and people have siad it "just works" for a year or more, I have to
think I just have some flag or conflicting config somewhere.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: database modeling tools (again)

2006-03-27 Thread Christopher Chisholm


haha alright... damn my demanding taste!  I'll add this to a list of 
projects to attempt in the future.


-chris


Paul Lussier wrote:

Christopher Chisholm <[EMAIL PROTECTED]> writes:

  

I suppose I could do it the old-fashioned way,
but now that I've got a taste for automatic script exporting I'm not
sure if I can look back!



Hand-crafted, sonny!  There is no other way ;)

FWIW, Emacs has a nice sql-mode that allows you to connect directly to
a database like MySQL or postgres ;)
  


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: In Linux, no one can hear you Wine

2006-03-27 Thread Ben Scott
On 3/27/06, Lawrence Tilly <[EMAIL PROTECTED]> wrote:
> I guess I'll continue to poke around with Wine when I have chances.  I
> would be interrested to know if ANYONE here is using Wine for running
> older Win-based games and if so, does sound work for you?

  FWIW: It has been some time, but I used to run Starcraft under WINE
with excellent results.  Full sound and video.

-- Ben

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: In Linux, no one can hear you Wine

2006-03-27 Thread Lawrence Tilly
On 3/25/06, Tom Buskey <[EMAIL PROTECTED]> wrote:>
> On 3/25/06, Fred <[EMAIL PROTECTED]> wrote:
> > On Saturday 25 March 2006 00:00, Paul Lussier wrote:
> > > "Lawrence Tilly" <[EMAIL PROTECTED]> writes:
> > > > I turn to you all in desperate hope that someone can offer some aid in
> > > > a few issues I'm having with Wine.  I have talked to a few people and
> > > > been doing a LOT of Google time and reading but it seems for so many
> > > > people Wine "just works" now days.  Once again, I'm exceptional.  :-)
> > >
> > > It's good to know that *nothing* has changed in the 10+ year
> > > development of Wine :) *EVERY* time I've bothered to try Wine, I'll
> > > get *almost* to where I want to be, and then BLAMMO, it blows up in my
> > > face.  Google reports no such problem had by any other person on the
> > > planet, and in fact just the opposite, everyone else has Wine working
> > > just fine :)
> > >
> > > My how times don't change ;)
> >
> > Win4Lin works better than Wine. Alas, it's not FOSS. Not to mention a bit
> > slow, but you do get to run full-blown Windows on it. Paid $100 for it.
>
> VMware does USB.  The Reader is free so you can run images someone else
> created.  I can't imagine anyone giving out free windows images but there is
> a trial period for the Workstation which can create images that reader can
> use.
>
> Last I tried Win4Lin it was a bit faster then VMware at the time.  YMMV

I actually OWN a copy of W95 and W98 which I would happily run under a
VM but have never talked to anyone about an appropriate method for
that.  I am not familiar with a free VM though that I could install
either of these into.  If I was going to put out any significant $ at
this time though ( like a Win4Lin or VMWare license ), I would
probably just buy a subscription of Cedega ( TransGaming ) since games
are the only Windoze-only feature I have any interrest in.  However,
I'm really hoping to avoid spending money to support such old, basic
games.  When I get the time to start messing with some of my more
modern ( post 2000 ) games that may change.

I guess I'll continue to poke around with Wine when I have chances.  I
would be interrested to know if ANYONE here is using Wine for running
older Win-based games and if so, does sound work for you?  A couple
"yes" answers would keep me encourgaged enough to put some heart into
it.   ;-)

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Comcast and mail header errors?

2006-03-27 Thread Ben Scott
On 3/22/06, Ben Scott <[EMAIL PROTECTED]> wrote:
>   I've seen other mailers flag this before, but using a term other
> than "misconfigured sender".  I forget what term they used.

  FWIW: It was "may be forged":

Received: from mail.gnhlug.org (gnhlug.colo.mv.net [199.125.75.42]
(may be forged))
by rogue.codemeta.com (8.12.11.20060308/8.11.6) with ESMTP id 
k2R9KRnt022964
for ; Mon, 27 Mar 2006 04:20:27 -0500

-- Ben

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss