HDTenEightyP/NetNews huggingface dataset:
From: eps@futon.SFSU.EDU (Eric P. Scott)
Newsgroups: comp.sys.next.programmer
Subject: Has anyone done anything interesting with Avery 5196 labels?
Date: 24 Dec 92 12:30:48 GMT
Reply-To: eps@cs.sfsu.edu
Distribution: na
Organization: San Francisco State University

These are Laser Printer Labels for 3-1/2" diskettes.  I was just
wondering if anyone had any cool label maker software for NeXTs
that groks these.  Avery, of course, markets their own for
PeeCees and Macintoys.

The attached Encapsulated PostScript file illustrates the page
layout; there are nine 2-3/4" square diskette labels and 12
1/2" x 1-3/8" `bonus' labels on each sheet.

Boolean variables you can change:

	outlines -- shows shape and position of each label
	guides -- draws content area vaguely resembling "blanks"
		included with a popular diskette brand  :-)

[N.B. This example uses a font that's standard on just about all
"real-world" PostScript printers, but isn't part of what NeXT
bundles--you need to have the separately priced optional "Adobe
Plus Pack" installed for "guides" to display properly onscreen,
or print on a NeXT Laser Printer.  Sorry about that.]

Have fun, be creative!

					-=EPS=-
-------
%!PS-Adobe-2.0 EPSF-2.0
%%Title: Avery-5196.eps
%%For: eps
%%DocumentFonts: Courier-Bold Helvetica-Narrow-Bold
%%Pages: 0 1
%%BoundingBox: 0 0 612 792
%%EndComments
%%EndProlog
gsave
2 dict begin
/outlines true def % draw label outlines
/guides false def % draw placement guides
0 setgray
0 setlinecap
[
  [9 558] [207 558] [405 558]
  [9 342] [207 342] [405 342]
  [9 126] [207 126] [405 126]
] {
  aload pop
  0.015 setlinewidth
  outlines {
    2 copy 6 add moveto
    0 186 rlineto
    currentpoint exch 6 add exch 6 180 90 arcn
    186 0 rlineto
    currentpoint 6 sub 6 90 0 arcn
    0 -186 rlineto
    currentpoint exch 6 sub exch 6 0 270 arcn
    -186 0 rlineto
    currentpoint 6 add 6 270 180 arcn
    closepath stroke
  } if
  guides {
    2 copy 51 add moveto 198 0 rlineto stroke
    0.5 setlinewidth
    exch 9 add exch
    2 copy 79 add moveto 180 0 rlineto stroke
    2 copy 101.5 add moveto 180 0 rlineto stroke
    2 copy 124 add moveto 180 0 rlineto stroke
    2 copy 146.5 add moveto 180 0 rlineto stroke
    2 copy 169 add moveto 180 0 rlineto stroke
    /Courier-Bold findfont [15 0 0 10 0 0] makefont setfont
    2 copy 186 add moveto (PHONY) show
    /Helvetica-Narrow-Bold findfont 7 scalefont setfont
    moveto 140 (INDEX) stringwidth pop sub
    187 rmoveto { pop pop 10 0 rmoveto } (INDEX) kshow
  } { pop pop } ifelse
} bind forall
outlines {
  0.015 setlinewidth
  [
    [9 83] [108 83] [207 83] [306 83] [405 83] [504 83]
    [9 40] [108 40] [207 40] [306 40] [405 40] [504 40]
  ] {
    aload pop 4 add moveto
    0 28 rlineto
    currentpoint exch 4 add exch 4 180 90 arcn
    91 0 rlineto
    currentpoint 4 sub 4 90 0 arcn
    0 -28 rlineto
    currentpoint exch 4 sub exch 4 0 270 arcn
    -91 0 rlineto
    currentpoint 4 add 4 270 180 arcn
    closepath stroke
  } bind forall
} if
end
grestore
%%Trailer
From: louie@sayshell.umd.edu (Louis A. Mamakos)
Newsgroups: comp.sys.next.programmer
Subject: Re: Unresolved references when linking
Date: 23 Dec 1992 01:22:25 GMT
Organization: University of Maryland, College Park
NNTP-Posting-Host: sayshell.umd.edu

In article <1992Dec22.173036.7075@murdoch.acc.Virginia.EDU> quarrie@cds001.cebaf.gov (David Quarrie) writes:
>--
>The following is relevant to NeXTSTEP3.0.

And, actually NeXTSTEP 2.x and earlier, too.

>I'm experiencing problems with unresolved references when using archives (.a).
>This isn't just my own .a files, but also libX11.a for X-Windows. As far as
>I can ascertain, it's a problem with global symbols instead of global routines
>and can be illustrated by the following (I haven't actually done the following
>since I'm not in front of my NeXT but I think it should illustrate the
>problem):

[...example omitted...]

>Am I doing something stupid? Is it a case of RTFM? So far I've managed to force
>linking to succeed by extracting the appropriate .o files from the library
>and explicitly linking them, but I wouldn't have thought I should need to do 
>that. 

Stupid?  Well, I don't think so.  Yes, RTFM, specifically 'man
ranlib'.  I think the -c option will do what you need.


louie
Newsgroups: comp.sys.next.programmer
From: vin@netcom.com (Vin Locke)
Subject: locking focus
Keywords: view, lockfocus, pswrap
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Wed, 23 Dec 1992 16:21:56 GMT

I have a class subclassed from View.
On initialization, a background image is attached, and on mouseDown, 
graphics actions occur in locations pertinent to where the mouse was
clicked. cool. (all these drawn objects are from pswrap-ped PS functions)

I have a another method that draws to the view that I want to call from 
a menu, also a pswrap-ped function.  However, when I execute this from the
menu, the graphics are drawn in the menu itself!  yuck-o!  

Now, I figure this is a matter of lockFocus.  Thing is, I haven't given
the View a name -- I'm just referring to it as "self" in the methods.  
When the menu executes the method, it does the drawing to the menu window,
and I must find a way to tell it where the drawing should be done -- right?

Is there a way I can refer to the window where the drawing _should_ be 
taking place, without having to to assign new id's for this View?  I figure
there must be an easy way to this, but looking through my collection of
examples and sample programs, I can't seem to pinpoint the solution.  I also
suspect my solution may be in IB wiring, rather than in coding.

 


-- 
					--vin

vin@netcom.com

"Every reform movement has its lunatic fringe"
					--Teddy Roosevelt

Newsgroups: comp.sys.next.programmer
From: byer@adobe.com (Scott Byer)
Subject: Re: Font bug?
Reply-To: byer@adobe.com (Scott Byer)
Organization: Adobe Systems Incorporated
Date: Tue, 22 Dec 1992 00:42:15 GMT

Sean Lamont writes

> In "NeXT-ifying" some type 1 fonts I made the following discovery:
> A number of fonts did not respond to the "lighter", "heavier"
> buttons, although the weights were correct in the font file.

> Have other people experienced this problem?  Is it a postscript
> weirdness or a bug?

Well...

It sounds like the AppKit is trying to determine if the font is a
pi font or a roman character font so that it can turn off the
Heavier/Lighter buttons for pi fonts (because, in general, pi fonts
don't come in families with varied weights, so those buttons don't
make sense).  There is no sure way to tell, but the way most used
is to check if the encoding is defined as StandardEncoding.

I would be inclined to say that it's a problem with the fonts, that
if they are standard roman-based fonts that they should be using
StandardEncoding as their encoding vector.

--
Scott Byer                             NeXTMail: byer@mv.us.adobe.com
Adobe Systems Incorporated               These are *my* opinions, and  
1585 Charleston Road, P.O. Box 7900        do not necessarily reflect
Mountain View, CA 94039-7900             the opinions of my employer.
---------------------------------------------------------------------
From: osiris@ucrengr.ucr.edu (Mark Radleigh)
Newsgroups: comp.sys.next.programmer
Subject: A question regarding ScrollView...
Keywords: scrollview
Date: 22 Dec 92 05:44:40 GMT
Distribution: usa


    Hello all,  I have a small question regarding a ScrollView object.

    -- How do I display text in a ScrollView?  For example, I want to display
       some info in the ScrollView, but I don't want anyone to be able to
       edit anything in the ScrollView.  Any info would help greatly.  Please
       reply via E-Mail & thanks.

--
   +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  /                                                                       \
 /  Mark J. Radleigh, Computer Science           | ..!ucsd!ucrmath!osiris  \
|  C.S.L.D. System Administrator, UC Riverside   | osiris@ucrengr.ucr.edu   |
|        NeXT Mail accepted at:                  | osiris@csld.ucr.edu      |
 \  Phone:  (909) 787 - 2842                     | (UCR ext. only) 2842    /
  \                                                                       /
   +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
From: alex@cs.umd.edu (Alex Blakemore)
Newsgroups: comp.sys.next.programmer
Subject: Re: A few small changes for 3.1 (Edit and gdb)
Date: 29 Dec 92 06:28:58 GMT
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742

tim@aplcenmp.apl.jhu.edu (Tim Pugh) writes:
> One addition [to Edit.app for 2.1] that should be both easy to make and
> quite useful is to follow the example set by the Stuart terminal emulator
> by adding an "extent" option  to the print pannel.

Another good idea that Edit and other apps should borrow from Stuart
is to use alt-up and alt-down to scroll. (alt-left and alt-right to cycle thru windows)
these are the main reasons I have to stop typing and reach for the mouse,
a real slow down in a word processing type of app.  Please NeXT, I know your
GUI gods have declared some nonsensical use for alt arrow keys that even Edit's writers
had the good sense to ignore, but please give us a way to scroll quickly without
using the mouse. And NO, holding down the arrow key as the cursor covers the whole
page is not quick.
-- 
---------------------------------------------------
Alex Blakemore alex@cs.umd.edu   NeXT mail accepted
Newsgroups: comp.sys.next.programmer
From: gmk@pegasos.ccsr.uiuc.edu (Gottfried Mayer-Kress)
Subject: Mail attachments from X, Mac systems?
Reply-To: gmk@pegasos.ccsr.uiuc.edu (Gottfried Mayer-Kress)
Organization: University of Illinois at Urbana
Date: Sat, 2 Jan 1993 22:13:19 GMT

Does anyone know, how I would receive mail attachments that are sent by, say,
X windows mail tools, Mac Eudora, Quickmail, etc?

--
Gottfried Mayer-Kress
Center for Complex Systems Research, Department of Physics
3025 Beckman Institute, 405 N Mathews, Urbana, Il 61801
gmk@pegasos.ccsr.uiuc.edu (NeXT-Mail)
gmk@goshawk.lanl.gov, gmk@santafe.edu 
(217)-244-5877 (voice/fax modem),x8371(fax), x1994 (msg)
Newsgroups: comp.sys.next.programmer
From: grd@faline..bellcore.com (Glen Diener)
Subject: Re: Symbol tables of dynamically loaded objects in gdb
Reply-To: grd@faline.bellcore.com (Glen Diener)
Organization: Bellcore MRE
Date: Mon, 28 Dec 92 17:59:48 GMT

In article <1hdse7INNslm@gap.caltech.edu> bchen@cco.caltech.edu (Bing-Qing Chen) writes:
>I was trying to figure out how to add symbol tables of dynamically loaded
>objects to gdb. According to the GDB document, I tried the following
>commands: "load file", "load-file file" and "add-symbol-file file addr".
>The first command returns "You can't do that when your target is `exec'"
>if the program is not running or "You can't do that when your target is
>`child'" when it is running, I wonder when I can use the "load" command?!
>The second command seems to do nothing, while the third command does not
>recognize address argument and it crashes gdb with "Segmentation fault"
>if no address is given. This is really frustrating. Any help would be
>greatly appreciated.
>
>Thanks,
>Bing Chen
>bchen@cco.caltech.edu
>

The proper incantation is add-file <filename>, where filename is
the name of an object file produced by rld_load or objc_loadmodules.
You'll probably also want to execute gdb's directory command to
tell gdb the path of the directory you're dynamically-loaded class's
source lives in.

-glen
Newsgroups: comp.sys.next.programmer
From: gpal@poseidon (Greg Pal)
Subject: Problems using PopUpLists
Keywords: popuplist PopUpList
Organization: Fannie Mae
Date: Tue, 22 Dec 1992 15:47:54 GMT

I've been having some problems using PopUpLists.  I have two lists of 4  
items each (the first item in each list can be thought as the default  
value).  I want to have button that will reset my lists to their default  
values.  For example, if the last item of a list were selected, when I  
pressed this button, the default value would be selected and would be the  
title of the list.  I thought that this would be a simple problem to solve  
but I can't find an easy way to do it.

Any help would be greatly appreciated.  Thanks.
Newsgroups: comp.sys.next.programmer
From: greg@afs.com (Gregory H. Anderson)
Subject: Re: Problems using PopUpLists
Reply-To: greg@afs.com
Date: Thu, 24 Dec 1992 17:42:00 GMT

In article <1992Dec22.154754.14860@almserv.uucp> gpal@poseidon (Greg Pal)  
writes:
> I've been having some problems using PopUpLists.

I'd be willing to help, but I need more information. Your address on the  
original posting is bad, and I don't want to waste bandwidth on the Net.  
Please contact me directly with a good email address.

--
Gregory H. Anderson          | Thus spake the master programmer: 
Master Programmer / Manager  | "Let the programmers be many and  
Anderson Financial Systems   | the managers few; then all will be 
greg@afs.com  (Nextmail OK)  | productive." -- Tao of Programming
From: mikael@scout.utexas.edu (Mikael Behrens)
Newsgroups: comp.sys.next.programmer
Subject: Re: Multiple instances of IB objects
Date: 25 Dec 92 19:31:14 GMT
Reply-To: mbehrens@cs.utexas.edu
Distribution: usa

Matt Brandt writes
| If I create a window in IB with lots of gadgets and connections in it  
how  
| can I get multiple instances of that window that act correctly at  
| runtime? The -copy method of Object won't do it because it doesn't copy  
| secondary objects (objects pointed to within the primary object).  
Anybody  
| got a good method of doing this?
| 
| Matt Brandt
| matt@drefla.mese.com

What you need to do is put the window (and all its gadgets) into its own  
nib file.  This nib file can be dynamically loaded as many times as you  
like, creating new instances each time.  There's a tutorial in the 3.0  
online documentation that shows exactly how to do this.

Mikael
Newsgroups: comp.sys.next.programmer
From: Jim_Brownfield@radical.com (Jim Brownfield)
Subject: Re: wanted additional functionality in IB.
Reply-To: Jim_Brownfield@Radical.Com
Organization: Radical System Solutions, Inc.
Date: Wed, 23 Dec 1992 07:25:32 GMT

In article <LIBERTE.92Dec22115635@ebony.cs.uiuc.edu> liberte@cs.uiuc.edu  
(Daniel LaLiberte) writes:
[[stuff deleted] toSaveBandwidth]

> 
> More general than that would be to specify the actual subclass of any
> view.  So the grouping operation would simply wrap the selected views
> in a general superview of class View, and then you could specify the
> desired subclass of that superview.  Also, a Button view could be
> subclassed to MyButton without having to provide a palette for it and
> custom inspector.

I agree with this completely.  The lack of this feature is the single most  
frustrating thing about Interface Builder (I had hoped it would be in 3.0...  
sigh...).  It is often desireable to change the behavior of a view without  
changing the drawing characteristics of the view.  This is trivial for windows,  
but a real pain for views.  The "Custom View" palatte doesn't cut it since that  
forces you to set most of the characteristics of the view from your code (like  
the title and options for a Button).

> 
> 
> Dan LaLiberte


--
Jim Brownfield (Jim_Brownfield@Radical.Com)  NeXTmail accepted
Radical System Solutions, Inc.
rad i cal \'rad-i-kel\ n -- a basic principle: FOUNDATION
From: cc100aa@xray.gatech.edu (Ray Spalding)
Newsgroups: comp.sys.next.programmer
Subject: Re: Multiple instances of IB objects
Date: 24 Dec 92 19:11:20 GMT
Organization: Georgia Institute of Technology

In article <1992Dec23.233230.1472@drefla.mese.com> matt@drefla.mese.com (Matt Brandt) writes:
>If I create a window in IB with lots of gadgets and connections in it how  
>can I get multiple instances of that window that act correctly at  
>runtime?

One way is to create your interface that is to be duplicated in a
separate (non-main) nib file, using Document->New Module in IB.
You also create (but don't instantiate in IB) a custom Object to
be the "File's Owner" of this nib file.

To duplicate the interface, in your main code you make a new instance
of your custom object with [[customObject alloc] init].  In the
customObject "init" method, you do a
[NXApp loadNibSection:"myDocument" owner:self].  This instantiates
a new copy of everything in your secondary nib file.  Any connections
to the "File's Owner" in your secondary nib file are linked up to
the instance of your customObject you just created above.
-- 
Ray Spalding, Office of Information Technology
Georgia Institute of Technology, Atlanta Georgia, 30332-0715
Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
Newsgroups: comp.sys.next.programmer
From: hern@barclay (Steve Herndon)
Subject: DBKit adaptors
Organization: U S WEST Advanced Technologies
Distribution: usa
Date: Wed, 23 Dec 1992 16:35:34 GMT

Does anyone know of suppliers of DBkit adaptors for the 4th Dimension DB  
on the Mac, and Ingres DB?

Thanks.

--
Steve Herndon			E-mail: hern@advtech.uswest.com
US WEST Advanced Technologies,	Phone: (303) 541-6354
4001 Discovery Drive, Suite 270
Boulder, CO. 80303
From: theharv@csld (Brian Harvey)
Newsgroups: comp.sys.next.programmer
Subject: Beginner's ScrollView Question
Date: 29 Dec 92 20:16:17 GMT
Reply-To: theharv@csld.ucr.edu
Distribution: usa

Hi. I'm writing an application which allows
the user to type in a message into a ScrollView
object. I'm new at programming in Obj-C, so I was
wondering how do I read whatever they typed in and
store it into a string. Please provide sample code
if possible. Thanks!

- theharv@csld.ucr.edu
  Brian Harvey
  University of California, Riverside
From: tiggr@wft.stack.urc.tue.nl (Pieter Schoenmakers)
Newsgroups: comp.sys.next.programmer
Subject: Re: 2 NeXTMail questions
Date: 27 Dec 92 14:10:00 GMT
Organization: WayForward Technologies
NNTP-Posting-Host: tricky.wft.stack.urc.tue.nl
In-reply-to: dcheslow@impact.flint.umich.edu's message of 17 Dec 92 20:25:28 GMT

In article <-8T=C-A@engin.umich.edu> dcheslow@impact.flint.umich.edu (David A. Cheslow) writes:

   2) Does a uudecode service exist?  We use a mixed network in which
   the PC users use Pegasus Mail.

I use the following services from Terminal:

uudecode: cd /tmp; sed 's/^begin [0-9][0-9]*.*/begin 600 ud'$$/|uudecode; cat ud$$; rm ud$$
uuencode: uuencode ue$$

Both services accept plain text, use selection as input, return output, use
the default shell and run in the background.  --Tiggr
Newsgroups: comp.sys.next.programmer
From: pfkeb@slac.stanford.edu (Paul Kunz)
Subject: NXBrowser Problem
Reply-To: pfkeb@slac.stanford.edu
Organization: Stanford Linear Accelerator Center
Date: Wed, 30 Dec 1992 00:32:27 GMT

   I have a problem creating a two column NXBrowser with two columns being  
displayed.   Can anybody tell me what I'm doing wrong.   In the init method  
of the browser's degate I do

    [[funcBrowser setMinColumnWidth:1] setMaxVisibleColumns:2];
    [funcBrowser separateColumns:YES];

as is recommended in the documentation of the -setMaxVisibleColumns method.    
The second column is being loaded correctly, but only one column at a time  
is being displayed.   The size of the cells in either column are small  
enough that both columns can be displayed.

   Am I missing something?

--
Paul F. Kunz	pfkeb@slac.stanford.edu (NeXT mail ok)
Stanford Linear Accelerator Center, Stanford University
Voice: (415) 926-2884   (NeXT) Fax: (415) 926-3587
Newsgroups: comp.sys.next.programmer
From: wisdom@riemann.geom.umn.edu (Scott Wisdom)
Subject: Re: A few small changes for 3.1
Organization: Geometry Center, University of Minnesota
Date: Tue, 22 Dec 1992 22:42:01 GMT

In article <lj6sbkINNhg9@news.bbn.com> aking@BBN.COM (Allen King) writes:
>    4. A compiler switch to make all variables visible in gdb (by
>forcing them out of registers). (Maybe this already exists.)
I believe that optimization causes this problem, even when the -g flag
is supplied. If you 'make debug' from the command line or build from
Project Builder with 'debug' as an argument, you should not have this
problem.

-Scott Wisdom
wisdom@geom.umn.edu
From: isbell@cats.ucsc.edu (Art Isbell)
Newsgroups: comp.sys.next.programmer
Subject: Re: Request: info on learning NeXTStep
Date: 22 Dec 1992 03:39:43 GMT
Organization: Cubic Solutions - NeXT software development and consulting
NNTP-Posting-Host: si.ucsc.edu


In article <1992Dec21.213124.6153@zip.eecs.umich.edu> bagchi@oosik.sprl.umich.edu (Ranjan Bagchi) writes:
>	Hi.  I'm interested in learning how to program NeXT apps.  I'm  
>C-fluent (although I don't know much about Objective-C), and know  
>X11/Xt/Motif fairly well.  Any book recommendations?  I really just
>want a primer-type book.. the >$200 set I've seen talked about here
>is a bit too much for me.

The only book that covers some of the the latest NeXTSTEP version, 3.0, is
NeXTSTEP Programming, Step One:... by Garfinkle and Mahoney (ISBN
0-387-97884-4).

However, I was told that it is just being published so may not be available in
bookstores yet.  My 8 December order placed with the publisher,
Springer-Verlag, has resulted in an invoice that states that it's "Not yet
published" with the estimated publication date being 02/93!!  Has anyone
received this book yet?
-- 

Art Isbell                                                      Cubic Solutions
NeXT Registered Developer #745         NeXT software development and consulting
NeXTmail: isbell@cats.UCSC.EDU                             Voice: (408)335-1154
USmail: 95018-9442                                           Fax: (408)335-2515
Newsgroups: comp.sys.next.programmer
From: alberto@parsec.mixcom.com (Manuel Alberto Ricart)
Subject: Setting the UNIX Preferences from a service
Reply-To: alberto@parsec.uucp
Organization: I keep everything where I <most likely> can find it.
Date: Sun, 3 Jan 1993 07:35:19 GMT

I usually find myself bringing in the UNIX preferences to toggle the UNIX Expert  
flag. I grow ever so tired of doing something that I should be able to toggle in  
an easier form. Doing it from a service is a way. The problem is finding the  
undocumented method to call...

Is there a way of messaging the Workspace to be in UNIX Expert mode?
(Is there a way of finding out what messages the Listener responds to?)
-- 
Manuel Alberto Ricart
alberto@parsec.mixcom.com <NeXTMail Welcome>