Search the web
Sign In
New User? Sign Up
newtonprogramming · Apple Newton Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1 - 29 of 29   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#29 From: "Kent Archie" <newton@...>
Date: Sun Oct 2, 2005 7:31 pm
Subject: Overly long NSBasic example and explaination
mtnr22
Offline Offline
Send Email Send Email
 
One of the reasons I bought a Newton a few months before it was
canceled was as a kind of portable programming platform. Never really
used it like that. But after many years of putting it off, I finally
wrote an application in NSBasic to help inventory my comics. The long
story is at the link below, a description of the software and how to
do things in NSBasic. The short answer is I probably should have used
NewtonScript.
Anyway, the intended audience is anyone who is using or trying to use
NSBasic. When I started this I couldn't find many useful examples. The
pages describe the build environment I used, how the program runs and
a very long description of its design.
If you have use for it, here it is
http://www.archie-perkins.com/newton/comicsdb/index.html
Enjoy and you can send comments to
newton@...
**kent

#28 From: "puckdropper" <puckdropper@...>
Date: Thu Aug 4, 2005 8:42 am
Subject: Re: Code for miscellaneous Newton apps...
puckdropper
Offline Offline
Send Email Send Email
 
Are you able to open the files and get to something that looks like code?  I'm
having trouble getting NTK to do anything useful with the files, it doesn't
understand what they are.  I've tried both PC and Mac versions of NTK.

--- In newtonprogramming@yahoogroups.com, "Matt Kowalczyk" <MKow1234@a...>
wrote:
> I am going to try and upload some coding for a few miscellaneous
> Newton apps. The apps were developed by former Newton developer Paul
> Jones of Australia. Don't bother the guy; he's no longer involved in
> any way with Newton stuff. However, he did give permission to use
> his programs and code.
>
> Mr. Jones made pretty good progress on a few different apps:
>
> *  "Newt MousePad", which allows the Newton screen to take the place
> of a keyboard mouse. I believe tis requires an older Mac or PC to
> function. It needs a bit more refinement before it will be decent to
> use with more modern Windows-based computers.
>
> *  "DosTerm" allows one to control a PC via serial connection with a
> Newton, using DOS line commands. I can see this as a possible way to
> expand upon existing Newton-to-PC data exchanges.
>
> *  "Newt CRO" was intended to collect and display information from a
> cathode ray oscilloscope. There might be something good within the
> code that would lend itself to other interesting projects (using a
> Newton to monitor car engine functions, perhaps).
>
> I have some others stored on the desktop, and I'll gradually go
> through each one and upload the code. All of these programs and
> their code is intended as freeware. So long as nobody tries to
> profit from them, we're fine. I hope that this will prove useful.
>
> Warmest regards,
>
> Matt Kowalcyk
> Detroit, Michigan, USA

#27 From: Benedek Gergely <i3enedek@...>
Date: Sat Jul 30, 2005 10:46 pm
Subject: Joint projects
i3enedek
Offline Offline
Send Email Send Email
 
Ive been meaning to get started on a couple projects, and even if I
dont finish them it should be helpful for someone else to pickup where
I left off.

Two Projects I think that should be worked on as a community are;

1) PDF viewer (even if its a kludge, or only partial)

2) SSH/SSL

as either are too large/complex for a single person to manage on their
own.


Ive had problems taking to Newtonscript, mainly as ive never liked OOP
(I still do most of my coding from the commandline). So having to use
the NewtonIDE is anoying me, that and not having much luck/fun with the
C++ compiler.

To top it all off my OS 9 install has died, so ive been relegated to
using Steve Weyer's Newt for coding, which is less than ideal for a
large project.

Does anyone want to comment or add their opinions? Ohh and does anyone
use
   Makoto Nukui's NEWT/0 as i cant make heads or tails of it, i'll
continue to have a bash and document it in English when I have time.

Ben

#25 From: "Matt Kowalczyk" <MKow1234@...>
Date: Mon Jul 25, 2005 12:53 am
Subject: Code for miscellaneous Newton apps...
mkow1234
Offline Offline
Send Email Send Email
 
I am going to try and upload some coding for a few miscellaneous
Newton apps. The apps were developed by former Newton developer Paul
Jones of Australia. Don't bother the guy; he's no longer involved in
any way with Newton stuff. However, he did give permission to use
his programs and code.

Mr. Jones made pretty good progress on a few different apps:

*  "Newt MousePad", which allows the Newton screen to take the place
of a keyboard mouse. I believe tis requires an older Mac or PC to
function. It needs a bit more refinement before it will be decent to
use with more modern Windows-based computers.

*  "DosTerm" allows one to control a PC via serial connection with a
Newton, using DOS line commands. I can see this as a possible way to
expand upon existing Newton-to-PC data exchanges.

*  "Newt CRO" was intended to collect and display information from a
cathode ray oscilloscope. There might be something good within the
code that would lend itself to other interesting projects (using a
Newton to monitor car engine functions, perhaps).

I have some others stored on the desktop, and I'll gradually go
through each one and upload the code. All of these programs and
their code is intended as freeware. So long as nobody tries to
profit from them, we're fine. I hope that this will prove useful.

Warmest regards,

Matt Kowalcyk
Detroit, Michigan, USA

#24 From: jc_yahoo@...
Date: Fri Jul 22, 2005 2:36 am
Subject: Re: To dos, insights, etc
jdtc_newton
Offline Offline
Send Email Send Email
 
On Jul 15, 2005, at 3:45 AM, puckdropper wrote:


> What's on your to do list for programming with the Newton?
>

One of these days I'm going to put that last touches to my first real
program - a space race game. Next after that is a Geeksafe
replacement. I've got the blowfish algorithm working (to encrypt
entries in the soup) and some of the user-interface done. A few of
the enhancements, automatic time-out, handwriting recognition for
unlocking, and password generation. Want to do it as a stationery
Newt App though, so need to figure that out.

That'll keep me busy for awhile I guess.

jc

#23 From: "puckdropper" <puckdropper@...>
Date: Fri Jul 15, 2005 7:45 am
Subject: To dos, insights, etc
puckdropper
Offline Offline
Send Email Send Email
 
What's on your to do list for programming with the Newton?  Is there a program
you're developing without use of the Newton for use with the Newton?  (Something
such as a program Victor wrote to extract information from the Newton + Sloup.)

Does anyone want to share any insights in to programming?  Is there a feature
you find most useful?  I'll go first:

I found Luna Suite doesn't handle Yahoo's cookies right, but it handles my use
of session cookies (through PHP) just fine.  I can log in to my weblog and
access all the pages that require log ins.

#22 From: Adam Ladds <aladds@...>
Date: Thu Apr 7, 2005 11:29 am
Subject: Serial Port
aladds
Offline Offline
Send Email Send Email
 
Hi list,

	 Can anyone tell me a simple way to open the normal serial port and
read from it (reading each byte so it can be processed). I am used to
programming in REALBasic (like VisualBasic but much better) So if
someone could explain to me how it works or even give me an example
that would be great.

Cheers,

Adam

#21 From: "heximaximus" <hexsane@...>
Date: Sat Mar 19, 2005 7:43 pm
Subject: Re: Infrared in NewtonScript?
heximaximus
Offline Offline
Send Email Send Email
 
> Is there any way to use the Infrared port on the Newton more like a
> serial port, i.e., being able to set the baud rate, byte size, stop
> bits, parity bits, etc.?  I'm trying to communicate to a Lego RCX using
> the infrared port on the newton, and as far as I can tell, the
> NewtonScript interface is only designed to communicate with other IrDA
> devices.  Will I have to learn the Newton's C++ APIs to control the
> IrDA port more finely, or can I do it using NewtonScript?

http://www.mactech.com/articles/mactech/Vol.10/10.05/NewtonCommunication/

Also: Newton Programmer's Guide Communication Chapter.

#20 From: "heximaximus" <hexsane@...>
Date: Sat Mar 19, 2005 7:07 pm
Subject: Re: Newton Pixel Plotting
heximaximus
Offline Offline
Send Email Send Email
 
> Hi. I am just getting started in Newton programming.�
>
> What techniques are used to perform fast pixel plotting? Will
> newtonscript allow fast screen redraws or is C++ required?

http://www.kallisys.com/files/newton/Bowels/Drawing_directly_on_the_screen.html

This is the information I've found about it.

#19 From: puckdropper@...
Date: Mon Mar 7, 2005 8:08 am
Subject: Re: Getting started with Newton programming?
puckdropper
Offline Offline
Send Email Send Email
 
Yes, that was indeed the one.  Please finish it! :-)

Puckdropper

--- In newtonprogramming@yahoogroups.com, Michael Burks <dumbstart@y...> wrote:
> Which one were you reading? If it's the one I wrote sorry, I keep meaning to
find the last part but every time I sit down to put the rest of it up I get
sidetracked.
>
>
>
> ---------------------------------
> Celebrate Yahoo!'s 10th Birthday!
>  Yahoo! Netrospective: 100 Moments of the Web

#18 From: Michael Burks <dumbstart@...>
Date: Sun Mar 6, 2005 5:37 am
Subject: Re: Getting started with Newton programming?
dumbstart
Offline Offline
Send Email Send Email
 
Which one were you reading? If it's the one I wrote sorry, I keep meaning to find the last part but every time I sit down to put the rest of it up I get sidetracked.
 


Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web

#17 From: puckdropper@...
Date: Sun Mar 6, 2005 2:32 am
Subject: Getting started with Newton programming?
puckdropper
Offline Offline
Send Email Send Email
 
Anyone know of good tutorial type guides?  I was going through one and it just
ended abruptly.  I haven't been able to find any others.

#16 From: Andrew Hazelden <andrew@...>
Date: Mon Feb 28, 2005 3:07 am
Subject: Newton Pixel Plotting
westdover2004
Offline Offline
Send Email Send Email
 
Hi. I am just getting started in Newton programming. 

What techniques are used to perform fast pixel plotting? Will
newtonscript allow fast screen redraws or is C++ required?

Thanks for you time,
Andrew Hazelden

#15 From: Ian Henderson <ian@...>
Date: Sun Feb 20, 2005 11:07 pm
Subject: Infrared in NewtonScript?
papercyborg
Offline Offline
Send Email Send Email
 
Is there any way to use the Infrared port on the Newton more like a
serial port, i.e., being able to set the baud rate, byte size, stop
bits, parity bits, etc.?  I'm trying to communicate to a Lego RCX using
the infrared port on the newton, and as far as I can tell, the
NewtonScript interface is only designed to communicate with other IrDA
devices.  Will I have to learn the Newton's C++ APIs to control the
IrDA port more finely, or can I do it using NewtonScript?

   - Ian

#14 From: puckdropper@...
Date: Wed Feb 16, 2005 10:12 pm
Subject: C++
puckdropper
Offline Offline
Send Email Send Email
 
As I understand it, the Newton can be programmed using C++.  How hard is it to
make source that's compatible with both the Newton and PC?  Does the Newt need a
different library, or does the compiler take such a statement as "cin" to be
"Text input box here"?

#13 From: "Denis A. Yurashkou" <dayfuaim@...>
Date: Tue Feb 15, 2005 9:30 am
Subject: Re: Re: Perl for Newt?
yurashkou
Offline Offline
Send Email Send Email
 
'jdtc_newton' wrote on 13.02.2005 03:19:
>
>
> --- In newtonprogramming@yahoogroups.com, "Denis A. Yurashkou"
> <dayfuaim@m...>
> wrote:
>  > As Perl programmer I want to program my favorite machine (Newt ;) ) with
>  > my favorite language (Perl).
>
> If you're familiar with OO programming in Perl you'll quickly get the
> feel of NewtonScript.
> So much of Perl revolves around linear text files and conventional
> computer operating
> systems porting it to the Newton wouldn't do a lot of good IMHO, if it
> were even possible.
> What would be nice to have is a regular expression engine for
> Newtonscript like the one in
> Perl. Maybe you could work on that :-)
Hmmm... I'll think about it.
BTW now I'm learning NewtonScript programming.
'll try to write something like Perl-Rx-machine in NewtonScript.
>
> Download the development archive at UNNA (if you haven't done so
> already) and give it a
> whirl.
Yep. I've d/l-ed it. :)
>

--
----------------
Best regards, Denis A. Yurashkou [DAY]
(dayfuaim@...)

Origin: Stop the World -- I Wanna Get Off!..

#12 From: "jdtc_newton" <jc_yahoo@...>
Date: Sun Feb 13, 2005 12:19 am
Subject: Re: Perl for Newt?
jdtc_newton
Offline Offline
Send Email Send Email
 
--- In newtonprogramming@yahoogroups.com, "Denis A. Yurashkou" <dayfuaim@m...>
wrote:
> As Perl programmer I want to program my favorite machine (Newt ;) ) with
> my favorite language (Perl).

If you're familiar with OO programming in Perl you'll quickly get the feel of
NewtonScript.
So much of Perl revolves around linear text files and conventional computer
operating
systems porting it to the Newton wouldn't do a lot of good IMHO, if it were even
possible.
What would be nice to have is a regular expression engine for Newtonscript like
the one in
Perl. Maybe you could work on that :-)

Download the development archive at UNNA (if you haven't done so already) and
give it a
whirl.

#11 From: "jdtc_newton" <jc_yahoo@...>
Date: Sun Feb 13, 2005 12:47 am
Subject: Re: My 'to do' list and such
jdtc_newton
Offline Offline
Send Email Send Email
 
--- In newtonprogramming@yahoogroups.com, Victor Rehorst <victor@n...> wrote:
>
> Anyone else here using Waba for Newton development?
>
I'd thought about it, but wondered about two things: how much Java waba supports
and
learning its restrictions; and how many other people have it installed. It does
have the
advantages of portability so if you're interested in running something on
multiple
platforms you can "write once run everywhere".  Because of that I suppose you
can hit a
larger total user base than just the few, the green, who continue with the
brick.

How do you compare Waba to NewtonScript for development? Is it that much easier,
or is it
just the familiarity?

-jc

#10 From: Laurent Daudelin <laurent.daudelin@...>
Date: Sat Feb 12, 2005 9:53 pm
Subject: Re: Perl for Newt?
laurentdaudelin
Offline Offline
Send Email Send Email
 
on 12/02/05 04:52, Denis A. Yurashkou at dayfuaim@... wrote:

>
> Hi newtonprogramming!
>
> As Perl programmer I want to program my favorite machine (Newt ;) ) with
> my favorite language (Perl).
> Does anyone knows whether perl interpreter/compiler for Newt exists?

Hmm, no, there's never been any interpreter or compiler for the Newton. But
if you like Perl so much, maybe that could be your greatest challenge: write
a Perl interpreter for the Newton!

-Laurent.
--
============================================================================
Laurent Daudelin   AIM/iChat: LaurentDaudelin    <http://nemesys.dyndns.org>
Logiciels Nemesys Software               mailto:laurent.daudelin@...

brain dump n.: [common] The act of telling someone everything one knows
about a particular topic or project. Typically used when someone is going to
let a new party maintain a piece of code. Conceptually analogous to an
operating system core dump in that it saves a lot of useful state before an
exit. "You'll have to give me a brain dump on FOOBAR before you start your
new job at HackerCorp." See core dump (sense 4). At Sun, this is also known
as `TOI' (transfer of information).

#9 From: Gavin McKenzie <gavin.mckenzie@...>
Date: Sat Feb 12, 2005 12:41 pm
Subject: Proper way to terminate an nHTTPLib inbound transmission
gtumbles
Offline Offline
Send Email Send Email
 
Folks,

I'm fetching and parsing an HTML file with nHTTPLib, and I'd like to
know the appropriate way to terminate the connection (without
producing an error or throwing an exception, preferably).  Say that I
only want to process the HEAD element of the HTML -- I'd like to stop
reading the HTML file once I'm done processing the HEAD rather than
reading the rest of the file.

I've read in the Programmer's Guide and Reference about setting a NIL
input-spec via calling SetInputSpec, but it also warns that doing this
from within an active InputSpec may produce an error.  I've read about
sending a Cancel message to the endpoint, but I don't know where to
send such a message given that the endpoint is somewhere inside
nHTTPLib.

After I've terminated the transmission, I'm hoping that the rest of
the nHTTPLib processing will end normally, such as receiving an
MConnectionClosed message, etc.

Any ideas or places where I should look for examples?

Gavin

#8 From: "Denis A. Yurashkou" <dayfuaim@...>
Date: Sat Feb 12, 2005 9:52 am
Subject: Perl for Newt?
yurashkou
Offline Offline
Send Email Send Email
 
Hi newtonprogramming!

As Perl programmer I want to program my favorite machine (Newt ;) ) with
my favorite language (Perl).
Does anyone knows whether perl interpreter/compiler for Newt exists?

--
----------------
Best regards, Denis A. Yurashkou [DAY]
(dayfuaim@...)

Origin: Stop the World -- I Wanna Get Off!..

#7 From: Victor Rehorst <victor@...>
Date: Fri Feb 11, 2005 6:33 pm
Subject: My 'to do' list and such
vrehorst
Offline Offline
Send Email Send Email
 
Hey folks.

I also have a perpetual list of Newton software that I'd like to write, if I
could only find the time.

On and off it has included the following:

-TV Listing Service / application.  I actually got pretty far on this one.  I
was grabbing tv listing data on a Linux box using XMLTV, had a program that
parsed the XML and output framed NS data which I could then compile into a
package that, when installed, would populate a FilePad DB on the Newton with
the listings information.  Phew!  The problems though were:

	 -The amount of data was pretty big for the Newton to handle, even only a
week's worth of 30 or 40 channels

	 -I wrote the XML parsing in VB, because at the time it was the only XML
parser API I knew.

	 -NTK for Windows isn't scriptable, so compiling the package was a manual
process

	 -I had a hard drive crash and lost my VB code, and then XMLTV changed and you
can't get TV listing data for free anymore.

	 -Once I got the data on the Newton though, using FilePad as an interface was
pretty nice.

-Waba stuff.  This I'm getting back into, Java was my first language (well,
not counting BASIC) and so it comes quite naturally and I'm not scared of
having to position everything manually :)  I had been working on SameGame for
Waba, adding back some of the features that Sean Luke had removed from the
port like scoring.  I dusted it off recently and hope to make it a 1.0 release
soon.  Need to fix up the high scores list which uses a Waba Catalog.

I also wrote a program to keep score in Scrabble in Waba, and I'd like to
write a Shisen-Sho game (a tile matching game, google it for the details.)

Anyone else here using Waba for Newton development?

--
Victor Rehorst - victor@... - chuma@...
NewtonTalk list administrator - http://www.newtontalk.net
Will the last person to leave the platform please turn off the backlight?

#6 From: "heximaximus" <hexsane@...>
Date: Fri Feb 11, 2005 5:43 pm
Subject: Re: What's on your "to do" list?
heximaximus
Offline Offline
Send Email Send Email
 
Another thing to try if you just wish to blank a 'text slot:

SetValue(view, 'text, nil);

The Newton should automatically mark the view dirty and redraw
with the new text (in this case nothing).

-Matt

> get my first game finished (Consequences) I should try hide() and
> show() according to someone on NTLK, but I haven't got round to
trying
> that yet (no time!).

#5 From: Daniel Parnell <daniel@...>
Date: Thu Feb 10, 2005 11:47 pm
Subject: Re: Database connectivity?
danielparnell
Offline Offline
Send Email Send Email
 
It would be interesting to come up with a standard database access
layer for the Newton.
Ideally it would just look like a soup, so applications could use local
data or remote data without necessarily needing to know the difference.

Alternatively some sort of layer based around similar techniques to
JDBC could be interesting as well.
I've recently been working on something like this for Cocoa under OS X
for a program I'm writing for my wife.

Daniel

#4 From: puckdropper@...
Date: Thu Feb 10, 2005 10:02 pm
Subject: Database connectivity?
puckdropper
Offline Offline
Send Email Send Email
 
Can the Newton connect to databases through either NS or C++?  It'd be nice to
have a game that made use of a internet database (especially if I can get it
talking via WiFi.)

#3 From: Adam Ladds <aladds@...>
Date: Wed Feb 9, 2005 10:27 pm
Subject: Re: What's on your "to do" list?
aladds
Offline Offline
Send Email Send Email
 
Mine's very short at the moment, and it's perpetually stalled until I
get my first game finished (Consequences) I should try hide() and
show() according to someone on NTLK, but I haven't got round to trying
that yet (no time!).

So, my current to-do list:

1) Consequences
2) Serial Mouse Driver (this WILL take ages, I don't even know how to
make an extension yet!)

I know it's really short, but I have only had my Newton (2100) since
October, but I'm still trying to get my head round NS, as I am really
used to Real BASIC (programming on the mac for a while, and the Acorn
in BASIC), I really need to get a paper copy of the programmers
reference (and 2.x addendum)

#2 From: "jdtc_newton" <jc_yahoo@...>
Date: Wed Feb 9, 2005 8:09 pm
Subject: What's on your "to do" list?
jdtc_newton
Offline Offline
Send Email Send Email
 
Mine's gone off the bottom of a page. Currently finishing off my first large
project, a
'space race' game, and have started working on a GeekSafe replacement. Next will
probably be a Chinese flash cards type study-aid, then... It's a long list.

#1 From: puckdropper@...
Date: Wed Feb 9, 2005 6:18 pm
Subject: Welcome to Newton Programming!
puckdropper
Offline Offline
Send Email Send Email
 
This group is for anything related to programming the Newton.

You are welcome to share your files (using the files section), upload photos,
screen shots, etc... or use anything the group has to offer.

I ask you follow a few simple guidelines:
1) Be nice and try to be helpful.
2) Comment your code.  PLEASE! PLEASE! PLEASE!
3) If your program has a lot of code, only post the sections relavent to the
problem you have or upload the source in the files section.
4) Please post non-programming questions to Newton Talk
http://www.newtontalk.net

There is no advertising of any kind here, except for what Yahoo! gives us.  You
can promote your group, but please don't post a message only to do so.  Program
annoucements are not considered advertising and welcomed.

New members require approval which means you may not be allowed to join
immediately.  Also, messages from new members (to a certain number that Yahoo!
has determined) require approval.  This keeps spam out of the group.

Comments and suggestions are welcomed, you can post them to the group or email
puckdropper@...

Messages 1 - 29 of 29   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help