HDTenEightyP/NetNews huggingface dataset:
From: gray@snow.scr.slb.com (Douglas Gray Stephens)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Combining vectors
Date: 27 Jan 93 12:08:36
Organization: Schlumberger Cambridge Research
	<1k5hf2INNlgs@shelley.u.washington.edu>
NNTP-Posting-Host: snow.scr.slb.com
In-reply-to: phantom@stein2.u.washington.edu's message of 27 Jan 1993 08:34:42 GMT

In article <1k5hf2INNlgs@shelley.u.washington.edu> phantom@stein2.u.washington.edu (The Phantom) writes:

   In article <1993Jan26.182616.11550@vax.oxford.ac.uk> reese@vax.oxford.ac.uk writes:
   >
   >
   >I want to take two vectors and combine them, e.g.
   >[ a b c d e]  and [ f g h i j ] 
   >become  [ a f b g c h d i e j ]
   >

   say a=[ a b c d e ] and b=[ f g h i j ] -- an easy way to do this would be
   using ...

   len=length(a);			%assuming length(a), length(b) are equal
   FOR count=1:len,
	   c((count*2)-1)=a(count);
	   c((count*2)=b(count);
   END


One of the advantages of matlab is the vector subscripts (do loops are
not very efficient, and can normally be avioded), a better approach
is:-

(again assuming that the vectors are the same length, and called a and
b)

c([1:2:2*length(a),2:2:2*length(a)])=[a,b];

A more general solution for vectors of different lengths is:-

i=length(a);j=length(b);
if i>j
 c([1:2:2*j,j+[j+1:i],2:2:(2*j)])=[a,b];
else
 c([1:2:2*i,2:2:(2*i),i+[i+1:j]])=[a,b];
end  

--
----------------------------------------------------------------------------
Dr. Douglas GRAY STEPHENS                e-mail : gray@scr.slb.com   
Schlumberger Cambridge Research          Tel/fax: 0223-325303 / 0223-311830
P.O.Box 153, Cambridge CB3 0HG, England  (International prefix for UK: 44)
============================================================================
From: scherock@presto.mit.edu (Stephen F. Scherock)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Poor Customer Service By Matlab
Date: 28 Jan 93 19:18:41
Organization: MIT Research Lab For Electronics, DSP Group
NNTP-Posting-Host: presto.mit.edu
In-reply-to: johnk@exlog.com's message of Wed, 27 Jan 93 21:52:05 GMT

I glad I'm not the only one who thinks Matlab Customer Service is an
oxymoron.  

Stephen Scherock
------------------------------------------------------------------------------
  Stephen F. Scherock                	   <scherock@mit.edu>
  MIT Research Lab of Electronics          
   Digital Signal Processing Group         
------------------------------------------------------------------------------
From: jcollins@cmdl.gatech.edu (Jason Collins)
Newsgroups: comp.soft-sys.matlab
Subject: Help me--Matlab vs. C++
Date: 27 Jan 93 19:08:14 GMT
Organization: Georgia Tech Research Institute
Originator: jcollins@cmdl.gatech.edu

Hi!

I need some advice on choosing between Matlab and C++ to do a graphics
programming task on a 486 PC.

I am about to begin working on a project where I will be needing some
graphics to analyze a set of data.  I would of course like quick results
(i.e. all development done by 3 experienced people in a month) and a  
flexable graphics system.

I will have an array of data with several columns of different data items.
The rows contain the data for different points in time.

I will be needing several windows showing the data manipulated in various
ways and changing over time.  In other words, the graph data will be
animated.

The possibilities for graphs I might need include
animated 3d trajectories, 3d line graphs, polar plots, and normal line graphs.
In addition, I would like to be able to speed up and slow down the animations.
This will require getting keyboard input asyncronously.  The positioning of
the graphics windows with graphs should be fairly flexable at the codeing
level but don't have to be moved during the running of the animation, 
although that would be nice.

I have programming experience in both Matlab 3.5 and C++.  I was wondering
whether I should use C++ or Matlab.  I am considering this question over
reports that Matlab 4.0 for the PC with lots of nice features may be coming
out in mid February.  I will be evaluating a copy of Matlab 4.0 on a Sun
in a few days.  Any significant differences between this version and the
upcomming PC version I should know about?

Any comments and recomendations would be appreciated.

- Thanks All,
Jason Collins
jcollins@cmdl.gatech.edu
From: todd@fred.dfrf.nasa.gov (Todd Vernon)
Newsgroups: comp.soft-sys.matlab
Subject: CMEX
Date: 25 Jan 93 21:13:37 GMT
Article-I.D.: news.1993Jan25.211337.5466
Reply-To: todd@fred.dfrf.nasa.gov (Todd Vernon)
Organization: Nasa Dryden Flight Research Facility

Our site uses Matlab 3.0 and now is moving to 4.0.  We have
a few CMEX programs we generated to load large files containing
time history data sets. 

Due to the way Matlab handles CMEX interaction, ( all passed 
back data must be in a left hand argument),  this makes it
very difficult to load data sets with unknown number or
matrices.

Our data is mostly vector data, so what we do is pass back
2 left hand args, one that contains all our 1-by-n vectors 
packed into one matrix, and the other a matrix of characters
that make up each vector name.  After words, we have a m-file
that breaks apart each seperate vector putting it in a matlab
variable by the name in the other matix.  What a PAIN.  

Are we missing something here.   We really need a way to create
matrices as we load the data and not have our hands tied by
having to pass them back through left hand args.  

This really hinders our ability to access the data we need to 
get to, any suggestions.  Changing data format is NOT an option.

Thanks in advance.


-todd :  todd@fred.dfrf.nasa.gov
Newsgroups: comp.soft-sys.matlab
From: Michael Maurer <maurer@nova.stanford.edu>
Subject: SOURCE: tempname.m - generate temporary filename
Organization: STAR Lab, Stanford University, California USA
Date: 23 Jan 93 01:08:33 GMT

Hoping to start a trend, here is an unsolicited matlab m-file.
TEMPNAME generates a temporary filename.
Suggested improvements are welcome.

#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create the files:
#	tempname.m
# This archive created: Fri Jan 22 16:55:48 1993
export PATH; PATH=/bin:$PATH
echo shar: extracting "'tempname.m'" '(705 characters)'
if test -f 'tempname.m'
then
	echo shar: will not over-write existing file "'tempname.m'"
else
sed 's/^XX//' << \SHAR_EOF > 'tempname.m'
XXfunction s=tempname(prefix,ext,touch)
XX
XX%TEMPNAME
XX%	S=TEMPNAME returns a temporary filename.
XX%	S=TEMPNAME(PREFIX) returns a filename with PREFIX prepended.
XX%	S=TEMPNAME(PREFIX,EXT) appends EXT.
XX
XX%	Michael Maurer, Feb  4 1991
XX%	Copyright (c) 1993 by Michael Maurer
XX
XXif (nargin<1)
XX   prefix='tmp';
XXend
XXif (nargin<2)
XX   ext='';
XXend
XXif nargin<3,
XX   touch=1;
XXend
XX
XXt = clock;
XXt(6) = t(6)*100;
XXt=fix(t);
XXts=sprintf('%02.0f%02.0f%04.0f',t(4),t(5),t(6));
XXs = [prefix ts ext];
XX
XX% Now add distinguishing letter if necessary
XXlet='a';
XXwhile exist(s)==2 & let<='z',
XX   s=[prefix ts let ext];
XX   let=setstr(let+1)
XXend
XXif exist(s)==2,
XX   error('Failed to find temporary filename')
XXend
XXif touch,
XX   eval(['!touch ' s])
XXend
SHAR_EOF
if test 705 -ne "`wc -c < 'tempname.m'`"
then
	echo shar: error transmitting "'tempname.m'" '(should have been 705 characters)'
fi
fi # end of overwriting check
#	End of shell archive
exit 0
--
______________________________________________________________________
Michael Maurer          maurer@nova.stanford.edu        (415) 723-1024
From: kludge@grissom.larc.nasa.gov (Scott Dorsey)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Group for Matlab only? or other types of control analysis software?
Date: 26 Jan 1993 20:12:46 GMT
Organization: NASA Langley Research Center and Reptile Farm
Distribution: usa
NNTP-Posting-Host: grissom.larc.nasa.gov
Keywords: Matlab, MatrixX, Xmath, Ctrl-c, others

In article <26JAN199314423186@ariel.lerc.nasa.gov> mattern@ariel.lerc.nasa.gov (Duane Mattern (Sverdrup)) writes:
>Is this newsgroup only for matlab discussions? or does it encompass
>ALL control software analysis packages, like MatrixX, Ctrl-c, 
>program CC, Xmath, Honey-X...others. etc.?

According to the charter, discussion of all analysis packages should be okay,
although the Matrixx users among us are pretty upset that almost all of the
traffic has been Matlab related.
--scott
   (who considers them to be much more than control software analysis tools)
Newsgroups: comp.soft-sys.matlab
From: mikea@bnr.ca (Michael W. Altmann)
Subject: Matlab Graphs in Framemaker3
Organization: Bell-Northern-Research
Date: Thu, 28 Jan 1993 14:20:47 GMT

I have also been having trouble posting Matlab graphs into Framemaker documents.
I am using Rev4.0, so the -preview option doesn't seem to work.  Several points
need to be made here :

1. Framemaker does NOT need a preview in the imported file (you will get a grey
   rectangle).

2. Matlab files generated with -deps are essentially the same as those created
   with -dps, except for the preview and three other minor changes.

3. The ps-to-eps conversion consists of adding "EPSF-1.2" to the first line.
   I also bring the bounding box and page# data (from the bottom of the file)
   to the lines for them at the top of the file (-dps uses (atend)'s on these
   lines).

4. The last may not even be needed (I was in a hurry and didn't have time
   to check it out).

This works really well (you just can't see the graphics).  I tried all of the
other solutions suggested by the net relating to using the -deps option and
none of them worked for me.

Regards, Mike

Usual disclaimers here.

Newsgroups: comp.soft-sys.matlab
From: fitzgb@mml0.meche.rpi.edu (Brian Fitzgerald)
Subject: Re: SOURCE: mat2str.m - convert matrix to string format
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Sat, 23 Jan 1993 13:12:11 GMT

Michael Maurer <maurer@nova.stanford.edu> writes:
>Hoping to start a trend, here is an unsolicited matlab m-file.

Good trend.  We need a comp.sources.matlab newsgroup.

  -- moderated or not moderated ?

Also, it would be nice if it could be archived somewhere.

Brian
Newsgroups: comp.soft-sys.matlab
From: rich@boreas.whoi.edu
Subject: Re: DISP1:  disp1.m - display text and numbers 
Organization: Woods Hole Oceanographic Institution
Date: Mon, 25 Jan 93 23:42:01 GMT

In article <1993Jan25.142824.5268@news.columbia.edu> mnb2@cunixf.cc.columbia.edu (Mark Broadie) writes:
>Thanks for the comments about disp1.m.  I realize you don't need
>an m-file for this, but it's easier.  disp1.m takes up to 10 
>arguments, with strings or numbers in any order.  fprintf and
>sprintf are limited to 3 arguments.  

ummm...no they aren't. For example:

  >>fprintf('x = %3.1f, x2 = %3.1f, x3= %7.3f\n',x1,x2,x3);
  x = 123.0, x2 = 321.0, x3=   3.000
  >>

The ?printf functions have exactly the same format, strengths, and
weaknesses as the C ?printf commands, a feature that I'm sure implies
something deep about the way Matlab implemented this!


>
>In general, I find that display information 'nicely' is not easy
>with MATLAB.  For example, does anyone have a *simple* way to
>display a small table with row and column headings.  By simple,
>I mean not having to count spaces.  For example, an m-file
>to display
>
>                 Col1 head     Col2 heading      Col3 head
>Row1 label           0.0            1.0             -3.4
>Row2 label here      0.0            1.0             -3.4
>Row3 label           0.0            1.0             -3.4
>
> 

  >>A=[0 1 -3.4;0 1 -3.4;0 1 -3.4];

  >>fprintf('\t\tCol1 head\tCol2 head\tCol3 head\n');
  >>fprintf('Row 1 label\t%6.1f\t\t%6.1f\t\t%6.1f\n',A(1,:));
  >>fprintf('Row 2 label\t%6.1f\t\t%6.1f\t\t%6.1f\n',A(2,:));
     ...

will give you the correct look. Again, it's the same as C. By judicious
use of the tab (\t) and newline (\n) in some kind of print loop you can
easily write a .m file to output matrices of arbitrary size and labelling.

--
Rich Pawlowicz ----------------- INTERNET: rich@boreas.whoi.edu
Woods Hole Oceanographic Institution
"Home of the 99 cent squid burger (cheese extra)"
--------------------------------------------------------------
From: phantom@stein2.u.washington.edu (The Phantom)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Combining vectors
Date: 27 Jan 1993 08:34:42 GMT
Organization: University of Washington, Seattle
NNTP-Posting-Host: stein2.u.washington.edu

In article <1993Jan26.182616.11550@vax.oxford.ac.uk> reese@vax.oxford.ac.uk writes:
>
>
>I want to take two vectors and combine them, e.g.
>[ a b c d e]  and [ f g h i j ] 
>become  [ a f b g c h d i e j ]
>

say a=[ a b c d e ] and b=[ f g h i j ] -- an easy way to do this would be
using ...

len=length(a);			%assuming length(a), length(b) are equal
FOR count=1:len,
	c((count*2)-1)=a(count);
	c((count*2)=b(count);
END

that seems to work, anyway. just work with the commands for picking out 
certain matrix spots and FOR loops, and you should be able to comprise 
something that works both ways.

mt

Newsgroups: comp.soft-sys.matlab
From: tomorrow@riemann.news.mit.edu (xuejun cai)
Subject: need help with cmex
Organization: /nfs/tychonoff/users/tomorrow/.organization
Distribution: comp
Date: Thu, 21 Jan 1993 04:27:42 GMT


I am trying to use fopen() inside a C mex file.  the program compiled
fine,  but when i ran it, matlab reports segmentation fault when it
sees the line with fopen in it.  I am wondering if there is anything
against using fopen inside c mexfiles.  I am using matlab 4.0.

any help is appreciated,
thanks in advance,
cai
From: newsman@stein.u.washington.edu (Christian Ricci)
Newsgroups: comp.soft-sys.matlab
Subject: Are .m files available on ftp-sites?
Date: 27 Jan 1993 07:21:40 GMT
Organization: University of Washington, Seattle
NNTP-Posting-Host: stein.u.washington.edu

Do any of you amateur matlab programers put you .m creations on some site
somewhere?  Thanks!

Chris

Newsgroups: comp.soft-sys.matlab
From: white@castor (Tom White)
Subject: Linking C with Matlab?
Organization: University of Georgia
Date: Wed, 27 Jan 1993 18:45:15 GMT

From the recently posted FAQ:
>
>10) Can I use C and Fortran programs with Matlab?
>
>     Matlab's MEX-file facility allows user to use C and  Fortran
>     subroutines  as  Matlab  m-files. It is also possible to use
>     Matlab as a computational engine for C/Fortran subroutines.
>

I am a student at the University of Georgia and have recently
purchaced the student edition of Matlab for MS-DOS machines.  I
was hoping that Matlab would be able to be compiled into object code
or translated into C so that I could link it with my programs.  The
manual only mentions how to read the 'LOAD/SAVE' files, and shelling
out of my application, loading matlab, etc. is way to costly.

So my question: How does one efficiently use Matlab as a program's
"computational engine" in demanding applications like 3D graphics
routines?  Is generating object code (or C translations) possible
in the Professional version?  Through any Shareware, etc.?

Advance Thanks,
-Tom
Newsgroups: comp.soft-sys.matlab
Subject: Re: SOURCE: mat2str.m - convert matrix to string format
From: ajk@mod.dsto.gov.au (Andrew Knight)
Date: 28 Jan 93 08:28:07 CST
Distribution: world


Seems to be a bug here. Here's what I got out of Michael's original 
version:
>> x=rand(3,3) 
 
x =

    0.3653    0.7227    0.0727
    0.2470    0.7534    0.6316
    0.9826    0.6515    0.8847

>> mat2str(x,9)

ans =

0.3653   0.7227   0.07269  
0.247    0.7534   0.6316   
0.9826   0.6515   0.8847 

Seems fine.  Here's what Ed's one gave:
>> mat2str(x,9)

ans =
 
0        0        0        
0        0        0        
0        0        0        


A bit inaccurate?

Andrew Knight                                
Maritime Operations Division		     
Defence Science and Technology Organisation  
PO Box 1750
Salisbury, SA 5108
Australia
----------------------------------------------------------------------------
            ,-_|\                                e-mail: ajk@mod.dsto.gov.au
  DSTO     /     \                                phone:       61 8 259 5487
AUSTRALIA  \_,-*_/                                  fax:       61 8 259 5139
	        v                            
----------------------------------------------------------------------------


Newsgroups: comp.soft-sys.matlab
From: dwoo@jupiter.sun.csd.unb.ca (Dennis Woo)
Subject: Help! Plotting.
Organization: University of New Brunswick
Date: Sun, 24 Jan 1993 23:34:00 GMT


Hi Matlab expert,

I am trying to make a contour plot of a hyperparaboloid of a
two-variable function. The equation look like this:

 z = 2*w0^2 + 3*w1^2 - 12*w0 - 8*w1 + 2*w0*w1 + 36

The minimum of z(w0,w1) is z(2.8,0.4)=17.6.

I entered the following lines in matlab:
	
  [w0,w1]=meshdom(-5:.1:5,-5:.1:5);
  z = 2*(w0.^2) + 3*(w1.^2) - 12*w0 - 8*w1 
      + 2*(w0.*w1) + 36*ones(w0);
  contour(z)

Instead of contours (these contours are ellipses) centered at (2.8,0.4)
with a z-value of 17.6,  I got the contours centered at around
(85,60).

Could someone please let me know what I have done wrong.

Thanx a lot. 

New Matlab user,
*****************************************************************
*  Dennis Woo              Department of Mechanical Engineering *
*  E-mail: dwoo@unb.ca     University of New Brunswick          *
*  Tel: (506) 453-4513                                          *
*****************************************************************
From: ellert@v32.uh.cwru.edu ()
Newsgroups: comp.soft-sys.matlab
Subject: Re: SOURCE: mat2str.m - convert matrix to string format
Date: 26 Jan 1993 14:16:19 GMT
Organization: Image Analysis Center, Univ. Hospitals of Cleveland
Distribution: world
Reply-To: ellert@nu1.uh.cwru.edu
NNTP-Posting-Host: max.uh.cwru.edu


I wrote:
>
>In article <maurer.727751047@nova.Stanford.EDU>, Michael Maurer <maurer@nova.stanford.edu> writes:
>>
>>Hoping to start a trend, here is an unsolicited matlab m-file.
>>MAT2STR is like NUM2STR, but operates on matrix input.
>>Suggested improvements are welcome.
>
>Okay, here's an improvement, at least it should be since 1) it doesn't use
>for loops in matlab, and 2) has far fewer function calls.  But I didn't
>benchmark it.  Whenever I see those for loops I like to find ways to get
>rid of them with matrix operations.
>
>function T=mat2str(X,nc)
>%MAT2STR
>%     T=mat2str(X) converts matrix X into string format T, using sprintf
>%     to convert each element of X.
>%     T=mat2str(X,nc) uses nc characters for each column, instead of
>%     default 12.
>
>%     originally by Michael Maurer, 10 Jan 1992
>%     modified by Ed Ellert, 25 Jan, 1993
>
>if nargin<2,
>   nc=12;
>end
>
>[mx,nx]=size(X);
>T = reshape([setstr(X+'0'); ' '*ones((nc-1)*mx, nx)], mx, nx*nc);

Oops!  Walking to work this morning it occurred to me that this will only
work for single digits.  It was fun though :^)

Ed Ellert
ellert@nu1.uh.cwru.edu
From: phaniraj@plains.NoDak.edu (V. Phaniraj)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab user group files
Date: 27 Jan 93 03:25:08 GMT
Article-I.D.: ns1.C1HtHw.D1o
Organization: North Dakota Higher Education Computing Network

In article <1993Jan26.205626.7008@iplmail.orl.mmc.com> markb@iplmail.orl.mmc.com (Mark Bower) writes:
>How does one "decode" the matlab files found at the Matlab User Group archive
>site? I ftp'd one ( beam.m ), made some requested changes involving [, ], and ^; 
>and then gave it a go. The code states that several matlab files would be
>generated, but how?

Get the file unbundle.* from say, research.att.com, in /netlib/matlab/misc
There are 2 versions of unbundle there, one for DOS, and the other for U**x.
Pick the one appropriate for your platform, and run it.

Raj
-- 
V. Phaniraj					phaniraj@plains.NoDak.edu
Assistant Professor, Electrical Engineering	phaniraj@ndsuvm1 (BITNET)
North Dakota State University 			(701) 298-1024 (Office)
Fargo, North Dakota, 58105			(701) 237-8677 (FAX) 
Newsgroups: comp.soft-sys.matlab
From: chase@aphill.jhuapl.edu (Christopher J. Chase)
Subject: Matlab versus IDL, PV-Wave?
Followup-To: comp.soft-sys.matlab
Organization: The Applied Physics Lab
Date: Wed, 27 Jan 93 20:29:46 GMT

I have used Matlab in the distant past. Now we are using (and spending a
lot of money for liscenses) IDL and for one project, PV-Wave (all on UNIX
systems under X windows). How does Matlab compare with these in terms of
computational ability (linking in code, variety of operators, memory usage,
etc.) and data visualization (making your own X-widget programs, image
processing, mapping capabilities, 3-D slicing/dicing, color, etc.). For one
thing, IDL and PV-Wave seem very expensive. Also, the variety of canned
procedures available in Matlab toolboxes seems much greater than with these
programs. However, my impression is that the data visualiztion and widget
capabilities of IDL and PV-Wave are better  than Matlab.

I noticed an anouncement recently the RSI (the makers of PV-Wave) and the
IMSL people are merging into one company.

Thanks in advance for your opinions,
Chris Chase

Reply to:
chase@aphill.jhuapl.edu
From: ellert@v32.uh.cwru.edu ()
Newsgroups: comp.soft-sys.matlab
Subject: Re: SOURCE: mat2str.m - convert matrix to string format
Date: 25 Jan 1993 22:06:23 GMT
Organization: Image Analysis Center, Univ. Hospitals of Cleveland
Distribution: world
Reply-To: ellert@nu1.uh.cwru.edu
NNTP-Posting-Host: max.uh.cwru.edu


In article <maurer.727751047@nova.Stanford.EDU>, Michael Maurer <maurer@nova.stanford.edu> writes:
>
>Hoping to start a trend, here is an unsolicited matlab m-file.
>MAT2STR is like NUM2STR, but operates on matrix input.
>Suggested improvements are welcome.

Okay, here's an improvement, at least it should be since 1) it doesn't use
for loops in matlab, and 2) has far fewer function calls.  But I didn't
benchmark it.  Whenever I see those for loops I like to find ways to get
rid of them with matrix operations.

function T=mat2str(X,nc)
%MAT2STR
%     T=mat2str(X) converts matrix X into string format T, using sprintf
%     to convert each element of X.
%     T=mat2str(X,nc) uses nc characters for each column, instead of
%     default 12.

%     originally by Michael Maurer, 10 Jan 1992
%     modified by Ed Ellert, 25 Jan, 1993

if nargin<2,
   nc=12;
end

[mx,nx]=size(X);
T = reshape([setstr(X+'0'); ' '*ones((nc-1)*mx, nx)], mx, nx*nc);

Ed Ellert
ellert@nu1.uh.cwru.edu
From: stockel@taupo.oc.nps.navy.mil (Jim Stockel)
Newsgroups: comp.soft-sys.matlab
Subject: fscanf in v4.0
Date: 26 Jan 93 00:34:42 GMT
Distribution: usa
Organization: Naval Postgraduate School,Monterey CA

Hi,

I'm fairly new to Matlab and have v4.0.  A typical data file for me contains
some strings for documentation/plot labeling, and some data.  I've tried
the [A,count] = fscanf(fid,'format',size)  routine for reading strings, 
but it leaves something to be desired.  With no size argument, 
it tries to read to the end of file.  If a size argument is used
then that is the number of whitespace seperated groups of characters are 
read (ie. words).  Isn't there a way to read a newline terminated string?
Am I missing something?  Is there a better way to read strings?

If anyone has any helpful hints I would be much obliged.  If there is
interest I will post a summary.  Thanks, -jim

-- 
Jim Stockel                     |
stockel@taupo.oc.nps.navy.mil   |
(408) 656-3256                  |