HDTenEightyP/NetNews huggingface dataset:
From: luis@inca.cath.puh.upmc.edu (Luis G. Herrera-Bendez)
Newsgroups: comp.sys.next.programmer
Subject: Stand alone application on NeXT
Date: 11 Nov 92 21:37:48 GMT
Distribution: comp.sys.next.programmer
Organization: School of Medicine, Univ. of Pittsburgh, USA

Does any body in this group has written an application on the NeXT such
that it runs as a single, independent application so that the rest of the
functions of the NeXT can not be accessed (browser, icons. etc).
An example of this is the X-Window
application that takes over the system and handles all user interaction.
This may go against NeXT philosophy but I need this functionality in an
application with a well controlled interaction. Thanks

Luis G. Herrera
Division of Cardiology
School of Medicine
University of Pittsburgh.
Newsgroups: comp.sys.next.programmer
From: tacchi@next01.cc.umanitoba.ca. (Mark G. Tacchi)
Subject: Simple Sound Question
Organization: University of Manitoba, Winnipeg, Canada
Date: Mon, 9 Nov 1992 20:37:45 GMT

Can anyone point out why this does't make a sound?  I suppose there is more to  
it than these few lines, right?

@implementation MySound:Sound
- beep {
  const char *theName= "Tink.snd";
  [self setName:theName];
  [self play];
  return self;}
@end

I can use the SNDPlaySoundfile(path,priority) and that works.

--
Mark G. Tacchi                                    tacchi@next01.cc.umanitoba.ca
  Unix Support Group                                        (NeXT Mail Welcome)
  University of Manitoba Computer Services
 "My opinions are my own, and do not necessarily reflect those of my employer."
Newsgroups: comp.sys.next.programmer
From: howard@monitor.com (Howard Brenner)
Subject: Maximum window width
Reply-To: howard@monitor.com (Howard Brenner)
Organization: Monitor Company / IE
Date: Thu, 5 Nov 1992 22:31:11 GMT

Is there a maximum width for a window?  I am creating a window with a
width of 34000 and a height of 1200 and I am getting a DPS context error  
on the command placewindow (origin of 0,0).  The problem does not seem to  
go away until I bring the width down to about 10000 or so.

Thanks!
   Howard
Newsgroups: comp.sys.next.programmer
From: bbum@object.com (Bill Bumgarner)
Subject: Re: RIBs, RenderMan, and Textures
Organization: Objective Technologies,Inc.
Date: Thu, 12 Nov 92 17:06:50 GMT

In article <101558@bu.edu> ambi@localhost.bu.edu (Mike Amirault) writes:
> 
>  I've been messing around with Renderman and RIB files for a couple
> of days and need some help. I can pretty much get everything to work
> except textures.  I've tried everything and can't get a simple texture
> to display from a RIB file I created. I can use 3DReality and add a
> texture fine, but I can't do it from my RIB file.
> 
>  I've tried things like:
> 
>  Surface "SD_Simple_tx" "txmap" "/NextLibrary/Textures/brick.tex"
>  Surface "texmap" "texname" "brick"
>  ...

I suspect that you need to declare the "txmap" variable type-- RenderMan isn't  
going to be able to figure it out by itself.... add something like this to it:

Declare "txmap" "string"
 
(I think it is "string"-- you might have to hack around a moment to figure it  
out)

BTW:  For those interested, pick up the latest release of SmartFieldsPalette  
from the archive sites (the 3.0 version should be available later  
today/tomorrow sometime) and check out the info panel-- it has a 3DReality  
created animation in it.... sort of cool.  Excuse the slowness on opening;  it  
is a jpeg compressed set of TIFF images....

--
Bill Bumgarner <bbum@object.com>
Objective Technologies, Inc.
-- 
Bill Bumgarner <bbum@object.com>
From: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz)
Newsgroups: comp.sys.next.programmer
Subject: Re: (failing to) read Audio Data from CDROM
Date: 11 Nov 1992 23:54:01 GMT
Organization: ZRZ/TU-Berlin
Distribution: world
Reply-To: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz)
NNTP-Posting-Host: pizza.fb10.tu-berlin.de

In article <BxKDBu.AA@sounds.wa.com> BrianW@SoundS.WA.com (Brian  
Willoughby) writes:
..
> 
> The differences between audio and data CDs are a little more complicated  
than  
> that.  The simplest way I can think of explaining it is that audio CDs  
are like  
[what seems a fine description of CD format]

Sorry, but I think, this copy protection bit stuff (actually two bits, I  
think) is really true. Isn't there somethind like CDaudio in the  
fileystems directory? BTW, does anybody have a not copyprotected audio CD?

Carsten
From: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz)
Newsgroups: comp.sys.next.programmer
Subject: problem with gdb (another one)
Date: 11 Nov 1992 15:26:28 GMT
Organization: ZRZ/TU-Berlin
Distribution: world
Reply-To: carsten@pizza.fb10.tu-berlin.de (Carsten Schultz)
NNTP-Posting-Host: pizza.fb10.tu-berlin.de

Hi,

I have this declaration in my program

@interface Maze:Object
{
	int	rows, cols, players;
	id	squares[MAXCOLS][MAXROWS];
	id	faces[MAXPLAYERS];
}
..
@end

Every time, I try to look at an instance of this in the newly integrated  
debugger (clicking self in the browser) gdb gives an error message and the  
debug part of Edit somewhat hangs.

Carsten
From: brian@chromagrafx.com (Brian C. Hobbs)
Newsgroups: comp.sys.next.programmer
Subject: nextimage errors?
Date: 5 Nov 92 13:48:34 GMT
Organization: Chromagrafx Imaging Systems, Hauppauge, NY


Greetings,

I'm working with NXImage a bit and have been converting some old code from  
2.1 to 3.0.  A rather interesting error came up during running:

DPS client library error: PostScript program error, DPSContext ec248
%%[ Error: rangecheck; OffendingCommand: nextimage ]%%

I can't find any references to nextimage in any of my documentation, and I  
never had an error like this using the app under 2.1.  Anyone have any  
ideas what 'nextimage' does and why I would get this under 3.0 and not  
2.1?

please reply via email.

Thanks much,

Brian Hobbs
Chromagrafx Imaging Systems
brian@chromagrafx.com
Newsgroups: comp.sys.next.sysadmin
From: neuss@igd.fhg.de (Christian Neuss )
Newsgroups: comp.sys.next.sysadmin
Subject: Re: 3.0 - preven screen burn-in!
Date: 12 Nov 92 14:05:53 GMT

Yo folx,

jscott@vardamir.next.nd.edu (James Scott) writes:
[munch]
>To make the login window bounce around the screen when idle, do the  
>following as root:

>dwrite loginwindow MoveWhenIdle YES

>this does not interfere with screen dimming.  it is only available in 3.0.

Hm.. didn't work for me.. I am using adim. Are you sure this doesn't
interfere with the bouncing? How long does the machine have to be idle 
before the window starts moving? (If I know that it is supposed to
move after 30 seconds, I don't have to wait 5 minutes when I experiment
with different settings ;-)

Thank you in advance for the info!
Chris
/*
 *  Christian Neuss  %  neuss@igd.fhg.de  %  ..in the humdrum
 */
From: louie@sayshell.umd.edu (Louis A. Mamakos)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Drifting clock
Date: 11 Nov 1992 13:45:42 GMT
Organization: University of Maryland, College Park
NNTP-Posting-Host: sayshell.umd.edu

In article <1992Nov10.200220.27203@kakwa.ucs.ualberta.ca> sherwood@space.ualberta.ca (Sherwood Botsford) writes:

>Because the amount of drift depends on the usage of the machine.  The  
>clock issues an interupt every nth of a second ( 50 on most unix boxes)  
>however, the priority of the interupt is fairly low, so a lot of the  
>time it has to wait for service.  If it doesn't get serviced before the  
>next interupt, then a tick is lost.  A quiestent machine keeps pretty  
>good time.

This is (usually) incorrect.  You have rather serious problems if you
machine is losing clock interrupts.  The NeXT, in Release 0.8 had a
problem that I found which attempted to periodically resynchronize the
time of day clock from the cheap battery-backed-up clock/calendar
chip; it no longer does this.  Sun platforms also have this problem,
but it can be turned off.  By far the worse problem with timekeeping
these days seems to be on some versions of SunOS on some Sun4
platforms that disable interrupts during kernel writes to
/dev/console.  I believe there is a fix for that.  I am not aware of
*any* problems on the NeXT related to missing clock interrupts and
load.

>I never have figured out why Casio can make a watch that keeps time to  
>a second per month, but no unix box can do so.  Why can't they put a  
>casio set of guts in there, and periodically update the system clock  
>from it...

The advantage the Casio has is that it's in a relatively constant,
temperature controlled environment (your arm, next to your skin).
Also, most computer manufacturers have no motivation to spend a little
extra money to design a robust, temperature-compensated crystal
oscillator that's required for good timekeeping.  It's not
particularly difficult to do, but it costs money.

louie


Newsgroups: comp.sys.next.sysadmin
From: jypai@ccnext.csie.nctu.edu.tw
Subject: printing accounting utility available?
Reply-To: jypai@ccnext.csie.nctu.edu.tw
Organization: Computer Science & Information Engin., Chiao-Tung U, Taiwan, ROC
Date: Wed, 11 Nov 1992 03:57:32 GMT


I connected an PostScript printer on NeXTstation's serial port.
I set the account file (property "af") to /usr/adm/recycle.acct,
which is like this:

   1.00 ccnext:jypai
   1.00 ccnext:jypai
   1.00 ccnext:jypai
   1.00 ccnext:jypai
   1.00 ccnext:sjchang
   2.00 ccnext:jypai
   1.00 ccnext:cp78083

But then we need to write a program to do the accounting and
write another program to prohibit users who exceed their quota.

I wonder if there's such an utility available somewhere?

Thanx u for ur help.
--

Yuan
+----------------------------------------------------------+
| Internet Address         : jypai@csie.nctu.edu.tw        |
| NeXT mail GLADLY accepted: jypai@ccnext.csie.nctu.edu.tw |
+----------------------------------------------------------+
Newsgroups: comp.sys.next.sysadmin
From: gcolello@biosphere.Stanford.EDU (Greg Colello)
Subject: Making a Client's File System Look Like its Server's
Organization: DSO, Stanford University
Date: Wed, 11 Nov 92 03:56:22 GMT

I am trying to figure out how to make it possible for a user to do  
anything on a client that the user could do on the client's server.

My solution:

0. Setup the clients and server as a Netinfo database.

1. Make all accounts network accounts (I acquiesed to the /Net and /Users  
idiom of Next).

2. Load the base 60MB NS3.0 OS on each client.

3. Load all Next packages on the server.

4. Load all third party apps on the server into /LocalApps.

5. Export the following from the server as ReadOnly using the 3.0 NFS App  
(these are the directories affected by steps 3 and 4 above):

/LocalLibrary
/usr
/Users
/NextDeveloper
/bin
/lib
/NextLibrary
/NextApps
/LocalApps

6. Import each of the above on the clients using the 3.0 NFS App. Mount  
them to /Net/server/... on the clients.

7. Replace the step 5 directories on the clients with soft links to their  
corresponding /Net/server/... step 6 mounts.

8. Make the server the mail server.

9. Make each client a mail client of the server.

10. Adjust the clients' sendmail.sharedsubsidiary.cf file to cause mail  
sent from them to bear the server's name instead of their own.

11. Adjust our campus domain name server to send mail addressed to any of  
the clients to the host instead. Adjust the server's sendmail.mailhost.cf  
file to have alias' for each of the clients so the host does not reject  
the redirected mail.
------------------------------

My first question is how many of the step 5 directories need Read/Write  
access? For example I know that /usr/spool/mail-->/private/spool/mail  
needs to be writable by the clients. So maybe I need to export  
/private/spool/mail and liberalize the permissions of that path. Also for  
example does /NextDeveloper need Read/Write access if you're doing  
NextStep development?

I also know that /usr/lib/sendmail is different on the clients than the  
server. How many other such inconsistancies are there?

Also our server is a monochrome Cube and our clients are both mono and  
color slabs. Are there some different OS file requirements here?

If this overall problem can be resolved it would be really neat, because  
we could work on our server or clients completely transparently, and all  
upgrades could be confined to the server.

BTW we didn't use NetBoot, because each client has a good sized hard drive  
that can be used as a local swap disk. I understood that there was no way  
to have local swap disks with NetBooting.

I hope my naivete isn't showing TOO badly here.

-----------------------------------------------------------------
Greg Colello
Carnegie Institution, Department of Plant Biology
Stanford University
gcolello@biosphere.stanford.edu
From: robin@pencom.com (Robin D. Wilson)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: "?" in filename
Date: 9 Nov 92 17:25:35 GMT
Reply-To: robin@pencom.com
Organization: Pencom Software

In article <3657@news.cerf.net> jerry@gristle.com writes:
> 
> A Dos disk was inserted into my machine that had a ? in the title.
> The name cannot be changed and the system doesn't recognize the
> folder as a disk. The disk is not mounted. No new disks can be
> mounted. When I try to remove the directory I get a busy disk
> message. I try to mv the directory and I get a can't move directories
> across file systems. Whoa. Help. Anyone.
> 

As far as I can tell this has to do with the version of the DOS format  
command you used.  We have had bad experiences with DOS 3.1, and Norton  
Utilities formats, but DOS 5.0 seems to work fine.  I would guess that this  
is a NeXTSTEP 3.0 bug, but I use DOS floppies so little I haven't bothered to  
report it.

--
+---------------------------------------------------------------------------+
|They didn't even know I could talk, much less have opinions  (yeah right!) |
|USNail:   701 Canyon Bend Dr.                 Internet:   robin@pencom.com |
|          Pflugerville, TX  78660                                          |
|          Home: (512)251-1737                 Work: (512)343-1111          |
+---------------------------------------------------------------------------+
From: dan@ennex1.eng.utsa.edu (Daniel Shelton)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Will the basic 3.0 release fit on a 105 MB drive?
Date: 9 Nov 92 17:50:38 GMT
Article-I.D.: ringer.1992Nov9.175038.847
Reply-To: dan@ennex1.eng.utsa.edu (Daniel Shelton)
Organization: Univ of Texas at San Antonio

In article <BxFMpD.2s5@news.cso.uiuc.edu> jeffo@uiuc.edu (J.B.  
Nicholson-Owens) writes:
> Jim Blevins writes
> > when I ultimately receive 3.0, will I be able
> > to boot from the CD-ROM, or is it possible (and preferable) to install
> > the basic release on the internal drive?
> 
> I don't know about booting from the CD-ROM, but you will be able to make a  
> basic release 3.0 on the 105MB HD.  You'll be able to install all the language  
> material and have about 13MB free on it, if I remember right.  I tried this (my  
> situation is similar: 1GB main HD and 105MB swapdisk) and it ran fine.  I  
> wouldn't do anything major with it (swapping might be a problem), but it should  
> run well enough to use.
> -- 
> -- Jeff (jeffo@uiuc.edu)
> -- NeXTmail welcome

I installed 3.0 on a station with a 105 hard drive and you have to be very careful when choosing what to install.  You must remember that the basic system does not include a c compiler.  I installed the c compiler on the station and was left only about 5 MB of free space.  It will work but you will have to edit out a lot of the options in the upgrade plan.

Dan
Newsgroups: comp.sys.next.sysadmin
From: news@ux1.cso.uiuc.edu (News)
Subject: Re: Will the basic 3.0 release fit on a 105 MB drive?
Reply-To: jeffo@uiuc.edu (J.B. Nicholson-Owens)
Organization: University of Illinois at Urbana
Date: Tue, 10 Nov 1992 04:19:27 GMT

Daniel Shelton writes
> I installed 3.0 on a station with a 105 hard drive and you have to
> be very careful when choosing what to install.

I should have said that I used the instructions provided with the CD for making  
a minimal 3.0 system.  By following the directions there, I don't recall ever  
having to use the 3.0 Upgrade utility app.  I think that unless there is a  
certain amount of space on the volume in which you upgrade to/install 3.0, the  
program will install the minimal version (no compiler, no extra stuff, just  
what you need to run programs already compiled).
-- 
-- Jeff (jeffo@uiuc.edu)
-- NeXTmail welcome
Newsgroups: comp.sys.next.sysadmin
From: gjditchf@plg.uwaterloo.ca (Glen Ditchfield)
Subject: Re: Drifting clock
Organization: University of Waterloo
Date: Tue, 10 Nov 1992 14:30:27 GMT

In article <1992Nov10.081846.11087@csus.edu> eps@cs.sfsu.edu writes:
>If your machine isn't synchronized to network time (e.g. a
>standalone "home" machine), you'll need to hook it to the
>network temporarily so it can "learn" what its natural
>tendency is.

My machine has a drifting clock, and there is no network to hook it to.  Is
there anything I can do?
Newsgroups: comp.sys.next.sysadmin
From: paul@seer.demon.co.uk (Paul Lynch)
Subject: Re: Empty recycler whenever user login/logout ....
Organization: P & L Systems
Date: Thu, 5 Nov 1992 21:06:02 GMT

In article <1992Nov3.170233.2839@umr.edu> jlu@cs.umr.edu ( Eric Jui-Lin Lu  
) writes:
> How shall I do to empty users' recycler whenever they logout/login?
> Most of our users don't know (or forget) to empty their recyclers.
> And it's untolerable in our env -- short of disk space.  As I know,
> Mac will clean up all the trashes whenever users logout.  Is
> there anything similar here in next?  Thanks in advance!

The shortcut would be to write something to do it, and then install it as  
a loginhook and/or logouthook (using a dwrite).

Paul
-- 
Paul Lynch
P & L Systems                   (NeXTmail) paul@seer.demon.co.uk
Tel: (0494)671501                      paull@cix.compulink.co.uk
Fax: (0494)680228                       76711.451@compuserve.com
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Problems after 3.0 upgrade (WindowServer port)
From: TARYN@arizvm1.ccit.arizona.edu (Taryn L. Westergaard)
Date: Fri, 06 Nov 92 11:35:00 MST
Distribution: comp.sys.next.sysadmin,local
Organization: University of Arizona

I'm having the same "loginwindow: could not find WindowServer port!" problem.
If someone has a solution, please mail it to me also.  Thanks!
 
Taryn
 
* Taryn L. Westergaard           BITNET:   taryn@arizvm1
* Systems Programmer, Principal  INTERNET: taryn@arizvm1.ccit.arizona.edu
* University of Arizona, CCIT    PHONE:    (602) 621-2996
Xref: sparky comp.sys.next.sysadmin:6403 comp.sys.next.misc:21841
From: ntomczak@vega.math.ualberta.ca (N Tomczak-Jaegermann)
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.misc
Subject: Re: How to get AmS-TeX working (NS 3.0)
Date: 10 Nov 92 17:57:28 GMT
Organization: University Of Alberta, Edmonton Canada


>	I'm trying to get a 3.0 system to run AmS-TeX. I've encountered several  
>difficulties, so I'm hoping the net can help me out:

>1) After using
>			initex \&tex amstex.tex
>to process my copy of the (version 2.1) macro package, I use the \dump command to  
>create the .fmt preloaded macro file. But when I try to USE that macro file, I get  
>this:

>(Nov 09 5:26pm) /kickaha/tex -> tex \&amstex
>This is CTeX, NeXT Version 3.141
>(Fatal format file error; I'm stymied)
>(Nov 09 5:27pm) /kickaha/tex ->

First of all I did not bother making amstex format.  I found NeXT fast
enough not to bother.  But if you are using amstex a lot and you have
this extra disk space use amstex.ini with initex.  It is meant for this!

Once you have done that check if you replaced an old format with the new
one.  If your TeX is picking up the old format all kind of bad things
will happen.  Is the name of this new format amstex.fmt or amsplain.fmt
or something like that?  In the later case put your new format in
/usr/lib/tex/formats directory an make a hard link from it to
amstex.fmt.  Lastly make a link in /usr/bin - 'ln virtex amstex'.
You can than call 'amstex my_file' and proper format will be picked.

>Example error message I received:

>=======

>(amsppt.sty version 2.1a (22-JAN-1992): Loading utility definitions,
>more fonts,
>! Font \sevenex=cmex7 not loadable: Metric (TFM) file not found.
><to be read again> 
>                   \toks@ 
>\rightappend@ #1\to #2->\toks@ 
>                               {\\{#1}}\toks@@ =\expandafter {#2}\xdef #2{\t...

>\font@ #1=#2 ->\rightappend@ #1\to \fontlist@ 
>                                              \font #1=#2 
>l.120 \font@\sevenit=cmti7
>                          
AMS-TeX is using a lot of fonts which are not included in a standard
distribution (more cm's, euler, fraktur, cyrilic).  You will find them
on various servers for ftp or you may buy/copy these from elsewhere.
Cannonical site is math.ams.com.

Do not bother with transfering pk's (bitmap files).  They will likely
be of a wrong resolution anyway.  Get Metafont sources and (optional but
very useful) metric files - tfm's.  Install in proper directories
and leave to dvips a job of making fonts when they are needed.  After
some initial period you will be left with bitmaps which YOU are using.
(If you did not turn on an automatic font creation check from time
to time /LocalLibrary/Fonts/TeXFonts/NeededFonts and run it as a script
in a batch mode).

   Michal Jaegermann
   ntomczak@vega.math.ualberta.ca
Newsgroups: comp.sys.next.sysadmin
From: shviid@magnus.acs.ohio-state.edu (Steen H Hviid)
Subject: Problem using 'dump' from cron
Organization: The Ohio State University
Distribution: usa
Date: Thu, 12 Nov 1992 19:06:07 GMT

Thanks for all the responses on my plead for help on getting the cron to run my
backup script using the dump command.


It turned out to be very simple, I just needed to supply the full path to the
dump command, i.e. /etc/dump, I ought to have though of that.

My other problem with not being able to redirect the output from the dump 
command to a file was solved by doing the redirection in the entry in the 
/etc/crontab,
as in:

0 23 * * 1-5   root   /usr/local/bin/daily.backup  >/tmp/backup.last 2>&2
 
why that worked while I couldn't do redirect on the dump command itself, is
strange, but the above suits me fine.

Some responses wondered whether my dump parameters were ok, specifically that I
didn't specify the filesystem parameter. The manpages states which fileystem
is the default (/dev/rsd0a) under the FILES header.

The working 'dump' command is thus after several experiments:

/etc/dump 0fsd /dev/rst0 2750 640000

By the way, I am using an HP6400/2000 DAT drive, which is device /dev/rst0 

Original message:

>Hi Everybody,

>I have a problem, my script works absolutely fine when run interactively, and
>even in the background using nohup, but it fails when run by cron (as root).  

>It tells me that 'dump' terminated with error code 1.

>Also, I wanted to redirect the output from the dump command into a file, 
>which I would have the script mail to me if anything went wrong, but it doesn't
>like that either. If I redirect standard output, nothing appears there, if I 
>redirect error output, it complains about ambiguos redirection.
>I have tried in the crontab entry to redirect the output of the script to both
>a file and null with to no avail. 


Thanks for the responses

Steen
Computer Specialist
The Ohio State University
From: jerry@gristle.com
Newsgroups: comp.sys.next.sysadmin
Subject: "?" in filename
Date: 6 Nov 92 10:09:14 GMT
Reply-To: poster


A Dos disk was inserted into my machine that had a ? in the title.
The name cannot be changed and the system doesn't recognize the
folder as a disk. The disk is not mounted. No new disks can be
mounted. When I try to remove the directory I get a busy disk
message. I try to mv the directory and I get a can't move directories
across file systems. Whoa. Help. Anyone.

--
----
Jerry Lugert
Jerry@gristle.com

 The disk is not mounted. No new disks can be
mounted. When I try to remove the directory I get a busy disk
message. I try to mv the directory and I get a can't move directories