subject: Re: APC Smart-UPS cable question

text:
On Thu, 06 Nov 2003 00:19:02 -0600, Richard Steiner <[email]> wrote:

I finally found an adapter and plugged things in, using the supplied
"special" cable. I figured if that didn't work, I could borrow a serial
cable from work and see if it would work.

I installed the APC software, and it couldn't see the port.

I uninstalled the APC software, rebooted, checked my BIOS, found that
I had disabled the port when I installed my modem, slapped my forehead,
re-enabled the port to use COM4/02E8/IRQ10 (which is the only option my
BIOS will allow and which will not conflict with my modem and my
mouse), and re-installed the APC software. Still, no see port.

I downloaded and installed UPSMON A, which is the Right One for my UPS,
and although it is indeed attractive, it didn't see the port either.

So I booted to Windows 95. It detected I had installed new hardware,
installed the appropriate driver, and booted fine. Checking the
hardware, I found that everything was peachy. I installed the APC
software for Win95 which was bundled with the UPS, and it found the
UPS, tested it, told me my battery was a little low (which bothers me a
little; it's been charging for several days), and did all the
self-tests and other goodies. This tells me my hardware is OK and the
"special" cable is the one I need to use.

Booting back to OS/2. I read the docs for SIO2K and could find no help.
The e-mail I sent to Ray Gwinn ([email]) just bounced
back at me, and his URL ( http://www.gwinn.com ) refuses connection.

I'm lost. Maybe I'll try loading COM.SYS to see what happens.

Anybody know what happened to Mr. Gwinn?


author: Michael DeBusk

subject: Re: APC Smart-UPS cable question

text:
On Thu, 06 Nov 2003 07:40:45 -0500, [email] <[email]> wrote:

There is no COM.SYS line in my CONFIG.SYS, as I use SIO2K. For now.

Output of LOGGER.EXE from "MODES COM4":
11-06 035604 C:\SIO2K\MODES.EXE is attempting to open COM4
11-06 035604 Unable to AutoIRQ the UART at I/O port 2E8, the IRQ is
             probably "in use" by another device driver.
11-06 035604 UART$ returned an error during open of its device number 4
11-06 035604  Type HELP 21 for more information about this error.
11-06 035604 Returning "Not Ready".

As IRQ 10 is not in use by anything according to RMVIEW/IRQ, I'm
thinking that the IRQ is just not being assigned to COM4.

Last entry in SIO2K.LOG:
11-06 032732 SIO2K.SYS Professional Version, Version  2.03 , Build
  20020607 13:50:07 beginning initialization.
11-06 032732 Version from InfoSeg is 2.45, single processor.
11-06 032732 Command line processing complete.
11-06 032732 The mouse is using COM1
11-06 032732 UART$ reports 4 device(s) to support.
11-06 032732 No config file found.
11-06 032732 Driver name COM1 (MOUSE$,1,0) added to driver chain.
11-06 032732 Driver name COM2 (UART$,2,2F8) added to driver chain.
11-06 032732 Driver name COM3 (UART$,3,0) added to driver chain.
11-06 032732 Driver name COM4 (UART$,4,2E8) added to driver chain.
11-06 032732 SIO2K.SYS, Build 20020607 13:50:04, Version  2.03  -
  Initialization complete.
11-06 032732 SIO2K.SYS is loaded, initialized and ready for action.

Doesn't look like it.

I took a chance and sent it to an address I recall having used before
([email]) and it didn't bounce back. Perhaps he'll get it.


subject: Re: APC Smart-UPS cable question

text:
On Thu, 06 Nov 2003 13:40:03 -0500, [email] <[email]> wrote:

I can't find any information on how to do it. Ray Gwinn has yet to
respond to the e-mail which did not bounce.

I did that this evening. Now the system sees COM4, but neither software
will communicate with the UPS. That's progress, I guess.


subject: Re: APC Smart-UPS cable question

text:
On 5 Nov 2003 09:56:07 -0600, Alex Taylor <[email]> wrote:

Excellent...

That's a good thing for me too...

I'm one of those who will support development this way.

That's worth a few dollars too.

Thanks for the feedback.


subject: Re: APC Smart-UPS cable question

text:
On 4 Nov 2003 06:29:40 GMT, James Moe <[email]> wrote:

Every post and technical note I've read about APC cabling insists that
the special cable is required and that a regular serial cable will not
work. You've said the opposite. I don't understand. What's the story?

Is there any chance that this happened because you were using a regular
RS232 cable?


author: Alan Beagley

subject: Re: APC Smart-UPS cable question

text:
I paid for my APC software for OS/2 many years ago, but it is also to be
found on some well-known OS/2 file repositories now -- whether legally
or not I have never inquired.

-=-
Alan

On 11/02/03 09:08 am Bob Eager put fingers to keyboard and launched the
following message into cyberspace:


subject: Re: APC Smart-UPS cable question

text:
On 2 Nov 2003 14:08:36 GMT, Bob Eager <[email]> wrote:

Excellent. Thank you.

I snagged it from Hobbes and looked around in it. I've yet to find any
demand for money. (I haven't isntalled it yet, though.)

I have no network at this point.


subject: Re: APC Smart-UPS cable question

text:
On Sun, 02 Nov 2003 15:54:45 -0500 (EST), Hakan <bitbucket@127.0.0.1> wrote:

Features such as what?

Cool. Thank you.


author: John Varela

subject: Re: APC Smart-UPS cable question

text:
On Thu, 6 Nov 2003 09:33:12 UTC, Michael DeBusk <[email]>
wrote:

I installed UPSMon with SIO2K and found that if I dialed the modem (on serial
port 1) the connection to the UPS (on serial port 2) would be broken.  The UPS
could be reconnected, and subsequent dialings did not disturb the connection.

I emailed Lone Peak support and they said ... they have the same problem!  The
support guy said it's an SIO problem and that he'd notified Ray Gwinn but
nothing had been done, and suggested that I write to Ray Gwinn too.  I did,
and got no response.

It looks like SIO is becoming orphan software.  Meanwhile I'm using COM.SYS
with no problems.


author: Bob Eager

subject: Re: APC Smart-UPS cable question

text:
On Thu, 6 Nov 2003 09:33:12 UTC, Michael DeBusk <[email]>
wrote:

ISTR SIO2K wouldn't work for me with teh APC stuff...but then it has
failed on one or two other occasions too.

I'm using COM.SYS and it all works fine.


author: Mark Klebanoff

subject: Re: APC Smart-UPS cable question

text:
On Thu, 6 Nov 2003 09:33:12 UTC, Michael DeBusk
<[email]> wrote:

Is it possible that the software only supports standard port addresses
and IRQ's?

(ie COM1 and COM3 on IRQ 4, COM2 and COM4 on IRQ3)


author: Al Savage

subject: Re: APC Smart-UPS cable question

text:
On Fri, 7 Nov 2003 06:20:06 UTC, Michael DeBusk <[email]>
wrote:

Strangely, until I bought my Back-UPS Pro in '98, I kept insisting that
IBM's COM.SYS was perfectly fine for 98% of folks.

But I could _not_ get UPSMon to work right with it.  That's when I moved
to SIO.SYS .  It's still set up that way all these years later, though I
suspect that, with all the attention that COM.SYS has gotten in the last
few years, I probably don't need SIO.SYS anymore.

Hey, I just came across somethings that may be pertinent to you.  You're
running older hardware, correct?  NB the notes about ISA/EISA, shared
IRQs and COM3/COM4 below:

========================================
DEVICE Command: (n,addr,IRQ,S) Parameter

 This is the COM.SYS parameter that supports COM ports that have
nonstandard addresses and interrupt request levels (IRQs).  The
parameter values are shown in the  following example:

 DEVICE=C:\OS2\BOOT\COM.SYS (n,addr,IRQ,S) [(n,addr,IRQ,S)]...

 where

       C =     Drive on which OS/2 is installed.
       n =     COM port number (1, 2, 3, or 4).
       addr =  COM port address in hex number (3e8, 2e8, 3320, etc.).
       IRQ =   IRQ level in decimal number (from 1 to 15).
       S =     Unexpected interrupt handling value.    (The default is
D.)
                 D is to deinstall the COM.SYS device driver if more
than
                 1000 unexpected interrupts occur consecutively.
                 I is to ignore unexpected interrupts.
                This value is optional.

       For ISA/EISA bus computers, this parameter must be specified to
support COM3 and COM4 ports.  The COM.SYS device driver assigns the
following to COM1 and COM2:

            Address of COM1 is 3f8 and its IRQ is 4.
            Address of COM2 is 2f8 and its IRQ is 3.

       For Micro Channel bus computers, you do not need to specify this
parameter unless the computer has a COM port with a nonstandard COM port
address or IRQ.

       OS/2 cannot share the IRQ level in ISA/EISA bus computers.
Therefore, the IRQ level must be unique for each COM port on these
systems.  IRQ level is determined by the hardware.  Check the IRQ level
of the COM port before setting the parameter.  On Micro Channel bus
computers, the IRQ level can be shared and no parameter is required to
support COM3 or COM4 ports.  However, in order to ignore unexpected
interrupts, you need to specify the value I.

========================================

So, if I read this correctly, if you have an ISA system and the BIOS is
set to share the IRQ for COM4, OS/2's COM.SYS cannot use the port.

I think that this was the main reason to switch to SIO, in the old days.


author: James Moe

subject: Re: APC Smart-UPS cable question

text:
Michael DeBusk wrote:
   The older Smart-UPS series communicates with a standard rs-232 serial
port. The newer ones use USB. There is no doubt that both APC's
Powerchute and Lone Peak's Upsmon2 worked with a normal rs-232 cable.
   The Back-UPS series has only a "switch closure" method of
communicating its state. That cable happens to use the same 9-pin D
connector as rs-232. The wiring is different and incompatible.
   A standard rs-232 cable does not work with back-UPS; the special
cable does not work with smart-UPS. They just happen to be visually
indistinguishable from each other, except for the model number imprinted
on one of the connectors.
   No, it communicated with the UPS just fine, giving serial numbers,
recording events, reading the results of tests, etc. It was defective
software, at least on that system.


subject: Re: APC Smart-UPS cable question

text:
On Mon, 3 Nov 2003 03:08:02 UTC, Michael DeBusk <[email]>
wrote:

APC didn't supply the OS/2 version for free, it was a pay-for-it thing.
I think that the hobbes version may be copyrighted.  ISTR that hobbes
pulled it once, when somebody informed them, but it may have made it
back there.

Lone Peak's UPS Monitor works well, esp. if you have a Pro or Smart
series unit.


author: Hakan

subject: Re: APC Smart-UPS cable question

text:
On Mon, 03 Nov 2003 03:09:10 GMT, Michael DeBusk wrote:

:>On Sun, 02 Nov 2003 15:54:45 -0500 (EST), Hakan <bitbucket@127.0.0.1> wrote:
:>
:>>  My initial impression is that it does not have all the features
:>>  of the software from APC.
:>
:>Features such as what?

Such as being able to monitor output voltages, load, battery capacity
remaining etc.

:>
:>>  Re 25-to-9 pin converter, it should work since all it does is
:>>  "remap" the pins per the standard.  Even a non-standard cable (which
:>>  APC supposedly uses) poses no problem.
:>
:>Cool. Thank you.
:>
:>--
:>Michael DeBusk, Co-Conspirator to Make the World a Better Place
:>Did he update http://home.earthlink.net/~debu4335/ yet?


subject: Re: APC Smart-UPS cable question

text:
On Fri, 07 Nov 2003 17:59:15 GMT, John Varela <[email]> wrote:

This is really odd. COM1 and COM3 generally share an IRQ, as do COM2
and COM4. I know of no reason why COm1 and COM2 would interfere with
one another on the typical hardware install.


subject: Re: APC Smart-UPS cable question

text:
On 6 Nov 2003 11:08:48 GMT, Bob Eager <[email]> wrote:

That's both gratifying and disappointing to know. I'm very pleased with
SIO2K, as I was with SIO. Bought and paid for. I'd hate to stop using
it unless I have to.

As an aside, I REMmed out VSIO2K.SYS in CONFIG.SYS to see if it would
help (I was clutching at straws) and, although it didn't help, some
problems I'd been having in DOS sessions have gone away.

I'll give that a try later, then.


subject: Re: APC Smart-UPS cable question

text:
On Thu, 06 Nov 2003 05:10:03 -0600, Mark Klebanoff
<[email]> wrote:

I suppose it's possible, but that doesn't seem to be the problem right
now. I can't get *anything* to see COM4 on OS/2 right now. RMVIEW can
tell it's there, but nothing can touch it.


subject: Re: APC Smart-UPS cable question

text:
I don't quite understand all those details, but I do get the impression
that more recent versions of COM.SYS now handle at least some of the
things for which SIO(2K) used to be needed.

-=-
Alan

On 11/07/03 11:30 pm Al Savage put fingers to keyboard and launched the
following message into cyberspace:

<snip>


subject: Re: APC Smart-UPS cable question

text:
On Fri, 07 Nov 2003 22:30:42 -0600, Al Savage <[email]> wrote:

True, and thanks very much for this. However, as far as I can tell,
there's no IRQ sharing going on. COM4 here is using IRQ 10, and I can
find nothing else that's using it.

I changed to SIO when I started using OS/2 (version 3) because COM.SYS
was slow on my phone line. SIO added considerable speed. I've been
pleased with it.

Since I switched back to COM.SYS (on Warp 4.52), I've noticed no
reduction in speed. If I can get it to see my UPS, I'll stay with it.


subject: Re: APC Smart-UPS cable question

text:
On Tue, 4 Nov 2003 22:22:09 UTC, James Moe <[email]>
wrote:

See my other post on this topic, and also

Evidently, smart signalling was added to the Back-UPS line (at least the
"Pro" part) at some time.


subject: Re: APC Smart-UPS cable question

text:
On 4 Nov 2003 22:22:09 GMT, James Moe <[email]> wrote:

A cable came with my UPS, The number on it is 940-0024C. According to
what I can find on Usenet, the pinout is as follows:

1-male to 3-female
2-male to 2-female
9-male to 5-female
jumper 1 to 4 at female
jumper 7 to 8 at female

You're telling me I need a straight serial cable, and that you use one
with a Smart-UPS. I don't understand why they'd send this cable with
the UPS if it won't work with the UPS, and I don't understand why so
many others in Usenet who are using Smart-UPS with this cable (or a
cable with this pinout) are finding success, if this is the case.

What I suppose I'll do is find an adapter and try it out. If it doesn't
work, I'll try a different cable. It hurts less than head-banging.


author: William L. Hartzell

subject: Re: APC Smart-UPS cable question

text:
Sir:

Al Savage wrote:
APCc put it there.  If you wish to look
<http://www.apcc.com/tools/download/>, all of those comparable software
programs are free.  Just becouse they once charged for it, does not mean
that the owners cannot decide to make them free.  BTW, my UPS's print
documentation declared that this software came with it, but it was not
on the CD.  I bitched to APCC.  It was about one year (maybe more) later
that APCc posted the product to Hobbes.
---
Bill
Thanks a Million!


subject: Re: APC Smart-UPS cable question

text:
On Mon, 3 Nov 2003 15:29:53 UTC, "Hakan" <bitbucket@127.0.0.1> wrote:

I don't get that information from either APC Powerchute Pro nor Lone Peak UPS
Monitor because my Back-UPS Pro 650 doesn't support that feature.  Lone Peak
says they do support it if available; have you in fact got that information
from Powerchute?


subject: Re: APC Smart-UPS cable question

text:
On Mon, 03 Nov 2003 10:29:53 -0500 (EST), Hakan <bitbucket@127.0.0.1> wrote:

All of which seem like good things to know.

How's the memory footprint? I have "only" 128 megs. (I remember the day
I bought that RAM, thinking it'd be a loooooong time before I needed
more than that. <sigh>)

I think I'll go shopping for an adapter today.


author: Mike Luther

subject: Re: APC Smart-UPS cable question

text:
Mike, as I posted in support of Al's post ..

Michael DeBusk wrote:

The smart thing to do with OS/2 is *NOT* to attempt to share IRQ's
unless you know exactly that the BIOS and the drivers needed are
specifically written to accomodate that.

Yes,  COM3 and COM4 are thought to 'share' those IRQ's.  But every
mother I've ever used for more than COM1 and COM2 has been used with a
dedicated extra card being used for those COM3 and COM4 ports.  And
every one has always been used with a dedicated IRQ for each one; period.

Now in my case, I buy four port serial cards.  They *DO* allow IRQ
sharing, and some, or them, but not all of them, *DO* have ways to get
that working with OS/2.  But in the long run, I've learned the hard way
t simply make sure that all this is separated.  I got that habit early.
It's saved a lot of misery in my case.   If you have an application
which will only work with COM1 or COM2, and the lower number IRQ's that
normally go with them, then it is simple to move a serial mouse, for
example, to COM3 or COM4 and OS/2's later mouse drivers are perfectly
happy with that.  If you have the APC issue and it only will work, in
your case with COM1 or COM2, the simple solution is to just move the
other stuff by compatible hardware card up-port, I would think.


subject: Re: APC Smart-UPS cable question

text:
On Thu, 6 Nov 2003 18:30:05 UTC, Michael DeBusk <[email]>
wrote:

I should have made it clear that the problems *were* with DOS sessions;
I'd taken SIO2K out by the time I started using the APC stuff.


subject: Re: APC Smart-UPS cable question

text:
On Sat, 8 Nov 2003 04:56:10 UTC, Alan Beagley <[email]>
wrote:

Well, a big one is that COM.SYS can now use com ports that reside on the
PCI bus, such as add-in cards.  But I don't think that IBM added the
shared IRQ ability for the ISA bus (could be wrong, though).

Actually, Mike Luther would probably know.


subject: Re: APC Smart-UPS cable question

text:
On Mon, 3 Nov 2003 06:12:06 UTC, "William L. Hartzell"
<[email]> wrote:

Neither the W95, nor the OS/2 version are listed on that page.

The Win "personal" version was packaged on a CD with the two units I
purchased new.  The OS/2 versions, at least in '98-99, were extra cost
items that did not come with my units.  I know, I asked.  It was over
$50, IIRC.  I registered UPSMon instead, because I needed it to use with
an OS/2 box.

No argument there.

I do not see (from hobbes) any indication that APCc was the uploader for
this package.

So, I d/l'd it, and it contains:

  os2v423.exe    1,097,511   7-07-97
  upscable.txt        1,565   6-13-96

And at the top os upscable.txt is this:
========================
Here is a description of the caple needed to connect a Smart-UPS to a
COM-Port of a (IBM-)PC.

Note: I don't take any responsibility for the correctness of this
information.  It is provided as is. I provide this information to allow
users to manufacture replacement cables, in case the old one gots lost
or damaged.  I took every effort to insure correctness.  Measurements
were taken from a cable supplied with an APC Smart-UPS900I which is
controlled by APC PowerChute 4.0 for OS/2.  It can be assumed, that all
Smart-UPS use the same configuration.  This may not be true for other
UPS lines from APC.
========================

This really doesn't look like a file from APCc, does it?

Next, I ran OS2v423.exe .  Oh, great: WinZip self-extractor fires up
Win-OS2.  I haven't seen WinOS2 fired up in months!

One of the files extracted is README.TXT, which includes:
***IMPORTANT***

      Please read the PowerChute plus Release Notes in
      addition to the Owner's Manual before installing
      PowerChute plus for OS/2.  Installation and
      configuration details will be explained correctly.
      The PowerChute plus Release Notes take precedent over
      the PowerChute plus Owners's Manual.

No "Release Notes" are included.

No, this package is a private upload by some induhvidual.  I assume that
since (I assume) APCc no longer supports OS/2, they just don't care
about hobbes having this incomplete, seven-year-old package available.


subject: Re: APC Smart-UPS cable question

text:
On Mon, 03 Nov 2003 06:12:06 GMT, William L. Hartzell
<[email]> wrote:

That's good to know. Thanks, Bill, for bitching so persuasively. :)


subject: Re: APC Smart-UPS cable question

text:
On Mon, 3 Nov 2003 16:46:54 UTC, "John Varela" <[email]>
wrote:

I have a couple of SmartUPS - a 1400 and I forget the other one.

PowerChute gives me a bar graph of mains voltage, another of % UPS load
and another of run time left before battery exhaustion (at 100% unless
it's been on battery of course). It also shows model, status (on or off
line), date and time of last self test, UPS output voltage, line min and
max voltages, and current output frequency in Hz (currently 50.25 I
see!). It allows scheduled self tests, also run time calibration (runs
battery down a certain amount under current load to see how long it
would last), as well as audible alarm test and simulation of power
failure. It logs events to a file. It also allows auto shutdown of the
connected system when the battery runs low, or an immediate controlled
shutdown in case of power failure.

All of these can be done for any number of UPSs on the network, from any
host with the software installed.

At the time, the software was pricey and it hasn't been updated in ages.
As a consolation, I did get a spare signal lead with it, which was great
for my second UPS which came without one!


subject: Re: APC Smart-UPS cable question

text:
On Mon, 3 Nov 2003 16:46:54 UTC, "John Varela" <[email]>
wrote:

That's funny: last time I ran the APC monitor software, I thought that
it *did* tell me those things.

Now, I haven't got the cable hooked up right now, but I'm almost certain
that my Pro 650 does tell me that info via UPSMON.  Yours doesn't?

(I could crawl under the desk and hook it up, but getting up off the
floor is getting difficult :/ )


subject: Re: APC Smart-UPS cable question

text:
On Mon, 3 Nov 2003 20:41:12 UTC, Michael DeBusk <[email]>
wrote:

The display program is one that you run when you want to see things...so
memory footprint is effectively nil most of the time.

The UPS daemon is 0.7MB as an executable file. I don't have the tools on
this machine to measure anything else, but I can't believe its working
set is very big.


subject: Re: APC Smart-UPS cable question

text:
Mike,

Are there any particular PCI-based multi-serial port cards you would
recommend?  They need to work in a quad-PPro system with PCI bus spec 2.0 or
2.1.

Hakan

On Sat, 08 Nov 2003 14:59:26 +0000, Mike Luther wrote:

:>Mike, as I posted in support of Al's post ..
:>
:>Michael DeBusk wrote:
:>
:>>On Fri, 07 Nov 2003 17:59:15 GMT, John Varela <[email]> wrote:
:>>
:>>
:>>
:>>> I installed UPSMon with SIO2K and found that if I dialed the modem
:>>> (on serial port 1) the connection to the UPS (on serial port 2)
:>>> would be broken.
:>>>
:>>>
:>>
:>>This is really odd. COM1 and COM3 generally share an IRQ, as do COM2
:>>and COM4. I know of no reason why COm1 and COM2 would interfere with
:>>one another on the typical hardware install.
:>>
:>>
:>>
:>The smart thing to do with OS/2 is *NOT* to attempt to share IRQ's
:>unless you know exactly that the BIOS and the drivers needed are
:>specifically written to accomodate that.
:>
:>
:>Yes,  COM3 and COM4 are thought to 'share' those IRQ's.  But every
:>mother I've ever used for more than COM1 and COM2 has been used with a
:>dedicated extra card being used for those COM3 and COM4 ports.  And
:>every one has always been used with a dedicated IRQ for each one; period.
:>
:>
:>Now in my case, I buy four port serial cards.  They *DO* allow IRQ
:>sharing, and some, or them, but not all of them, *DO* have ways to get
:>that working with OS/2.  But in the long run, I've learned the hard way
:>t simply make sure that all this is separated.  I got that habit early.
:>It's saved a lot of misery in my case.   If you have an application
:>which will only work with COM1 or COM2, and the lower number IRQ's that
:>normally go with them, then it is simple to move a serial mouse, for
:>example, to COM3 or COM4 and OS/2's later mouse drivers are perfectly
:>happy with that.  If you have the APC issue and it only will work, in
:>your case with COM1 or COM2, the simple solution is to just move the
:>other stuff by compatible hardware card up-port, I would think.
:>
:>
:>
:>
:>--
:>
:>
:>--> Sleep well; OS2's still awake! ;)
:>
:>Mike Luther
:>


subject: Re: APC Smart-UPS cable question

text:
On Sat, 08 Nov 2003 14:59:26 +0000, Mike Luther
<[email]> wrote:

I've never tried. It's one of the first things I learned to avoid.

Hmm... I think I'll move my mouse to COM4 and see what happens.

I'm trying to avoid putting money into this old PC, saving it instead
for a new one. I may keep this one for my old DOS games, and if I do, I
won't need a modem.

Thanks for your guidance.


subject: Re: APC Smart-UPS cable question

text:
On 6 Nov 2003 19:33:49 GMT, Bob Eager <[email]> wrote:

My DOS sessions don't like VCOM.SYS either. :(


subject: Re: APC Smart-UPS cable question

text:
Al and others ..

Al Savage wrote:

The only way I've ever been able to get OS/2 to share an ISA slot IRQ
safely is to use one of the multi-comm port cards.  Because I use all
four comm ports at the same time in a box, and even in DOS-VDM's in some
port I/O use, I found that the safest way to do this is with these type
cards.  Frankly, I don't share an IRQ there either, if it can be
helped.  But the cards do have the plug-pin ability to do that and when
used with Ray's older SIO tools, it has worked.

In the long run, no system in use here has ever not had enough IRQ's to
not be able to assign a separate one for each comm port for ISA buss
boxes.  That, together with Ray's SIO has solved the problem for me.
It's noted that later versions of the IBM comm driver have solved some
of the earlier problems at this, together with the careful use of the
load-time parameters in your CONFIG.SYS file.

Sharing IRQ's on PCI slots is another issue entirely.  As has been
discussed and cussed often before, it seems that if the driver for a
particular use and for use with a PCI slot is written correctly, you can
share an IRQ with PCI slot stuff.  The PCI TV cards, for example, do
seem to use that technique.  I've never had one, but there are reported
to be COMPAQ boxes which were built deliberately for OS/2 which use only
one IRQ for the NIC, disk controller and so on.  They also reportedly
use special disk controller cards and BIOS implementations to accomplish
this, so said.

In short .. the safest way is to make darned sure you don't share IRQ's,
unless you know exactly what you are doing and have access to the
correct low-level drivers for what is needed.


subject: Re: APC Smart-UPS cable question

text:
Sir:

Michael DeBusk wrote:
I don't think my bitch had anything to do with their decision.  I got
nary a thank-you for the bitch from an autoresponder...


subject: Re: APC Smart-UPS cable question

text:
On Tue, 4 Nov 2003 02:11:06 UTC, "Al Savage" <[email]> wrote:

Neither PowerChute nor UPS Monitor tells me much of anything.

Nope.  UPS Monitor has a row of status values along the bottom of the frame
and all are "n/a".

Are you sure yours is a Back-UPS Pro and not a Smart-UPS?  My unit is pretty
old--I bought it in 1996, Serial No. O96087496085 rev. 61.L.D.  Maybe later
models have more capability.

No comment.


subject: Re: APC Smart-UPS cable question

text:
On Mon, 03 Nov 2003 20:11:06 -0600, Al Savage wrote:

:>On Mon, 3 Nov 2003 16:46:54 UTC, "John Varela" <[email]>
:>wrote:
:>
:>> > Such as being able to monitor output voltages, load, battery capacity
:>> > remaining etc.
:>>
:>> I don't get that information from either APC Powerchute Pro nor Lone Peak UPS
:>> Monitor because my Back-UPS Pro 650 doesn't support that feature.
:>
:>That's funny: last time I ran the APC monitor software, I thought that
:>it *did* tell me those things.

Only if you have a Smart-UPS, not if you have a Back-UPS.  The former
supports "smart" signalling, the the latter standard signalling.

:>
:>> Lone Peak says they do support it if available;
:>
:>Now, I haven't got the cable hooked up right now, but I'm almost certain
:>that my Pro 650 does tell me that info via UPSMON.  Yours doesn't?
:>
:>(I could crawl under the desk and hook it up, but getting up off the
:>floor is getting difficult :/ )
:>
:>--
:>Regards,
:>Al S.


subject: Re: APC Smart-UPS cable question

text:
On 3 Nov 2003 21:41:38 GMT, Bob Eager <[email]> wrote:

Cool. I can live with that. :)


subject: Re: APC Smart-UPS cable question

text:
Mike (2), grin ..

Hakan wrote:

Dunno .. all the cards here have been ISA cards and all the boxes they
are in are industrial relay rack systems with passive ISA/PCI
backplanes.  For that purpose I've got spare parts cards here.  But
you've raised a good point.  I'll look into this as someday that will be
needed.   If anything comes out of that research timely here, I'll post
back with what I find.


author: Will Honea

subject: Re: APC Smart-UPS cable question

text:
On Sat, 8 Nov 2003 14:50:02 UTC Mike Luther <[email]>
wrote:

If I may add to this, the biggest problem with sharing IRQ's on the
ISA bus was hardware.  Due to the spec of active high signals for IRQ
requests with passive pulldown to logic 0 (0 volts).  As a result, the
gates used to drive the IRQ line were a real problem.  Wire OR is easy
due to the nature of the devices but it takes a bit of care and
thought if one has to connect multiple active high devices.  I had
several cards that did this and the only sharable IRQ's were those
which were bufferable thru a single output requester - such as the
multi-io cards Mike mentions.  Given appropriate buffering, etc., OS/2
handles shared IRQ's quite handily if the drivers are properly
written.  Even SIO had grief with un-buffered sharing altho it did a
nice job as long as you could insure that one and only one of the
devices was active at a given time.  Once the requests were buffered,
SIO had no problem with multiple devices.

There are two issues with sharing:  the hardware isolation of requests
must be provided by all sharing devices and the drivers must be
written to accomodate them.  It can be done and, as Mike says, it
might work but it's not a trivial exercise.

AFAICT, the issues with PCI devices are drivers accepting the correct
parameters and latency.  Even with the fast boxes of today it still
takes finite time to service a request.  If the requests arrive too
close together no amount of driver sophistcation will help.  I think
the rule of thumb is something like the sum the response times
(including device processing) of all connected devices plus the
response time of the slowest again should be less than the repititon
rate of the fastest device.  That's a bit pessimistic but I think that
was what I used the last time I did something like that.  Of course,
that was targeted for a 486-33 if memory serves...


subject: Re: APC Smart-UPS cable question

text:
On Sun, 9 Nov 2003 00:42:07 UTC, "William L. Hartzell"
<[email]> wrote:

Because I have only so many awake hours per week to utilize, I don't use
APC's software, and I don't care a whole lot whether APC cares if a
portion of their copyrighted software is available at hobbes, or not.

I only downloaded the hobbes package to verify that it didn't come from
APC, as is clear to anyone who reads the contents.


subject: Re: APC Smart-UPS cable question

text:
On Wed, 5 Nov 2003 01:06:12 UTC, "John Varela" <[email]>
wrote:

Oh, I have several of each, but the one I'm referring to is one I paid
full-tilt-boogie retail for, in about 1998, and I'm certain it's not a
Smart.  It's a Back-UPS Pro (black case).  I had to warranty the think
after three months, because the Powerchute software (running on a 'doze
box) said it failed the self-test.

Oh, alright . . .

On hands and knees, flashlight & vacuum cleaner in hand, I venture into
the realm of dust-bunnies, where normally only my stocking feet dare to
tread.

OK, I've connected the special Back-UPS Pro cable (940-0024C) to COM1.
Fired up UPSMon.

Here's a screenshot of UPSMon v1.2e (registered):

which includes:

So, I guess smart signalling was added to the later Back-UPS Pro line,
eh?


subject: Re: APC Smart-UPS cable question

text:
On Mon, 03 Nov 2003 21:23:22 -0500 (EST), Hakan <bitbucket@127.0.0.1> wrote:

While Googling for the answer to my original question, I found a Usenet
post about how to hook a relay to the game port of a PC. It involved
hooking nothing at all to the UPS; you plugged the relay into the wall,
using a power supply unless you used a 110V relay, and hooked the relay
to the pins for button 1 of the joystick. Then you would run a script
to poll the joystick port every few minutes and issue "shutdown" if it
detected that the button was pressed.

Seemed a good and inexpensive idea. I can't find the post now, though.


subject: Re: APC Smart-UPS cable question

text:
Al Savage wrote:
   That's the same number I have for a back-ups 650. Apparently only the
Pro version has a rs232 interface and works with the special cable. That
must be what the extra bucks (pounds, rubles, francs, pesos, yen, dinar)
are for.
   UpsMon shows only the Pro in its listing of compatible UPSs.
   I tried upsmon2 with the standard 650: didn't work. Works fine with
upsmonB.


subject: Re: APC Smart-UPS cable question

text:
On Wed, 5 Nov 2003 03:43:06 UTC, "Al Savage" <[email]> wrote:

Aha!  Mine doesn't have a black case.  The case is that standard PC tan color.

Mine reports all the above.  What it doesn't report, and which is shown on
your screen shot, is the row of information at the bottom giving line, load,
and battery data.  My display has those labels, but the values are all "n/a".
Actually, your screen shot shows only two values for "battery" while my
display has *three* n/a's.  I wonder what we're missing?  I'm running UPS Mon
v. 1.2g.


subject: Re: APC Smart-UPS cable question

text:
On Tue, 4 Nov 2003 05:15:38 UTC, Michael DeBusk <[email]>
wrote:

OK, I've read that three times, and I still can't figure out what it
means, in any context I can imagine.


subject: Re: APC Smart-UPS cable question

text:
On Wed, 5 Nov 2003 14:44:59 UTC, "John Varela" <[email]>
wrote:

The black case mine has is metal.  Yours is plastic?

Years ago, I tried to use mine as a stepstool to reach a book up on a
bookshelf (hey, it was on the floor in front of the bookshelf, why
not?).  It didn't support my weight well -- but I did reach the book.
Now mine has a concavity on the top :/

Oops -- I've got the update, just never applied it.
OK, updated now.  Nice that it finally preserves my old ini file
(previous versions did not, and I did complain about it.  Oh, wait.  I
think I'm thinking of STHealth on that one.).

Now mine has an "n/a" on the right end too.  I guess I could go read the
docs . . . naaah.  Bedtime now.


subject: Re: APC Smart-UPS cable question

text:
On Tue, 04 Nov 2003 21:23:42 -0600, Al Savage <[email]> wrote:

I only gave it a cursory read, decided against doing it, and left the
post behind. The post was for someone with a "dumb" UPS, and the
suggestion was motivated by the desire to avoid losing a serial port. I
have a "smart" UPS and couldn't care less about COM2 here. Although
it's a bit more difficult to find that adapter than I thought it would
be. I guess serial ports are going the way of the 8-track. Gotta hit
Radio Shaft tomorrow.

Ah, I found it! I had been looking through linux newsgroups, and it was
in one of the FreeBSD groups.

Quoted from (note the word wrap):
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right
&th=f2ea5db5a6023c04&seekm=822pf1%24p3n%241%40herald.ipinc.net#link5


author: Forte Agent

subject: Good art pad for Gimp (Windows version)???

text:
I bought "Cool - i" Art Pad.  Its mouse and pen works in programs such
as Microsoft Paint, but as soon as I start Gimp 1.2.5 for Windows (win
2k), pointer jumps to top right corner of screen and won't move.  This
happens only when I try to use pen, but its mouse does work with Gimp.

Maybe I should do something to set it up?  Or maybe there is some
incompatibility?  If so, what would be a good art pad that I should
buy?  Thank you in advance.


author: Simon Budig

subject: Re: Good art pad for Gimp (Windows version)???

text:
Forte Agent <[email]> wrote:

Unfortunately the tablet support in GTK+ is broken for windows and
nobody managed to fix it yet.

Sorry,
        Simon


author: Dave Brown

text:
"Forte Agent" wrote ...

Hmm,
There are two questions there...
1) A good graphics tablet would be a Wacom, especially Intuos II (no, I
don't work for them).
2) Your problem is not the tablet or Gimp, but GTK+. Tablet support is
buggy, at least in Windows.

If you are happy to use the pen without pressure/tilt etc, start gimp with
the --ignore-wintab switch on the commandline.
(eg "C:\Program Files\Gimp\bin\gimp.exe" --ignore-wintab)


author: Moonlit

text:
"Dave Brown" <[email]> wrote in message
news:0G94c.2236$[email]...

Doesn't work under windows either, but under linux it works great.


text:
Wacom tablets work great under Windows 9X/XP/2KX too. No brand of tablet
that I am aware of plays with GTK+ under Windows. Apologies if I implied
they did. I intended to answer the question 'what would be a good art pad
that I should buy?' included in the post. As I (and others) said, the
problem 'Forte Agent' had was not due to the tablet. See point 2. Hence
recommending a Tablet was not intended as a fix.

with

Of course upgrading to Linux may be another option.


author: David Kim

subject: How do I kill finder....?

text:
Hello....

  I am trying to kill finder while I am running this one program so it
  will not go back to the Finder by mistake while I am doing this
  presentation in the HyperCard.  So how can I force the Finder to
  disappear for a while until I ask it to come back....?

  I have tried Command-Option-Escape but it does not do what I
  want.=-)

  And how can I make the HyperCard's cards to adopt to different
  screen size?  Other ways of saying this is I want to have this card
  to be displayed in full screen regardless of monitor size.

  Help please.......

David Kim


author: Steve Maller

subject: Re: How do I kill finder....?

text:
In article <[email]> David Kim,
[email] writes:

close finder

But there is no equivalent "open finder" command so it's gone until
you quit hypercard.
--------------------------------------------------------------------
Steve Maller                    "He picks up scraps of conversation
Software Mechanic                               Radio and radiation
General Magic, Inc.                  From the dancers and romancers
[email]                  With the answers - but no clue"
                                         -- Rush ("Digital Man")


author: [redacted]

subject: Re: How do I kill finder....?

text:
In article <[email]> [email] (David Kim) writes:
   Hello....

     I am trying to kill finder while I am running this one program so it
     will not go back to the Finder by mistake while I am doing this
     presentation in the HyperCard.  So how can I force the Finder to
     disappear for a while until I ask it to come back....?

     I have tried Command-Option-Escape but it does not do what I
     want.=-)

Are you using System 6 or 7? I think you'll be satisfied by the results
of "Hide Others" if you are using System 7.

--Chris


author: Richard Lim

subject: Re: How do I kill finder....?

text:
In article <[email]> David Kim,
[email] writes:

Just use a process management utility like Process Watcher 2.0 or
Nofinder which will allow you to quit the Finder cleanly, then relaunch
it later on.


author: Debra Carson

subject: Re: How do I kill finder....?

text:
other suggestions...

 If in System 6 -
  Run in Finder not Multi-Finder. HyperCard  - stack script that catches
messages for quit. Make the stack script check if the option key is down
and then allow quitting.

Sorry i can't provide a script.. it's 2:00 AM and I am falling
                                                               off
                                                                   my chair.

Thud... Snore...


author: mathew

subject: Re: How do I kill finder....?

text:
There's a freebie program called "Anti-Finder" that causes the finder to quit,
and then makes it reload when you quit Anti-Finder.  Neat.  It needed an icon,
though, so I gave it a black mirror-image finder icon with "666" on the
screen.

mathew


author: Kent Hosterman

subject: Re: Windows 95 sucks? In what way?

text:
In article <[email]>,
[email] says...
wrote:
hellova
Win95

GET SERIOUS! You use Unix and usability in the same argument? Unix is a
GREAT OS! No doubt about it. Robust, stable, and other attributes can be
applied to it,BUT... no one can say that usability is one of Unix's
strong points.

As for OS/2: For a REAL comparison between Win85 and OS/2, check out the
Feb issue of PC World. There you will find EVIDENCE, not fanatic
loyalty. As for the rest, well, they're really not of enough
significance to respond to.

I'm afraid all you've done by your emotional outburst is demostrate your
own foolishness.


author: Kalle Rutanen

subject: DLL template export/import

text:
(I'm using VC++ Net 2003)
Consider this simple template example.
Why does it give the "myclass<T>::myclass(): definition of dllimport
function not allowed" warning?
This happens when compiling the DLL2.

myclass.h

    // EXP_IMP1 is dllexport if inside DLL1 and dllimport if outside

    template <class T>
    class EXP_IMP1 myclass{
    public:
        myclass();
        T a;
    };

    template <class T>
    inline myclass<T>::myclass()
    {
    a = 4;
    }

myclass.cpp (in DLL1)

    #include "myclass.h"
    template class EXP_IMP1 myclass<int>; // Explicit instantiation

mylib.h:

    #include "myclass.h"

    // EXP_IMP2 is dllexport if inside DLL2 and dllimport if outside

    class EXP_IMP2 anotherclass{
    public:
        myclass<int> test;
    };

mlib.cpp:

    #include "mylib.h"

This warning vanishes if I put the myclass constructor implementation inside
the class definition:

myclass.h:

    template <class T>
    class EXP_IMP1 myclass{
    public:
        myclass() { a = 4; }
        T a;
    };

But aren't these two ways equivalent ?


author: Raymond Chen

subject: Re: DLL template export/import

text:
You can't export a pure template since a template doesn't produce
any code until you instantiate it.  It's like trying to export a
macro. There's no code yet until you actually fill in the
brackets.

On Sun, 1 Feb 2004 14:04:20 +0200, "Kalle Rutanen"
<[email]> wrote:


author: anon luker

subject: Re: DLL template export/import

text:
Have you tried explicitly instructing the compiler to export the
constructor in the first snippet?  It may be that it is automatically
being exported as an implicitly inlined function but not otherwise.
You are correct that they should otherwise be identical, though, as
far as I can tell.  The net in either case should be a dll that
exports 2 default constructors and 2 copy constructors.

"Kalle Rutanen" <[email]> wrote in message news:<bviq13$7q4$[email]>...


subject: Re: DLL template export/import

text:
ack!  I didn't pay enough attention before posting.  Didn't realize
you had two seperate projects and didn't look carefully enough at the
error message. Sorry.

The easiest solution is to just redefine the EXP_IMP2 in the second
project to match the defines in the first.

"Kalle Rutanen" <[email]> wrote in message news:<bviq13$7q4$[email]>...
...


subject: Re: DLL template export/import

text:
But then the code of the class "anotherclass" would be generated in the DLL1
(assuming the header was included in DLL1), and I want it to reside in DLL2.
Maybe it's just another bug... This is supported by the fact that I can
create a normal class (without template) with the inline functions defined
outside of the class, export it and use it in another dll.

Though the only thing that I lose by placing the class implementation inside
the class definition is that the code get's somewhat messier, because I
can't see the class's function-headers and variables at once.


subject: Re: DLL template export/import

text:
"Kalle Rutanen" <[email]> wrote in message news:<bvljd8$m1i$[email]>...

Why would you include the second project's headers in the first
project?  If your coupling is so confused as to prevent clean division
between projects, you should probably be rethinking your solution.
Otherwise, each dll contains what it should.  You can verify this with
dependency walker.

It isn't a bug, you're just getting confused by the dllimport/export
macros.

I've heard that it violates the principle of least priviledge or some
such mumbo jumbo.  Not much choice w/ templates, though.


subject: Re: DLL template export/import

text:
Consider I have a math-engine and a 3d-engine both located in their own
dlls.
The 3d-engine naturally uses matrices and vectors so it is dependent on the
math engine.
Now, in my application projects, I may wish to use the math engine but not
necessarily the 3d-engine.

The original code won't compile, because it gives an error (wrote it wrong
as a warning in the first message...).  The "functions inside the class
declaration" works just as expected.

Well, the definition of bug is quite unclear in this situation, because the
behaviour of the dllimport/dllexport is not standard C++, but Microsofts
extension, so they decide what is possible and what is not.

But think about what would be reasonable:
(Note that the dll, in which the class is defined, is properly compiled and
linked. The error appears when including the header file in another dll's
source)

If you don't use templates, then the "inline functions inside
dllexported/imported class declaration in the same header" is identical to
the "inline functions outside dllexported/imported class declaration in the
same header". This is easily verified by writing the code. This is
reasonable.

Now you use templates, and think you can use them to avoid repeating the
same code with another type. You use "inline functions inside
dllexported/imported class declaration in the same header" and everything
goes fine. Now you think that it is more clear to use "inline functions
outside dllexported/imported class declaration in the same header". You try
it... no luck. You get an error, which is not in any sense reasonable.
Nothing is gained by denieing this possibility, although it is very clear by
analogy what the compiler is supposed to do. This is not reasonable.


author: E Robert Davis

subject: Problem dialing out with serial ports

text:
Okay, I've read the on-line docs and the notes on modem setup
from the ftp sites, but I am still having trouble dialing out.  I have
kermit, and I chowned it to uucp, and gave it the permissions of its
owner.  I changed the /etc/ttys file (the lines with ttyda and ttydb)
-- changed the "unknown off" to "dialup on", and then had root kill
-HUP 1 to have init reread the ttys file.  But when I try to set
the line to /dev/cua or /dev/cub in kermit, I get "device busy"
messages.  I did a ps and noticed that getty was still using ttyda and
ttydb, apparently keeping kermit from using them.
     Is this the problem?  If so, why is getty doing this.  All of
this happens whether I have the modem connected or not (the cable is
an 040 cable from NeXTConnection -- for my 040 NeXTstation, of
course).
     What am I doing wrong?

     Thanks to anyone who can help.

Robert


author: Heiko W.Rupp

subject: Re: Problem dialing out with serial ports

text:
In article <[email]>, E Robert Davis writes:

With settin dialup on and doing kill -HUP 1, you set up the getty on the
line, which then is busy. Try chanching dialup on to off.

-Heiko


author: Carsten Lutz

text:
[email] (Heiko W.Rupp) writes:

NO ! Whwn you set a dialup-getty on a dialup-line ( ttydx devices ), the
line is NOT busy. The gettys will automatically step back, if another
program opens the port. dialup on is OK !

Carsten


author: zeb

subject: Split partition

text:
Hi,

I have a partitioned table,
when I split the last partition
there is no rows in the new partition
why ?
the local index is unsuable and I have to drop and create it
why ?

Thanks in advance
oracle9i , HP-UX 11.0


author: Daniel Morgan

subject: Re: Split partition

text:
zeb wrote:

What kind of partition?
Split it with what statement?


author: Howard J. Rogers

subject: Re: Split partition

text:
"zeb" <[email]> wrote in message
news:411132a9$0$1890$[email]...

I don't know why your new partition is empty, but it's probably to do with
date formats, which I'm hopeless at at the best of times. But you ask why
the local index is unusable, and that one I can asnwer: it's just the way it
is. Partition DDL (such as merge, split, etc) always invalidates *any* index
partitions which happen to reference the partition undergoing the DDL. That
means the local index for that partition/those partitions; it also means any
global indexes you may have on that table, in their entirety (one of the
main reasons for not wanting global indexes, of course).

Being 9i, and presumably release 2, you can now do your partition DDL with
the new 'update global indexes' clause to keep global indexes in working
order rather than have them invalidated. But from the words in the syntax
themselves, you can guess that this is only an option for global indexes.
Local indexes are still invalidated, and there's no way around that.

Regards
HJR


subject: Re: Split partition

text:
BY RANGE
alter table stat_tracking
split partition stat_tracking_p_current at (TO_DATE(' 2004-08-01 00:00:00
', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
into ( partition stat_tracking_p_2004_07, partition
stat_tracking_p_current );

Any idea ??

Thanks...


subject: Re: Split partition

text:
it
index
That
any

I looked through TOAD ( I know, I know ... ) and
I did an analyze , and the rows come back ...
I understand your explanation for Local/global index
no hope for local index...

I thank you ,Howard  and  Daniel Morgan, for your positive attitude
in this newsgroup ...


author: robin

subject: Re: PL/I (was: FAQ)

text:
From: "John W. Kennedy" <[email]>, Optimum Online
Date: Wed, 19 Jan 2005 21:20:31 -0500
.
Peter Flass wrote:
.
| In general, that ability of PL/I is regarded as a hideous mistake,
.
Anyone can write rubbish in any language,
but it doesn't necessarily mean that the language features
that were used were a "mistake".
.
And perhaps there is some application in which that might be
used, but if there is, I am unaware of it.
If I had wanted something like that, I would have coded it as
ON yyy begin; if xxx then ... else ... end;
and it would never have occurred to me to write the code suggested.
.
| and
| has been intentionally avoided in languages ever since.
.
(BTW, were I were designing a new language, I would use PL/I's
condition handling.)
.
| Historically, it
| was inspired by the set-exit-imperative model generally used in
| assembler languages of the time (such as SPIE and STAE in OS/360).
.
How many machines (other than 360) used hardware interrupts in 1966
for fixed-point overflow, divide by zero, float overflow, float underflow,
etc?  (Recall that S/360 and PL/I were being designed from c. 1964.)
.
| Other
| PL/I features that have been intentionally avoided in subsequent
| languages include the ability to return from an ON,
.
Not to have the ability to return from an ON is a definite mistake.
.
Having the facility is one of PL/I's strengths, and is available for
data conversions errors, floating-point underflow, STRINGSIZE,
STRINGRANGE, OVERFLOW, ENDFILE, and ENDPAGE in particular.
.
(You would prefer to have the program crash when such conditions
as STRINGSIZE, STRINGRANGE, UNDERFLOW occurred?  Or, at best, abandon
the current cycle of computation?)
.
Just so that it doesn't slip thru the cracks, may I point out
that when underflow occurs, the FP word is replaced
with zero, and the program resumes from the point of interrupt.
   Why would you want to do anything else?
.
| the use of ON to
| handle expected conditions (such as ENDFILE and ENDPAGE),
.
One of the great facilities of PL/I.
.
| free-and-easy
| type conversion (especially between CHARACTER and other types),
.
simplifies the writing of programs.
As well, the programmer has full control over conversions
thru the use of conversion BIFs, should he so wish.
.
| one-size-fits-all rules for fixed-point intermediate precision,
.
PL/I's rules for fixed-point arithmetic were designed to permit
arithmetic in a simple and easy manner.
   For any of the basic operations ( + - * / ) the result obtained
is the most accurate possible consistent with the finite size
of a word or the maximum number of decimal digits.
   In this, it was a great success.
   For addition and subtraction in particular, simple expressions can be
written.
   Where multiplication and division are required, here too
a result is obtained under the same philosophy of maximun
accuracy (particularly, in division).
   For operations involving just two operands, the scheme works superbly.
   For expressions involving addition and subtraction in conjunction
with multiplication, and particulatly with division,
it is usually appropriate to use the MULTIPLY and/or DIVIDE
built-in functions.
   For precise control in involved expressions, where the scale factors
of operands differ considerably, the built-in functions may be used
whereby the precision of the result can be set.
.
  In summary, the programmer has full control over precisions
obtained from all fixed-point arithmetic operations, shoulf he so
choose.
.
| conflating
.
no such word.
.
| bitwise and logical boolean operators, and, of course,
.
Are you trying to say something about bit strings?
.
| anonymous pointers.
.
PL/I has the other kind too.
.
| (Even PL/I itself has backed away from certain features, such as
| asynchronous I/O, which maps to very few modern operating systems, and
| the original PL/I tasking model, which never even mapped to OS/360.)
|
| It is not particularly surprising that the first language to do certain
| things should get them wrong. PL/I fixed a lot of mistakes in FORTRAN,
| COBOL, and ALGOL.
.
Algol had few "mistakes", apart from not specifying I/O.
.
One may take a more enlightened view that the best features
of those 3 languages were taken and improved upon.
PL/I, however, was not a copyist, and considerable new facilities
were added to those already mentioned.
For example, controlled storage was added to static and automatic
storage classes.  List processing was added. System programming
facilities included. Real-time programming facilities included.
Generic procedures. Robust code.
.
| Ada and C++, among others, have in their turn gone to
| a great deal of effort to correct the mistakes of PL/I.
.
PL/I has few "mistakes".  It is one of the few clean languages,
wherein comprehensible programs to suit a great variety of applications
can be written with ease.
.
Rather, wasn't C++ designed to correct the mistakes of C ?
.
Ada is not free from mistakes.  It introduced new ones where there
weren't any before (like Pascal did). It suffers from overdesign.
Ada is about the only language (apart from C) where folks have to
ask "how do I take square root?".
   Interrupt handling is clumsy, to say the least.
And should the programmer desire to have different actions
(for the same condition) for consecutive statements?  What then?
And in Ada, you couldn't have general procedures for arrays
(now corrected with unconstrained).
.
And let it not be forgotten that the loss of the Ariane 5 space mission
resulted from the use of Ada. (all on account of an unchecked
fixed-point overflow).
.
The fact remains that PL/I is easy to use, easy to understand,
portable, and easy to maintain.
    And code written 30-40 years ago has not become obsolete.
.
No language is perfect, not even PL/I.  But you can do a lot
with PL/I.
.
| --
| John W. Kennedy


author: Peter Flass

subject: Re: PL/I (was: FAQ)

text:
robin wrote:

Well, it never occurred  to me either, until I wrote it.  I'm not sure
it would work, although it seems valid.  Actually, now that I've written
it I've thought of some uses, for example:
   IF print_debug_info THEN DO;
      ON ERROR PUT DATA;
      END;
at the beginning of a program, so the user can control, maybe by a
run-time option, how errors are to be handled.


author: Tom Linden

subject: Re: PL/I (was: FAQ)

text:
On Sat, 22 Jan 2005 01:18:55 GMT, Peter Flass <[email]>
wrote:

Not sure what you intended, but upon an error condition control would
transfer to the ON statement.


author: James J. Weinkam

subject: Re: PL/I (was: FAQ)

text:
Tom Linden wrote:
No.  When an condition occurs control transfers to the ON unit of the most
recently executed (or reverted to) ON statement for the condition.  In the
example given that will only happen if print_debug_info converts to '1'b and the
IF statement has been executed prior to the occurrence of the condition;
otherwise the ON statement will not have been executed and the default action
will be taken.


subject: Re: PL/I (was: FAQ)

text:
Right, but only if the statement was executed, that is, the bit
'print_debug_info' had been set before executing this construct (again,
so I think, I'll have to test it.)  The idea is to easily control the
action for ERROR, in this case the generation of debug output, at run time.

Tom Linden wrote:


subject: Re: PL/I (was: FAQ)

text:
On Sat, 22 Jan 2005 19:35:18 GMT, Peter Flass <[email]>
wrote:

I think a test is in order.  When the compiler encounters the ON stmnt
it knows nothing of the the IF statement, the address of the ON-unit is
added
to the list for that stack frame, so that if the ERROR condition control
is transferred to the ON-unit, independent of the IF stmnt.  Now IBM may do
it somewaht differently, but I don't see how.  I believe the IF statement
musr
be inside the BEGIN  block for the ON-unit


subject: Re: PL/I (was: FAQ)

text:
Tom Linden wrote:
In the code shown below that you seem to be talking about the "if
print_debug_info then ON ... " is stated to be at the start of the procedure.
If print_debug_info is true, the ON statement will be executed; if the condition
subsequently occurs the on unit will be executed followed by a normal return.
If print_debug_info is false, the ON statement will not be executed and if the
condition occurs, something else will happen, namely the standard system action
or a different on unit in an outer block.

If the if statement is moved inside the on unit, then if the condition happens
the on unit will execute and if print_debug_info is true that code will execute
otherwise it won't.  Then the on unit will make a normal return and the defined
action for a normal return will take place.

BTW, PUT DATA in an on unit can be dangerous.  Uninitialized decimal variables
may cause a data exception.


author: Thomas Obermair

subject: Setting MSC1 on StrongARM causes "data abort"

text:
Hi all!

I'm stuggling with setting of MSC1-Register on Intel StrongARM CPU. Most
times it works just fine to set the desired value, but sometimes I get "data
abort" oder "undefined instruction" exception.

Are there any considerations to take care of when setting MSC1-register? Eg.
regarding caches, mmu, flush of pipes, ... ?

This VxWorks-testcase reproduces the problem after about 10..300 loops:

#define SA1110_MEMCTRL_BASE 0xA0000000
#define SA1110_MEMCTRL_MSC1 (SA1110_MEMCTRL_BASE + 0x14)
#define SA1110_MEMCTRL_MSC1_VAL    0xf08591c4
void TestMem(void) {
   while (1) {
      *((volatile UINT32*)(SA1110_MEMCTRL_MSC1)) = SA1110_MEMCTRL_MSC1_VAL;
      taskDelay(1);
   }
}

ANY help is very much appreciated!

Thanks a lot,
Thomas


author: Vadim Barshaw

subject: Re: Setting MSC1 on StrongARM causes "data abort"

text:
Thomas Obermair wrote:

Do you have any doubly mapped virtual addresses?  If yes, they must be
accessed as non-cacheable.

Does it happen only with MSC1 register or other registers in vicinity are
also affected?  What happens if you try to read OSCR (0x90000010)
continuously?

Does the page that maps MSC1 have both B and C bits set to 0?

HTH,

   Vadim Barshaw


text:
Hello Vadim! Thanks for the quick answer!

Reading continuously from OSCR-register works fine.
I don't think that there are any doubly mapped addresses. But I'm not
100% sure, and I don't know how to really check. Memory mapping is 1:1
(PA:VA) and done by vxWorks MMU-functions.

B and C bits are both 0 in the pages that are controlled from MCS1, and
also in the page that holds the MSC1-register itself.

Yes, the same problem also occures when I try to write MECR for
instance. Seems that the registers of the memory-controller have some
kind of problem when writing to...
Reading from MECR works fine.

Did some more tests today, and finally gave up. I now set all the
memory-controller registers in early boot-state, where mmu and cache is
still disabled. Seems to work there...

Many thanks,
Thomas


text:
Thomas Obermair wrote:

Do you see the counter values that are consistent with free-running 3.68
MHz oscillator?

I am not familiar with VxWorks, but if you have source code you could
trace the initialisation of translation and page tables.  Or you can
examine the translation table at the address pointed to by register2 of CP15.

This sounds like the page is being cached, and sporadic data aborts or
undefined instruction exceptions might indicate the address is being
mapped to more than one page.

Looks like inconsistency with translation.  Probably, try disabling Dcache
and/or write buffer globally in CP15 register1 to see the difference?

   Vadim Barshaw


author: Kevin Kirley

subject: Re: Wanted: Eiffel software to read hardware & OS serial numbers.

text:
My intentions are to simply make and sell my own software;
hence I have been looking for "product activation" methods
to reduce or stop causal copying (software piracy). I foresee
these methods as mostly software with some webware parts.

I want to simply protect my products from software piracy and
at the same time protect the privacy of my clients. So any
Product Activation methods would have to be fast, simple and
effective.

Please, reply to me, if you know of companies or software
utilities that handle software installation and product activation.

My search continues...
Kevin Kirley, Software Engineer, President
Kirlium Inc. - Troubleshooting Complex Systems.


author: Georg Bauhaus

text:
Kevin Kirley <[email]> wrote:
: My intentions are to simply make and sell my own software;
: hence I have been looking for "product activation" methods
: to reduce or stop causal copying (software piracy). I foresee
: these methods as mostly software with some webware parts.

There are several "trading methods" that could save some
efforts on all sides.

Have your customers sign a contract, after they have
demonstrably read some documents. Receive orders by fax.
Done by Comeau Computing, Aonix, IBM, ...

Abstain, if possible, from the in rem perception that receiving
payment must ensure a 1:1 relationship with copies.
(Microsoft would have had to employ more lawers than are available
to sue everyone having used their software without payment, after all.
In spite of this they haven't been commecrially unsuccessful.)
Receiving enough or equitable income might be enough,
compared to striving for "money for each item". Details:
How much prey do you expect compared to the amount of goods
actually sold? How does it compare to the financial and engineering
efforts necessitated by dongles, flexlm, GUID checking (remember,
customers might update their hardware), or similar? ...

...provided that you succeed in explaining that producing
software is craftspeoples' work and thus cannot be done
without effort and without payment.

(The common upshot is that establishing "barbed wire" as a necessity
for making an adequate income selling software might entail a
selffulfilling prophecy:
vendor: "customers are thieves."
customer: "all of them vendors and the laywers are rich robbers,
it's fair that little me isn't paying them."
Under these circumstances no one will learn the fact that
  producing software = work.)

Why might this be on topic? Eiffel Software Inc, among others,
sells excellent software. If your ambitions as a non-customer
are not commercial, you can get it for free. Will commercial
users pay the vendors of Eiffel IDEs? The vendors still exist
(not all use technically enforced "payment protectors")...

: I want to simply protect ...
: the privacy of my clients.

how is that?

: Product Activation methods would have to be fast, simple and
: effective.

How could that be? Effective technical methods of controlling
software have always been costly. Convincing customers is
another way...

just my 2c
Georg


author: Lothar Scholz

text:
"Kevin Kirley" <[email]> wrote in message news:<lN7Xb.3488$[email]>...

Look at http://siliconrealms.com/armadillo.shtml
at the moment it is the best you can buy for (a small amount of) money.
If you are looking for Linux then there is nothing on the market.


author: Ged

text:
"Kevin Kirley" <[email]> wrote in message news:<lN7Xb.3488$[email]>...

Theres are some interesting discussions on the subject here:

http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=94818&ixReplies=17
http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=23549&ixReplies=19
http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=99383&ixReplies=35


author: Guillaume Marcais

subject: wxruby unfriendly to Ruby threads?

text:
I have a GUI application with a bunch of threads proxying network
information around. But the network communication seems very slow if not
stopped. To make sure, I added a "keep alive" thread:

Thread.new do
  loop do
    puts("Keep alive #{Time.now}")
    sleep 1
  end
end

This thread hangs after a little while and stop outputting anything. If
I move the mouse over the window, a bunch of lines are printed by the
keep alive thread, all at once with the same time, and then it hangs
until the next GUI event.

Is this a known problem? Or am I completely misguided?

Guillaume.


subject: Re: wxruby unfriendly to Ruby threads?

text:
On Thu, 2005-10-20 at 12:57 +0900, Wink Saville wrote:

I am using net-ssh, which uses threads internally, so my count is only
approximated. I guess between 10 and 15 threads, mostly waiting on
sockets. The total amount of traffic going through is not huge, but it
has to keep flowing or the applications consider the connection to be
lost fairly quickly.

Well, it seems that, some reasons, the threads are not scheduled if no
GUI activity is there. If I keep moving my mouse over my application
window, the forwarding works, if I stop, it hangs and disconnect.

By the way, the platform is Linux, but eventually the code will be
ported to Windows too.

In the end, I think I'll spawn off a separated process (and communicate
with Drb most likely) to do the net-ssh trickery. After reading on how
threading works with wxRuby, I feel uneasy keeping everything in the
same process and having the IO so much under the control of the GUI
library.

Guillaume.


author: Wink Saville

subject: Re: wxruby unfriendly to Ruby threads?

text:
Guillaume Marcais wrote:

On my system running windows I need to redefine puts as below to flush
the output:

def puts(s)
  STDOUT.puts(s)
  STDOUT.flush
end

As for the threads, how many is a bunch? I've been looking at the
scheduler and it looks to me that each time a thread is scheduled the
entire list of threads is looped through at least twice and as many as 5
times. I'm looking into other possible algorithms, but I'm a newbie so
not sure what progress I'll make. But it looks to be an interesting
problem and I believe it is solvable.

Cheers,

Wink


author: Andrew E Troup

subject: Re: R: Proxy Server for beos x86 4.0

text:
I even contacted the author who didnt respond, I doubt he is even
supporting it.  You might ask be to start including proxy software with
the beos.

arnoud denker wrote:


author: Ralph King

subject: non-linear distort

text:
Is there a way to distort more on the bottom of an image than at the top? I
can strech in one plane, but I would like most of the strech at the bottom
half of the picture.

I want to change the camera position on some very old photos. I know some
data will be missing but I can fake it with an airbrush. I am currently just
streching the lower half of the portrait and shrinkig the top half but this
leaves a lot of distortion that has to be artisticly corrected. Is there a
better way?
Ralph


author: Porter

subject: Re: non-linear distort

text:
"Ralph King" <[email]> wrote in message
news:TdV98.35996$Pz4.221431@rwcrnsc53...
I
just
this

When using your Distortion tool (it's on the Tool Palette), play with
dragging those nodes around as you press your SHIFT or COMMAND keys.  There
are lotsa additional options to be found there.  More details available in
your PSP online HELP section.

Porter


author: Jean-Luc ERNST

subject: Re: non-linear distort

text:
What do you mean by "distortion tool" ?
Could you be more precise ?
I have 7.04 french version and I suppose the terms in french are not the
same as in english.
Than you.


subject: Re: non-linear distort

text:
"Jean-Luc ERNST" <[email]> wrote in message
news:a4p62q$1es2q$[email]...

Look on your Tool Palette.  It's the third tool from the left, it looks like
a square with little dots around it.

Porter


author: Bill Schnakenberg

subject: Re: non-linear distort

text:
Jean-Luc ERNST wrote:

Its correct name is the Deformation tool.


author: Angela M. Cable

subject: Re: non-linear distort

text:
Jean-Luc ERNST wrote:

The Deformation tool is the 3rd one down from the top, between the zoom
and crop tool.  To use it, you must be working on a layer, not a
background.


subject: Re: non-linear distort

text:
"Bill Schnakenberg" <[email]> wrote in message

Yep, you've got to watch me like a hawk.  :)  I'm rather likely to call
anything, anything.  Couple days back, I was offering up some Mac commands.

Sorry about that Jean-Luc.

Porter


subject: Re: non-linear distort

text:
Ok, thank you Angela, Bill and Porter...
Deformation in French too.
As I was trying on the background, nothing happened (greyed).


author: Scott Waichler

subject: Changing font size of table notes in threeparttable

text:
Hi,

I want to change the font size of table notes in a threeparttable.  I
did the following

\renewcommand{\TPTnoteSettings}{\small
        \setlength\leftmargin{1.8em}%
        \setlength\labelwidth{1.5em}%
        \setlength\labelsep{.3em}%
}%

to get the right size, but the line leading is still too large,
appropriate for \footnotesize.  How can I make the line leading
compatible with the font?

Thanks,
Scott Waichler


author: Donald Arseneau

subject: Re: Changing font size of table notes in threeparttable

text:
"Scott Waichler" <[email]> writes:

Works for me.


text:
Donald Arseneau wrote:

Ok, I guess there's something else in my class file or document file
that is interfering.  Could this from my class file be the cause:

\renewcommand{\footnotesize}{\normalsize}

to make footnotes in the main body have normal font?

In a pinch, I used \renewcommand{\baselinestretch}{0.8} right after
\small in the \renewcommand{\TPTnoteSettings}, but I'd rather do the
right thing.

Thanks,
Scott


text:
"Scott Waichler" <[email]> writes:

That shouldn't hurt.  But do you redefine \small?  Do you redefine
anything to do with lists (in particular, causing \endlist to not
end the paragraph properly)?

Donald Arseneau                          [email]


author: Andy Voss

subject: ftp.hornet.org back

text:
OK, I guess I spoke too soon.  ftp.hornet.org is back, as well as
ftp.cdrom.com/pub/demos .  We can never tell what those wacky people at
Digital River will do with their archive.  Of course, the files were
available at ftp.scene.org/pub/mirrors/hornet all this time, but now you
don't have to worry about any broken links you had... The Hornet CDs are
still gone, of course.

-andy (phoenix/hornet)


author: Florian Haller

subject: Re: ftp.hornet.org back

text:
Andy Voss wrote:

Wouldn't they have sold those CDs for a very low price?


subject: Re: ftp.hornet.org back

text:
"Florian Haller" <[email]> wrote in message
news:[email]...

Apparently not.  Anyway, the vendor changed to BSDi (www.bsdi.com) and they
sell mostly BSD (surprise) stuff now.  Maybe they just didn't like demos, I
don't know..

-feen


author: Eric

subject: Dual 533 vs. single 667 or 733?

text:
I'm buying a Mac for the first time.  I've heard that OS X will be the first
Mac OS to fully take advantage of the dual-processsor config.  My question
is, if you had the choice between the dual 533's or a single 667, which
would you go for, assuming you're running OS X?  Disregarding the Superdrive
in the 733, and going on speed alone, what about the 733 single processor vs
dual 533's?

Also, does anyone know when OS X will come with new G4 towers?

Thanks,

Eric


author: Ripper

subject: Re: Dual 533 vs. single 667 or 733?

text:
Eric wrote:

Congrats on buying a Mac.  I'm on my third and loving it!

If you are only looking at the 2x533 vs the 677 under X, the duals will blow
(or at least should theoretically) blow the 667 out of the water.  The 733
would give them a run for the money, especially depending on how well optimized
the progs are for the G4+ in the 677 & 733.  Dual versions of the top two
should be around possibly by the end of the summer, if not earlier.  Some
rumors sites are reporting this.

OS X should ship STOCK on the towers around MWNY, August time frame, AFAIR.
That would make it like X.1 or whatever the hell they call updates now.  That's
when I'm looking at upgrading from whatever flavor of 9.1 (or higher) is
around.


author: Big Daddy DC

subject: Re: Dual 533 vs. single 667 or 733?

text:
I'm in the process of having a G4 configured now. I chose the 533DP model
for the dual processors. First, even if OS X isn't stable etc for a few
months, I do a lot of photoshop work. PS is dp-aware and will use it. I've
seen reports & benchmarks suggesting the 533DP is nearly as fast as the 733
at this point but, the author points out that OS X final (ha! what OS is
ever a final?) as well as native applications for X are not yet available.
At least not enough to show any huge difference in the speed between the
533dp and the 733.

So, if you can utilize dual processors now, or anticpate their increased
usage for what you do with your computer, get a dual and adopt a wait-&-see
attitude about OS X.

Just my opinion

----------
In article <u2eq6.11109$[email]>, "Eric"
<[email]> wrote:


author: "Bill Cunningham"

subject: New to Ada

text:
I've never used Ada but I like to check new things out. C++ and C appeal to
me Java not so much. Is Ada a compiled programming language? Is this Ada
that help Charles Babbage with his counting machine?

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----


author: Pascal Obry

subject: Re: New to Ada

text:
"Bill Cunningham" <some.net> writes:

Yes. If you want to try it look for GNAT (GNU/Ada compiler) or Aonix ObjectAda
which make available a free (yet limited) version of their compiler.

No. Ada first normalization was on 1983 named Ada83. The second norm was
from 1995 which is called Ada95 or just Ada at this point.

To learn more about Ada:

   http://www.adapower.com

Look for the AdaFAQ, but there is also plenty of resources there.

Pascal.


author: Preben Randhol

subject: Re: New to Ada

text:
On Wed, 4 Sep 2002 01:21:06 -0400, Bill Cunningham wrote:

Look at: http://www.adaic.com/whyada/WhyAda.html

To learn Ada95 go to: http://www.adapower.com/learn/
Here you can find free on-line books. I have added a list of links you
can visit below.

By the way what OS are you using?

Preben

Some links:

 Short Intro I           :  http://www.cl.cam.ac.uk/~mgk25/ada.html
 Short Intro II          :  http://www.adaic.com/whyada/

 Main Ada site           :  http://www.adapower.com/

 Online Ada 95 book      :  http://www.it.bton.ac.uk/staff/je/adacraft/
 Online Ada 95 book II   :  http://burks.bton.ac.uk/burks/language/ada/ada95.pdf
 Short Ada tutorial      :  http://goanna.cs.rmit.edu.au/~dale/ada/aln.html
 A Linux and Ada book    :  http://www.vaxxine.com/pegasoft/homes/book.html
 Other books             :  http://www.adapower.com/learn/
 Ada 95 book reviews     :  http://www.seas.gwu.edu/~mfeldman/ada95books.html

 ISO Reference Manual    :  http://www.adapower.com/rm95/
 ISO Rational Manual     :  http://www.adapower.com/rationale/
 Quality and Style Guide :  http://www.adaic.com/docs/95style/html/cover.html

 GNU Ada Compiler(GNAT)  :  http://www.gnat.com/
 GNAT for Linux, Dos,
 NetBSD, OS/2, SCO       :  http://www.gnuada.org/
 GNAT for Windows        :  http://home.trouwweb.nl/Jerry/

 GTKAda ToolKit (GTK+)   :  http://libre.act-europe.fr/GtkAda/
 GNADE Project           :  http://gnade.sourceforge.net/
 Some software projects  :

   http://freshmeat.net/browse/163/
 and
    http://sourceforge.net/softwaremap/trove_list.php?form_cat=163


author: Larry Kilgallen

subject: Re: New to Ada

text:
In article <[email]>, "Bill Cunningham" <some.net> writes:

The computer language was not around back then :-), but yes after it
was developed the language was named in honor of Babbage's coworker,
Lady Ada Lovelace.  Apparently the originators thought it was a better
name than STD-454325499638 or "Green".  It isn't easy being "Green".


author: Georg Bauhaus

subject: Re: New to Ada

text:
Pascal Obry <[email]> wrote:
:
:> Is this Ada that help Charles Babbage with his counting machine?
:
: No.

No? I though it was her on the "front picture"  on www.adapower.com,

-- georg


author: Jeffrey Carter

subject: Re: New to Ada

text:
Pascal Obry wrote:

The first Ada standard was MIL-STD 1815, 1980 Dec, "Ada 80". This was
followed by ANSI/MIL-STD 1815A, 1983 Feb, "Ada 83", which was adopted
unchanged as an ISO standard in 1987. Then came ISO/IEC 8652:1995, 1995
Jan, "Ada 95" or just "Ada". Currently work is under way to create Ada
0X.


subject: Re: New to Ada

text:
On 4 Sep 2002 06:05:10 -0600, Larry Kilgallen wrote:

Wasn't it DoD-1 see http://archive.adaic.com/docs/flyers/naming.html

Preben


subject: Re: New to Ada

text:
Georg Bauhaus <[email]> writes:

Well I misunderstood the question :). No Ada was not used by Charles Babbage
but yes Ada Byron, Lady Lovelace (1815-1852) did work with him.

Sorry for the confusion.

Pascal.


author: Mags

subject: printing problem from Quark

text:
Hope someone can help me.  I run Quark 4.1 on Win2K and print to a QMS
Colorscript 6100.  Before upgrading my system, I had NT4 and used to have
problems printing duotone EPS files placed in Quark - only way I can
describe it is that they would print out looking like the saturation setting
had been upped and the lightness had been reduced, resulting in a heavily
saturated, dark pic.  Finally, after much tweaking, swearing etc, I
discovered that the problem lay in the colour management settings in the
Printer Properties dialog box.  All I had to do was disable it and surprise
surprise, it printed fine.

However, now that I'm on Win2K, the problem has returned and because I'm now
using an updated printer driver, the printer properties have changed and I
can't seem to replicate what I did before!  I have ICM Disabled, which I'm
sure is what fixed it previously, but it's still printing wrongly.  I should
say that other EPS files print perfectly, it's only duotones that are
causing a problem. The duotones also print OK from Photoshop, so it's
something that's happening within Quark.

Does anyone else have experience of this and can suggest what to do about
it? I've already tried the online help at both QMS and Quark Forums, but to
no avail.

Mags


author: Del Tree

subject: Re: printing problem from Quark

text:
In article <O%ue7.209587$[email]>, Mags
<[email]> wrote (snipped some):

Dutones are a bugger for many laser printers and it's in the driver and
the ICM settings for your printer that you must look for a solution, not
in Quirk, which, for once, is (relatively) innocent here! :-)

We have exactly the same problem with a QMS laser under Win98SE. The
workaround we adopted was to save copies of any duotones used and
convert them to fpo lo-res cmyk tiffs or eps. That way they'll proof
correctly to any laser printer. Then simply swop them out for the actual
duotone files when the file is ripped.

I hope that helps.

Regards,


subject: Re: printing problem from Quark

text:
In article <[email]>, DOC <[email]> wrote
(snipped a bit):

I doubt it :-)

I'm not a Pagemangler user so I can only guess that you a saving the EPS
with a 1bit preview or no preview at all. I suggest you repost your
question under the subject: "PM problem with EPS previews". You're sure
to get some help from the PM users here.

Not without more information, such as:

What "elements" exactly?
If these are images what file formats are they in and how are you
bringing them into Quirk?
What printer/printer driver are you using?

Regards,


author: DOC

subject: Re: printing problem from Quark

text:
Del Tree wrote:

Hello Del, I have a couple of questions for you and I hope you can help.

First, PC PM65, I create a eps of a page 8.5x11, and then place it back in
pagemaker for inposition purpose for example, I used to get a proper low res
preview of the file. Then I had to reinstall everything...hard drive upgrade. Now
if I try to do the same thing, I get a greyed out preview of the eps. Any ideas?
I can't figure this one out. All the settings are the same.

Second, PC Quark 4.1, certain element don't like to print, they just disappear.
And the certain documents, there are no problems. If they disappear, I have to
use Quark 4.01 to output, and everthing  is fine, everytime.Any ideas?


subject: Re: printing problem from Quark

text:
"Del Tree" <[email]> wrote in message
news:mu$[email]...

Cheers Del - this is what I've been doing in the meantime while I try and
sort it out but it's a real bugger, especially when you then forget to
replace the image before sending it to print!  Glad to hear it's not just me
it happens to, though.

Thanks
Mags


author: Vic Forsman

subject: Re: printing problem from Quark

text:
"Del Tree" <[email]> wrote in message
news:[email]...

snip

It could also be an xtension conflict, so knowing the xtensions installed is
helpful. I had a similar problem under 4.1 with all of the Extensis QX-Tools
installed along with Imposition Lite. I kept my Impo Lite but limited my
QX-Tools to the ones I really used (Scaler, Layers and Open Vector) and my
problem was cleared up.

Vic Forsman


author: Peggy Coquet

subject: Re: printing problem from Quark

text:
Hello DOC --

I'm not Del, but I see he has passed on this one, so I'll tackle it. I use
PM 6.52 and 7.0 on a PC.

"DOC" <[email]> wrote in message news:[email]...
<snipped>
res
upgrade. Now
ideas?
<snipped Quark question>

Where did you create the original page? Why not just do the layout in PM,
without going through EPS? But that's aside from the preview problem.

I would guess you have set your PM preferences in File -> Preferences ->
General to "Gray Out" rather than "Standard." While this will save memory
(esp. video redraw), it does make proper placement difficult. If you need to
retain the Grayed out setting because of memory shortage, try using the
mathmatical options in the Control Palette, e.g. set the center of your EPS
to the same coordinates as the center of your page.

HTH --


author: Eric Gill

subject: Re: printing problem from Quark

text:
Vic Forsman wrote:

How does QX-Vector work for you? I've never gotten it to open anything,
on any platform, in many installations.

<snip>


subject: Re: printing problem from Quark

text:
Thanks Vic, I think that would solve the problem, I never thought of a xtension
conflict. Now it reminds me of a problem I had on a mac with Quark 4.1 and a
preview xtension. The xtension was Badia tools preview xtension. It would allow
you to preview the page will all marks and bleed. Sometimes everything would
print fine, but sometimes nothing would print. Thanks once again.

Vic Forsman wrote:


subject: Re: printing problem from Quark

text:
No, nothing like that. Only if I place a eps made in PM65 that it becomes greyed
out. All other images are fine.

Peggy Coquet wrote:


subject: Re: printing problem from Quark

text:
"Eric Gill" <[email]> wrote in message
news:[email]...

snip

I don't use it every day but I have used it and it has always brought the
eps art into Xpress as Xpress vectors. When I use it, it is generally to
import a photo into a custom shaped window that I created in Illustrator.

Vic


author: Denby Liu

subject: Diamond Stealth 64 problem.

text:
Hi,

I'm having a problem with my video card when running X-Windows.  The card is a
PCI Diamond Stealth 64 - 4MB Vram.  I can get it to run in X at 1024x768 BUT
only if I first use the s64mode.exe program to check the screen resolutions in
DOS then soft reboot and go to Linux.  It works but is a real pain to do, there
must be some way of getting around this?

I'm very shaky with the setup of Linux and X as a friend did virtually all of it
for me so if you know the answer to my problem please can you give paths to
files, etc. if required.

Extra information that may help is that when X refuses to work in 1024x768 the
SuperProbe program reports that the max. clock speed is 28.  When it does work
it reports approx 67.  This completely baffled my friend and he hasn't a clue
either.

Other possibilites that we thought is that the video card's bios needs updating.


author: Mark Litwack

subject: Re: Diamond Stealth 64 problem.

text:
In article <[email]>, [email] (Denby Liu) writes:
|> Hi,
|>
|> I'm having a problem with my video card when running X-Windows.  The card is a
|> PCI Diamond Stealth 64 - 4MB Vram.  I can get it to run in X at 1024x768 BUT
|> only if I first use the s64mode.exe program to check the screen resolutions in
|> DOS then soft reboot and go to Linux.  It works but is a real pain to do, there
|> must be some way of getting around this?
|>[stuff deleted]

I have a Diamond Stealth 64 PCI with 4M VRAM
(BT485AKPJ135 RAMDAC, S3 86C964-P, 2061ASC clock).
Sounds like the same setup and I couldn't get it
to work either.

The S3 server is broken.  I've managed to get it working
by patching some constants in the binary, but it wasn't
pleasant.

I believe the problem is that the server is making some
wrong assumptions about the maximum clock speed with
the 964 chip.  A patch came out in November that fixed
it for the 864 chip but I don't think it took the 964
into account.  (At least that's my theory.)

I'm trying to build a working server from the source so
I can submit a fix, but I'm having trouble with the linker.
Hopefully I can get it to work this weekend now that I have
the latest GCC package.

-mark


author: Harald Koenig

subject: Re: Diamond Stealth 64 problem.

text:
In <[email]> [email] (Denby Liu) writes:

SuperProbe doesn't report clock values, the X server XF86_S3 does (and shouldn't).

another possibility would be reading some XFree86 docs like README.S3 and
README.Config ;-)

There you can find some clues that for cards using prgrammable clock chips
you've to use a clockchips line, for your card

	ClockChip "icd2061a"

should be ok.

since you said that your card has 4MB VRAM I'd like to get some more informations
to understand a problem with another 4MB VRAM card:

what's the exact and complete label of your ramdac (bt485 or att 20c505 I assume)?

will 1024x768 at 32bpp (TrueColor) work with RamDac "bt485" ?
will it work with RamDac "att20c505" ?

Thanks,
Harald


author: Dennis Bayrock

subject: Unusual mount problem

text:
I am trying to view an NTFS (Win NT 4) partition with RedHat 7.0 with
kernel 2.4.3.

1. The NTFS partition mounts correctly in console as root - I can cd and view
the directory structure and files in that partition.

2. When I run MC and try to view the same partition - I can't see
ANYTHING (Yes I am navigating to the right place in the filesystem)

3. When I exit MC and run X (Gnome 1.0) - I still can't see anything with
GMC.

4. When I run a console in X - no problem! I can cd and see everything
etc in the console session.

Anyone have any ideas what is going on?


author: [redacted]

subject: Re: Unusual mount problem

text:
In comp.os.linux.setup Dennis Bayrock <[email]> wrote:

Well, since it's working in the console I think that the mount
is working well. Maybe is a problem related to MC/Gnome, but
I can't see a way to solve it.

BTW, I have an NTFS partition on my machine and I can see it
in KDE, so maybe is a problem of Gnome.

Davide


author: Optiker

subject: Re: Unusual mount problem

text:
Davide...

I am a real newbie with Linux so have some very basic questions. I am
running RH7 and KDE. Linux is dualbooted with Win2000Pro on a Micron 1.2 GHz
Athlon. What do I need to do to be able to read files on my Win2000 NTFS
partition from my Linux partition? When I use File Manager in KDE I see
several drives mounted - CD, floppy, Zip, but if I insert a Zip cartridge,
for example, don't see anything on it. I also have a Jaz drive that I don't
see in File Manager, and I also don't see - or at least don't know where to
look for - my Win2000 partition.

RH7 was installed by my company's Unix/Linux tech, so I am not really up to
speed yet on it. He's good, but he's not a teacher.

I haven't done anything about mounting anything that isn't already mounted.
I've read a little about autofs, but don't really know if it's on my
machine, or if it is, how to use it. I barely understand the Linux file
system. I am a pretty experienced DOS/Win user, but never used Linux/UNIX
before, so am just getting started.

Can you give me any specific instructions as to how to access my Win2000
partition (and also shared network drives) from Linux? I do understand that
NTFS is read-only at this time, but that's OK for now.

Thanks!
Optiker

<[email]> wrote in message
news:9ah1b0$5675b$[email]...
<[email]> wrote:
with


author: paranoia

subject: Re: Unusual mount problem

text:
to mount a windows drive, first use the file manage and look in /mnt/ for
a windows directory, it probably there. actually in the file system , all
of your drive (zip, cd what ever) are listed in the /mnt directory. if
its not there go to google.com and search for a how to. it not hard, but
i dont recall exactly how to do it
rob

In article <9ai334$58u51$[email]>, "Optiker"
<[email]> wrote:


author: Stuart

subject: Re: Unusual mount problem

text:
you can recompile your kernel to allow NTFS support.  or you might beable
to add the module in your /etc/moduleconf    (does redhat's standard kernel
have that build in as a module?).  I would recompile the kernel to 2.4.3.
The NTFS will be read only thou   so you will have to save changes to
floppies.

Stuart


author: Eric en Jolanda

subject: Re: Unusual mount problem

text:
I'm not going to follow this ridiculous amount of crossposts.
You shouldn't either, so don't post in so many NG's.

There are several sites that can teach you all about NG posting.
Start reading there.

GHz

You need to mount that partition
(man mount) You will need support for the ntfs filesystem in your kernel.
I can't tell if you have it, you may need to compile that first.

it's an empty disc?
Is it not mounted?
(try the mount command without any options)

Ask the guy that installed it whether he built in support for this.

to

if you don't even know, how could we?
We don't have access to your PC

to

There are manpages and howto's that can teach you a lot.
And you should buy a book on *NIX just to get familiar with the basics.

mounted.

that might explain why you don't see anything on that zip drive.

There's no need to know much about this for you right now.

you can't tell :-)

that

`/sbin/fdisk -l /dev/[hs]d[a-z]`
will show you the partitiontables of your discs.
Look for the NT one (probably hda1)

then mount it:

mount -t ntfs /dev/hda1 /mnt/win2k

There can be lots of reasons why this could fail, but try it.
mount gives pretty good comment about what has failed.

Eric


author: Warren Hrach

subject: Re: Unusual mount problem

text:
Eric,
   Good advice except that assumes he has a dir under /mnt named win2k.
You should have included a note to say 'do an ls of /mnt and see if there is a
dir for win2k'  'if not run mkdir /mnt/win2k'.
Warren
                 | Warren Hrach, Moderator Fido Linux-user echo |
                 |        BBBS and Linux lives here             |
                 |  BBS (619}224-4878 telnet/http, ask for add. |


author: DD

subject: weeknumber in sql??

text:
Hi there,

 I am working on a sql-query and I need to know the weeknumber of a given
 date. Could anyone please help me with this.

 Thanks in advance,

Arjen


author: Jerry Boone

subject: Re: weeknumber in sql??

text:
Access or Sql Server?

For Sql Server you can do this:

SELECT 'Week ' + datename(wk, myTable.myField)) AS 'someWeek'
FROM myTable

As for Access - I looked around for a while, but didn't see any built in
functions that would do it.  One of the others recommendations might work
there.

"DD" <[email]> wrote in message
news:bntsn3$75i$[email]...


author: Tom van Stiphout

subject: Re: weeknumber in sql??

text:
On Fri, 31 Oct 2003 15:48:03 +0100, "DD" <[email]> wrote:

Use the DateDiff function, especially the last two arguments.
Reasonable people can disagree on what constitutes week 1. Make sure
you make the right selection for your situation.

-Tom.


author: Roberto Spier

subject: Re: weeknumber in sql??

text:
Something like this?

SELECT [theDate] & " is in  " & Format([theDate],"w") & "th wheek of year"
AS Weekday FROM theTable;

"DD" <[email]> escreveu na mensagem
news:bntsn3$75i$[email]...


author: Pieter Linden

subject: Re: weeknumber in sql??

text:
"DD" <[email]> wrote in message news:<bntsn3$75i$[email]>...

Something like...
Public Function WeekNumber(ByVal dtDate As Date) As Integer
    WeekNumber = DateDiff("w", DateSerial(Year(dtDate), 1, 1), dtDate) + 1

End Function

...maybe?

Or were you thinking of a pure SQL function?


author: Peter Caylor

subject: Invoicing in FoxBase

text:
Ok this is a very simple little problem with a twist.

I would like to create a database of invoices with product information
looked up from a inventory file.  So far so good.  Now I would like to be
able to perform searches in the invoice file for a particular product.  To
illustrate:

Invoice #
Customer

Product #      Name          Price
----------------------------------
About 15 to 20 Products per invoice.

Now the user should be able to search by invoice # or customer name or
(hard part) a product # or name.

Since the products can be entered in any order on the invoice, it would be
impratical to create separate fields for each line in the invoice and
search them manually.  Should I create a line items database indexed on
invoice #, product #, name...? This could work but would make exporting
data difficult.

Any suggestions? (Or even better, has someone done something like this
before?)

-Peter Caylor


author: Aaron L. Bratcher

subject: Re: Invoicing in FoxBase

text:
In article <caylor-010493111855@131.215.44.59>, [email]
(Peter Caylor) wrote:

My Invoice system DBs are setup as follows:

-Name db with name info and a namekey field
-Invoice db with invoice#, namekey and misc (po#,shipping,amt due, etc.)
-Trans db with invoice#, product#, qty, and price at time of purchase
-Inventory db with product#, current price, qty in stock, etc.

With these 4 dbs setup in this way, you can do all that you are asking.
When you run an invoice, you make the trans db your master db with
relations into invoice and inventory and from invoice into name; running
for a specific invoice# gives you an invoice.


author: David Weingart

subject: Re: Invoicing in FoxBase

text:
In article <caylor-010493111855@131.215.44.59>, [email] (Peter Caylor) writes:
|>
|> Ok this is a very simple little problem with a twist.
|>
|> I would like to create a database of invoices with product information
|> looked up from a inventory file.  So far so good.  Now I would like to be
|> able to perform searches in the invoice file for a particular product.  To
|> illustrate:
|>
|> Invoice #
|> Customer
|>
|> Product #      Name          Price
|> ----------------------------------
|> About 15 to 20 Products per invoice.
|>
|>
|> Now the user should be able to search by invoice # or customer name or
|> (hard part) a product # or name.
|>
|> Since the products can be entered in any order on the invoice, it would be
|> impratical to create separate fields for each line in the invoice and
|> search them manually.  Should I create a line items database indexed on
|> invoice #, product #, name...? This could work but would make exporting
|> data difficult.
|>
|> Any suggestions? (Or even better, has someone done something like this
|> before?)

Setting an index field means the database is searched in that order.

For example lets say you have the fields above as indices in the database

use mydbf index invnum,custname,prodnum,prodname

opens the database mydbf.dbf with the index files in place

set order to 1 : see in order of invoice number
"   "      " 2 : see in order of customer name
"   "      " 3 : see in order of product number
"    "     " 4 : see in order of product name

let say that you want a printed list of all products with a certain name:

@ 1,1 say "Enter product name >" get foo
set order to 4
seek foo
if !found()
   alert 2 caution "No match"
else
   repo form bar to print while prod_name=foo
endif

If this isn't specific enough, I'll be glad to elaborate!


author: "Dmitry L. Gringauz"

subject: Re: 4.2 ship date and being charged

text:
By God, you  are confused, and a lot, too.

When I got called about the Coherent club membership, I was told  that
the cost of the membership is $50.00 (at the time, it also included the
Cohware V and free X-windows).  That amount got charged right away (in my
case).

I was also told  that, as soon as 4.2 comes out, I will automatically
be send  the upgrade at a  reduced price (that is, I'll be billed for
it at the time of shipping, and that is holding, unfortunately  (hint,
hint 8-) )).

All these conditions were made very  clear to me at the time of the
phone call, and things happened precisely as they were described to
me (so far).

They did not.  If you did, in fact, join the club, what you got charged
for is club  membership.  The charge for the upgrade will show  up when
it is shipped.


author: Bruce Bigby

subject: Re: 4.2 ship date and being charged

text:
In article [email], [email] ("Dmitry L. Gringauz") writes:

Dmitry is correct.  MWC also charged me early.  I paid $53.00 dollars to be
a member of Coherent club on 6/21/93 and to receive Cohware.  MWC recently made
2 additional charges, one for $48.00 and the other for $9.00 on 9/9/93.  This
is for the 4.2 upgrage + X Windows, etc.