HDTenEightyP/NetNews huggingface dataset:
From: tom@vpnet.chi.il.us (Tom Hansen)
Subject: Re: Need BASIC interpreter for IBM RS/6000 AIX ver 3.2
Keywords: BASIC
Organization: Vpnet Public Access
Date: Thu, 03 Sep 1992 13:10:02 GMT

In article <1992Sep2.181559.22309@cs.tulane.edu> mpilman@rs1.tcs.tulane.edu (Monica Pilman) writes:
>
>I'm looking for a good cheap or free BASIC interpreter that will run
>under AIX ver. 3.2 on an IBM RS/6000.  What are you guys using, and
>do you recommend it?


	I don't know about the cost, since I've been away from it for
	about a year now, but Unibasic from Dynamic Concepts in CA is
	an absolutely dynamite language.  New development on it is
	very strong - and it's been out there in the field since the
	very early days of AIX.  I don't have their address, but the
	phone # is 714-770-8771.
-- 
| Tom Hansen           || "My beard grows to my toes.  I never wears no     |
| tom@vpnet.chi.il.us  ||  clothes.  I wraps my hair around my bare, and    |
| "I yam what I yam"   ||  down the road I goes."    - Shel Silverstein     |
|______________________||___________________________________________________|
Newsgroups: comp.unix.aix
From: block@ief.itg.ti.com (Bucky Block)
Subject: Weird NFS stuff
Date: Mon, 31 Aug 1992 20:11:44 GMT
Distribution: comp
Organization: IEF Developement, Texas Instruments Inc., Plano Texas
X-Disclaimer: This message was written by a user at Texas Instruments Inc.
              The opinions expressed within are those of the user and not
              necessarily those of Texas Instruments.


I've recently had something very STRANGE happen to my 950 
while using it as a NFS server. I mount a disk from my 950
running AIX 3.2 on a Sun 630. This disk contains a LARGE
amount of source code, during a build on the Sun I noticed 
a large amount of RPC not responding errors, and finally I 
started getting NFS write errors, at this point NFS appeared
hung.. Well, I unmounted the disk from the sun, and tried 
to remount it, but it appeared screwed up, So I took a look 
at the file system on the 950. The file system is /usr/iefsrc, 
which is its own VG:

block on ief% df
Filesystem    Total KB    free %used   iused %iused Mounted on
....
/dev/lvtool    2048000 1185408   42%   96425    18% /usr/iefsrc
....

all the files under /usr/iefsrc appeared to be there (this level
only contains directorys) but when I changed into any directory
and did a ls I received a . not found error. This occurred for 
all of the directorys under the mount point. At this point I 
had to bring the machine down to maintenance mode, run fsck and
then I rebooted just to make sure, and then everything was 
fine.

Has anybody seen this kind of strangeness before???

Also after the reboot I found some file with 0 size, on other
file systems (I was using xv *.gif, and after the reboot all 
of the gif files had 0 size ????)

Thanks, 
--

Bucky Block                         |     block@ief.itg.ti.com
IEF Development                     |     TIMSG: BLOC
Texas Instruments, Plano Texas      |     (214) 575-4732

-- 

Bucky Block                         |     block@ief.itg.ti.com
IEF Development                     |     TIMSG: BLOC
Texas Instruments, Plano Texas      |     (214) 575-4732
From: scotte@cdsac.uucp (L. Scott Emmons)
Newsgroups: comp.unix.aix
Subject: Re: LASER PRINTER and AIX?
Date: 1 Sep 92 15:32:28 GMT
Organization: CableData (U.S. Computer Services), Sacramento, CA
NntpPostingHost: cdsac

In article <9208291603.AA10520@ohc> tilak%ohc@cmsa.Berkeley.EDU (Tilak Ratnanather) writes:
>
>What should I do to make it easy for other guys in my lab who are not
>UNIX literate to be able to print a PS or GL or ASCII file whatever
>setting the printer is initially set at.

Just by configuring virtual printers to the device. You can do this
from "smit print", >"manage local subsystem", >"virtual printers".
You can do some really slick things, like:


	Queues		ppds	hplj	gl	ps
			  \	  \	/	/
			   \       \   /       /
			    +++++
				     |
	Printer			   4029


Where you just send files to the appropriate queue, and AIX will send
the proper initialization sequence to the 4029 to switch modes.

Make sure the 4029 is configured properly, as well as the print device
and queues. It sounds like maybe you don't have the virtual print
devices properly configured, if automode select is not working.

You should be able to add virtual printers without deleting ones that
already exist.

You may check with your SE about getting the IBM redbook "Printing for
Fun and Profit", which has a pretty good description of the printing
system.

If you have any further questions, feel free to send me an email at
"csusac.csus.edu!cdsac!scotte" ...

Best of luck,

 
			   L. Scott Emmons
		      CableData  Research Center
		     csusac.csus.edu!cdsac!scotte
From: dj@athena.ctron.com (DJ Delorie)
Newsgroups: comp.unix.aix
Subject: weird C++ inheritance problem
Date: 31 Aug 92 13:12:41 GMT

>gcc said:
>test.cc:13: member `B' is private

Maybe it is.  The code is ambiguous.

>PS: sorry for asking the n+1st time: where do i send wishes for
>    clearer gcc error msg's?

The gcc documentation, which comes with gcc222, states where to send
bug reports.

DJ
dj@ctron.com
Life is a banana.
From: james@engrs.unl.edu (James Nau)
Newsgroups: comp.unix.aix
Subject: xlc -M (or cc -M)
Keywords: xlc cc -M
Date: 3 Sep 92 20:35:12 GMT
Organization: College of Engineering & Technology, University of Nebraska-Lincoln

Does anyone know if cc -M is supposed to actually compile a
program?  I was building some software which has a "cc -M x.c y.c
z.c >> Makefile" in it to build dependencies.  It died a horrible
death, and complained that it couldn't find .main (actually, this
was in the Makefile since stdout was there).
"cc -E -M x.c y.c z.c >/dev/null" seemed to work fairly well.

Also, cc -M does not write to stdout as this Configure script
expected (cc on Sun, and gcc write the dependencies to stdout) but
writes to .u files.  (This is documented in the help file.)

James
james@engrs.unl.edu
Newsgroups: comp.unix.aix
From: bobhays@spss.com (Bob Hays)
Subject: Simple (I hope) profiling questions on AIX
Keywords: tprof gprof prof pg
Organization: SPSS, Inc.
Date: Fri, 4 Sep 1992 15:05:23 GMT

I'm trying to profile a program that forks.  It is large.  I want to
profile only one part of it.

I've tried tprof and get access denied messages and device nonexistant
messages (the first at startup, the latter at exit) - any ideas what I
might do (email if you want the exact messages)?

Second, I've tried using the -pg option on compiling a portion of my
code (one library).  I link using -pg.  I run the program and do not
get a gmon.out file (due to the fork, should I expect a file anyway,
but one that does not include all the information before the fork, or
what?)?  I've been reading IBM's "documentation" (specifically
_Performance Monitoring and Tuning Guide_) and cannot figure out what
to try next.  Any ideas would be helpful - my email address (as per my
signature) is bobhays@spss.com.

Have fun! - Bob

-- 
===============================================================================
The opinions expressed above are those of Bob Hays and not SPSS, Inc.
 bobhays@spss.com  Phone: (312) 329-3529 | "I'm hovering like a fly, waiting
                   Fax:   (312) 329-3657 |  for a windshield on a freeway" -PG
From: julie@levell.austin.ibm.com (Julie L. Craft)
Newsgroups: comp.unix.aix
Subject: Re: LVM Question. How to get Vg_Id from VG Name ?
Keywords: lvm_queryvg, lvm_varyoffvg, lvm_varyonvg
Date: 26 Aug 92 19:50:39 GMT
Organization: IBM, Austin

In article <Aug.25.17.11.23.1992.17815@gauss.rutgers.edu> manmetha@gauss.rutgers.edu (Rajesh Malhotra) writes:
>
>Fellow AIXers,
>
>	How do I get information on a volume group using the
>volume group name? All the routines viz. lvm_queryvg, lvm_varyoffvg,
>lvm_varyonvg need the Vg_id. What routine would give me a Vg_id,
>given a Volume Group Name?

	Actually, liblvm doesn't care about the name of the volume
	group.  The name isn't even in the vgda.  All the library
	needs is a /dev entry with the major number of the vg and
	minor number 0.

	The name to id relationship is kept in ODM.  Try this:

	odmget -q "name=rootvg and attribute=vgserial_id" CuAt

	or 
	
	getlvodm -v rootvg

>
>	I am sure there has to be a way to query the Vg_id using the
>volume group name (guess lvaryoffvg uses it).

	Sure, the high level commands....lsvg ...lspv...lslv....
	:-)	

>
>	I would appreciate any responses/ideas on this matter.
>
>
>Raj.

	Later,
	Julie
-- 
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Julie Levell Craft IBM AUSTIN,TX  Internet: julie@aixwiz.austin.ibm.com
IBMNET: JULIEL at AUSVM6 2F-007/903  (512) 838-2677 (Tie 678-2677)
"I'm not getting defensive!"
Newsgroups: comp.unix.aix
From: msc@orac.holonet.net (Matthew S. Cronk)
Subject: Re: /var/tmp I/O error
Organization: Information Access Technologies, Inc. of Berkeley, CA
Date: Tue, 1 Sep 1992 14:33:16 GMT

In article <1992Aug31.114101.28354@aristo.tau.ac.il>
      marsh@aristo.tau.ac.il (MARSHALL RAPAPORT) writes:
>most serious is the following:
>  I get an I/O on /var/tmp when doing vi to a file.  THe only way to resume
>working on /var is to reboot the machine.  Everything works fine after
>rebooting for a random amount of time and then the problem reoccurs.  It
>seemed like a hardware problem - but the IBM technician didn't find anything

This sounds like a filesystem problem.  It is probably resolved after
rebooting because the boot script performs "fsck -fp" on the /var
filesystem during the boot process.  Have you checked the error log?
You should read about the "fsck" command, and you could use that command
the next time that you experience a problem.

Have you called your friendly IBM support people?  Strangely enough,
they might be able to help you...

Matt

disclaimer: my opinions only, not responsible or liable, blah, blah...
From: MWE@ib.rl.ac.uk (Mike Ellwood)
Newsgroups: comp.unix.aix
Subject: tape blocksizes (8mm - Exabyte)
Date: 28 Aug 92 21:21:13 GMT

Scenario: 3.1.5 on 550H

I'm confused about blocksizes when writing to 8mm (Exabyte) tape
drives.

I'd understood that the device always writes a fixed blocksize of 1024 bytes.
You can change the number of bytes written in one I/O operation, but
what goes out on the tape is still 1Kb blocks.
Now I'm not so sure.

I've found that (when using backup), a combination of slightly
larger -b value, plus changing the "tape blocksize" from the default of
                                 - (chdev -l rmt0 -a block_size=0) -
512 to 0, reduces both the time it takes, and the amount of tape it uses,
which would indicate to me that larger physical blocks are going out to
the tape, so the effect of inter-block-gaps is reduced.

Another confusing "discovery" was when restoring from a backup (mksysb)
tape made using a tape-drive blocksize of 512, the messages from the
restore program talked about a cluster size of "262144 bytes (512 byte blocks)"
So did that mean that setting the tape to "512" does not mean a resulting
tape blocksize of 512 BYTES , but of 512 X (512 byte BLOCKS) = 262144 bytes??

mwe@ib.rl.ac.uk
From: scotte@cdsac.uucp (L. Scott Emmons)
Newsgroups: comp.unix.aix
Subject: Re: setgid permission on directories
Date: 1 Sep 92 15:49:11 GMT
Organization: CableData (U.S. Computer Services), Sacramento, CA
NntpPostingHost: cdsac

In article <1992Aug31.171507.10029@jarvis.csri.toronto.edu> carol@phoenix.oise.on.ca (Carol Broderick) writes:
> [...] Can anyone
>tell me why this happened? More importantly now, does setgid permission
>for a directory actually do anything?  Please email and I will summarize.

$ man 3 chmod

[ ... ]

  S_ISGID	Enables the setgid attribute for an executable file.  A
  process executing this program acquires the access rights  of the
  group of the file.
  
  Enables the group inheritance attribute for  a  directory.  Files
  created  in this directory have a group equal to the group of the
  directory.

[ ... ]

This probably happened because the directory in which you placed the files
is set SGID.

Hope this helps...
 
			   L. Scott Emmons
		      CableData  Research Center
		     csusac.csus.edu!cdsac!scotte
Xref: sparky comp.unix.aix:9256 comp.unix.questions:10608 comp.windows.x.motif:5939 comp.windows.x:15982
From: pwickman@cerebus.cc.edu (Paul J. Wickman)
Newsgroups: comp.unix.aix,comp.unix.questions,comp.windows.x.motif,comp.windows.x
Subject: signal when window is destroyed
Date: 1 Sep 92 14:46:57 GMT
Article-I.D.: carroll1.3297
Reply-To: pwickman@cerebus.cc.edu (Paul J. Wickman)
Followup-To: comp.unix.aix
Organization: Carroll College-Waukesha, WI



	What (if any) signal type is sent when a window is destroyed to
the program running in it.  The program is an xterm exec-ing another program


email answers please.
thanks

--
Paul J. Wickman - Analyst/Programmer  Harnischfeger Corporation
Internet: pwickman@carroll1.cc.edu

"Life is what happens to you while you're busy making other plans"
From: valdis@vttcf.cc.vt.edu (Valdis Kletnieks)
Newsgroups: comp.unix.aix
Subject: Re: GL in X?
Date: 4 Sep 92 00:04:05 GMT
Organization: Virginia Tech, Blacksburg, VA

In article <BtyIDJ.IHn@accelr8.com> jim@accelr8.com (Jim Reiss) writes:
>We have an RS/6000 running AIX 3.2.2, and have been trying to get GL
>(SGI's graphics library) applications to run.  I think all of the relevant
>lpps are loaded, but every time I try to run a GL application there is a
>message to the effect that the needed X Server extension is not installed.

You will get this confusing message if you are on an RS/6000 that has
a display adapter that isn't supported by GL.  Not all adapters are
supported - I found this out when a GT1 on a -220 gave me this msg.
/usr/lpp/GL/README gives hints where to look for details on what's
supported.

				Valdis Kletnieks
				Computer Systems Engineer
				Virginia Tech
From: jfh@greenber.austin.ibm.com (John F Haugh II)
Newsgroups: comp.unix.aix
Subject: Re: Using getgroupattr()
Date: 25 Aug 92 19:47:08 GMT
Organization: Obfuscated Features "R" Us, Austin, Republica de Tejas

In article <BtI47r.6xt@watserv1.uwaterloo.ca> mskucher@auk.UWaterloo.ca (Murray S. Kucherawy [MFCF]) writes:
>The man page for getgroupattr() says that calling the routine and requesting
>the group's users will return "a list of NULL terminated character strings.
>The list itself is NULL terminated."  I'd have thought that invoking this:

The pointer that you are getting back points to a string like this

	"user1\0user2\0user3\0user4\0\0"

So, you are seeing the first user in the first pointed to location.  The
second character pointer in your array has trash in it because the second
user isn't pointed to by that array element, but instead is found by
skipping past the first NUL character.
-- 
John F. Haugh II      | MaBellNet: (512) 823-1078       | SneakerNet: 042/2F068
InterNet: jfh%snowball.austin.ibm.com@ibmpa.awdpa.ibm.com               [TSAKC]
From: tim@sabus.UUCP (Tim Brown)
Newsgroups: comp.unix.aix
Subject: automounter strangeness..
Date: 2 Sep 92 03:55:38 GMT
Distribution: comp
Organization: The SABUS Group

Maybe someone can help with this.  When I do a 'pwd' from a ksh I get
the aliased path of an automounted fs.  When I run /bin/pwd or from sh
or csh I get the /tmp/mnt_* path.  Question: How can I get the aliased
path all the time without having to rely on the ksh's builtin pwd.
The ksh's pwd returns the non-aliased path when run from another host.

Any ideas?  getcwd() and getwd() both return the non-aliased path as
well.

Thanks
tim%sabus@uunet.uu.net

-- 
Tim Brown
The SABUS Group
2091 Cliffside Dr.		Anchorage, Alaska 99501
(907)277-4232			tim%sabus@uunet.uu.net
From: tony@jassys.UUCP (Tony Holden)
Newsgroups: comp.unix.aix
Subject: Re: High-speed modem at built-in serial port (RS/6000)
Date: 30 Aug 92 13:27:32 GMT
Organization: HSC CO.

ianm@icsbelf.uucp (Ian Moran) writes:
> In article <stritzi.714925276@Physik.TU-Muenchen.DE> stritzi@Physik.TU-Muenchen.DE (Peer Stritzinger) writes:
> 
> I am beginning to doubt the capabilities of the standard serial hardware
> in the RS6000. I also have a modem connected to one of the available
> serial ports with DTE rate locked at 38400, however throughput on a V32bis
> connection is lousy at 700cps.

Hell you're doing better than I am.

I can't get the modems (intel) and getty to talk at anything but 9600.
I have the modems set to talk at any speed (disable serial rate
adjustment, in intel talk) but only get a clear login at 9600.

How'd you do that?  Or maybe you're having the same problem as I am
since I get over 700cps on local 9600 connections.


-- 
Tony Holden					live on the edge,
tony@jassys					  Bank in Texas
jassys!tony@rwsys.lonestar.org
Newsgroups: comp.unix.aix,bit.listserv.aix-l
From: williams@herky.cs.uiowa.edu (Kent Williams)
Subject: Shared Libraries lose under AIX 3.1/X11R5
Date: Wed, 26 Aug 1992 18:25:13 GMT
Reply-To: williams@herky.cs.uiowa.edu (Kent Williams)
Organization: U of Iowa, Iowa City, IA

OK, Gentle readers, I've spent an hour getting lost in Info Explorer, now
clue me in:

I've just built X11 R5 on a RS6000 running AIX 3.1, and none of my clients
want to run because they can't find their shared libraries.

I've tried setting LIBPATH in my shell, to point at /usr/local/lib where
I've dropped the libraries.  I've tried rebuilding the clients after making
Makefiles with -DUSE_INSTALLED.  I've dinked and dinked to no avail.

What is the magic incantation to tell the system how to find shared libraries
if they're not where IBM put them?  Or is it possible to link statically?


Newsgroups: comp.unix.aix
From: jfc@athena.mit.edu (John F Carr)
Subject: Re: Benchmark results: xlc vs gcc optimization quality
Organization: Massachusetts Institute of Technology
Date: Fri, 28 Aug 1992 02:16:09 GMT

In article <oebFKM70Bwx3A1859x@transarc.com> Barry_Wolman@transarc.com writes:

>Has anyone else found examples of code that cause optimized xlc
>compilations to take >10 times as long as unoptimized compilations.

I have found -Q (inline functions) to cause very long compilation times in
some cases; low memory systems (< 32 MB) may page a lot during optimized
compliation; there are some rare, very complicated functions that take a
long time to compile.


--
    John Carr (jfc@athena.mit.edu)
Newsgroups: comp.unix.aix
From: brox@corena.no (Bjorn P. Brox)
Subject: Re: TeX previewers under AIX
Date: Sat, 29 Aug 1992 12:10:54 GMT
Organization: CORENA A/S
Keywords: TeX, previewers

In article <1992Aug28.072650.18390@aragorn.unibe.ch> haedener@iacrs1.unibe.ch writes:
>In article <714971640@macbeth.cs.duke.edu>, hsg@duke.cs.duke.edu (Henry Greenside) writes:
>|> Can anyone recommend good public TeX previewers that
>|> work under AIX?  People here use xtex on Sun's but this
>|> requires .PCF fonts that don't work on my RS/6000 340
>|> with AIX 3.2.2, even after these fonts are stored in
>|> the right spot.
>|> 
>|> What I am looking for is a previewer that can rapidly
>|> display one full page of LaTeX output, including
>|> embedded Postscript graphics. Local magnification would
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>   if you want this to be handled, but not interpreted (displayed),
>   use xdvi (from export.lcs.mit.edu);
>
>   if you want PS graphics to be interpreted as well, you need a
>   PostScript interpreter (you will then be previewing .ps files,
>   however, and not .dvi files and the previewing task is not
>   specifically related to TeX anymore);
>   ghostview/ghostscript (from prep.ai.mit.edu) is reaonably good
>   at that.
>
This should be added to the aix-rs6000-faq:

Initially, you don't need ghostview/ghostscript on a RS6000 with AIX3.2.
Display PostScript (DPS) is a part of AIX, and should be used, unless
you run on a X-station, because it is faster, and does a better job
than GhostScript.

Use xpreview (/usr/bin/xpreview) for displaying PostScript files, - it
works like ghostview. You can also compile and use some of
the DPS librarys and programs you get on the X11R5 contrib tape.
Adobe System does also have a collection of DPS source code, included
an EPSF preview.  You can get it from the Adobe PostScript File Server
ps-file-server@adobe.com -s 'send Programs DPS_Adv_CliLib.tar.Zba'

The only drawback on DPS is:
      - The collection of fonts is small (/usr/lpp/DPS/fonts/outlines),
	but you can install as many fonts as you like in this directory..
	The big collection on fonts you can get from ftp.cica.indiana.edu
	(/pub/pc/win3/fonts/atm) can be used in DPS as well as in GhostScript.

      - It does only work on the console, not on X-stations (for now).
      - No zoom functions in xpreview (easy to add?).

But: If you compile and install GhostScript, you should modify
the Fontmap file to use the real PostScript Type1 fonts you have in the
directory /usr/lpp/DPS/fonts/outlines, like this:
/Times-Roman               (/usr/lpp/DPS/fonts/outlines/Times-Roman) ;


-- 
Bjorn Brox, CORENA A/S, Baneveien 38, N-3600 Kongsberg, NORWAY
E-mail : brox@corena.no, Phone : +47 3 73 66 11, Fax : +47 3 73 68 77
From: biorn@phc.chalmers.se (Bjorn Sandell)
Newsgroups: comp.unix.aix
Subject: Re: traceroute for AIX V3.1.6/3.2.x
Date: 23 Aug 92 17:43:42 GMT
Organization: Dep. of Phys. Chem.   Univ. of Gothenburg   Sweden

In article <1992Aug22.233435.29533@news.clarkson.edu>,
 abstine@calvin.erc.clarkson.edu (Art Stine) writes:
|> Does anyone have traceroute working on AIX? If so, what did you have to
|> change to make it work? thanks
|> 
|> ---
|> Art Stine
|> Sr Network Engineer
|> Clarkson U
|> ABStine@Omnigate.Clarkson.Edu

Got it running under 3.2.0 without any changes. Just compiled it with
cc -D_BSD -D_BSD_INCLUDES -O  -o traceroute traceroute.c

  Bjorn
From: teresa@syscon.rn.com (Teresa Selling)
Newsgroups: comp.unix.aix
Subject: xdump
Date: 31 Aug 92 16:16:54 GMT
Article-I.D.: syscon.1992Aug31.161654.25487
Organization: Syscon Corporate Headquarters - South Bend, IN USA


I would like to compile the xdump program, but find that I am missing
all header files in /usr/include/X11/Xw.  I guess I am missing a partiular
library it needs.  Anyone know where I can get the missing files needed
to compile Xdump?