tcl-mac

DEPARTMENT OF PETROLEUM RESOURCES
PLOT 225 KOFO ABAYOMI STREET VICTORIA ISLAND,LAGOS, NIGERIA.
DIRECT FAX: Fax: 234-1-7590904 . TEL; 234 1- 7762182
ATTENTION : THE PRESIDENT/C.E.O
RE: URGENT & CONFIDENTIAL BUSINESS PROPOSAL
Dear Sir,
Terms of Reference
My term of reference involves the award of contracts to
multinational companies.
My office is saddled with the responsibility of contract award,
screening, categorization and prioritization of projects embarked
upon by Department of Petroleum Resources (DPR) as well as
feasibility studies for selected projects and supervising the
project consultants involved. A breakdown of the fiscal expenditure
by this office as at the end of last fiscal quarter of 2000
indicates that DPR paid out a whooping sum of US$736M(Seven Hundred
And Thirty Six Million, United States Dollars) to successful
contract beneficiaries. The DPR is now compiling beneficiaries to be
paid for the first Quarter of 2002.
The crux of this letter is that the finance/contract department of
the DPR deliberately over invoiced the contract value of the
various contracts awarded. In the course of disbursements, this
department has been able to accumulate the sum of US$38.2M(Thirty-
eight Million, two hundred Thousand U.S Dollars) as the over-
invoiced sum. This money is currently in a suspense account of the
DPR account with the Debt Reconciliation Committee (DRC). We now
seek to process the transfer of this fund officially as contract
payment to you as a foreign contractor, who will be fronting for us
as the beneficiary of the fund. In this way we can facilitate these
funds into your nominated account for possible investment abroad. We
are not allowed as a matter of government policy to operate any
foreign account to transfer this fund into.
However, for your involvement in assisting us with this transfer
into your nominated account we have evolved a sharing formula as
follows:
(1) 20% for you as the foreign partner
(2) 75% for I and my colleagues
(3) 5% will be set aside to defray all incidental expenses both
Locally and Internationally during the course of this transaction.
We shall be relying on your advice as regard investment of our share
in any business in your country. Be informed that this business is
genuine and 100% safe considering the high-power government
officials involved. Send your private fax/telephone numbers. Upon
your response we shall provide you with further information on the
procedures. Feel free to send response by Fax: 234-1-7590904 / TEL:
234-1-7762182 expecting your response urgently. All enquiries should
be directed to the undersigned by FAX ,E-MAIL OR PHONE.
Looking forward to a good business relationship with you.
Sincerely,
ENGR. MORGAN ABU

Dear Friend & Future Millionaire:
AS SEEN ON NATIONAL TV:
Making over half million dollars every 4 to 5 months from your home for an investment of only $25 U.S. Dollars
expense one time.
THANK'S TO THE COMPUTER AGE AND THE INTERNET!
==========================================================================================================
BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say ''Bull'', please read the following.
This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet,
a national weekly news program recently devoted an entire show to the investigation of this program described
below, to see if it really can make people money. The show also investigated whether or not the program was legal.
Their findings proved once and for all that there are ''absolutely NO Laws prohibiting the participation in the
program and if people can - follow the simple instructions, they are bound to make some mega bucks with only
$25 out of pocket cost''. DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS
PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER. This is what
one had to say: ''Thanks to this profitable opportunity. I was approached many times before but each time I
passed on it. I am so glad I finally joined just to see what one could expect in return for the minimal effort and
money required. To my astonishment, I received total $ 610,470.00 in 21 weeks, with money still coming in." Pam
Hedland, Fort Lee, New Jersey.
===========================================================================================================
Here is another testimonial: "This program has been around for a long time but I never believed in it. But one day
when I received this again in the mail I decided to gamble my $25 on it. I followed the simple instructions and
walaa . 3 weeks later the money started to come in. First month I only made $240.00 but the next 2 months after
that I made a total of $290,000.00. So far, in the past 8 months by re-entering the program, I have made over
$710,000.00 and I am doing it again. The key to success in this program is to follow the simple steps and NOT
change anything.'' More testimonials later but first,
============================ PRINT THIS NOW FOR YOUR FUTURE REFERENCE ==========================
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
If you would like to make at least $500,000 every 4 to 5 months easily and comfortably, please read the following
THEN READ IT AGAIN and AGAIN!!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME
TRUE, GUARANTEED! INSTRUCTIONS:
====================================Order all 5 reports shown on the list below =================================
For each report, send $5.00 CASH, THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING and
YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report. MAKE
SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail
problems. When you place your order, make sure you order each of the 5 reports. You will need all 5 reports so
that you can save them on your computer and resell them. YOUR TOTAL COST $5 X 5=$25.00. Within a few
days you will receive, vie e-mail, each of the 5 reports From these 5 different individuals. Save them on your
computer so they will be accessible for you to send to the 1,000's of people who will order them from you. Also
make a floppy of these reports and keep it on your desk in case something happen to your computer.
IMPORTANT - DO NOT alter the names of the people who are listed next to each report, or their sequence on
the list, in any way other than what is instructed below in step '' 1 through 6 '' or you will loose out on majority of
your profits. Once you understand the way this works, you will also see how it does not work if you change it.
Remember, this method has been tested, and if you alter, it will NOT work !!! People have tried to put their
friends/relatives names on all five thinking they could get all the money. But it does not work this way. Believe us,
we all have tried to be greedy and then nothing happened. So Do Not try to change anything other than what is
instructed. Because if you do, it will not work for you. Remember, honesty reaps the reward!!!
1......After you have ordered all 5 reports, take this advertisement and REMOVE the name & address of the
person in REPORT # 5. This person has made it through the cycle and is no doubt counting their fortune.
2......Move the name & address in REPORT # 4 down TO REPORT # 5.
3.....Move the name & address in REPORT # 3 down TO REPORT # 4.
4.....Move the name & address in REPORT # 2 down TO REPORT # 3.
5.....Move the name & address in REPORT # 1 down TO REPORT # 2
6.....Insert YOUR name & address in the REPORT # 1 Position. PLEASE MAKE SURE you copy every name &
address ACCURATELY!
==============================================================================================================
Take this entire letter, with the modified list of names, and save it on your computer. DO NOT MAKE ANY
OTHER CHANGES. Save this on a disk as well just in case if you loose any data. To assist you with marketing
your business on the Internet, the 5 reports you purchase will provide you with invaluable marketing information
which includes how to send bulk e-mails legally, where to find thousands of free classified ads and much more.
There are 2 Primary methods to get this venture going: METHOD # 1: BY SENDING BULK E-MAIL LEGALLY
======================================================================================
Let's say that you decide to start small, just to see how it goes, and we will assume You and those involved send
out only 5,000 e-mails each. Let's also assume that the mailing receive only a 0.2% response (the response could
be much better but lets just say it is only 0.2%. Also many people will send out hundreds of thousands e-mails
instead of only 5,000 each). Continuing with this example, you send out only 5,000 e-mails. With a 0.2% response,
that is only 10 orders for report # 1. Those 10 people responded by sending out 5,000 e-mail each for a total of
50,000. Out of those 50,000 e-mails only 0.2% responded with orders. That's=100 people responded and ordered
Report # 2. Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails. The 0.2% response to
that is 1000 orders for Report # 3.Those 1000 people send out 5,000 e-mails each for a total of 5million e-mails
sent out. The 0.2% response to that is 10,000 orders for Report # 4. Those 10,000 people send out 5,000 e-mails
each for a total of 50,000,000(50 million) e-mails. The 0.2% response to that is 100,000 orders for Report # 5
THAT'S 100,000 ORDERS TIMES $5 EACH=$500,000.00 (half million).
Your total income in this example is:
1.... $50 +
2.... $500 +
3.... $5,000 +
4.. $50,000 +
5.... $500,000 Grand Total=$555,550.00
NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE
RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF
MONEY !
================================================================================================================
REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU
MAILED TO. Dare to think for a moment what would happen if everyone or half or Even one 4th of those
people mailed 100,000e-mails each or more? There are over 150 million people on the Internet worldwide and
counting. Believe me, many people will do just that, and more! METHOD # 2 : BY PLACING FREE ADS ON
THE INTERNET
================================================================================================================
Advertising on the net is very inexpensive and there are hundreds of FREE places to advertise. Placing a lot of free
ads on the Internet will easily get a larger response. We strongly suggest you start with Method # 1 and add
METHOD # 2 as you go along. For every $5 you receive, all you must do is e-mail them the Report they ordered.
That's it. Always provide same day service on all orders. This will guarantee that the e-mail they send out, with
your name and address on it, will be prompt because they can not advertise until they receive the report.
==========================================AVAILABLE REPORTS=================================================
ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes: Always send $5 cash (U.S.
CURRENCY) for each Report. Checks NOT accepted. Make sure the cash is concealed by wrapping it in at
least 2 sheets of paper. On one of those sheets of paper, Write the NUMBER & the NAME of the Report you
are ordering, YOUR E-MAIL ADDRESS and your name and postal address. PLACE YOUR ORDER FOR
THESE REPORTS NOW :
=================================================================================================================
REPORT # 1:
"The Insider's Guide to Advertising for Free on the Net" Order Report #1 from:
Fairhand
Elizabeth House
Meopham
Kent DA13 0AJ
UK
=================================================================================================================
REPORT # 2:
"The Insider's Guide to sendind Bulk Email on the Internet" Order Report #2 from:
DL Toney
34 Elm Crescent
East Malling
Kent
UK
=================================================================================================================
REPORT # 3:
"The Secrets to Multilevel Marketing on the Internet" Order Report # 3 from:
The PW Company
PMB #217
5250 Grand Ave, Suite #14
Gurnee, IL 60031-1877 USA
=================================================================================================================
REPORT # 4:
"How to Become a Millionaire Utilizing MultiLevel Marketing & the Internet" Order Report # 4 from:
Doug Berry
520 Broadmeadow
Rantoul, IL 61866
USA
=================================================================================================================
REPORT # 5:
"How to send 1,000,000 Emails For Free" Order Report # 5 from:
Aaron Joseph
P.O Box 21155
Columbia Heights, MN 55421
USA
==================================================================================================================
$$$$$$$$$$$$$$$$$$$$$$$$$$$ YOUR SUCCESS GUIDELINES$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Follow these guidelines to guarantee your success: If you do not receive at least 10 orders for Report #1 within 2
weeks, continue sending e-mails until you do. After you have received 10 orders, 2 to 3 weeks after that you
should receive 100 orders or more for REPORT # 2. If you did not, continue advertising or sending e-mails until
you do. Once you have received 100 or more orders for Report # 2, YOU CAN RELAX, because the system is
already working for you, and the cash will continue to roll in ! THIS IS IMPORTANT TO REMEMBER: Every
time your name is moved down on the list, you are placed in Front of a Different report. You can KEEP TRACK
of your PROGRESS by watching which report people are ordering from you. IF YOU WANT TO GENERATE
MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS AGAIN.
There is NO LIMIT to the income you can generate from this business !!!
===================================================================================================================
FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS PROGRAM: You have just received
information that can give you financial freedom for the rest of your life, with NO RISK and JUST A LITTLE BIT
OF EFFORT. You can make more money in the next few weeks and months than you have ever imagined. Follow
the program EXACTLY AS INSTRUCTED. Do Not change it in any way. It works exceedingly well as it is now.
Remember to e-mail a copy of this exciting report after you have put your name and address in Report #1 and
moved others to #2 thru # 5 as instructed above. One of the people you send this to may send out 100,000 or
more e-mails and your name will be on every one of them. Remember though, the more you send out the more
potential customers you will reach. So my friend, I have given you the ideas, information, materials and
opportunity to become financially independent. IT IS UP TO YOU NOW !
=========================================== MORE TESTIMONIALS ===============================================
"My name is Mitchell. My wife, Jody and I live in Chicago. I am an accountant with a major U.S. Corporation and
I make pretty good money. When I received this program I grumbled to Jody about receiving ''junk mail''. I made
fun of the whole thing, spouting my knowledge of the population and percentages involved. I ''knew'' it wouldn't
work. Jody totally ignored my supposed intelligence and few days later she jumped in with both feet. I made
merciless fun of her, and was ready to lay the old ''I told you so'' on her when the thing didn't work. Well, the
laugh was on me! Within 3 weeks she had received 50 responses. Within the next 45 days she had received total $
147,200.00 all cash! I was shocked. I have joined Jody in her ''hobby''.
Mitchell Wolf M.D., Chicago, Illinois
================================================================================================================
''Not being the gambling type, it took me several weeks to make up my mind to participate in this plan. But
conservative that I am, I decided that the initial investment was so little that there was just no way that I wouldn't
get enough orders to at least get my money back''. '' I was surprised when I found my medium size post office
box crammed with orders. I made $319,210.00 in the first 12 weeks. The nice thing about this deal is that it does
not matter where people live. There simply isn't a better investment with a faster return and so big."
Dan Sondstrom, Alberta, Canada
======================================================================================
''I had received this program before. I deleted it, but later I wondered if I should have given it a try. Of course, I
had no idea who to contact to get another copy, so I had to wait until I was e-mailed again by someone
else........11 months passed then it luckily came again I did not delete this one! I made more than $490,000 on my
first try and all the money came within 22 weeks."
Susan De Suza, New York, N.Y.
======================================================================================
''It really is a great opportunity to make relatively easy money with little cost to you. I followed the simple
instructions carefully and within 10 days the money started to come in. My first month I made $20,560.00 and by
the end of third month my total cash count was $362,840.00. Life is beautiful, Thanx to Internet."
Fred Dellaca, Westport, New Zealand
======================================================================================
ORDER YOUR REPORTS TODAY AND GET STARTED ON 'YOUR' ROAD TO
FINANCIAL FREEDOM !
======================================================================================
If you have any questions of the legality of this program, contact The Office of Associate Director for Marketing
Practices, Federal Trade Commission, Bureau of Consumer Protection, Washington, D.C
To be taken OFF of our list of people that will make money on this deal click here
[XAqRukkTvqj6-2f71hC2jCJ7-6UM96UHKI3StBLRYAMHOdUR4C]

When I'm using my own code, typically:
CGContextSetLineWidth(c, style->strokeWidth);
CGContextBeginPath(gPathCGContext);
CGContextMoveToPoint(gPathCGContext, x, y);
CGContextAddLineToPoint(gPathCGContext, x, y);
etc...
where strokeWidth is a float and no antialiasing:
strokeWidth [0 2] line width is always 2 pixels
strokeWidth ]2 4] line width is always 4 pixels
Very strange!
If I use the 10.2 build of 8.4.9 and
pack [canvas .c]
.c create line 10 10 100 10 -width 1
I also get a 2 pixel wide line.
I'm on a 10.2.8 system.
Mats
--------------------------------------------
Mats,
I haven't actually tried this on 10.2, but using 8.4.9 on 10.3, the one
pixel line - for instance by doing:
canvas .c
.c create line 10 10 80 80 -width 1
definitely draws a 1-pixel wide line. You can see this clearly if you
use the screen magnification under the Universal Access System
Preference tab. There is also no anti-aliasing at this width, again
this is clearly seen if you magnify the screen.
Are you using XDrawLine, or are you rolling your own code using CG?
Jim
On Mar 12, 2005, at 12:23 AM, Mats Bengtsson wrote:
>
>I was testing this 10.2 build and noted that it cannot draw 1 pixel wide
>lines.
>Minimum width seems to be 2 pixels. This is also my experience when coding
>in CoreGraphics not using antialiasing. Otherwise I'm still at 8.4.6 on
>10.2
>
>Questions:
>1) Is this (all) build using CG for drawing?
>2) Is anyone aware of a way to draw one pixel wide lines in CG without
>antialiasing
>
>Thing is I'm working on an extended drawing package and would like this to
>work
>on mac as well.
>
>/Mats
_________________________________________________________________
Hitta rätt på nätet med MSN Sök http://search.msn.se/

Humm, sounds like that is a bug in Mac OS X 10.2, then? Does the line=20=
look anti-aliased on 10.2 as well? On 10.3 the one drawn with the=20
canvas is definitely not anti-aliased.
Jim
On Mar 13, 2005, at 2:34 AM, Mats Bengtsson wrote:
>
> When I'm using my own code, typically:
> CGContextSetLineWidth(c, style->strokeWidth);
> CGContextBeginPath(gPathCGContext);
> CGContextMoveToPoint(gPathCGContext, x, y);
> CGContextAddLineToPoint(gPathCGContext, x, y);
> etc...
> where strokeWidth is a float and no antialiasing:
>
> strokeWidth [0 2] line width is always 2 pixels
> strokeWidth ]2 4] line width is always 4 pixels
>
> Very strange!
>
> If I use the 10.2 build of 8.4.9 and
> pack [canvas .c]
> .c create line 10 10 100 10 -width 1
> I also get a 2 pixel wide line.
>
> I'm on a 10.2.8 system.
>
> Mats
>
> --------------------------------------------
> Mats,
>
> I haven't actually tried this on 10.2, but using 8.4.9 on 10.3, the =
one
> pixel line - for instance by doing:
>
> canvas .c
> .c create line 10 10 80 80 -width 1
>
> definitely draws a 1-pixel wide line. You can see this clearly if you
> use the screen magnification under the Universal Access System
> Preference tab. There is also no anti-aliasing at this width, again
> this is clearly seen if you magnify the screen.
>
> Are you using XDrawLine, or are you rolling your own code using CG?
>
> Jim
>
> On Mar 12, 2005, at 12:23 AM, Mats Bengtsson wrote:
>
>>
>> I was testing this 10.2 build and noted that it cannot draw 1 pixel=20=
>> wide lines.
>> Minimum width seems to be 2 pixels. This is also my experience when=20=
>> coding
>> in CoreGraphics not using antialiasing. Otherwise I'm still at 8.4.6=20=
>> on 10.2
>>
>> Questions:
>> 1) Is this (all) build using CG for drawing?
>> 2) Is anyone aware of a way to draw one pixel wide lines in CG=20
>> without antialiasing
>>
>> Thing is I'm working on an extended drawing package and would like=20
>> this to work
>> on mac as well.
>>
>> /Mats
>
> _________________________________________________________________
> Hitta r=E4tt p=E5 n=E4tet med MSN S=F6k http://search.msn.se/
>
>
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Jim Ingham =20
jingham@...
Developer Tools - gdb

The line is not anti-aliased. Drawing anti-aliased lines seems to produce
the expected results with expected approximate widths.
Philip:
------------------
If you take a peek at the TclOSA example on my site <http://www.aker.ca&gt; in
OSA Components -> UI Screenshots -> last example: "Images", the greenish
overlay with the caption "Festival" is using CGContextStrokeRectWithWidth()
with width set to 1. There are a few differences due to clip factors and
screen res, but in my experience CG calls always render the stroke width as
specified. The screenshots were taken on 10.2.8.
-----------------
Never tested anyting else than the path drawing apis. Perhaps there is a
difference?
But that seems very weird.
AquaTk's CG drawing seem to use path apis most of the time anyway.
Mats
>
>Humm, sounds like that is a bug in Mac OS X 10.2, then? Does the line look
>anti-aliased on 10.2 as well? On 10.3 the one drawn with the canvas is
>definitely not anti-aliased.
>
>Jim
>
>On Mar 13, 2005, at 2:34 AM, Mats Bengtsson wrote:
>
>>
>>When I'm using my own code, typically:
>> CGContextSetLineWidth(c, style->strokeWidth);
>> CGContextBeginPath(gPathCGContext);
>> CGContextMoveToPoint(gPathCGContext, x, y);
>> CGContextAddLineToPoint(gPathCGContext, x, y);
>>etc...
>>where strokeWidth is a float and no antialiasing:
>>
>>strokeWidth [0 2] line width is always 2 pixels
>>strokeWidth ]2 4] line width is always 4 pixels
>>
>>Very strange!
>>
>>If I use the 10.2 build of 8.4.9 and
>>pack [canvas .c]
>>.c create line 10 10 100 10 -width 1
>>I also get a 2 pixel wide line.
>>
>>I'm on a 10.2.8 system.
>>
>>Mats
>>
>>--------------------------------------------
>>Mats,
>>
>>I haven't actually tried this on 10.2, but using 8.4.9 on 10.3, the one
>>pixel line - for instance by doing:
>>
>>canvas .c
>>.c create line 10 10 80 80 -width 1
>>
>>definitely draws a 1-pixel wide line. You can see this clearly if you
>>use the screen magnification under the Universal Access System
>>Preference tab. There is also no anti-aliasing at this width, again
>>this is clearly seen if you magnify the screen.
>>
>>Are you using XDrawLine, or are you rolling your own code using CG?
>>
>>Jim
>>
>>On Mar 12, 2005, at 12:23 AM, Mats Bengtsson wrote:
>>
>>>
>>>I was testing this 10.2 build and noted that it cannot draw 1 pixel wide
>>>lines.
>>>Minimum width seems to be 2 pixels. This is also my experience when
>>>coding
>>>in CoreGraphics not using antialiasing. Otherwise I'm still at 8.4.6 on
>>>10.2
>>>
>>>Questions:
>>>1) Is this (all) build using CG for drawing?
>>>2) Is anyone aware of a way to draw one pixel wide lines in CG without
>>>antialiasing
>>>
>>>Thing is I'm working on an extended drawing package and would like this
>>>to work
>>>on mac as well.
>>>
>>>/Mats
>>
>>_________________________________________________________________
>>Hitta rätt på nätet med MSN Sök http://search.msn.se/
>>
>>
>_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>Jim Ingham
>jingham@...
>Developer Tools - gdb
>
_________________________________________________________________
Chat: Ha en fest på Habbo Hotel
http://habbohotel.msn.se/habbo/sv/channelizer Checka in här!

In the GUI script posted earlier, where .top, .cf etc are frames, I find
removing the "-in .top" from the pack command arguments in the following
lines solves the problem of visual shimmering mentioned in my previous =
mail.
pack .cf -in .top -side top
pack .tof -in .top -side bottom -expand 1 -fill both;
pack .tif -in .top -side bottom -expand 1 -fill both;
pack .top -expand 1 -fill both
This does appear to be a bug with TkAqua, at least worthy of further
investigation. I wonder if it is a known problem?
A more straight-forward problem exhibited by the script is illustrated =
with:
menu .m -tearoff 0
.m add command Hello -command "tk_messageBox -message Hello"
. configure -menu .m
menu .m.a
.m add cascade -menu .m.a -label Goodbye
Goodbye appears in the menu bar, Hello does not. This is not the same
behaviour as Windows XP, (unless the "-tearoff 0" is omitted). It is
possible that this is a limitation of MacOS X. I don't believe I've =
ever
seen a menu bar item that doesn't post a menu.
Finally, you might like to know that the value of =
$tcl_platform(platform) on
MacOS X is "unix", for reasons that are probably obvious. I find the =
most
convenient way of distinguishing the visual environment is the "tk
windowingsystem" command, which returns x11, aqua, or win32.
Hope this helps,
Alastair

Here's a cut-down script that exhibits the visual shimmer of the
originally-reported problem. When created, the right-hand side of the
window is continually moving left and right, together with the =
right-hand
side of the second text box. The shimmer ceases as soon as the window =
is
manually resized. =20
I can type in either text box whilst the shimmer continues, and, if I =
type
enough carriage returns to create the scrollbars, the scroll bars appear =
and
disappear with the shimmer.
This is with either core-8-4-branch or TOT, on MacOS X 10.2.8. I must
admit, the reason I am interested in this bug report is that I have
experienced it myself in our application a while back, but, since it is =
easy
to work around, thought no more about it.
I would be interested to know if this script reproduces the problem on =
other
machines.
Kind regards,
Alastair
proc SetBoth {a b} {
.cf.sbarleft set $a $b;
.cf.sbarright set $a $b;
}
proc YViewBoth {args} {
set ac [llength $args];
set a [lindex $args 0]
set b [lindex $args 1]
if {$ac =3D=3D 3} {
set c [lindex $args 2]
.cf.inp yview $a $b $c;
.cf.out yview $a $b $c;
} else {
.cf.inp yview $a $b;
.cf.out yview $a $b;
}
}
frame .top
frame .cf
scrollbar .cf.sbarleft -command {YViewBoth}=20
scrollbar .cf.sbarright -command {YViewBoth}=20
text .cf.inp -yscrollcommand {SetBoth} \
-width 30 -height 10 -relief sunken -bd 2
text .cf.out -yscrollcommand {SetBoth} \
-width 30 -height 10 -relief sunken -bd 2
pack .cf -expand 1 -fill both
pack .cf.sbarleft -side left -expand 0 -fill y
pack .cf.sbarright -side right -expand 0 -fill y
pack .cf.inp -side left -expand 1 -fill both
pack .cf.out -side right -expand 1 -fill both
pack .cf -side top -expand 1 -fill both -in .top
pack .top -expand 1 -fill both
-----Original Message-----
From: Alastair Davies
Sent: 18 April 2005 09:17
Hello Bill, Kevin, et al.
I have run the script Bill posted at the start of this c.l.t thread on =
my=20
MacOS X 10.2.8 system (without X11), using Tcl/Tk 8.4.9, about which I =
can
make the following observations.
I double-click the Wish Shell icon and use the "Source" menu command to=20
source the script: the script appears to hang, as described by Bill's=20
friend.
I launch the script and Wish together by typing "wish filename" in the=20
Terminal application: the script appears to run OK, after a hiccough. =
When=20
it first appears, the main window shimmers, as if it is constantly =
re-sizing
itself. If I manually catch hold of the re-size handle and adjust its =
size=20
slightly, the shimmer ceases.
In the first case, it is noticeable that the main window is also =
shimmering,
but it is not possible to adjust the size manually, hence the =
application=20
remains hung.
Running the script on Windows XP, I can see that the scrollbars are =
arranged
differently, and that some extra menu items are present.
I will send these observations to mac-tcl list, in the hope of obtaining =
further insight.
If I get more time to investigate, I will look more closely at the =
packing=20
of the scrollbars.
Best wishes,
Alastair Davies

On Mon, 18 Apr 2005, 9:16am +0100, Alastair Davies wrote:
> Hello Bill, Kevin, et al.
>
> I have run the script Bill posted at the start of this c.l.t thread on my
> MacOS X 10.2.8 system (without X11), using Tcl/Tk 8.4.9, about which I can
> make the following observations.
>
> I double-click the Wish Shell icon and use the "Source" menu command to
> source the script: the script appears to hang, as described by Bill's
> friend.
>
> I launch the script and Wish together by typing "wish filename" in the
> Terminal application: the script appears to run OK, after a hiccough. When
> it first appears, the main window shimmers, as if it is constantly re-sizing
>
> itself. If I manually catch hold of the re-size handle and adjust its size
> slightly, the shimmer ceases.
>
> In the first case, it is noticeable that the main window is also shimmering,
>
> but it is not possible to adjust the size manually, hence the application
> remains hung.
>
> Running the script on Windows XP, I can see that the scrollbars are arranged
>
> differently, and that some extra menu items are present.
>
> I will send these observations to mac-tcl list, in the hope of obtaining
> further insight.
>
> If I get more time to investigate, I will look more closely at the packing
> of the scrollbars.
>
> Best wishes,
> Alastair Davies
>
This is probably another embodiment of the previously known "Grid
behaves oddly" bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=640337&group_id=12997&atid=112997

I think I'm seeing the same thing on Linux with the 8.5a2 release. I have a
utility procedure that does the same thing as ScrolledWindow, i.e., only
draws the scrollbar if the text goes beyond the visible window. Now if I just
output the arguments for every call of yscrollcommand generated by a text
widget, it can be seen that sometimes they are not 0 and 1 when dragging the
border even when the text is nowhere near filling the whole widget. This
tends to happen when the last word of text is being wrapped onto a new line.
If this call causes the scrollbar to be drawn, the textbox will be made
narrower to accommodate it. This will generate another yscrollcommand with
args 0 and 1, causing the scrollbar to be removed. An endless loop and
shimering display can result.
Hope this is of use
--Jasper
On Tuesday 19 April 2005 14:02, Alastair Davies wrote:
> Thanks, Alan, for pointing this out. I had already filed Bug # 1185699
> "Aqua scrollbar causes visual shimmer" when I received your message, so I
> have now added a comment there to refer to the earlier report.
>
> Kind regards,
> Alastair
>
>
> -----Original Message-----
> From: Alan Greenberger
> Sent: 19 April 2005 13:38
> Subject: Re: [MACTCL] Shimmering
>
> This is probably another embodiment of the previously known "Grid
> behaves oddly" bug:
> http://sourceforge.net/tracker/index.php?func=detail&aid=640337&group_id=12
>9 97&atid=112997
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime
> info, new features, or free trial, at:
> http://www.businessobjects.com/devxi/728
> _______________________________________________
> Tcl-mac mailing list
> Tcl-mac@...
> https://lists.sourceforge.net/lists/listinfo/tcl-mac
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime
> info, new features, or free trial, at:
> http://www.businessobjects.com/devxi/728
> _______________________________________________
> Tcl-mac mailing list
> Tcl-mac@...
> https://lists.sourceforge.net/lists/listinfo/tcl-mac

I never considered using anything but TclAqua on OSX
but I want to use the tcl-based auto-testing tool called Android,
which uses X-windows to record gui events and I don't have any
Linux machines handy. Can someone point me somewhere and
recommend whether I should/not try to do this on OSX running X11?
Thanks for any help.
Robert Karen

On Wed, Apr 20, 2005 at 03:02:56PM -0400, Robert Karen wrote:
.
.
.
> I never considered using anything but TclAqua on OSX
> but I want to use the tcl-based auto-testing tool called Android,
> which uses X-windows to record gui events and I don't have any
> Linux machines handy. Can someone point me somewhere and
> recommend whether I should/not try to do this on OSX running X11?
.
.
.
Android works fine under OS X's X11, 'last time I looked.
Was that the question?

well, that and is it difficult to run osx/x11 vs aqua.
I've never run X11 on osx before.
Thanks,
RK
Cameron Laird wrote:
>On Wed, Apr 20, 2005 at 03:02:56PM -0400, Robert Karen wrote:
> .
> .
> .
>
>
>>I never considered using anything but TclAqua on OSX
>>but I want to use the tcl-based auto-testing tool called Android,
>>which uses X-windows to record gui events and I don't have any
>>Linux machines handy. Can someone point me somewhere and
>>recommend whether I should/not try to do this on OSX running X11?
>>
>>
> .
> .
> .
>Android works fine under OS X's X11, 'last time I looked.
>Was that the question?
>
>
>
>

On Wed, Apr 20, 2005 at 03:29:28PM -0400, Robert Karen wrote:
.
.
.
> well, that and is it difficult to run osx/x11 vs aqua.
> I've never run X11 on osx before.
.
.
.
Ah! No; with 10.3 (maybe 10.2?), X11 is all you'd want it to be.
It behaves quite nicely. When you try it for yourself, you'll feel
well rewarded.

I have XDarwin working. To compile wish, do I do configure/make from
the unix subdir instead of macosx? when I run the one I have, it opens
the aqua styled window.
Thanks for your patience,
RK
On Wednesday, April 20, 2005, at 03:18 PM, Cameron Laird wrote:
> On Wed, Apr 20, 2005 at 03:02:56PM -0400, Robert Karen wrote:
> .
> .
> .
>> I never considered using anything but TclAqua on OSX
>> but I want to use the tcl-based auto-testing tool called Android,
>> which uses X-windows to record gui events and I don't have any
>> Linux machines handy. Can someone point me somewhere and
>> recommend whether I should/not try to do this on OSX running X11?
> .
> .
> .
> Android works fine under OS X's X11, 'last time I looked.
> Was that the question?
>

On 04/05/2005, at 3:51, robert karen wrote:
> I have XDarwin working. To compile wish, do I do configure/make from
> the unix subdir instead of macosx?
yes, just configure tcl and tk in the unix subdirs as on any other unix
box, or you can use the X11 binaries mentioned here:
http://tcltkaqua.sourceforge.net/8.4.9.html
> when I run the one I have, it opens
> the aqua styled window.
Cheers,
Daniel
--
** Daniel A. Steffen ** "And now for something completely
** Dept. of Mathematics ** different" Monty Python
** Macquarie University ** <mailto:steffen@...>
** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/&gt;

Robert,
On Thursday, May 5, 2005, at 01:09 Australia/Sydney, robert karen wrote:
> When I do 'Get Info' on the XDarwin app. it says v. 1.4a1
> and it opens with twm as window mgr (can't find any other). Is the
> version too old? I
> downloaded it recently.
I only use the X11 from Apple nowadays, this also exists for 10.2, but
may be hard to find now if you don't have it already (your ISP blocks
my address, otherwise I'd send you a copy off list...)
> so I tried building wish myself (8.5 from cvs). tcl compiled fine but
> I get this when I try to compile
> tk with the following configure line. I'd be grateful for any guidance:
> ./configure --with-tcl=../../tcl/unix --with-x
> --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
this is fine if those are indeed the correct directories for your X11
install
> /Users/robert/cvs/tk/generic/tk.h:95:29: X11/Xlib.h: No such file or
> directory
it looks like you don't have the X11 headers installed, are there any
files in your /usr/X11R6/include/X11/ ?
Cheers,
Daniel
--
** Daniel A. Steffen ** "And now for something completely
** Dept. of Mathematics ** different" Monty Python
** Macquarie University ** <mailto:steffen@...>
** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/&gt;

On Wednesday, May 4, 2005, at 12:05 PM, Daniel A. Steffen wrote:
>
> On 05/05/2005, at 1:57, robert karen wrote:
>
>>> it looks like you don't have the X11 headers installed, are there
>>> any files in your /usr/X11R6/include/X11/ ?
>>>
>> Thanks. I don't know whether I stand a better chance fixing XDarwin or
>> getting the X11 from apple for 10.2
>>
>> This is what I have in the include folder:
>> [robert-karens-Computer:~/cvs/eztab3.4/source] robert% ls -l
>> /usr/X11R6/include/X11
>> total 0
>> drwxr-xr-x 88 root wheel 2992 Apr 10 19:02 bitmaps
>> drwxr-xr-x 4 root wheel 136 Apr 21 14:31 extensions
>> [robert-karens-Computer:~/cvs/eztab3.4/source] robert% ls -l
>> /usr/X11R6/include/X11/extensions/
>> total 32
>> -r--r--r-- 1 root wheel 6996 Apr 10 19:00 applewm.h
>> -r--r--r-- 1 root wheel 6671 Apr 10 19:00 applewmstr.h
>
> there you go, you're missing the X11 headers that the Tk build needs,
> such as Xlib.h...
>
Thanks very much! You were right. I can build wish now, but don't want
to 'make install'
over my aqua version
and I get an error when I run from tk/unix directory. Wasn't there
an environment variable to set to get it to look over here for
libtk8.5.dylib:
[robert-karens-Computer:~/cvs/tk/unix] robert% ./wish
dyld: ./wish can't open library: /usr/local/lib/libtk8.5.dylib (No
such file or directory, errno = 2)
Trace/BPT trap
[robert-karens-Computer:~/cvs/tk/unix] robert% echo $TK_LIBRARY
/Users/robert/cvs/tk/unix
[robert-karens-Computer:~/cvs/tk/unix] robert%
> wherever you got Xdarwin from should have the X11 headers available as
> well I suspect. Or you can build & install Xfree86 yourself from their
> CVS, I have done that in the past with no trouble, it just takes a
> long time to build.
>
Yes, the headers are an optional download at xfree86.org for ppc v6.
called Xprog.tgz.
> Cheers,
>
> Daniel
>
> --
> ** Daniel A. Steffen ** "And now for something completely