HDTenEightyP/NetNews huggingface dataset:
From: meekins@tortoise.cis.ohio-state.edu (Tim Meekins)
Newsgroups: comp.sys.apple2.gno
Subject: Re: Machine language forking
Date: 18 Nov 92 09:54:38 GMT
Article-I.D.: cis.1992Nov18.095438.22904
Organization: The Ohio State University Dept. of Computer and Info. Science

In article <Bxw84n.I5C@CAM.ORG> vandry@CAM.ORG (Phillip Vandry) writes:
>
>I'm having problems -- crashy problems with creating a child process.
>Consider this code fragment:
>
>        fork    #process
>        sta     pid1
>loop34  wait    #0
>        brk     0
>        case    on
>        cmp     pid1
>        bne     loop34
>        brl     bigbig
>
>It's almost identical to the code in script.asm, so it should work!


Looking over your snapshot of code, nothing immediately jumps out as being
incorrect. I assume the macros are correct and just extracted from the
script.asm code. For example, the #0 passed to wait is a long null pointer,
not a word.

Another possibility is the forked process completed before the wait
call was executed, but that doesn't jive with a crash bug.

One powerful way of debugging code that use kernel calls is the
'setdebug' command builting to gsh. The entire wait() mechanism is
based on signals, so a 'setdebug +sigtrace' will show you all the
signals being passed through the system. If your code is simply 
corrupting the stack, however, setdebug will never show you the
problem, though you may be able to determine that a crash happened before
or after a certain signal.

oh, another pitfall, if you are running multiple copied of the forked
code (which your code seems to say you aren't) be sure to use stack
based variables or some sort of mutual exclusion scheme, otherwise
several versions of the code will be simultaneously trying to use
the same variable for different tasks, thus royally screwing with
the system.

If anyone has a really cool idea for a multitasking demo I could
whip together in assembly using foks ands semaphores and such, be
sure to let me know, I'm sure the more sample code available,
the easier it will be for any of you to write multitasking
code.

Philip, if your code isn't too large or cumbersome and you're still
having problems, send me enough code so I can assemble it and I'll
see if I can come up with a solution...

-tim

TIM MEEKINS                    Ask me about GNO/ME! - MultiTasking on a IIGS!
meekins@cis.ohio-state.edu     Procyon, Inc., 11738 Aqueduct Drive
AOL: GNO Tim2 (@aol.com)       Littleton, CO 80127   (303) 933-4649
                          
      "Computers aren't intelligent, they just think they are."
Newsgroups: comp.sys.apple2.gno
From: David.Empson@bbs.actrix.gen.nz
Subject: Re: Crash............
Organization: Actrix Information Exchange
Date: Thu, 19 Nov 1992 09:39:34 GMT

In article <bazyar.722027502@teal> bazyar@teal.csn.org (Jawaid Bazyar) writes:
> 
>   Actually, GNO returns BYTEWRKS :-)  Evidently the APW C libraries
> check specifically for a shell ID of BYTEWRKS; thus, we followed
> suit.

Oh, I see.  :-)

Does GNO implement all of ORCA/Shell's shell calls?  If so, for which
version of the shell (1.0, 1.1 or 2.0), and what does it return for the
VERSION call?

How does a shell program distinguish GNO from ORCA?
-- 
David Empson

Internet: David.Empson@bbs.actrix.gen.nz    EMPSON_D@kosmos.wcc.govt.nz
Snail mail: P.O. Box 27-103, Wellington, New Zealand
Newsgroups: comp.sys.apple2.gno
Subject: Re: Crash............
From: David.Empson@bbs.actrix.gen.nz
Date: Tue, 17 Nov 1992 12:46:03 GMT
Organization: Actrix Information Exchange

In article <BxtIH1.3wF@news.iastate.edu> achauhan@warsaw.math.macalstr.edu (Amrit Chauhan) writes:
> > int
> > main (int argc, char *argv[])
> > {
> 
> > even if you do not use argc and argv.
> 
> Hmm, I should probably get in the practice of doing this.  What
> would I do if I wasn't writing a shell program?  I mean, would you
> still need to be explicit about what gets passed to main?

It won't hurt.  In an S16 program written in ORCA/C, you will get zero
for argc.  You can also use the shellid() call to see whether you were
launched from a shell: you will get the string "BYTEWRKS" under
ORCA/Shell, or a NULL pointer if launched from GS/OS.  GNO probably
returns "GNO      " (padded to 8 characters), but as I don't have it,
I can't say exactly.

> If I was writing say a desktop program, what would I use the
> parameters of main for?

You can safely ignore them.  In fact, the ORCA/C manual claims that
you can avoid mentioning them, i.e. use:

int main(void)


The startup code must be using 'stack repair' so that it doesn't mind
whether or not main() removes its arguments from the stack.


Of course, in the case of an NDA or CDA, there shouldn't be a function
called main() - you explictly specify the entry function in the
#pragma nda or #pragma cda line.
-- 
David Empson

Internet: David.Empson@bbs.actrix.gen.nz    EMPSON_D@kosmos.wcc.govt.nz
Snail mail: P.O. Box 27-103, Wellington, New Zealand
Newsgroups: comp.sys.apple2.gno
From: bazyar@teal.csn.org (Jawaid Bazyar)
Subject: GNOBUG posted to pindarus
Organization: Colorado SuperNet, Inc.
Date: Mon, 16 Nov 1992 17:40:58 GMT

I just put the latest version of GNObug on pindarus, in /pub/apple2/gno.
This version (actually two versions in one), fixes two annoying problems:
1) Prodos 8 programs to fail with a "$0201" error
2) returning from ProDOS 8 and rerunning GNO would fail

GNOBUG is, of course, the INIT that allows GSBug to properly trap GS/OS
calls inside GNO.

-- 
 Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
 Procyon, Inc.              |   for the Apple IIgs!   
 bazyar@cs.uiuc.edu         |   P.O Box 620334
 --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
Newsgroups: comp.sys.apple2.gno
From: behrenss@Informatik.TU-Muenchen.DE (Soenke Behrens)
Subject: Re: Utils and things.
Organization: Technische Universitaet Muenchen, Germany
Date: Mon, 16 Nov 1992 11:22:54 GMT

hollandd@qut.edu.au writes:

>Has anyone ported, or is anoyone in the process of porting find or cut?
>Alternativly does anyone know where the sources could be obtianed?

Not that I would know. But if you want to port it: Shall I mail you the
source? Or do you have FTP access? If so, you can get it at about any
FTP site. It's part of the GNU stuff.

Soenke
-- 
===========================================================================
More than silver, more than gold, I need   !    behrenss@informatik.
electricity. I need it for my dreams.      !    tu-muenchen.de
(RACTER)                                   !  FIDO: 2:246/13 Soenke Behrens
From: jamesb@ecst.csuchico.edu (James L. Brookes)
Newsgroups: comp.sys.apple2.gno
Subject: Reading shell variables from a program.
Date: 16 Nov 92 19:44:55 GMT
Article-I.D.: charnel.1e8tnnINN3bf
Organization: California State University, Chico
NNTP-Posting-Host: hairball.ecst.csuchico.edu

I looked through the documentation at hand (as well as several manpages on
the unix box here) but I couldn't figure out how to read a shell variable
from within a program.  

Any help here?
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|          James Brookes            | Inet: bb252@cleveland.freenet.edu |
|``What, me worry?'' - A. E. Neuman |   jamesb@cscihp.ecst.csuchico.edu |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Newsgroups: comp.sys.apple2.gno
From: gwlester@cpu.com (Gerald W. Lester)
Subject: Re: GSI is quite nice! One question...
Organization: Computerized Processes Unlimited, Metairie, LA, (504)-889-2784
Date: Tue, 17 Nov 1992 14:51:32 GMT
Reply-To: gwlester@cpu.com

In article <BxuB16.B8p@world.std.com>, lucifer@world.std.com (Kevin S Green) writes:
>I've gotten the GSI nda to work and am quite impressed.
>However, I seem to be getting garbage characters interspersed
>with the true text. Has anyone else gotten this yet?
>
>(I followed the installation notes...gsh1.0 in 31:bin and
>so forth. My terminal type is defined as 'gnocon'. I even
>tried making a duplicate of my gshrc and putting _that_ in
>31:bin too.)
>
>Other than the garbage character problem, GSI works like a 
>charm. Jawaid: pip-pip ol' boy...good show and all that.
>-- 
>Kevin S. Green / lucifer@world.std.com / {xylogics;uunet}!world!lucifer
>               /America Online: Gargoth

	Reverse video question marks around all of your input characters,
right?   (I got them also)

	I also tried changing the terminal type to "gno", that did not help.  I
sent Jawaid a mail message this morning about the problems, so far (about 5
minues) no reply (talk about the lack of service around here, booy!!! ;-} ).
From: vandry@CAM.ORG (Phillip Vandry)
Newsgroups: comp.sys.apple2.gno
Subject: Re: mkdir
Date: 15 Nov 92 15:46:44 GMT
Article-I.D.: CAM.BxrL5w.IKq
Organization: Champlain Regional College, St-Lambert QC CANADA

>[ stuff about slashes vs. colons deleted ]

>I tend to agree. Slashes should be used as seperators, in order to stay in 
>line with the Unix-way(tm) of doing things. If, for some strange perverted 
>reason :), someone has a file named "Obnoxious filenames are /cool" on an 
>HFS volume, the file slash in the filename could be prevented from being 
>interpreted by the shell with a backslash (\) just before it...

Well, you would have to quote (') the pathname anyway because of the spaces it
contains, so the backslash wouldn't be necesary!

__                __          _          __
|_) |_| | |  |  | |_)   |  | /_\ |\ | |\ |_) \_/  % NetMail:          %
|   | | | |_ |_ | |      \/  | | | \| |/ |\   |   %   Vandry@Cam.Org  %
Newsgroups: comp.sys.apple2.gno
From: gwlester@cpu.com (Gerald W. Lester)
Subject: Re: Vindicating TelCom
Organization: Computerized Processes Unlimited, Metairie, LA, (504)-889-2784
Date: Thu, 19 Nov 1992 23:12:31 GMT
Reply-To: gwlester@cpu.com

In article <bazyar.722162119@teal>, bazyar@teal.csn.org (Jawaid Bazyar) writes:
>vandry@CAM.ORG (Phillip Vandry) writes:
>
>>BTW, what's a good way to "transact" with my Unix account without leaving
>>GNO? I tried TelCom, but its terminal emulation (sorry Jawaid) really
>>sucks. Like it writes ^J when it gets ^J. It should perform the action,
>>not display the character!
>
>   Um, not the last time I checked, and certainly not right now. :)
>It's possible you hit OA-P during your session.. OA-P is set to
>'Preferences', but the only Preference setting toggles control-character
>show on and off.  So give TelCom another try.  The vt100 really is one
>of the best.
>

Jawaid,

	I must disagree with you (sorry).  Telcom is very good at the VT100
subset that *most* Unix termcaps use.  However, if you want to see if fail,
log into a VMS system that has LSE or NOTES,  Telcom rapidly loses its cookies.
Proterm does OK, except they seem to address the line/columns off by one sometimes
(looks like a fence post problem) and Snowterm does a very nice job.  However,
each of the other packages have the draw back that they do *not* work with GNO and
have broken or poor file transfer abilities.

	Oh well, I guess I keep using Telcom for xfers and Proterm for emulation
until soemone comes out with something better.

Newsgroups: comp.sys.apple2.gno
From: bazyar@teal.csn.org (Jawaid Bazyar)
Subject: Emacs Bindings
Organization: Colorado SuperNet, Inc.
Date: Thu, 19 Nov 1992 19:37:19 GMT

>From uerics@mcl.mcl.ucsb.edu Tue Nov 17 22:40:42 1992
>From: Eric Shepherd <uerics@mcl.mcl.ucsb.edu>
Subject: uEmacs
To: bazyar@cs.uiuc.edu
Date: Tue, 17 Nov 92 21:13:38 PST
Mailer: Elm [revision: 66.25]
Status: OR

Could you post this for me?

-------
Whoever it was that posted a note that they have key bindings to let
AppleWorks keys work in uEmacs, I'd like a copy of those, please!

- Eric S.

--
Eric D. Shepherd                   | Apple II Alliance Charter Member
InterNet: uerics@mcl.mcl.ucsb.edu  |           ACM Member
FidoNet:  1:206/2713 Eric Shepherd | Programming Law #1: "When in
AOL:      Sheppy                   | doubt, rewrite from scratch."

--
Note from Baz:
  Please reply by email; do not reply directly to me.

-- 
 Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
 Procyon, Inc.              |   for the Apple IIgs!   
 bazyar@cs.uiuc.edu         |   P.O Box 620334
 --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
Newsgroups: comp.sys.apple2.gno
From: meekins@tortoise.cis.ohio-state.edu (Tim Meekins)
Subject: Re: Machine language forking
Organization: The Ohio State University Dept. of Computer and Info. Science
Date: Sun, 22 Nov 1992 02:42:37 GMT

In article <Bxzvu1.42w@CAM.ORG> vandry@CAM.ORG (Phillip Vandry) writes:
>bazyar@teal.csn.org (Jawaid Bazyar) writes:
>>  Make sure _wait_ is pushing a longword pointer on the stack. NULL (0) is
>>fine as long as it's a long.  That's the only thing I see possibly wrong.
>
>Well, you wrote the macro I used! You should know :)

actually, I wrote the GNO assembly macros and the script.asm you were basing
your code from :)

>
>I _did_ check and the macro does use ph4 to push the value. If the macro works
>the only other thing that could go wrong is the library routine, but I doubt
>that!
>
>I sent the source code to Tim, who said he would debug it for me (Thanks).
>Let's see what he comes up with :)
>

I'll take a look at tonight or tomorrow...

oh yeah, setdebug is built in to the shell, just type 'setdebug' from
gsh to get a list of options to it. It should also be documented in the
shell manual...so, you don'e have to explicitly make setdebug() calls
in your program, you can let gsh fo the work for you.

TIM MEEKINS                    Ask me about GNO/ME! - MultiTasking on a IIGS!
meekins@cis.ohio-state.edu     Procyon, Inc., 11738 Aqueduct Drive
AOL: GNO Tim2 (@aol.com)       Littleton, CO 80127   (303) 933-4649
                          
      "Computers aren't intelligent, they just think they are."

Newsgroups: comp.sys.apple2.gno
From: taob@r-node.gts.org (Brian Tao)
Subject: Re: Vindicating TelCom
Organization: R-node Public Access UNIX Information System (416-249-5366)
Date: Sun, 22 Nov 1992 21:23:50 GMT

In article <bazyar.722162119@teal> bazyar@teal.csn.org (Jawaid Bazyar) writes:
>
>   Um, not the last time I checked, and certainly not right now. :)
>It's possible you hit OA-P during your session.. OA-P is set to
>'Preferences', but the only Preference setting toggles control-character
>show on and off.  So give TelCom another try.  The vt100 really is one
>of the best.

    Speaking of which... I have problems uploading text files to the UNIX
box at school.  I use "cat filename > .ttyd2" to do an ASCII send, but the
text is double-spaced on the UNIX side!  If I convert CR's to LF's, it
turns out fine.  I seem to remember some env variable which determines
whether the shell prints an extra LF or not.  Would changing this variable
help?  It's a pain having to convert files to LF's, uploading, then back
to CR's.

-- 
--
-=+ Brian Tao (taob@r-node.pci.on.ca, 90taobri@chasm.scar.utoronto.ca) +=-
                                   -=+=-
     -=+ MuGS: The Only Internet Mail Reader For The Apple IIGS! +=-
Newsgroups: comp.sys.apple2.gno
From: vandry@CAM.ORG (Phillip Vandry)
Subject: Re: MV bug (?)
Organization: Champlain Regional College, St-Lambert QC CANADA
Date: Thu, 19 Nov 1992 17:03:15 GMT

Gregory Ross Thompson <gregt+@CMU.EDU> writes:

>  Well, I just looked at my code (not the most up to date, but I can't
>imagine that Jawaid tore it up too much while adding more error
>reporting, or whatever), and if the second file on the command line
>doesn't exist, it DOESN'T print out an error message...

Hmm. This is weird. I'll check again, but I do remember having trouble renaming
a disk (since the new name doesn't exist). I think I use cp -vrp mv file1 file2

>  Are you using Sys 6.0?  Are you using an official release of GNO?

Yes, and yes.

>Are you using a really old version of cp?  I gave a few people copies

No.

>to test a LONG time ago, and it's possible that that was a bug in the
>tester version, but I don't know.  In any case, there is no bug in cp.
__                __          _          __
|_) |_| | |  |  | |_)   |  | /_\ |\ | |\ |_) \_/  % NetMail:          %
|   | | | |_ |_ | |      \/  | | | \| |/ |\   |   %   Vandry@Cam.Org  %

Newsgroups: comp.sys.apple2
From: djredick@bluemoon.use.com (Darrin J. Redick)
Subject: Re: CV-Ram 8MB card
Organization: Blue Moon BBS ((614) 868-998[024])
Date: Thu, 19 Nov 92 01:36:06 EST

grover@emunix.emich.edu (Grover Thomas) writes:

> With all this talk currently going on about RAMcards and such, I just
> found an interesting advertisement from TMS Peripherals:
> 
> C.V. Technologies
> NEW!!!
> 
> CV-RAM
> The NEW CV-Ram comes with 4Mbs already installed and is user expandable to
> 8Mbs utilizing standard 1x4 DRAMs.  Fully DMA comaptible...etc,etc,etc...
> 
Can I assume that this is a GS-only card?  I would LOVE to go beyond the
3megs I currently have in my IIe, up to about 6megs.


   ______________________________________________________________________
  |                                                                      |
  | InterNet: djredick@bluemoon.use.com                                  |
  |______________________________________________________________________|
  |                                                                      |
  | FutureNet : #129@#02 #021@#03  #100@#07  #032@#09  #001@#10 #077@#13 |
  |             #041@#14 #067@#15  #131@#16  #043@#19  #113@#21 #126@#22 |
  |             #247@#25 #051@#26  #030@#31  #009@#33  #035@#41          |
  |______________________________________________________________________|
From: 90taobri@CHASM.SCAR.UTORONTO.CA (TAO  BRIAN T)
Newsgroups: comp.sys.apple2
Subject: Re: DeskTracker's back...
Date: 15 Nov 92 19:12:32 GMT
Distribution: world
Organization: University of Toronto (Scarborough) Computing Services

The following revelation escaped Richard J Wifall's lips:
>
> I also would like to
> say that it was equally frightening that only one person mailed me
> regarding it who was not a developer of apple software...   It seems
> the only people interested in supporting the GS these days are the
> people that actually program on it..

    Non-developers probably thought "I certainly can't code a Soundsmith
player, so there isn't any way for me to help out Richard..."  Besides,
you know how people are in general... most don't want to expend the
energy taking up a cause.  It isn't as doom-and-gloom as you think, IMHO.
--
-=+ Brian Tao (taob@r-node.pci.on.ca, 90taobri@chasm.scar.utoronto.ca) +=-
                                   -=+=-
     -=+ MuGS: The Only Internet Mail Reader For The Apple IIGS! +=-
From: larry@lablues.UUCP (Lawrance A. Schneider)
Newsgroups: comp.sys.apple2
Subject: about my survey - 3
Date: Tue, 17 Nov 92 16:39:29 EST
Organization: L/A Blues BBS - Auburn ME (207) 777-3465 & 7782

When I posted my survey about Apple and its computers, a number of
people (MANY) asked that I give them the results.  DONE SO HERE BY!


DON'T REPLY TO THE FOLLOWING!!!!!!!!!!!!!!!!!!

I am doing a project for my _Marketing_ class.  I'd like you to answer
the following questions.  The answers will be on a sliding scale of 0
- 9 with "0" being STRONGLY DISAGREE and "9" being in TOTAL AGREEMENT.
PLEASE DO NOT REPEAT the questions; simply answer like this via.
E-mail: 

                   "A)  ?
                    A1) ?
                    C)  
                    etc."

If a question does not apply, DO NOT ANSWER THE QUESTION!  If you'd
like to make a comment, please do so at the end of the questionnaire. 
The idea is to keep bandwidth to a minimum.

I'd like to thank you in advance!                 Larry


A)  I think Apple Computer supports the Apple II to a sufficient
degree.

            Average result =.45

A1) I think Apple Computer supports the Mac to a sufficient degree.

            Average result =6.05

A2) I think Apple Computer will do to the Mac the same thing it did to
the Apple II, III and Lisa.

            Average result =6.60

A3) I bought (would buy) a Mac because of my positive experience with
my Apple II.

            Average result =1.90

B)  I bought (would buy) another new Apple II from Apple Computer. 

            Average result =3.65

B1) I dislike Apple Computer.  However, I bought (would buy) a used
Apple II because of my positive experience with my first Apple II.
 
            Average result =6.00

C)  I will buy (have) another computer.  It will be (is) a ????
because an Apple II simply will not do what I need(ed) to do.

            Average result =3.50

C1) I will buy (have) another computer.  It will be (is) a ????
because I dislike Apple Computer. 

            Average result =3.35

D)  When asked, I speak well of Apple Computer.

            Average result =1.90

D1) When Asked, I speak well of my Apple II.

            Average result =8.80

D2) When asked, I speak well of a Mac.

            Average result =3.00

Thanks              Larry


DON'T REPLY!!!!!!!   THIS IS JUST A REPORT OF PREVIOUS RESULTS!!!!

more in next post
Newsgroups: comp.sys.apple2
From: posty@socs.uts.edu.au (Andrew Roughan)
Subject: Appleworks 3.0 on GS w/parallel card problem?
Organization: Computing Sciences, Uni of Technology, Sydney.
Date: 19 Nov 92 23:34:31 GMT


G'day all,

In the process of packing away my //e and hooking everything up to my //gs, 
came across the following problem:

I can't get Appleworks 3.0 to use my parallel printer.

Here's my setup:

Rom 3 Apple //gs
RamFAST 2.01 in slot 2 ("your card")
Transwarp GS in slot 4
Apple 3.5, Apple 5.25 (Slot 5 = smart port, Slot 6 = disk port (or whatever))
The parallel card can be placed in slot 1 or slot 7 (set to "your card")

The card works fine when I do an ordinary PR#1/7 from basic.

My Appleworks 3.0 has Timeout extensions installed.

Appleworks 3.0 displays the print thermometer and then proceeds to fill it up
very quickly. Nothing goes out. (Yes, the printer is "Online" :-).

This is even stranger when you consider that my //e was using the same exact
Appleworks setup on the same hard drive with the same printer and parallel
card and having no problems at all.

Anyone got any ideas?

Regards,
Andrew
--
Andrew Roughan             | Snail: PO Box 65 Wahroonga, NSW 2076 Australia
Apple // Sub-editor        | Net:   posty@socs.uts.edu.au
"Applecations" magazine    | Ask me how "Eclipse" is going... (BBS software)
Apple Users' Group, Sydney | There can never be enough Apple //s
Newsgroups: comp.sys.apple2
From: weilej@cary104.its.rpi.edu (Jason Lee Weiler)
Subject: Re: Out of This World - Out of My Mind
Reply-To: weilej@rpi.edu
Organization: Rensselaer Polytechnic Institute, Troy, NY.
Date: Sat, 21 Nov 1992 09:10:51 GMT

|> My only point was that the game was originally developed for
|> a computer (the Amiga, I think) and not a game system.  Bill
|> didn't design the original game, did he?  I was under the
|> impression that was was simply porting it to the SNES and GS.
|>  

I believe that the game was first done on the IBM..Then ported to the Amiga and everywhere else...come to think of it...this is a pretty stupid topic (no offense to anybody).  Who cares how it got to the GS...it's here and it's available.  Just buy it...I've seen the Amiga version in it's entirety and thoroughly recommend it to anyone anywhere anytime and in any parallel plain to this dimension.
But that's just opinion...:-)

________________________________________________________________________________
Jason Weiler
weilej@rpi.edu                   Happy T-giving to all
		           and may your turkey not be dryer than the Mojave.
The Phantom Chicken
________________________________________________________________________________