HDTenEightyP/NetNews huggingface dataset:
From: tom@sauveur.in-berlin.de (Th.H. v. Kamptz)
Subject: Re: /etc/motd - any suggestions?
Organization: private
Date: Fri, 8 Jan 1993 18:36:16 GMT

In <1993Jan4.024102.29058@ncsu.edu> jmmannin@eos.ncsu.edu (James M Manning) writes:


>The subject says it all!
>Anybody know how to make nice looking letters out of ASCII
>chars?  Or anybody got anything cute?
>Also, `date` doesn't work for showing the date.
>Besides the anal way of putting a continuous crontab entry,
>can that be done?

You could do the following steps:
1.) Create /etc/motd as a named pipe with
             mknod /etc/motd p
2.) Write a daemon. It writes continuously your prefered motd into that pipe.
  Use for instance the following example...

#include (what ever your system really needs...)
main()
{
   FILE *a,*b;
   char *string;

   string=(char *)malloc(64);
   while(1)
   {
      system("sleep 2"); /* or more if your system is slow */
      a = fopen("/etc/motd","w");
      fprintf(a,"\nThis is my motd, the Date follows\n");
      b = popen("/bin/date","r");
      fgets(string,60,b);
      pclose(b);
      fprintf(a,"%s\n",string);
/* Here you could simple include any loging-feature to check who logs in,
   or who trys to read the motd, in the case of motd there is no reason,
   but there might be other files you want every Readaccess have logged */
      fclose(a);
   }
}

>Thanks for any info,

It's a pleasure.

>James Manning

>P.S. Also, the mail and Net Ware printing problems are fixed,
>     thanks for all the help!

Congratulations :-)

TOM
-- 
==============================================================================
!    main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);}    !
------------------------------------------,-----------------------------------
! root@sauveur.in-berlin.de               ! Q: What is the best acceleration !
! tom@chamber.in-berlin.de                !    for a NeXT ?                  !
! tomsoft@marie.physik.tu-berlin.de       ! A: 9,81 m/s !                    !
=========================================='===================================
From: rr2b+@andrew.cmu.edu (Robert Andrew Ryan)
Newsgroups: comp.unix.aix
Subject: static data no in the symbol table?
Date: 6 Jan 93 12:33:07 GMT
Article-I.D.: andrew.sfGpsXC00WoiFTzn8g
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA

It appears that under some circumstances xlc fails to output symbols for
static data.  For example, compiling:

struct classheader {
    long version;
    char *name;
    char *key;
    char *data;
};


static struct classheader atom_classheader = {
    4,
    "atom",
    "atom",
    0x92382,
};

gives:

% nm foo.o
         U ._ptrgl
00000000 d TOC
00000000 d _foo$c$
00000008 d _foo$c$

Anyone know if this is a bug or a feature?  Any workarounds?

Thanks for any info,
-Rob
From: metaylor@vnet.ibm.com (Mark Taylor)
Date: Mon, 4 Jan 93 17:37:46 GMT
Newsgroups: comp.unix.aix
Subject: Re: Is it possible to use HFT input without a display adapter?
Reply-To: metaylor@vnet.ibm.com
Organization: IBM UK Laboratories
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.1
X-X-From: metaylor@vnet.ibm.com (Mark E Taylor)

>... does anyone know how to drive the mouse and keyboard at a
>lower level using /dev/sioms0 and /dev/siokb0 ?  I can't find any
>references to driving the devices at this level in InfoExplorer.
I haven't seen any answer to your posting in the newsgroup yet, so I'll
try to tell you the little I know about the HFT subsystem. (I tried
mailing you directly as you asked, but couldn't resolve your name.)

There is no documented interface to the mouse and keyboard devices
directly. The only way to access them is via /dev/hft. That device is
itself only made available if it can configure a sufficient set of
child devices, namely display and keyboard. If there is no display
available, then /dev/hft will not be created.

The purpose of the display device driver is essentially to drive the
"character mode" of the HFT. You must have such a driver, even if you
only really intend using an X server on that display. A sample
VDD (Virtual Display Device) is available as part of the "Writing
a Device Driver for AIX 3.2" book from IBM.

What you will probably need to do is to write a dummy VDD driver and
its associated configuration method that knows enough only to be
configured successfully. Most of its entry points could even be null.
Once you've done that, you will be able to access the mouse and keyboard
capabilities via /dev/hft.

I hope this helps you,
Mark E Taylor
AIX Solution Engineering Services
IBM UK Laboratories, Hursley, England
From: micjrs@mica.mic.ki.se (Richard Soderberg, MD)
Newsgroups: comp.unix.aix
Subject: How do i print Man-pages?
Date: 8 Jan 93 02:26:58 GMT
Organization: The Karolinska Institute, Sweden
X-UserAgent: Nuntius v1.1.1d12
X-XXMessage-ID: <A772A6D659017A15@bart.mic.ki.se>
X-XXDate: Fri, 8 Jan 93 02:34:46 GMT

I'm running AIX 3.2 and have just finished installing Don Libes Expect
package. How do i get a printed copy of the man pages?
We have an IBM proprinter III connected to the parallell printer port.
I would like to:
Format the man printout nicely, save it in a file,
FTP it to a mac and print it on a laserwriter.
Yes, troff something, I've spent Hours (it's now 3:30 pm) trying
but hopefully somebody on the net has done this already
TIA
/RS
Newsgroups: comp.unix.aix
From: woan@exeter.austin.ibm.com (Ronald S. Woan)
Subject:  X-interface for mail
Date: Wed, 6 Jan 1993 05:24:06 GMT
Reply-To: woan@cactus.org
Organization: Austin School of Hardknocks

In article <1993Jan5.201019.1089@news.vanderbilt.edu> umar@compsci.cas.vanderbilt.edu (Prof. A.S. Umar, SC6626, ) writes:
>Can anyone tell me a x-windows front end for rn?

Are you sure you mean rn? The subject says mail... Anyway there's xrn
for rn under X which supports both Athena and Motif Widget sets. You
can find it on export.lcs.mit.edu in the contrib section last I looked
or as part of the MIT X11R5 tape distribution...

If you meant for mail, you might take a look at xmail or xmh if you
don't mind using mh. A good commercial system is ZMail from the author
of mush.


-- 
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan                       woan@cactus.org or woan@vnet.ibm.com +
+ other email addresses             Prodigy: XTCR74A Compuserve: 73530,2537 +
Newsgroups: comp.unix.aix
From: shair@barolo.cso.uiuc.edu (Bob Shair)
Subject: Re: keyboard problem without a keyboard
Reply-To: shair@vnet.ibm.com
Organization: IBM Champaign
Date: Tue, 5 Jan 1993 17:32:46 GMT

tony@jassys.UUCP (Tony Holden) writes:

>I've got a strange problem with a 320 on 3.2.0.  After the machine is 
>rebooted errpt reports a Software Program Error, and the Resource is
>the keyboard.
>
>Problem is that I don't have a keyboard attached to this machine,
>never have.  The 800 number sez I need to attach a keyboard then run
>diag.  But they weren't real sure about this.

Hmmm, that is an odd one.

If lscfg reports the existence of a keyboard (mine is called kbd0), you
could see if "diag -a" would remove it.

Clutching at straws!
--

Bob Shair                          shair@vnet.ibm.com
Scientific Computing Specialist    SHAIR@UIUCVMD (bitnet)
IBM Champaign
Newsgroups: comp.unix.aix
From: lpc@dickens.com (Luis P Caamano)
Subject: Re: Building X11R5
Date: Tue, 5 Jan 1993 19:19:49 GMT
Organization: Dickens Data Systems, Inc.

In article <1993Jan4.060208.14891@sol.ctr.columbia.edu> hosseino@yu1.yu.edu (Joshua Hosseinof) writes:

>I've been trying to build x11r5 on our RS/6000 running AIX 3.2 but I seem

I thought R5 was available in some PTF for 3.2, can somebody confirm
this?

-- 
Luis P. Caamano                        |         lpc@dickens.com
Dickens Data Systems, Inc. Atlanta, GA |         uunet!dickens.com!lpc
---------------------------------------------------------------------------
If I think I know it all, I'll stop learning. -myself
The more I learn, the more I know I know nothing. -somebody else
Newsgroups: comp.unix.aix
From: hubert@schwaben.heidelbg.ibm.com (x)
Subject: Re: Unlocking Volume Groups
Date: Mon, 11 Jan 93 13:10:57 GMT
Reply-To: zeller@mazvm02.vnet.ibm.com
Organization: IBM Germany, AIX Support Germany

see /usr/lpp/bos/README and search for 'unlock'.

Bernhard
From: greg@Quotron.COM (Greg "Maddog" Knauss)
Newsgroups: comp.unix.aix
Subject: select() in AIX in 3.1
Date: 4 Jan 93 22:51:57 GMT
Organization: Quotron System, Inc.

The FAQ for the X Intrinsitcs (from comp.windows.x.intrinsics) mentions
a rumor that select() has problems under AIX 3.1.  It also says that IBM
claims to have fixed it.  Does anybody have any details about this?
Code that demonstrates it?  The patch number, if there is one?  Symptoms?
--
Greg Knauss (greg@quotron.com)                       "Llamas, dammit!  Llamas!"
From: tony@jassys.UUCP (Tony Holden)
Newsgroups: comp.unix.aix
Subject: Re: keyboard problem without a keyboard
Date: 6 Jan 93 00:52:28 GMT
Organization: HSC CO.

shair@barolo.cso.uiuc.edu (Bob Shair) writes:
> tony@jassys.UUCP (Tony Holden) writes:
> 
> >I've got a strange problem with a 320 on 3.2.0.  After the machine is 
> >rebooted errpt reports a Software Program Error, and the Resource is
> >the keyboard.
> >
> If lscfg reports the existence of a keyboard (mine is called kbd0), you
> could see if "diag -a" would remove it.

The keyboard is defined, and it also shows as defined on other server
type machines that I admin.

diag -a returns back to the cmd prompt.  I never get a message about
the keyboard missing or being found but not defined.  When I go under
diag I can't find a prompt to undefine the keyboard.  Nor under smit.
This may be a lack of understanding or experience with diag.


-- 
Tony Holden					live on the edge,
tony@jassys					  Bank in Texas
jassys!tony@rwsys.lonestar.org
Newsgroups: comp.unix.aix
From: huober_r@hal.rz.uni-ulm.de (Reiner Huober)
Subject: Problems with Ethernet on a RS6000 350
Organization: Universitaet Ulm
Date: Thu, 7 Jan 1993 08:48:48 GMT

Hi there,

we have just bought a 350. We configured the network now and
then, the machine does not boot unless we plug the 25ohms connector
into the BNC-Ethernet connector. If we try to connect our
LAN, the machine crashes immediately.

Please e-mail your answer to huober_r@hal.rz.uni-ulm.de

Reiner Huober

Newsgroups: comp.unix.aix
From: abe@mace.cc.purdue.edu (Vic Abell)
Subject: Re: 3.1.5 rs6k: no more processes
Organization: Purdue University
Date: Thu, 7 Jan 1993 21:07:28 GMT

In article <kfH86Na00hNP1DzGpJ@cs.cmu.edu> Sean.Levy@cs.cmu.edu writes:
>Please don't tell me to upgrade to 3.2.
>
>I quite often get errors on my box telling my that it cannot create more
>processes. This seems patently foolish, considering how much memory/disk
>the thing has. How can I raise whatever limit I'm running into?

Read the very recent postings on this subject.  Check smit, lsattr(sys0)
and chdev(sys0).  Search InfoExplorer for maxuproc.  Read the FAQ.
From: forsyth@minster.york.ac.uk
Newsgroups: comp.unix.aix
Subject: /dev/fd implementation
Date: 7 Jan 93 19:34:27 GMT
Organization: Department of Computer Science, University of York, England

has anyone got a version of the /dev/fd driver (file descriptor directory, not floppy disc!)
for AIX?

(open("/dev/fd/0",...) == dup(0))
From: nwinton@axion.bt.co.uk (Neil Winton)
Newsgroups: comp.unix.aix
Subject: malloc, AIX, Standards and Portability
Keywords: malloc posix x/open standards ansi
Date: 12 Jan 93 10:52:11 GMT
Organization: BT Laboratories

Let's get some things straight: this whole debate about what malloc(0) should
or should not do (and whether it's BDS or System V) is on the wrong track.

Like it or not, AIX attempts (for the most part successfully) to conform to
a number of standards.  Some of them are formal, consensus, beaten-on-for-years
by committee standards.  These are ANSI and ISO standards.  The two most
important are

	ANSI C (ISO/IEC 9899)

	POSIX.1 (ISO/IEC 9945-1)

These are neither BSD or SysV.  There are several important things to remember
about standards:

	1) Standards are your guarantees of portability.

	2) Standards may not say what you expect.

	3) Standards may not do all you want.

The malloc(0) behaviour is probably an instance of the second and third items. 
Sorry, but that's how it is.  If you feel that strongly, get involved in the
standards-making process (it needs all the help it can get :-)

Large companies like the one I work for (we spend hundreds of millions of pounds
each year on computer systems and software) put a lot of pressure on vendors to
conform to standards so that we can write and use portable software.  We want
systems that conform to POSIX and other less formal but widely implemented
standards like the X/Open Portability Guide.

Learn about these standards.  Learn FROM these standards (they can teach you a
lot).  Then use them.

	Neil

*   Neil Winton			Rm 306, SSTF, BT Labs, Martlesham Heath    *
*   N.Winton@axion.bt.co.uk	IPSWICH IP5 7RE, UK   (Tel +44 473 646079) *
*    The works of the Lord are great, sought out of all them that have     *
*    pleasure therein.					 Psalm 111 v 2     *
*        (Found at the entrance to the Cavendish Labs, Cambridge.)         *
From: tuc@stormking.com (Scott J Ellentuch)
Newsgroups: comp.unix.aix
Subject: Re: AIXSERV
Date: 11 Jan 93 02:06:54 GMT
Organization: The Telecom Security Group

In Bob Gustwick's own words (And I ">_") :
> 
> In article <199301032127.AA12827@stormking.com> tuc@stormking.com (Scott J Ellentuch) writes:
> >Hi all,
> >
> >	Wondering if anyone else is having problems with AIXSERV.  I switched
> >the address like they say and it seems that I got a message a week later
> >saying it didn't get through..... (EASE.AUSTIN.IBM.COM)
> >
> >				Scott
> >
> 
> The correct addresses to use for AIXSERV are:
> 
>    aixbugs@austin.ibm.com     <- send your aixserv transactions here
>    services@austin.ibm.com    <- send administrivia concerns here
> 
> Also, if you were sending testcases to aixserv!nsd the new place
> to send them is:
> 
>    aasc@austin.ibm.com
> 
> 
	According to my .aixserv.def :

#-------------------------------------------------------------#
# You may change any incorrect values.                        #
#-------------------------------------------------------------#
BUGADDR="aixbugs@austin.ibm.com"
LOCAL_BUGADDR="tuc"
SERVADDR="services@austin.ibm.com"

		And I still got that message.

					Scott
-- 
****************************************************************************
* ---   ---  |Scott J. Ellentuch, Pres  | The Telecom Security Group       *
****************************************************************************
Newsgroups: comp.unix.aix
From: merrick@magnus.acs.ohio-state.edu (Tom Merrick)
Subject: backup and skulker
Organization: The Ohio State University
Date: Fri, 8 Jan 1993 14:09:23 GMT

I was just trying to get skulker to work and noticed that no old core files
were being deleted from the user area.  Upon further investigation, I found
that access times shorter than my backup would work.

Should backup (by name) change the access time for a file?  And if so, how
do you clean up your system?

Tom Merrick
Ohio State University

PS> From my earlier question about backing up long filenames.  Backup/restore
do have a problem with filenames longer than 100 characters.  Fixes U410855
and U410796 are supposed to extend this to the 1000 (1024?) character posix
limit.
Newsgroups: comp.unix.aix
From: christes@socrates.umd.edu (Skip Christensen)
Subject: PL/1 to c
Organization: University of Maryland University College
Date: Mon, 11 Jan 1993 16:16:44 GMT

I am looking for a tool, or whatever, that will help in
converting PL/1 developed applications to "c".  Anyone
ever heard of such a thing?

Newsgroups: comp.unix.aix
From: crow@waterloo.austin.ibm.com (David L. Crow)
Subject: Re: Continued support for Sabine graphics adapter?
Date: Thu, 7 Jan 1993 16:49:10 GMT
Distribution: na
Reply-To: crow@austin.ibm.com
Organization: IBM AWS Graphics Systems

ericl@cs.kuleuven.ac.be (Eric Lafortune) writes:
>At our department we are wondering if the Sabine graphics adapter is supported
>by more recent versions of AIX than 3.1.5, and if it will still be supported in
>the future. We've heard some totally opposite opinions from our local IBM
>representatives so far. We are primarily interested in X11 R4/R5 and in GL.

    I can't comment on futures, but all current releases of AIX provide
  support for the High Performance 3D Color Graphics Processor.  This
  includes AIX 3.2 and all of the PTFs to date.

-- 
 ----------- Opinions expressed are mine, not my employer's ----------
 |  David L. Crow               |  Internet: crow@austin.ibm.com     |
 |  IBM AWS Graphics Systems    |  IBM VNET: CROW at AUSTIN          |
 |  Austin, Republic of Texas   |  (512) 838-1134  T/L 678-1134      |
Newsgroups: comp.unix.aix
From: tye@spillman.uucp (E. Tye McQueen)
Subject: Re: cpio: 0511-032 Cannot copy from the diskette.
Date: Wed, 13 Jan 1993 02:21:54 GMT
Organization: Spillman Data Systems

woan@exeter.austin.ibm.com (Ronald S. Woan) writes:
)In article <2ZJ2wB1w163w@connect.com> root@connect.com (Niles Mills) writes:
)>I'm trying to get a directory from a tape that is labelled as being
)>"CPIO format" via the following command lines:  (label yields no
)>clues as to density)
)
)You might try using smit to set the tape device to variable block size
)(0).

If you ever deal with tapes on AIX, save the following two commands away:

        chdev -l rmt0 -a block_size=000    (act like a Unix tape drive)
and
        chdev -l rmt0 -a block_size=512    (act like an AIX tape drive)

The first is for dealing with any tapes other than AIX and the second
is for installing AIX tapes.  You can also use

        chdev -l rmt0 -a block_size=NNN

to make it act like a tape drive connected to "dd bs=NNN".

Depending on your environment, you probably shouldn't assume anything
about the what the block_size attribute is set to when you access the
tape.  Just get in the habbit of explicitly setting it yourself before
each use.

 tye@spillman.com                         Tye McQueen, E.
----------------------------------------------------------
 Nothing is obvious unless you are overlooking something. 
----------------------------------------------------------
From: pa@curly.appmag.com (Pierre Asselin)
Newsgroups: comp.unix.aix
Subject: Re: AIXSERV
Date: 4 Jan 93 16:22:54 GMT
Organization: Applied Magnetics, Goleta, CA

In <199301032127.AA12827@stormking.com>
	tuc@stormking.com (Scott J Ellentuch) writes:


>	Wondering if anyone else is having problems with AIXSERV.  I switched
>the address like they say and it seems that I got a message a week later
>saying it didn't get through..... (EASE.AUSTIN.IBM.COM)

Ditto here.  I changed the address and my boss succesfully filed a
bug (i.e. got a reply with an assigned problem number).  About one
week later it no longer worked:

  From: MAILER-DAEMON@austin.ibm.com (Mail Delivery Subsystem)
  Subject: Returned mail: Cannot send message for 6 days

    --- The transcript of the session follows ---
  421 ease.austin.ibm.com.tcp... Deferred:
	  Connection timed out during user open with ease.austin.ibm.com

The original message was sent To: aixbugs@austin.ibm.com on Dec. 24.
The bounce came on Dec. 30.  Sounds like a problem between Austin and
Austin.
-- 

--Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
  pa@appmag.com        the usual disclaimers apply.
Newsgroups: comp.unix.aix
From: ptw@ornl.gov (WILLIAMS P T)
Subject: WordPerfect on IBM RS/6000 Workstations
Organization: Oak Ridge National Laboratory
Distribution: usa
Date: Tue, 5 Jan 1993 16:46:43 GMT



Subject: WordPerfect on IBM RS/6000 Workstations

We have just installed WordPerfect 5.1 on our IBM
workstations (IBM RS/6000 Models 320 and 560, AIX 3.2.0)
Its performance, so far, has been very sluggish when any
attempt is made to view a graphics image.  We do a lot of 
technical writing and make heavy use of the equations
editor in WordPerfect, which produces a graphics image for
each equation.  It can take up to 30 seconds or more just to
move from one page to the next if the page has equations.
UNIX customer support at WordPerfect  says that we should
expect it to be slow when using a lot of graphics; 
however, the current performance appears unacceptable.

Has anyone had any experience with WordPerfect 5.1 on an IBM
workstation?

Paul T. Williams
Oak Ridge National Laboratory
ptw@ornl.gov
Newsgroups: comp.unix.aix
Subject: Re: Two headed 320 running 3.2 
From: Craig_Anderson@kcbbs.gen.nz (Craig Anderson)
Date: 10 Jan 93 15:16:57 GMT
Organization: Kappa Crucis Unix BBS, Auckland, New Zealand

 
In article <MfHPNfe00hsCMwIXZf@cs.cmu.edu> houghton+@cs.cmu.edu (Ricky Houghto
>    Can somone offer some help on a two headed 320 running AIX 3.2? 
 
Try the undocumented: 
	xinit -all 
 
-Craig 
--- 
Craig Anderson (craig%abstract@kcbbs.gen.nz)
From: moore@cs.utk.edu (Keith Moore)
Newsgroups: comp.unix.aix
Subject: what's wrong with sendmail?
Date: 6 Jan 1993 07:50:22 GMT
Organization: Univ. of Tenn. Computer Science, Knoxville
Distribution: world
Reply-To: moore@cs.utk.edu
NNTP-Posting-Host: wilma.cs.utk.edu

I'm trying to get MH 6.8 running here, and it fails when trying to
talk SMTP with the local sendmail.  It's not MH's fault, because
the same commands fail when I type them in by hand.  For example:

% telnet rios smtp
Trying...
Connected to rios.cs.utk.edu.
Escape character is '^]'.
220 rios.cs.utk.edu Sendmail AIX 3.2/UCB 5.64/2.7c-UTK-AIX-brain-damage ready at Wed, 6 Jan 1993 02:57:20 -0500
helo localhost
250 rios.cs.utk.edu Hello localhost (RIOS.CS.UTK.EDU), pleased to meet you
mail from:<moore@cs.utk.edu>
554 rewrite: cannot prescan canonical hostname: cs.utk.edu>
554 <moore@cs.utk.edu>... Unbalanced '>'
451 rewrite: cannot prescan canonical hostname: cs.utk.edu>: No such file or directory

The sendmail config file we are using works fine on all of our other
UNIX boxes...the only modifications for AIX are to enable the options
that it requires before it will support MX records.  And this same
sendmail works fine for mail submitted via piping to sendmail's
standard input...but not via SMTP.

Is there a fix for this?

--
Keith Moore / U.Tenn CS Dept / 107 Ayres Hall / Knoxville TN  37996-1301
Internet: moore@cs.utk.edu      BITNET: moore@utkvx
UNIX is your brain..............SYSV is your brain on drugs.
From: micjrs@mica.mic.ki.se (Richard Soderberg, MD)
Newsgroups: comp.unix.aix
Subject: How do i get new man page entries into the system?
Date: 10 Jan 93 14:27:07 GMT
Organization: The Karolinska Institute, Sweden
X-UserAgent: Nuntius v1.1.1d12
X-XXMessage-ID: <A775F296EF017A15@bart.mic.ki.se>
X-XXDate: Sun, 10 Jan 93 14:34:46 GMT

I've recently added a piece of freeware to our system. This freeware came 
with its own man -entry in traditional (?) format.
How do i get the system to recognize this new entry ? Where do i put
the file, which programs will have to be run to get it into the system
etc.
TIA
RS
From: gelhard@quaker
Newsgroups: comp.unix.aix
Subject: UNIX Editors
Date: 5 Jan 93 15:10:11 GMT

We are in the process of perchasing a RS/6000.  Alot of the RS/6000 users are
IBM PC and VM/CMS users familiar with KEDIT and XEDIT.  Is there an editor like
KEDIT or XEDIT for UNIX?

Thanks in Advance,

Barbara