ftp.nice.ch/pub/next/audio/apps/Patchmix.NIHS.bs.tar.gz#/Patchmix/Source/CommandScroll.h

This is CommandScroll.h in view mode; [Download] [Up]

/*
        CommandScroll.m
	by Joe Freeman
        Subprocess Example, Release 2.0
        NeXT Computer, Inc.

	You may freely copy, distribute and reuse the code in this example.
	NeXT disclaims any warranty of any kind, expressed or implied, as to
	its fitness for any particular use.
*/

#import <appkit/ScrollView.h>

/*
 * This object sends its delegate the "userEntered:" message
 * whenever new text is entered in the text object inside this ScrollView
 *
 */
 
@interface CommandScroll:ScrollView
{
    id	docView;
    id	delegate;
    int lastTextCount;
	// size of the text object the last time this program played with it
    id	machineFont, userFont;
	// so the user can distinguish what they typed from system output
}

- appendString:(char *)buffer;
    // append the buffer to the end of the text object

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.