HDTenEightyP/NetNews huggingface dataset:
From: klui@corp.hp.com (Ken Lui)
Newsgroups: comp.sys.next.programmer
Subject: Re: reading CD data
Date: 22 Jan 1993 18:37:29 GMT
Organization: Hewlett-Packard Company
NNTP-Posting-Host: klui.corp.hp.com

In article <30056@oasys.dt.navy.mil> curt@oasys.dt.navy.mil (Curt Welch) writes:
>I've read that the CD-ROM drive on some SGI systems can read all
>the music data, so at least someone has made a CD-ROM drive that
>can read the music data, but I think it requires more than just
>the right software driver.

The SGI and new Apple CD-ROM drives (Toshiba makes the SGI unit,
while Sony makes the Apple unit) supports the proper SCSI command
to access audio data from audio CDs.  I haven't tried it, but
someone mentioned in a comp.sys.mac.* newsgroup said that with
the newer Macs and the Apple 300i drive, he was able to
disconnect the supplied microphone and record directly from an
audio CD into a Mac SND file.  However it's done, it's certainly
possible--I didn't followup to find out what the sampling rate
was.


Ken
-- 
Kenneth K.F. Lui, klui@corp.hp.com                  3000 Hanover Street MS20BJ
Corporate Administrative Information Systems        Palo Alto, CA  94304   USA
Core Application Technologies                1(415)857-3230 Fax 1(415)852-8026
Newsgroups: comp.sys.next.programmer
From: abell@netcom.com (Steven T. Abell)
Subject: Re: reading CD data
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Mon, 25 Jan 1993 18:35:47 GMT

louie@sayshell.umd.edu (Louis A. Mamakos) writes:
>abell@netcom.com (Steven T. Abell) writes:
>>mike@media-lab.mit.edu (Michael Hawley) writes:
>>>Anyone have the driver code to read digital data
>>>from audio CD's using the CD-ROM drive?
>>>Digitizing through the DSP is adequate but silly.
>
>>This is, of course, highly desirable.
>>It's also illegal.

>Please explain why you believe that this is illegal?  It seems to me
>that capturing the digital samples over the SCSI bus is not much
>different in the legal sense than getting them over the serial optical
>interface available on many CD players.  It seems to me that the "fair
>use" provisions of copyright law would permit this for personal use.

>As others have mentioned, you can buy CDROM and DAT drives from SGI
>that allow you access to the sound samples.  If you ask the vendors of
>the drives why they don't make it available, they'll tell you that
>they don't believe there's a market for it.

I believe it is illegal because (so I was told) there is a law against it.
Maybe I'm misinformed, but I don't think so. Remember the big noise when
DAT was first coming out? The music industry was afraid that people were
going to make flawless copies of their wares, and various encoding schemes
were proposed to the gummint boys to make this difficult or impossible.

Yes, there are devices that output digital data, but I believe it is the
case that no *legal* consumer-grade devices are available that will
record those streams. You may ask whether this really makes any sense.
The answer is, of course, "No."

Yes, you can buy peripherals for an SGI that will do this, but that may
be because SGI has persuaded some bureaucrat that it is "professional
equipment", which lives by a different set of rules.

If I'm just flatulating here, somebody please straighten me out.

Steve abell@netcom.com
Newsgroups: comp.sys.next.programmer
From: fud@leland.Stanford.EDU (Fred Lide Cheng)
Subject: init methods with Project Builder
Organization: DSG, Stanford University, CA 94305, USA
Date: Fri, 22 Jan 93 18:41:46 GMT

Hi,

I'm aa beginner to programming the NeXT and to OOP in general.  I'm trying
to initialize a Matrix class object ( with a different cellClass) at
the beginning of the program.  I was wondering how one would go about 
doing this since the main file isn't supposed to be modified.

fred
Newsgroups: comp.sys.next.programmer
From: kevins@slow.inslab.uky.edu 
Subject: Re: IB question
Organization: University Of Kentucky, Dept. of Math Sciences
Date: Sun, 24 Jan 1993 22:51:02 GMT

Michael J. Hopkins writes
-> I have a question about loading images into a project.
-> Suppose I am creating an icon for use in a project.
-> First I draw the icon, then I drag it into IB and the image
-> suitcase opens up, and I drop it in.  A panel comes up giving me
-> the choice of inserting it into the project or creating a local image.
-> I choose to insert it into the project, thus creating a .tiff file in
-> my project folder.  Now suppose I decide to make some changes to the image.
-> How can I make them take effect in IB?  Simply changing the .tiff file
-> doesn't seem to do anything.  In fact the file can be deleted.  IB has
-> put its own private copy in the .nib file.  If I try to add the updated
-> icon to the .nib file again (by dragging it into IB) I get an alert panel
-> telling me that the image already exists.  IB then refuses to write over it.
-> I guess my question is:  How can I delete an image from a .nib file?
-> 
-> 
-> 
-> 
-> 
-> 
-> 
-> -- 
-> -----------------------------------
-> Mike Hopkins
-> mjh@math.mit.edu
-> -----------------------------------

Yes, this appears to be a big pain in the ass. The only thing I've found  to do  
is remove the image from ProjectBuilder and it should be removed from IB. Then  
simply add it again. This seems to suck.

Anyone else have any ideas?

 
--
_______________________________________________________________________________
                        I'll cross my heart and hope to die
                        but the needle's already in my eye.
_______________________________________________________________________________
	
	Kevin Solie
From: bobb@agora.rain.com (Bob Beauchemin)
Newsgroups: comp.sys.next.programmer
Subject: Memory Allocation Error
Date: 21 Jan 93 01:28:04 GMT
Article-I.D.: agora.C16K2t.HGC
Organization: Open Communications Forum


  I'm having a problem with the NeXT 2.1 compiler and wonder if anyone else
has experienced it. Code that compiles OK and works on other platforms
fails on the NeXT. The error messages (at program execution) are:

  memory allocation error: attempt to free or realloc space not in heap
  bad zone
  IOT trap

  Has anyone else experienced this problem and/or have a solution or
explanation? Its happened on three different separate programs.

  Thanks (in advance),

Bob Beauchemin
bobb@agora.rain.com
From: hqm@ai.mit.edu (Henry Minsky)
Newsgroups: comp.sys.next.programmer
Subject: remapping the keyboard (control and meta keys)
Date: 21 Jan 93 01:06:08
Organization: MIT Artificial Intelligence Laboratory
NNTP-Posting-Host: transit.ai.mit.edu


Can anyone tell me a way to remap the keyboard on a Next machine, so
that the 'command key becomes the control key? 

I am used to editing in emacs, with a lisp-machine keyboard, and
would like to have the control and meta keys adjacent. 

Thanks,
	Henry
From: thartman@phakt.usc.edu (Tye)
Newsgroups: comp.sys.next.programmer
Subject: C++ & LISP
Date: 25 Jan 1993 11:12:32 -0800
Organization: University of Southern California, Los Angeles, CA
Distribution: na
NNTP-Posting-Host: phakt.usc.edu

I have a NeXTStation running 3.0, with the full development package installed. 
The university here is using AT&T C++, whereas my NeXT is using the hacked
ANSI C++ (I think?).  Are these compatible?  Similarly, if I install the 
GNU G++, will this be compatible w/ AT&T?

Also, the school is using Lucid Common Lisp/SPARC 4.1 for Lisp development.
Is this compatible w/ the Allegro Common Lisp on the NeXT?

Why, oh why, can't there just be one standard?  (Dream, dream, dream...)

Thanks!
Tyson Hartman
thartman@aludra.usc.edu
From: louie@sayshell.umd.edu (Louis A. Mamakos)
Newsgroups: comp.sys.next.programmer
Subject: Re: reading CD data
Date: 25 Jan 1993 15:29:21 GMT
Organization: The University of Maryland, College Park
NNTP-Posting-Host: sayshell.umd.edu

In article <1993Jan22.195631.21751@netcom.com> abell@netcom.com (Steven T. Abell) writes:
>mike@media-lab.mit.edu (Michael Hawley) writes:
>>Anyone have the driver code to read digital data
>>from audio CD's using the CD-ROM drive?
>>Digitizing through the DSP is adequate but silly.
>
>This is, of course, highly desirable.
>It's also illegal.

Please explain why you believe that this is illegal?  It seems to me
that capturing the digital samples over the SCSI bus is not much
different in the legal sense than getting them over the serial optical
interface available on many CD players.  It seems to me that the "fair
use" provisions of copyright law would permit this for personal use.

As others have mentioned, you can buy CDROM and DAT drives from SGI
that allow you access to the sound samples.  If you ask the vendors of
the drives why they don't make it available, they'll tell you that
they don't believe there's a market for it.

louie

Newsgroups: comp.sys.next.programmer
From: daj@ccrma.stanford.edu
Subject: Re: Music Kit Question
Organization: DSO, Stanford University
Date: Thu, 21 Jan 93 23:10:29 GMT

In article <aw#@byu.edu>  writes:
> 
> 
> I've been playing around a lot with getting background scores
> playing in my games, and have run up against a couple of problems.
> 
> I can get either sound effects _or_ music to work quite well alone,
> but getting both simultaneously from the same app does not work.
> I have a few theories about why this is, and how to fix it...but
> if someone else has got sound playback and music working simultaneously
> from the same app already, I'd be interested in a few tips.  I
> looked at the latest Ensemble, and it too can only do sound _or_
> DSP synthesis, but not both together.  Ack!  Of course, if I spin
> off a separate process to play the scorefile and do the sounds from
> the game itself, everything works fine.  This is easy with distributed
> objects, but I'd rather have my ScorePlayer object reside in the
> same process, since this is wholly inelegant.  (It works, though.)
> 

I don't understand the question.  One of the most interesting features of
the latest Ensemble (3.1 music kit) is the ability to combine playing of
sound files with DSP synthesis.  This DOES work.  

I suggest looking closely at how Ensemble does it and do the same thing in your
application.
From: dlisoski@bluff.galcit.caltech.edu (Derek L. Lisoski)
Newsgroups: comp.sys.next.programmer
Subject: Edit's Expansion Dictionary - How??
Date: 23 Jan 1993 09:41:55 GMT
Organization: California Institute of Technology, Pasadena
Distribution: na
Reply-To: dlisoski@cco.caltech.edu
NNTP-Posting-Host: bluff.galcit.caltech.edu

I am having trouble getting entries in Edit's expansion dictionary to  
expand...although they do show up ok, both in the Edit <command>-E window and  
in the ~/.editdict file. Then I am just supposed to type the abbreviation and  
<Esc> or what?
If I do that it just beeps at me....
Thanks for any info
derek
dlisoski@cco.caltech.edu
From: ricci@disuns2.epfl.ch (Nicolas Ricci)
Newsgroups: comp.sys.next.programmer
Subject: Array deletion with ObjC++
Date: 27 Jan 93 10:20:16 GMT
Reply-To: ricci@disuns2.epfl.ch (Nicolas Ricci)
Organization: Ecole Polytechnique Federale de Lausanne


Does anybody know how to delete an array in ObjC++ (NeXTStep 3.0) ?

The standard way for doing that is to use the form
	delete [] _cast_expression_

for example :

	int* a = new int[10];
	...
	delete [] a;

When I compile this code with the ObjC++ Compiler, I get the following
error message :

	parse error before ']'

To solve this problem, I tried to give as parameter the size of the array
to delete, like this :

	delete [10] a;

In this case, I just got the warning (but NO error message !):

	array size expression for delete ignored

With this non ANSI-C++ syntax, could I be sure that my array will be
correctly deleted ?

Thanks for help.



Nicolas Ricci
e-mail : ricci@disuns1.epfl.ch
From: cc100aa@xray.gatech.edu (Ray Spalding)
Newsgroups: comp.sys.next.programmer
Subject: Re: RGB Values of "NeXT Help Blue"
Date: 28 Jan 93 01:55:57 GMT
Organization: Georgia Institute of Technology

In article <1993Jan27.002843.14043@strangeways.unh.edu> tjb@strangeways.unh.edu (Thomas J. Baker) writes:
>The color I'm looking for is not one that can be produced purely (i.e. without  
>dithering) on a 16Bit display so you can't just use the mag glass.  Look  
>closely and see that there is more than one color in their blue.

There may be more going on here than meets the eye, so to speak :-).

Look at the RTF code in:
/usr/lib/NextStep/Resources/English.lproj/HelpTemplate/Index.rtfd/TXT.rtf

Just guessing, but it looks to me like they encode both a color
value (red56,green70,blue144) that the Text object will use to
display certain text on a color device, AND a gray value (gray333)
that it will use to display the same text on a gray-scale device.

However, look at the tiff files in the subdirectory.  These appear
to be used to draw index rule lines of various sizes.  All the ones
I checked used (51,68,153) for the color and showed as pure NX_DKGRAY
in 2-bit mode.  (I think this is the same color on the 0->255 scale
as was posted earlier by Izumi Ohzawa as (0.2,0.26667,0.6) on the
0->1 scale.)

-- 
Ray Spalding, Office of Information Technology
Georgia Institute of Technology, Atlanta Georgia, 30332-0715
Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
From: Gary_Miller@next.com (Gary Miller)
Newsgroups: comp.sys.next.programmer
Subject: Re: RGB Values of "NeXT Help Blue"
Date: 28 Jan 93 17:26:09 GMT

In article <1993Jan26.010722.7575@strangeways.unh.edu>  
tjb@strangeways.unh.edu (Thomas J. Baker) writes:
> 
> Does anyone know the exact rgb values of the blue that NeXT uses in  
their help  
> panels (like for Mail)?  It has the quality of being blue on color  
machines and  
> pure light grey on monochome ones.  
>

There's no connection between the blue color's rgb values and the  
pure light gray that appears on a monochrome display.  The .tiff  
files that produce these graphic elements each contain two separate  
TIFF images:

# tiffutil -info 3PixelRule.tiff 
Directory at 0xca8
  Image Width: 359 Image Length: 3
  Resolution: 72, 72
  Resolution Unit: pixels/inch
  Bits/Sample: 8
  Compression Scheme: none
  Photometric Interpretation: RGB color
  Samples/Pixel: 3
  Number of Strips: 1
  Planar Configuration: Not planar
Directory at 0xe62
  Image Width: 359 Image Length: 3
  Resolution: 72, 72
  Resolution Unit: pixels/inch
  Bits/Sample: 2
  Compression Scheme: none
  Photometric Interpretation: "min-is-black"
  Samples/Pixel: 1
  Number of Strips: 1
  Planar Configuration: Planar

-Gary Miller (NeXT Publications)
From: dcheslow@impact.flint.umich.edu (David A. Cheslow)
Newsgroups: comp.sys.next.programmer
Subject: Re: How do I tell a text Form to select the next text cell?
Date: 26 Jan 1993 19:34:48 GMT
Organization: University of Michigan Engineering, Ann Arbor
Distribution: usa
NNTP-Posting-Host: impact.flint.umich.edu

I ran into this problem a long time ago.  The problem that you are  
experiencing is that a Form (sender) does not have a nextText.  A Form is  
a subclass of Matrix.  It is the cells of the Matrix which have nextText  
connections.  You can find the actual field where editing has occured by  
sending [sender selectedCell], and you can then ask the resulting object  
for its nextTeXT.  Alternatively (and perhaps more transparently), you can  
simply send [sender selectCellAt:[sender selectedRow]+1 :0]

--
===============================================================
*NOT* an official document of the University of Michigan-Flint
===============================================================
 David A. Cheslow               dcheslow@impact.flint.umich.edu
 School of Management, 344 CROB           Phone: (313) 762-3309
 University of Michigan - Flint             Fax: (313) 762-3687
From: campb001@casey.mc.duke.edu (Jim Campbell)
Newsgroups: comp.sys.next.programmer
Subject: ques: formatting reports out of Sybase with both text and graphics
Date: 25 Jan 93 21:00:40 GMT
Reply-To: campb001@mc.duke.edu


We're building a medical application that needs to print reports based on  
data in Sybase formatted with horizontal and vertical lines and with  
different fonts.  We looked at improv and dataphile and are going to look  
at framemaker as commercial stuff we could send our data to, but none of  
those things look sufficient at this point.  We're also looking around at  
sybase report generating tools, SQR being a likely candidate. Again, so  
far these seem limited.  How do other folks handle this kind of thing?   
The reports are the main thing this app provides the users, so they need  
to look snazzy.  Also, the user's are probably going to keep changing the  
requirements about how the data should be laid out, so we'd like to have a  
method that makes changes easy.  

thanks
--
Jim Campbell
Duke Univ. Med. Center Info. Systems 
campb001@mc.duke.edu (NeXT Mail ok)
From: iarit@slate.mines.colorado.edu (ARIT ISMAIL)
Newsgroups: comp.sys.next.programmer
Subject: X for color NeXT?????......
Date: 25 Jan 93 19:33:16 GMT
Organization: Colorado School of Mines

Hi there,

I don't know if this is the right place to post this question,
but I need some help with getting X up and running on color NeXT.
Does anybody know where I can get X (need binaries, don't have space to
compile)
for color NeXT? I got X for Mono(2 bits) NeXT up and running, but the same
binaries doesn't work for color one( show very small multiple windows 
on the screen).
I appreciate any help.

iarit@slate.mines.colorado.edu
From: x4y092@rick.cs.ubc.ca (Steven Kenneth Besler)
Newsgroups: comp.sys.next.programmer
Subject: Re: Compiling Wizards? Try this one on for size.
Followup-To: comp.sys.next.programmer
Date: 27 Jan 1993 23:35:39 -0800
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Distribution: world
NNTP-Posting-Host: gambier.rick.cs.ubc.ca
Summary: term on NeXT
Keywords: term

	Has anyone got term to work? 

	Earlier today I got term102.tar.Z and compiled it both on the
HPs at my school and on my NeXT.  It doesn't seem to be working though...

	If you someone has been successful at this, please post detailed
instructions, as they would be very useful to me and no doubt many others.

	Steve
From: gideon@otago.ac.nz
Newsgroups: comp.sys.next.programmer
Subject: IXKit Examples please
Date: 26 Jan 93 14:18:25 +1300
Organization: University of Otago, Dunedin, New Zealand



Does anyone out there have any simple examples of how to use the indexing kit? Something like an
address book or similar would be most appreciated, so I can get an idea of how to use the various
components of the kit.

Thanks in advance for any help.

 
===============================================================================
                                    |


-- 
===============================================================================
                                    | NeXT Mail preferred.                
Gideon King                         | Phone +64-3-479 8347            
University of Otago                 | Fax   +64-3-479 8529
Department of Computer Science      | e-mail gideon@otago.ac.nz
P.O. Box 56                         |
Dunedin                             | The wonders of the steam age .......
New Zealand                         |                         Steam!!!
                                    |
===============================================================================
From: anderson@sapir.cog.jhu.edu (Stephen Anderson)
Newsgroups: comp.sys.next.programmer
Subject: Re: C++ & LISP
Date: 27 Jan 93 12:42:14 GMT
Distribution: na
Organization: Dept. of Cognitive Science, The Johns Hopkins University
In-reply-to: bjorn@darmok.uoregon.edu's message of 27 Jan 93 10:32:21 GMT

>>>>> On 27 Jan 93 10:32:21 GMT, bjorn@darmok.uoregon.edu (Bjorn S.
Fjeld Pettersen) said: 

	Bjorn> In article <1k1e30INNnuj@phakt.usc.edu>
        Bjorn> thartman@phakt.usc.edu (Tye) writes: 
[C++ discussion deleted]
> 
> Also, the school is using Lucid Common Lisp/SPARC 4.1 for Lisp
> development.  Is this compatible w/ the Allegro Common Lisp on the
> NeXT?

	Bjorn> Mostly.  You should probably compile your ACL as
	Bjorn> case-insensitive, upper-case preferred -- although this
	Bjorn> will preempt any attempt at using ACL with obj-c, IB
	Bjorn> etc. etc.

A correction here: the most recent version of ACL for the NeXT is
still 3.1.20. This is compatible with the corresponding version on
Suns, and largely similar to Lucid CL of the same vintage - but
different in important ways from Lucid (and Allegro) CL 4.x. The main
difference is that both Lucid and Allegro include (slightly different
versions of) CLOS in their 4.x implementations. Franz has apparently
all but finished ACL 4.1 for NeXT, but hasn't seen fit to release it
yet :-(  Until they do, case sensititvity may be the least of your
problems in porting Sun CL code to the NeXT.

--Steve Anderson
Newsgroups: comp.sys.next.programmer
From: monty@intuitiveedge.com (Montgomery Zukowski)
Subject: Name that SND format
Reply-To: monty@intuitiveedge.com
Organization: The Ohio State University
Date: Fri, 22 Jan 1993 15:46:46 GMT

	Does anyone know what these formats are?  I couldn't find any mention  
of them in the documentation.   

#define SND_FORMAT_NESTED               (9)
#define SND_FORMAT_ADPCM_G721           (23)
#define SND_FORMAT_ADPCM_G722           (24)
#define SND_FORMAT_ADPCM_G723_3         (25)
#define SND_FORMAT_ADPCM_G723_5         (26)

Thanks,

Monty
Newsgroups: comp.sys.next.programmer
From: BrianW@SoundS.WA.com (Brian Willoughby)
Subject: Setting NXSplitView position programmatically
Reply-To: BrianW@SoundS.WA.com
Organization: Sound Consulting, Bellevue, WA, USA
Date: Sat, 23 Jan 1993 10:11:21 GMT


I finally decided to add an NXSplitView to one of my apps.  Pretty  
straightforward, actually.

However, I would like to know if there is an easy way to set the position of  
the divider from my program.  I'd like to support something I haven't seen in  
ProjectManager, but is supported by Mail.app in Mailboxes, and that is for the  
program to remember the SplitView divider position when starting my app and  
automatically returning it to the same position it had when the app was last  
run.

From reading the docs, its seems like I could set the height of ALL the  
subviews and then call -adjustSubviews to update the divider, but isn't there a  
simpler way other than calling 3 to 5 methods?
-- 
Brian Willoughby	Software Design Engineer, BSEE NCSU
BrianW@SoundS.WA.com	Sound Consulting: Software Design and Development
NeXTmail welcome
From: lutzray@ERE.UMontreal.CA (Lutz Raymond)
Newsgroups: comp.sys.next.programmer
Subject: What is an API?   an other things
Date: 22 Jan 93 23:33:04 GMT
Organization: Universite de Montreal

#include <BasicQuestions.h>

things = {API, Cyberman, ShowAndTell, Amiga *REXX}

foreach this in things

  ask(" What is ", this " ? ")

  foreach that in things

    if (this != that) ask(" and which relations with ", that)

  end

end

	

U de Montreal, dept de physique, solide, 2e cycle, Raymond Lutz
ND_cube_NeXT_isolated_newbe_wannabe 
Newsgroups: comp.sys.next.programmer