HDTenEightyP/NetNews huggingface dataset:
From: tg3@milton.u.washington.edu (Thurman Gillespy III)
Newsgroups: comp.sys.mac.programmer
Subject: Brightness/Contrast Control: Need Help!!
Date: 6 Apr 92 23:41:51 GMT
Article-I.D.: u.1992Apr6.234151.16826
Reply-To: tg3@u.washington.edu
Organization: University of Washington, Seattle

I need help with a brightness and contrast control.

I am writing an image processing program for displaying grayscale 
images. The main program is up and running. Using 32-bit QuickDraw, 
the 8-bit grayscale image sits in a GWorld, and is copied to the 
window with CopyBits. The window can be resized, scrolled, etc. 
I use the system default grayscale color table (ID = 40), set bit 
14, and notify QD of the change:

  grayCTab = GetCTable ( 40 ); /* get 8-bit grayscale color table */
  (*grayCTab)->ctFlags |= 0x4000; /* set bit 14 */
  CTabChanged ( grayCTab ); /* notify 32QD we changed the CTab */

The color table is first attached to the new GWorld, and then is 
converted to a palette before being attached to the window 
(ignoring the messy details of why I need the pmTolerant + 
pmExplicit flags set):

  err = NewGWorld ( &newGWorld, 8, &r, grayCTab, NIL, NO_FLAGS );
  ...
  grayPalette = NewPalette (256,grayCTab, pmTolerant+pmExplicit,0);
  SetPalette ( newWindow, grayPalette, TRUE );

So far, so good. I have the interface for my brightness/contrast 
control coded and running, but now I'm stuck. From what I have 
learned (IM V, other sources), I should be able to use animating 
colors (AnimatePalette) to implement my control. But how? It seems 
I should probably set my palette flags to [pmTolerant + pmExplicit
+ pmAnimating]. Or instead of using the system grayscale color table, 
should I build one from scratch? And if so, how? But I'm baffled as 
to how I use my contrast/brightness control settings to change the 
palette to effect the brightness or contrast difference in the image.

Any help would be quite appreciated. Please be quite explict, as I'm 
up to my eyeballs with this Palette Manager stuff. If I get the code 
running, I will publish the relevant sections in a followup listing.

Many thanks,
Thurman Gillespy III
Department of Radiology
University of Washington
(206)543-3320
tg3@u.washington.edu
Newsgroups: comp.sys.mac.programmer
From: mhall@occs.cs.oberlin.edu (Matthew Hall)
Subject: Re: Writing  apps that use plug-ins?
Organization: Oberlin College Computer Science
Date: Wed, 8 Apr 1992 00:54:13 GMT

In article <11980@ucdavis.ucdavis.edu> ccs011@fred.ucdavis.edu (James Davis) writes:

>   Hi,
>	   I want to write something, that can take plug-ins that reside
>   in different files.  Similar to Superpaint, etc etc..
>   Anyway, the theory seems easy.  If I have a code resource sitting
>   in this external file, I should be able to just load the resource and
>   make a call to it. But how?  Since which resources are available (which plugins)
>   is determined dynamicly, none of them can reside in the jump-table can they?
>   Anyway, if anyone can point me in the right direction, or refrence me
>   off to the correct example or paper Id appreciate it.
>

 Tech note #256 goes into great detail in pascal and c on how to do
this, including how to implement global data storage.

-matt hall
--


-------------------------------------------------------------------------------
Matt Hall.    mhall@occs.cs.edu  OR  SMH9666@OBERLIN.BITNET
              (216)-775-5805 (That's a Cleveland Area code. Lucky Me)

"If a man comes up to you and says:
	'A dog just carried away your ear.'
Do you run after the dog, or search first for your ear?" - Moon over Morocco
From: ksand@apple.com (Kent Sandvik)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Precompiled version of MacApp.h
Date: 14 Apr 92 19:41:21 GMT
Organization: MacDTS Mongols

In article <1992Apr8.150510.11046@ux1.cso.uiuc.edu>, mlanett@void.ncsa.uiuc.edu
(Mark Lanett) writes:
> 
> aep@world.std.com (Andrew E Page) writes:
> 
> >   With alot of cursing and some fidling around I've managed to produce
> >a precompiled version of MacApp.h.  I had to crank the partition of
> >MPW Shell up to 9 Meg in order to do this and the resulting file is
> >about 2.3 Meg long.  
> 
> All it takes is doing an "MABuild -CPlusLoad" and adding
> "{OtherLinkFiles} f {CPlusLoad}" to the .MAMakefile...
> 
> You might want to add '-CPlus -mf -Link -mf' to your MABuildDefaults in
> {MacApp}"Startup Files:Startup". Then you can drop your shell
> partition to 3Mb again and let it go to MultiFinder for the rest.
> The -CPlusLoad can be added there also.

Yes, I've seen people misusing the MPW shell partition sizes, a simple
performance test would show how little this really helps if you use -mf.
I wrote a TN about performance, and based on my tests I saw that the
performance gains with large shells is marginal, if not actually missing.
The -mf flag is really useful, because memory is then only used for 
peak activities, like when the Cfront compiler kicks in. Have Swatch up
and running while you compile and you will see how this all works.

As for the MacApp header dump, yes MacApp 3.0 has the -CPlusLoad flag
defined as default, so you can't avoid using pre-compiled headers :-).
(same with -mf, it's also default for all the tools that understands
the flag).

Cheers,
Kent Sandvik/dTs
Newsgroups: comp.sys.mac.programmer
From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
Subject: Touch-a-folder code -- can someone repost?
Organization: Kalamazoo College
Date: Thu, 9 Apr 1992 21:41:48 GMT

Someone posted code a while back to "touch" a folder of a changed file,
thus forcing the Finder to update its listing.  I can't remember what
exactly the "touch" consisted of, and I neglected to archive that
particular snippet.

Could someone re-post it, or mail it to me please?

Vielen Dank.
-- 
 Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
 "Almost all portables today employ passive-matrix LCDs, and no one expects
 active-matrix screens to be cost-competitive for a few years" -PC World 2/92
Newsgroups: comp.sys.mac.programmer
From: swb1_ltd@uhura.cc.rochester.edu (Steve Berkley)
Subject: How to read 10 sectors per track on floppy? (Repost)
Summary: Want to know how to read 10 sectors per track on mac drive
Keywords: sony,floppy driver,disk,sectors
Organization: University of Rochester - Rochester, New York
Date: Mon, 13 Apr 92 14:55:22 GMT

I'm posting this question again, in case anyone didn't see the
original.

I'm looking for a way to read sectors off of diskettes for a  
keyboard sampler, which are formatted quite like IBM diskettes-
10 sectors per track, 80 tracks on two sides.  The mac drive
(.sony driver) reads at 8-12 sectors per track, depending on the
location of the track on the physical disk (for optimum storage
space).  What I'd like to do is be able to tell the driver to
read sectors 0-9 on *each* track.       

Most have said that this requires a new driver...lots of work.
Does anyone have a simple solution?

-Steve Berkley
swb1_ltd@uhura.cc.rochester.edu
Newsgroups: comp.sys.mac.programmer
From: blimoges@sobeco.com (Bertrand Limoges)
Subject: Zero-length resource obtained
Organization: Sobeco Ernst & Young Inc.
Date: Wed, 8 Apr 1992 21:29:45 GMT

Hi,

I wrote an init which does some resource modifications, and am faced with
a problem I thought I had planned against. Here is the essential code:

theRes = GetResource('STR ', 128);
if (!theRes)
	errorHandler();
else
	HNoPurge(theRes);
..
HLock(theRes);
/*Modify the resource*/
HUnlock(theRes);
..
ChangedResource(theRes);
CloseResFile(theRefNum);

The problem is that occasionally I get a zero-length string written out to
the resource fork, which I thought was only supposed to happen if the resource
got purged before being written out. The resource I'm toying with isn't even
purgeable, so I'm calling HNoPurge on the handle just in case. Should I call
FlushVol()? I didn't think that was necessary. CloseResFile() is supposed to
call WriteResource() automatically; can it fail to do so? Any hints on what's
happening?

Thanks, Bertrand Limoges
Newsgroups: comp.sys.mac.programmer
From: Gavin Eadie <gavin.eadie@umich.edu>
Subject: Re: Writing apps that use plug-ins?
Organization: University of Michigan
X-Useragent: Nuntius v1.1a2
Date: Thu, 9 Apr 92 13:24:19 GMT

>writing a BBS program, and I have routines to do i/o over the connection
(with
>the CTB, of course...); how can I have the plug-in call routines within
my
>program's code?
From: macman@newton (Chris Silverberg)
Newsgroups: comp.sys.mac.programmer
Subject: disabling edit/statText
Date: 9 Apr 92 21:25:19 GMT
Article-I.D.: wpi.1992Apr9.212519.17709
Organization: Worcester Polytechnic Institute

I think this is an easy question to answer... in a dialog, how do I disable
either an editText or statText item?  For instance, I have a check box in
my dialog also... when someone turns that checkbox on, I want to have a
related statText and editText items enabled.  (diable when checked off).

Seems like HiliteControl is not meant for these items...(?)

Thanks for the help. Please email.

- Chris
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   Chris Silverberg                     INTERNET: macman@wpi.wpi.edu
   Worcester Polytechnic Institute      WMUG BBS  508-832-5844 (TeleFinder)
   America Online: TfChris              FIDONET:  1:322/115.1
From: cconstantine@mr.gov.bc.ca
Newsgroups: comp.sys.mac.programmer
Subject: THINK C 5.0.2 questions on syntax
Date: 14 Apr 92 12:06:40 -0700
Organization: BC Systems Corporation

I have a couple of questions on THINK C 5.02 syntax and procedures.  My first
question has to do with MENU resources.  I'm compiling the first volume of the
Mac Programming Primmer for THINK C to conform to the new 5.02 standard for
some ppl that have requested it sent be sent to them.  Anyway, in most of the
programs where menus are involed, they don't always keep a handle to ALL of the
menus. ie: they will have a handle to the Apple Menu & edit menu, but not the
File Menu or Special Menu (both of which are accessed more than the rest!!! Any
particular reason for this???

Question number 2 pertains more to THINK C 5.0.2 syntax.  The MOVE_TO_FRONT
constant in the book is -1L but for "compability reasons" it now has to be
(WindowPtr)-1L, typecasted.  What is the purpose for this when it worked just
fine the other way in C 4.05????????!!!!!!!! This is rather confusing to have
some of these things different when trying to learn C!!!!

-- 
Carl.Constantine@BCSystems.gov.bc.ca
Victoria, British Columbia, Canada

Newsgroups: comp.sys.mac.programmer
From: rhorn@csws8.ic.sunysb.edu (Robert Horn)
Subject: Re: Writing apps that use plug-ins?
Organization: SUNYat Stony Brook where no one gets an education
Date: Wed, 8 Apr 1992 16:44:04 GMT

In article <9813@bgsuvax.bgsu.edu> dnebing@bgsu.edu (Mr. Neb) writes:
>From article <1992Apr7.232048.9295@sbcs.sunysb.edu>, by rhorn@csws11.ic.sunysb.edu (That's me!):
 [ stuff deleted ]
> [stuff deleted...]
>
>	Just making the call to the code resource should not change the value
>of the A5 register, which points to the application's global variables as
>well as the jump table.  If you knew (through previous compilation) the
>correct offset into the jump table, couldn't you just jump to that location
>in the jump table, using the A5 offset?
>
>	As far as I know, it would seem that this should work.  Does anyone
>agree or disagree with this.  I am curious to see if it is felt that this 
>method would work or not.
>
>
>	dnebing@andy.bgsu.edu

I've tried something like that: passing an object to a code resource, and
could not access any of the objects methods. (and when i checked the link it
complained that they were not defined) I would assume that the same is true
for functions. When you are compiling your code resource, the compiler would
have no way of knowing where in the application's jump table to look for a 
function or procedure or method; and if this were possible, it would have to
resolve the function's location in the jump table at runtime. I don't think
that the jump table has the names of functions or anything else that might
identify the functions in it (Of course, i could be entirely wrong, have never
looked at the jump table in any way, and probably wouldn't understand it if I
did. This last part is pure speculation on my part. Any similarity between it
and any real events or persons is purely coincidental.)

(I was hoping that objects would contain a pointer to a block of pointers to
functions to implement its methods, but I was apparently wrong.)

Rob
---
rhorn@ic.sunysb.edu (not an aardvark)
From: howard@rigel.cs.pdx.edu (howard l. berkey)
Newsgroups: comp.sys.mac.programmer
Subject: IM IV Sound Mgr error fix...where?
Keywords: now why couldnt they have gotten it right the first time
Date: 15 Apr 92 16:30:55 GMT
Article-I.D.: pdxgate.5340
Organization: The Orbital Mind Control Lasers


Hi all!
	I understand that the chapter on the Sound manager in IM IV (four,
not six) is somewhat, ah, misinformative and I was wondering if the correct
info is available on an FTP site... I looked on sumex but didn't see it.  Also
I was wondering if Apple/Addison-Wesley/apda or some philanthropist was going
to produce an edition of IM IV with the correct information.
Thanks!
	-Howard




-------------------------------------------------------------------------
You can't stop him, he's too insane!
				    Some have to dance, Some have to kill
Howard Berkey, permanent undergrad                howard@rigel.cs.pdx.edu
Xref: sparky comp.sys.mac.programmer:7880 comp.sys.mac.misc:8761
From: marcus@sun.pcl.ac.uk (Marcus Harvey)
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.misc
Subject: Re: ResEdit Easter Eggs
Date: 7 Apr 92 10:55:27 GMT
Organization: Polytechnic of Central London

In article <1992Apr2.130947.22223@fwi.uva.nl> kuipers@fwi.uva.nl (Tobias Kuipers (I91)) writes:
>neilg@fraser.sfu.ca (Neil K. Guy) writes:
>
>>easea@trillium.waterloo.edu (Erik Sea) writes:
>
>>>If Apple ever added such a code, perhaps developers would be encouraged to
>>>make the minor adjustments needed to localize for Canada.
>
>> Hear, hear. However it seems that Apple appears to consider Canada as
>>being simply an extension of the US market in a lot of ways. At least
>>Canada is part of Pacific (I think) and not Apple USA. Certainly
>>changing the way things are spelt (or spelled...) in the Finder would
>>be nice for a Canadian version. The Finder 6 "color"  menu used to get
>>on my nerves a bit.
>
>Well well, and you're just complaining about a few letters
>more or less. In The Netherlands we have our own version of
>the Finder and it's awful. They did try so hard to translate
>all the Finder menu-items that the result (in Dutch) is
>completely unreadable. So I for one, and about all the other
>mac users in The Netherlands for two and three are sticking to
>the International version of the finder. Maybe the guys in
>Canada cabn try the same and feel indepent of the US and UK. 
>
What's this 'International' version? Is it in Esperanto? ;-)

>-- 
>Tobias Kuipers           |  Two men need one money, but one 
>kuipers@fwi.uva.nl       |        money need no men 
>                         |- From 'Delicious Demon' by
>                         |       The Sugarcubes

Aahhh! The Sugarcubes, if only that guy would stop rapping atrociously
on every track I'd buy their records...

- marcus
  marcus@sun.pcl.ac.uk
From: rgonzal@gandalf.rutgers.edu (Ralph Gonzalez)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Macintosh Think C/C++ tutorial
Keywords: think c c++ object-oriented textbook
Date: 17 Apr 92 20:24:07 GMT
Article-I.D.: gandalf.Apr.17.16.24.07.1992.23943
Distribution: usa
Organization: Rutgers Univ., New Brunswick, N.J.

I forgot to mention, Think C/C++ From Scratch is NOT the same as the Think C Programming Guide.  The latter is shareware and covers Think C version 4.x.  It is available from sumex-aim.stanford.edu.  TCFS, on the other hand, covers Think C version 5.0, with constructors/destructors, access control, and other C++ features.  It is $20 commercial available from myself.  If you still have Think C version 4, check out TCPG.  Otherwise you're better off with TCFS.

-Ralph
Newsgroups: comp.sys.mac.programmer
From: aep@world.std.com (Andrew E Page)
Subject: Precompiled version of MacApp.h
Organization: The World Public Access UNIX, Brookline, MA
Date: Wed, 8 Apr 1992 14:07:13 GMT

   With alot of cursing and some fidling around I've managed to produce
a precompiled version of MacApp.h.  I had to crank the partition of
MPW Shell up to 9 Meg in order to do this and the resulting file is
about 2.3 Meg long.  

   Would anyone be interested in having me post this to AppleLink
or UUEncode it for the net?


-- 
Andrew E. Page CTO(Warrior Poet)|   Decision and Effort The Archer and Arrow
DSP Ironworks                   |     The difference between what we are
Macintosh and DSP Technology    |           and what we want to be.
From: roy@adeptsln.cts.com
Newsgroups: comp.sys.mac.programmer
Subject: Re: How to turn File Sharing on?
Date: 14 Apr 92 03:37:29 GMT
Article-I.D.: adeptsln.1992Apr14.033729.232
Reply-To: roy@adeptsln.cts.com
Organization: Adept Solutions

In article <kucjcjINN4jl@alshain.usc.edu> lkimes@alshain.usc.edu (Lance 'Moof'  
Kimes) writes:
> 
> In article <D88-JWA.92Apr11002621@byse.nada.kth.se>, d88-jwa@byse.nada.kth.se  
(Jon W{tte) writes:
> |> .umontreal.ca> casgrain@ERE.UMontreal.CA (Casgrain Philippe) writes:
> |> 
> |> 	   I would like to know how to turn file sharing ON or OFF, not by
> |>    using the Control Panel, but from within an application.
> |> 	   There seems to be no mention of this in IM VI.
> |> 
> |> OFF: Send a quit apple event to the File Sharing process.
> |> ON: LaunchApplication on the File Sharing extension.
> |> 
> |> FindFolder, PBCatSearch, GetNextProcess, GetProcessInfo and the
> |> AE manager seems to be the parts you need.
> |> 
> |> -- 
> |> h+@nada.kth.se; Jon W{tte, the Diplomat - NOT!
> 
> 
> Have you tried this to see if it works? It seems to me to be both very useful  
&
> full of potential security hazards.
> 
> I know all users should be setup already with names & passwords, but what  
about hte clueless who are not? Even if everythings passworded, sharing could  
be turned on AGAINST your wishes & compromised passwords then allow easy entry.
> 
> 
> I guess we're just paranoid at USC, but we're safe. :-)
> 
> Lance Kimes
> USC

What security hazard? The Apple Event is being sent FROM THE SAME MACHINE that  
filesharing is on. (Program sharing has it's own password setup). Sharing isn't  
being turned on against YOUR wishes because YOU are on the machine! Unless you  
are paranoid about turning it on, yourself. It's just an alternate way, other  
than the Control Panel.

Lance, maybe you can specify what you are paranoid about, because it seems  
completely tame.
-- 
Roy Lovejoy      | internet:  roy@adeptsln.cts.com
Head RGB Guy     | AppleLink: adept
Adept Solutions  | CIS:       72447,1447
.................| dual certified developer: NeXT & Apple ;)
From: bskendig@shine.Princeton.EDU (Brian Kendig)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Memory Manager Problems & System 7.0.1?
Keywords: Memory bug system 7.0.1 fixes?
Date: 6 Apr 92 20:03:28 GMT
Organization: Starfleet Academy, Princeton University
Originator: news@ernie.Princeton.EDU

In article <neilg.702502872@sfu.ca> neilg@fraser.sfu.ca (Neil K. Guy) writes:
> Does anyone know if Apple has fixed the memory manager bug that affects
>machines from the IIci on up? I have an INIT that supposedly fixes the
>problem, but I was wondering if it's necessary with 7.0.1 or with the
>new System 7 tuneups... thanks in advance!

If you're talking about the "MMInit" to fix the memory hints bug in
the IIci and IIfx, DON'T USE IT.  Or, at least, be VERY careful when
using it -- while it can speed up your machine considerably, I've also
heard that it's not very stable at all and tends to do as much harm as
good by crashing your machine periodically.

Apple reportedly fixed this bug in System 7.0, so it's not needed if
you're running 7.0 or 7.0.1 with or without a Tune-Up.

     << Brian >>

-- 
| Brian S. Kendig       --/\-- Tri     bskendig@phoenix.Princeton.EDU, @PUCC
| Computer Science BSE  |/  \| Quad  You gave your life to become the person
| Princeton University  /____\ clubs    you are right now.  Was it worth it?
Newsgroups: comp.sys.mac.programmer
From: Daryl_Spitzer@mindlink.bc.ca (Daryl Spitzer)
Newsgroups: comp.sys.mac.programmer
Subject: comp.sys.mac.programmer.OOP
Date: 15 Apr 92 00:41:29 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

> ..or comp.sys.mac.programmer.OOP which would contain most of the
> object oriented frameworks and languages. We had this discussion before,
> is it time to split the mac programming group to sub-groups or not?

This is a good idea.  The TCL mailing list is seeing a great deal of use, so
I'm sure this would as well.
--
-------------------------------------------------------------------
 Daryl_Spitzer@mindlink.bc.ca     "Life isn't just, life just is."
         a2251@mindlink.bc.ca              -- Me  (I think.)
       Spitzer@UNCAMULT.BITNET
-------------------------------------------------------------------
Newsgroups: comp.sys.mac.programmer
From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
Subject: Re: Symantec/THINK C ftp site
Organization: Symantec Corp.
Date: Wed, 8 Apr 1992 14:30:38 GMT

>>>>> On 8 Apr 92 04:26:21 GMT, alana@sisters.cs.uoregon.edu (Thomas Alan Akins) said:

 > In article <2276@news.duke.edu> jth@acpub.duke.edu (JASON HOLTZAPPLE) writes:
>>I used to know of the existance of an ftp site containing THINK C
>>upgrades, snippets of code, etc. To my knowledge, it was the
>>"official" Symantec site. Could anyone with the ftp address
>>please post it to this newsgroup or email me directly?

 > ftp to ics.uci.edu
 > /mac/think-c

Just a minor clarification -- the ftp site at ics.uci.edu is not an
official Symantec ftp site. It does contain the latest updates and a
bunch of source code examples, however.

	-phil
--
   Phil Shapiro                                   Software Engineer
   Language Products Group                     Symantec Corporation
		   Internet: phils@cs.brandeis.edu
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.misc
From: cptnerd@access.digex.com (Captain Nerd)
Subject: Need info or TFM on Graf3D...
Followup-To: comp.sys.mac.programmer
Keywords: Graf3D info manual source code examples
Organization: Express Access Online Communications, Greenbelt, Maryland USA
Date: Tue, 7 Apr 1992 01:51:26 GMT


	Hi,

	I'm trying to find out any info, manuals, source code snippets,
etc. concerning and using the Graf3D library so tantalizingly placed
in the ThinkC 5.0 libraries.  I vaguely remember someone posting
something a while back, and I saved one posting in Pascal, but it was
incomplete.  Please e-mail me if you have anything, and I'll post to the
net if there is enough interest.


	Thanks!




-- 
| Internet: cptnerd@digex.com |  "From the hard-scrabble back streets, that 
| 70714.105@compuserve.com    |  part of town called 'OOP Alley,' comes a 
champion for the Future, defender of overworked programmers everywhere, 
and foe of all who call themselves 'Management!'  Captain Nerd!"
From: ksand@apple.com (Kent Sandvik)
Newsgroups: comp.sys.mac.programmer
Subject: Re: programming editor for Quadra
Date: 10 Apr 92 23:02:31 GMT
Organization: MacDTS Mongols

In article <ktv48iINNqm7@network.ucsd.edu>, drake@coast.ucsd.edu (Tom Drake)
writes:
> 
> Is there a good editor for programming (C, Fortran, etc) on
> the Quadra that can be had cheaply.  Something along the lines
> of the old Apple editor Edit (maybe there's a newer incarnation
> of this) or the THINK C editor.
> Thanks, Tom Drake

I like Alpha, it's a PD editor which has a lot of Emacs bindings
(which is the reason I like it, somehow years of Emacs use has
hard-wired my brain to the key bindings...). Alpha should 
we available at sumex-aim and similar ftp sites. And yes, it
has electric-C mode!



Cheers,
Kent