HDTenEightyP/NetNews huggingface dataset:
From: henigan@quando.quantum.de (Kevin Henigan)
Subject: Re: unshar needed & sh discussion (was Re: cc ... & dmake)
Organization: Quantum Software GmbH, Dortmund, Germany
Date: Wed, 23 Dec 1992 10:06:37 GMT

In article <bazyar.725048507@teal> bazyar@teal.csn.org (Jawaid Bazyar) writes:
>henigan@quando.quantum.de (Kevin Henigan) writes:
>
>>The new version of gsh will support if/then/else etc... is it compatible
>>enough to unpack un*x shar files or to run un*x sh scripts.
    NOTE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>  But seriously, I've got code for an sh clone, and will finish a port
>as soon as I add more robust UNIX-style fork() support to GNO.  I'll
>actually be adding vfork(), which the sh clone can be modified to use
>instead of regular UNIX fork.

great, the unpacking is easy, but there are a lot of un*x shell scripts that
only run with /bin/sh, therefore I asked about /bin/sh.

>  If anyone can find the sh-less unshar, I'd be happy to port it.

I'll have a look and see if I can find a program.

In the mean time for you emacs buffs, how about this :-

from comp.sources.misc 
v06i047:Subject: v06i047: meunshar, a MicroEmacs macro to split shar files

Is anyone interested in looking at it?????

>-- 
> 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


-- 
 Kevin Henigan. UUCP:     {backbone}!unido!quando!henigan OR henigan@quando.uucp
  Quantum GmbH  Bitnet:   henigan%quando@UNIDO(.bitnet)
    Dortmund    internet: henigan@quantum.de, or henigan@quando.quantum.de
    Germany     advert  : PEDIGREE - the only genealogy IIGS prog with a GUI
Newsgroups: comp.sys.apple2.gno
From: bazyar@teal.csn.org (Jawaid Bazyar)
Subject: Re: Why csh? (Re: unshar needed & sh dis...)
Organization: Colorado SuperNet, Inc.
Date: Fri, 25 Dec 1992 13:47:27 GMT

jpenne@ee.ualberta.ca (Jerry Penner) writes:

>Just a question (as the subject line says), why did you go with 'csh'
>compatibility in the first place?  Unix csh is broken (as far as
>programming the thing goes.  Its command line interface works fine,
>except that it lacks command line editing and most versions I've
>played with don't have filename completion working).  The other
>shells like ksh, bash, etc are better...  Of course, this is just an
>interest-based question since you're obviously not going to change it
>now.

  gsh takes a lot of inspiration from tcsh, the modern derivative of
csh, which provides command-line editing, smarter path handling,
and filename and command completion.
  We never studied a whole lot on any aspect of why csh's script
language might be considered 'broken'.  Can you provide some examples?

>I don't own GNO so I'm also wondering how tightly coupled is the GNO
>kernel to the 'gsh' shell?  Can it be replaced with something else or
>would you have to start up another shell from inside it.  It would be
>cool to have 'chsh /bin/ksh' work in GNO.

  gsh is completely (100%) decoupled from the kernel.  We did it just
like Unix because, well, Unix did it right :)  chsh .. is trivial,
but right now gsh is the only shell we've got.  I expect this to
change in the future.  gsh also provides some IIgs-specific
support that the Unix based shells cannot (like AppleWorks _and_ emacs
style command line editing).

-- 
 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: bazyar@teal.csn.org (Jawaid Bazyar)
Subject: Re: Shells
Organization: Colorado SuperNet, Inc.
Date: Mon, 28 Dec 1992 22:00:14 GMT

vandry@CAM.ORG (Phillip Vandry) writes:

[ fine suggestions for gsh deleted ]

  We'll be adding all the things you mentioned to the next version of
gsh.

>Say you have a background process and you want to change a paramater or
>something. 
[..]

>That's named pipes as UNIX implements them, isn't it?
>Well, most of that stuff is a wish list anyway.

  The socket interface is probably equivalent in functionality; I've
considered named pipes, but sockets are much more flexible and
named pipes aren't used anymore, really.

>RE: gsh not connected to the kern.

>Who intercepts the ORCA Execute call (system() in C). I thought kern took care
>of all intercepting of things, but that command sting has to make it to gsh
>somehow for parsing and execution... What is there are several shells running?
>Who gets the Execute call? 

  The kernel (which handles all other ORCA shell calls) also accepts
the Execute call; but there is a kernel call that allows shells to 
install Execute handlers.  So, when gsh starts up it makes this call
(SetExecuteVector) so it can handle Execute calls.

-- 
 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
From: brianh@ccwf.cc.utexas.edu (Brian Huddleston)
Newsgroups: comp.sys.apple2.gno
Subject: A really stupid question
Date: 2 Jan 93 10:18:44 GMT
Organization: The University of Texas at Austin, Austin TX

I feel really dumb asking this question, being as I recall it being something
of an FAQ, but...

I'm having trouble getting any program to compile under GNO.  For example,
I tried compiling the source code for yes using the make command.  It compiles
fine, but when I get to the linker I get errors along the lines of...

Error at 00000054 past rexit PC = 00000559 : Address is not in current bank

I had this problem fixed at one point, but have apparently messed it up again
and I don't recall the solution.  I've appended my gshrc, if that will help.

brianh@ccwf.cc.utexas.edu

#
# Sample GNO Shell login file
# last update: 9/15/91
#
echo " "
echo "Welcome to GNO 1.0, commercial release"
echo " "
#
# Setup the other prefixes to emulate Orca for the benefit of utilities
# If you're using Orca 2.0 stuff, be sure to set prefixes 13-17 also
prefix 1 /hd.partition.4/utilities
prefix 2 /hd.partition.4/libraries
prefix 3 /hd.partition.4
prefix 4 /hd.partition.4/system
prefix 5 /hd.partition.4/languages
prefix 6 /hd.partition.4/utilities
# 2.0 Stuff
prefix 13 /hd.partition.4/libraries
prefix 14 /hd.partition.4
prefix 15 /hd.partition.4/shell
prefix 16 /hd.partition.4/languages
prefix 17 /hd.partition.4/utilities
# Easy prefixes...
prefix 21 /hd.partition.1
prefix 22 /hd.partition.2
prefix 23 /hd.partition.3
prefix 24 /hd.partition.4
prefix 31 /hd.partition.4
#
# Initializes our environment
#
cd 9:
set path=". ./Orca ./Utils /hd.partition.4/usr/bin /hd.partition.4/utils
/hd.partition.1/utilities /hd.partition.4/system /hd.partition.4/languages
/hd.partition.4/utilities"
set prompt="[%h] %C> "
set history=25 savehist=25
set home="/hd.partition.4"
set user=brian
set usrman="/hd.partition.4/usr/man"
set termcap="/hd.partition.4/etc/termcap"
set term="gno"
set tmacdir="/hd.partition.4/etc"
set lccincludes="/hd.partition.4/libraries/OrcaCdefs"
set keepname=\$
export path prompt history savehist home user usrman termcap term tmacdir
lccincludes keepname
# Setup necessary aliases
# These aliases are for the cp program, which actually does rm and mv, too
alias cp "cp -vi"
alias rm "cp -vip rm"
alias mv "cp -vip mv"
alias ls "ls -CF"
alias va "yankit t"
alias uncompress "compress -d"
alias zcat "compress -c"
alias ll "ls -al"
# Don't insert aesthetic newlines
set nonewline=1

Thanks for Any Help!

brianh@ccwf.cc.utexas.edu
From: jamesb@ecst.csuchico.edu (James L. Brookes)
Newsgroups: comp.sys.apple2.gno
Subject: Re: cc ...
Date: 21 Dec 1992 21:16:48 GMT
Organization: California State University, Chico
NNTP-Posting-Host: hairball.ecst.csuchico.edu

In article <1992Dec21.160930.1472@r-node.gts.org> taob@r-node.gts.org
(Brian Tao) writes:

>    Soenke, I tried out your new 'cc' on the agrep (approximate grep) source
>files I downloaded from comp.sources.unix.  Just as an exercise, I unpacked
>all the files and then did 'cc -O -v *.c'.  To my surprise, all the source
>files (about a dozen of them) compiled without a single error under GNO/
>ORCA 1.2, but that's it.  Nothing was linked so I didn't get an 'agrep'
>executable.  I tried 'cc *.o' afterwards (which started to link them),
>but it gave an error about a code segment being larger than a bank.  It
>gave me a 1.2-meg (!) binary anyway.  I can run it, but nothing happens 
>(doesn't crash the machine either).  I should also point out the resulting
>binary is very sparse (only takes up about 80K or so of disk space).
>
>    Is there some flag I should be setting?  Or maybe just get a newer version
>of ORCA?  :)

Brian, your problem actually has nothing to do with cc, it's the fault of
Orca/C.  With the current (1.2/1.3) Orca/C, if code size will exceed one
bank (64k) you have to segment the code into managable chunks yourself.
This means inserting a 'segment "BLAH      ";' (always good to pad
the segments to a full 10 chars, makes 'em look more readable on a dump)
at the beginning of the source file.  The code in that source file will
now be placed in a seperate load segment.

You also seem to have anther problem, which is a LOT of static space
allocated by agrep.  If you have a 1.2mb binary of which 1.1mb or so
is empty, that means you have a LOT of static space being allocated.
What that means is you need to use the large memory model (#pragma 
memorymodel 1) so you can have arrays and such that are greater than 64k.

Hope this helps.

>-- Real name: Brian Tao (Dept. of Exobiology, University of Toronto)
>-- Preferred: 90taobri@chasm.scar.utoronto.ca (checked daily)

As soon as I finish dmake, porting stuff should be quite a bit easier,
what with dmake and cc ... 
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|          James Brookes            | Inet: bb252@cleveland.freenet.edu |
|``What, me worry?'' - A. E. Neuman |   jamesb@cscihp.ecst.csuchico.edu |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Newsgroups: comp.sys.apple2.gno
From: johnmac@fawlty.towers.oz.au (John MacLean)
Subject: Re: Tentative date on 1.1?
Reply-To: johnmac@fawlty.towers.oz.au (John MacLean)
Organization: Tower Technology, Sydney
Date: Tue, 29 Dec 1992 21:07:32 GMT

In article <1992Dec23.232754.26136@slab.slip.uiuc.edu> derek@slab.slip.uiuc.edu (Derek Taubert) writes:
>
>I suppose now would be as good a time as any to talk about what will be
>provided by the TCP/IP stuff.  (drum roll...)  I'll be glad to answer questions
>from those to whom the following doesn't mean much.  All of this should be
>available when GNO 1.1 ships.
>
>Interface support:
>	SLIP built in (no dialupip or CSLIP, this will be later)
>	MacIP over LocalTalk (for those of you with access to LocalTalk nets
>		with FastPath routes on them)
>	When it becomes available, ethernet - the software is written already,
>		it's just a matter of getting the hardware
>Derek

Is there any confirmation yet that Apple's Ethernet card will allow
direct TCP/IP access, or are you referring to some other hardware?

I'd really like to plug my GS into an ethernet TCP/IP network, so tell me
exactly what hardware and software I would need (Apart from a GS,
and GNO 1.1 :-).

BTW, RPCs would be really nice, but if you get 3/4 of what your proposing
going I'll be really impressed!
-- 
This net: johnmac@fawlty.towers.oz.au                   Phone: +61 2 427 2999
That net: uunet!fawlty.towers.oz.au!johnmac             Fax:   +61 2 427 7072
Snail:    Tower Technology, 1 Apollo Pl,                Home:  +61 2 449 5930
          Lane Cove, NSW 2066, Australia.
From: jimmys@bonnie.ics.uci.edu (Jimmy Shaw)
Subject: Moria port for the GS
Newsgroups: comp.sys.apple2.gno
Reply-To: jimmys@ics.uci.edu (Jimmy Shaw)
Organization: Univ. of Calif., Irvine, Info. & Computer Sci. Dept.
Date: 28 Dec 92 07:10:11 GMT

I was wondering if anyone is currently working on porting the moria
to the GS.  Not the old version by Jason Harper (I think he was the
one,) but a new port from the newest version (5.xx?)

With the promise of Orca/C 2.0 and gno 1.1, this monsterous task
is perhaps finally possible... (Well, I am hopeful :-)

Jimmy



--
Jimmy Shaw		      RamFAST, ZipGSX and 6.0... Apple II Forever!
jimmys@ics.uci.edu
-----------------------------------------------------------------------------
Newsgroups: comp.sys.apple2.gno
From: johnmac@fawlty.towers.oz.au (John MacLean)
Subject: Multiple Desktop Applications
Organization: Tower Technology, Sydney
Date: Mon, 28 Dec 1992 22:03:47 GMT

Would it be possible to:

- Intercept all toolbox calls to desktop related toolsets
(eg: window manager, menu manager, quickdraw, qd aux, etc).

- Keep an array of main window handles, one for each application
(process-id) that is started.

- Re-direct all screen oriented calls to operate on the main window
of the appropriate application.

- In this way, have multiple applications running on the desktop under
GNO, with each application running in a scaleable window with a menu bar.

Has anyone given this (or something similar) some thought?
-- 
This net: johnmac@fawlty.towers.oz.au                   Phone: +61 2 427 2999
That net: uunet!fawlty.towers.oz.au!johnmac             Fax:   +61 2 427 7072
Snail:    Tower Technology, 1 Apollo Pl,                Home:  +61 2 449 5930
          Lane Cove, NSW 2066, Australia.
Newsgroups: comp.sys.apple2.gno
From: lenz@ssd.comm.mot.com (Doug Lenz)
Subject: Re: Why shouldn't you use csh?
Organization: Motorola LMPS
Date: Wed, 30 Dec 1992 19:08:42 GMT
Keywords: n

That's easy, look in the extremely LONG BUGS section... may I quote

"Although robust enough for general use, adventures into the esoteric
periphery of the C shell may reveal unexpected quirks"

This is updated from the warning in the old Sun 3 man pages where they
pretty much said "Don't use this for shell programming !"

Doug
-- 
=============================================================
| Douglas Lenz   |   Friends don't let friends use MS-DOS   |
-------------------------------------------------------------
|           internet :   lenz@ssd.comm.mot.com              |
=============================================================
Newsgroups: comp.sys.apple2.gno
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: Shells
Originator: tchrist@pixel.convex.com
Date: Wed, 30 Dec 1992 13:10:26 GMT
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: Convex Computer Corporation, Colorado Springs, CO
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

You'll want a named pipe whenever you want to replace a file that's
customarily opened by arbitrary you ever wanted, for example, programs
for either reading or for writing (but not both) with a programmed
agent.  For example, my .sig is such.

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist

Public Speaking is very easy.
		--Vice President Dan Quayle to reporters in 10/88
From: larry@lablues.UUCP (Lawrance A. Schneider)
Newsgroups: comp.sys.apple2.gno
Subject: Re: Quitting GNO programs
Date: Tue, 22 Dec 92 06:07:16 EST
Organization: L/A Blues BBS - Auburn ME (207) 777-3465 & 7782

|> Mine only goes to appendix E; where do you get the rest of it??
|
|Huh???  I bought this one from APDA when they were first released.
|Its official title is "Apple IIgs GS/OS Reference", by Apple Computer
|Inc., with a side note "For GS/OS System Software Version 5.0 and
|Later".  Addison-Wesley spine code 55020, ISBN 0-201-55020-2.
|
|You aren't still using the Beta Draft, are you?  I think I've disposed
|of my beta copy, so I can't check which appendices it has.
|-- 
|David Empson

Idiots of the world, unite; I offer my services as leader!!

I managed to grab the wrong manual; I apoligize to all.     Larry

larry@lablues.UUCP
FidoNet:  1:132/300 Larry Schneider

     / 7: "Wovon man nicht sprechen kann,  |  Larry Schneider
    /      darueber muss man schweigen."   |  Bright Software
   /                                       |  P. O. Box 120
  /         Ludwig Wittgenstein            |  Exeter, ME
 /     Tractatus Logico-Philosophicus      |       04435-0120
(__________________________________________|  207=379-3181
Newsgroups: comp.sys.apple2.gno
From: bazyar@teal.csn.org (Jawaid Bazyar)
Subject: unshar needed & sh discussion (was Re: cc ... & dmake)
Organization: Colorado SuperNet, Inc.
Date: Tue, 22 Dec 1992 18:21:47 GMT

henigan@quando.quantum.de (Kevin Henigan) writes:

>Hey, now were talking, a real make for gno, when this is ready then porting
>other un*x stuff will be easy...

  Well, easi_er.  :-)

>The new version of gsh will support if/then/else etc... is it compatible
>enough to unpack un*x shar files or to run un*x sh scripts.

  No; gsh is based on csh, and always will be.  All Hail the High Grandeur
of Bill Joy!

  But seriously, I've got code for an sh clone, and will finish a port
as soon as I add more robust UNIX-style fork() support to GNO.  I'll
actually be adding vfork(), which the sh clone can be modified to use
instead of regular UNIX fork.

  I believe, however, that there is an unshar program somewhere
that doesn't require sh to work.  I had an unshar.c on my hard drive,
but it just fires up /bin/sh automatically; kinda not what I'd
hoped for :)

  If anyone can find the sh-less unshar, I'd be happy to port it.

-- 
 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: jnomina@andy.bgsu.edu (A.P.K.)
Subject: Re: Why shouldn't you use csh?
Organization: Bowling Green State University B.G., Oh.
Date: Thu, 31 Dec 1992 08:21:22 GMT

Doesn't matter who wrote:
> Don't use csh...

:)

Well, I'll not say that it's great for everything, but there are
some rather nice uses for it.  Personally, I write lots of programs
for our biology department's microscopy lab (on a Sun and standard
unix).  We'll note that these are in C and Pascal, not csh.  However,
for tying together all of the loose ends that programming in
multiple languages leaves, I'm actually rather happy to write small
programs in csh that do the rest of the work.  I don't use csh
for the big and intricate research stuff, so I couldn't wouldn't
and shouldn't try to say, but for the little things it IS quite
nice -- file manipulations, probing directories, that sort of thing.

Jim

Newsgroups: comp.sys.apple2.gno
From: taob@r-node.gts.org (Brian Tao)
Subject: Re: cc ...
Organization: R-node Public Access UNIX Information System (416-249-5366)
Date: Tue, 22 Dec 1992 14:19:31 GMT

In article <1h5c80INN9ba@charnel.ecst.csuchico.edu> jamesb@ecst.csuchico.edu (James L. Brookes) writes:
>
>With the current (1.2/1.3) Orca/C, if code size will exceed one
>bank (64k) you have to segment the code into managable chunks yourself.

    There's one object file (main.o) that seems to fluctuate between 50
and 62K, probably because I was playing around with different flags.  I
followed your advice last night (IRC) but I still get "Code exceeds code
bank size" and a bunch of "Unresolved reference labels".  Ah well...

    For those who don't know what agrep is, it's an extension of the 'grep'
family which allows approximate matches (i.e., matches with insertions,
deletions or substitutions).  According to the docs, agrep is quite fast,
but I haven't tried it out on the GS yet (obviously).
-- 
-- Real name: Brian Tao (Dept. of Exobiology, University of Toronto)
-- Preferred: 90taobri@chasm.scar.utoronto.ca (checked daily)
-- Alternate: taob@r-node.pci.on.ca (no mail over 15K, please!)
--                                   """""""""""""""""""""""""
Newsgroups: comp.sys.apple2.gno
From: dsdd@okcforum.osrhe.uoknor.edu (Roy Barrett)
Subject: On the subject of SwitchIt..
Organization: Okcforum Unix Users Group
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 29 Dec 1992 06:45:41 GMT


My news server is really messed at the moment, and I can't get to csa2, so
since all this SI! talk has been going around, what does SoftSwitch do? It
multitasks P8 programs? I tried it once, and it looked okay, but I couldn't
get it working.. 

Couldn't you create a "Compatiblity" Aux type for some SI programs and have
programs in seperate windows? if it writes to the screen, it's incompatible,
but those "Mac-like" programs that follow all of the "Hell Laws" (aka the
Apple Human Interface Guidelines) will be able to run in seperate windows..

Jawaid, I thought you said that the SI! Icon was like the Mac Multifinder..
It SURE doesn't look like one to me.. ;)
Newsgroups: comp.sys.apple2.gno
From: behrenss@Informatik.TU-Muenchen.DE (Soenke Behrens)
Subject: Re: unshar needed & sh discussion (was Re: cc ... & dmake)
Organization: Technische Universitaet Muenchen, Germany
Date: Wed, 23 Dec 1992 19:15:07 GMT

bazyar@teal.csn.org (Jawaid Bazyar) writes:

>  If anyone can find the sh-less unshar, I'd be happy to port it.

You don't need to, it's already been ported. As a matter of fact,
both shar and unshar work fine on my GS.

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: 2ftrribbon@kuhub.cc.ukans.edu (Robert Hill)
Newsgroups: comp.sys.apple2.gno
Subject: ORCA/C 2.0 shipping date
Date: 21 Dec 92 22:50:48 CST
Organization: University of Kansas Academic Computing Services

	Just to clear up a few of the earlier problems--ORCA/C 2.0 is going to
ship in about 3 weeks (a week or so after the beginning of the year).

Sorry about the earlier misinformation.

--------------------------------------------------------------------------------
Robert Hill                                     |  rhill@oread.cc.ukans.edu
The University of Kansas                        |  rhill@ampere.ece.ukans.edu
Computer Science & Computer Engineering Major   |  AOL: RobertHill
--------------------------------------------------------------------------------
Newsgroups: comp.sys.apple2.gno
From: dsdd@okcforum.osrhe.uoknor.edu (Roy Barrett)
Subject: Re: On the subject of SwitchIt..
Organization: Okcforum Unix Users Group
Date: Fri, 1 Jan 1993 21:17:58 GMT
X-Newsreader: TIN [version 1.1 PL6]
X-Posted-From: okcforum.osrhe.uoknor.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

Jawaid Bazyar (bazyar@teal.csn.org) wrote:
: >It SURE doesn't look like one to me.. ;)
: 
:   When did I say that?

In IRC, I asked you what the Switch-It! Icon looked like, if it was like the
MultiLaunch "App" icon, and you said "No, it's more like a MultiFinder Icon"
: 
: -- 
:  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