Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

4.2 Missing functions

2 views
Skip to first unread message

Wesley Kranitz x7-4409

unread,
Jan 31, 1994, 11:10:10 AM1/31/94
to
Hi,

I think this was discussed here before, but I don't remember what
was said. In the process of building tin, I discovered that two
funtions are missing: settz() and strftime(...). Their in the Lexicon,
but don't apprear to be in any library anywhere that I can find.

Are they truely missing, or am I just not looking in the correct
place.

Thanks,

Wes

ro...@tfnet.ils.unc.edu

unread,
Jan 31, 1994, 8:45:38 PM1/31/94
to
In article <CKI4w...@crdnns.crd.ge.com>,

Wesley Kranitz x7-4409 <kra...@sol.med.ge.com> wrote:
>was said. In the process of building tin, I discovered that two
>funtions are missing: settz() and strftime(...). Their in the Lexicon,
>but don't apprear to be in any library anywhere that I can find.
>
>Are they truely missing, or am I just not looking in the correct place.

I have also found that strdup is in the lexicon but not the library.
I wrote my own and added it to liblou.a. 8-)

fred smith

unread,
Feb 1, 1994, 5:11:43 AM2/1/94
to
Wesley Kranitz x7-4409 (kra...@sol.med.ge.com) wrote:
> Hi,

> I think this was discussed here before, but I don't remember what
> was said. In the process of building tin, I discovered that two
> funtions are missing: settz() and strftime(...). Their in the Lexicon,
> but don't apprear to be in any library anywhere that I can find.

settz() used to be in older Coherents, but it is an aberration from
the way Unix systems work. The 'normal' way of doing it is with a
function named tzset(). If you look at 4.2 you'll see it now has
a tzset() instead of a settz().

strftime() is in the manual, but not in the libraries. There are a
number of implementations floating around. If you can't find one,
lemme know and I can e-mail you sources to one (or more) of them.

Fred


--
-------------------------------------------------------------------------------
.---- / Fred Smith BIX: fredex
( /__ ,__. __ __ / __ : / fre...@fcshome.stoneham.ma.us
/ / / /__) / / /__) .+' Home: 617-438-5471
/ / (__ (___ (__(_ (___ / :__ Office: 508-663-2524
-------------------------------------------------------------------------------

Michael Gerhards

unread,
Feb 1, 1994, 1:15:49 PM2/1/94
to
In article <CKI4w...@crdnns.crd.ge.com> , Wesley Kranitz x7-4409 wrote:
> I think this was discussed here before, but I don't remember what
> was said. In the process of building tin, I discovered that two
> funtions are missing: settz() and strftime(...). Their in the Lexicon,
> but don't apprear to be in any library anywhere that I can find.

COHERENT uses 'settz' instead of 'tzset'. Change the code to use
COHERENT's system-call or define settz = tzset.

strftime is shipped with tin as an addon, I think. Just edit the
makefile to include strftime.c to the source-files ( or was it config.h )

Michael
--
mic...@jester.GUN.de * Michael Gerhards * Data: +49 2131 80923
* Preussenstrasse 59 * guest-account out of
* Germany 41464 Neuss * order - sorry

Wesley Kranitz x7-4409

unread,
Feb 1, 1994, 6:04:15 PM2/1/94
to
fred smith (fre...@fcshome.stoneham.ma.us) wrote:

: Wesley Kranitz x7-4409 (kra...@sol.med.ge.com) wrote:
: > Hi,

: > I think this was discussed here before, but I don't remember what
: > was said. In the process of building tin, I discovered that two
: > funtions are missing: settz() and strftime(...). Their in the Lexicon,
: > but don't apprear to be in any library anywhere that I can find.

: settz() used to be in older Coherents, but it is an aberration from
: the way Unix systems work. The 'normal' way of doing it is with a
: function named tzset(). If you look at 4.2 you'll see it now has
: a tzset() instead of a settz().

Interesting. I didn't see a tzset() in the lexicon. I'll look again tonight
at both the lexicon and the library symbol tables. Settz() is still
in the lexicon.

: strftime() is in the manual, but not in the libraries. There are a


: number of implementations floating around. If you can't find one,
: lemme know and I can e-mail you sources to one (or more) of them.

I was sent a copy of one to put in my library. It was sent to me
by someone who got it from mwc.

Thanks,

Wes

Udo Munk

unread,
Feb 2, 1994, 1:33:40 AM2/2/94
to
Wesley Kranitz x7-4409 (kra...@sol.med.ge.com) wrote:
: Hi,

: I think this was discussed here before, but I don't remember what
: was said. In the process of building tin, I discovered that two
: funtions are missing: settz() and strftime(...). Their in the Lexicon,
: but don't apprear to be in any library anywhere that I can find.

settz() was a bug, the real name of the function is tzset(), this
was fixed for 4.2.
strftime() is missing, a library upgarde is available on MWCBBS where
it's included. Also you'll find strftime() source in many GNU packages
like gawk and make.

: Are they truely missing, or am I just not looking in the correct
: place.

Both :-)
--
Udo Munk, Oberstr. 21, 41460 Neuss, Germany
privat: u...@umunk.GUN.de CIS: 100021,2515
work: u...@mwc.com

Udo Munk

unread,
Feb 2, 1994, 1:35:21 AM2/2/94
to
ro...@tfnet.ils.unc.edu wrote:
: In article <CKI4w...@crdnns.crd.ge.com>,

Yes right, also fixed with the upgrade of libc on MWCBBS. You'll find
sources also in K&R secound editition and most GNU packages.

Harry C Pulley

unread,
Feb 2, 1994, 8:03:39 AM2/2/94
to
Wesley Kranitz x7-4409 (kra...@sol.med.ge.com) wrote:
: I think this was discussed here before, but I don't remember what

They are truly missing. Someone posted awhile ago the names of some packages
which include these functions. Could they repost? (I can't remember myself
right now; I wrote a limited version of strftime() myself but you probably
want the real version.)

Harry
--
hpu...@uoguelph.ca |This message released|It takes all kinds,
Harry C. Pulley, IV |to the PUBLIC DOMAIN.|and to each his own.
----------------------------------+---------------------|This thought in mind,
Stay away from the DOS side, Luke!|Un*x don't play that.|I walk alone.

Wesley Kranitz x7-4409

unread,
Feb 2, 1994, 9:26:13 AM2/2/94
to
Michael Gerhards (mic...@jester.GUN.de) wrote:

: In article <CKI4w...@crdnns.crd.ge.com> , Wesley Kranitz x7-4409 wrote:
: > I think this was discussed here before, but I don't remember what
: > was said. In the process of building tin, I discovered that two
: > funtions are missing: settz() and strftime(...). Their in the Lexicon,
: > but don't apprear to be in any library anywhere that I can find.

: COHERENT uses 'settz' instead of 'tzset'. Change the code to use
: COHERENT's system-call or define settz = tzset.

Coherent uses tzset(). It's not in the manual, but it's in libc.a.

: strftime is shipped with tin as an addon, I think. Just edit the


: makefile to include strftime.c to the source-files ( or was it config.h )

Yes, I know, but I prefer to have the one that mcw will (or is) using.
It makes support questions easier to handle.

In any case I got tin 1.21 up with just a few minor changes.

Thanks,

Wes

Eric V. Bruno

unread,
Feb 2, 1994, 12:51:30 PM2/2/94
to
>strftime() is missing, a library upgarde is available on MWCBBS where
>it's included. Also you'll find strftime() source in many GNU packages
>like gawk and make.
>--
>Udo Munk, Oberstr. 21, 41460 Neuss, Germany
>privat: u...@umunk.GUN.de CIS: 100021,2515
>work: u...@mwc.com

What else is in the library upgrade?

---------------------------------------------------------------
|Eric Bruno, Santa Clara, CA | All opinions are my own. |
|erib...@netcom.com | |
|CompuServe ID - 71540,36001 | |
---------------------------------------------------------------

Udo Munk

unread,
Feb 4, 1994, 6:58:41 PM2/4/94
to
Eric V. Bruno (erib...@netcom.com) wrote:
[...]
: What else is in the library upgrade?

Well, the missing functions are included and some other fixes, but
I don't have a record about all changes, I didn't made them.
If you are using gcc be sure to get both versions, one for /lib
and the other for /lib/ndp too!

Michael Gerhards

unread,
Feb 5, 1994, 8:26:11 AM2/5/94
to
In article <CKLpF...@crdnns.crd.ge.com> , Wesley Kranitz x7-4409 wrote:

> Michael Gerhards (mic...@jester.GUN.de) wrote:
> : COHERENT uses 'settz' instead of 'tzset'. Change the code to use
> : COHERENT's system-call or define settz = tzset.

> Coherent uses tzset(). It's not in the manual, but it's in libc.a.

Yes of course. Sorry.

Michael
--
mic...@jester.GUN.de * Michael Gerhards * Voice: +49 2131 82238
* Preussenstrasse 59 * Modem: +49 2131 80923
* Germany 41464 Neuss * Login guest, no passwd

Udo Munk

unread,
Feb 5, 1994, 11:42:39 AM2/5/94
to
Terry Bell (COMSAT) (acb...@lims02.lerc.nasa.gov) wrote:
[...]
: And why can't these fixes and upgrades be mailed to us?

Because resources a limited and such a mailing action would cost
a lot of money. Also not every users needs such fixes in every
case. MWC is doing the same as other UNIX vendors: offering
fixes immediately after they are done on the MWCBBS system and
distribute them to mirror suites. European users can get all this
fixes from my machine too. So if you need such a fix get it
from one of the support systems, these fixes aren't large packages,
so it's not so terrible expensive to uucp them. Also you have the
choice self if you need the fix and if you want to pay for the
uucp connection to get it.
Complete upgrades usually are available from distributors, there is
no upgrade for 4.2 yet.

Hm, would users be interested on additional service contracts and
pay a fixed amount per year to get such fixes mailed automatically?
This isn't a offer, this is a question only about an idea I
just had my self for future improvements of customer support.

Lou Sortman

unread,
Feb 6, 1994, 3:03:10 PM2/6/94
to
In article <94020...@umunk.gun.de>, Udo Munk <u...@umunk.GUN.de> wrote:
>case. MWC is doing the same as other UNIX vendors: offering
>fixes immediately after they are done on the MWCBBS system and
>distribute them to mirror suites. European users can get all this

What mirror sites? The mwcbbs stuff on raven all has a date in 1992.
Are fixes archived somewhere which is accessible via ftp?
Are they on raven somewhere where I haven't looked?
--
l...@tfnet.ils.unc.edu (Lou Sortman) Memo to myself:
Do the dumb things I gotta do.
Squeak, I tell you, Squeak! Touch the puppet head.
-- Ren Hoek -- They Might Be Giants

fred smith

unread,
Feb 7, 1994, 3:24:58 PM2/7/94
to
Wesley Kranitz x7-4409 (kra...@sol.med.ge.com) wrote:

> Coherent uses tzset(). It's not in the manual, but it's in libc.a.

Perhaps not in the paper manual, but if you type "man tzset" you'll
get the man page for it. Note that typing "man settz" no longer prouces
a man page.

Wesley Kranitz x7-4409

unread,
Feb 8, 1994, 1:42:21 PM2/8/94
to
fred smith (fre...@fcshome.stoneham.ma.us) wrote:

: Wesley Kranitz x7-4409 (kra...@sol.med.ge.com) wrote:

: > Coherent uses tzset(). It's not in the manual, but it's in libc.a.

: Perhaps not in the paper manual, but if you type "man tzset" you'll
: get the man page for it. Note that typing "man settz" no longer prouces
: a man page.

That may be true, but after the 4.2 update, I don't have room for the
man pages if I want to do any work at all. As I said in my long post
entitled "BEWARE: 4.2 Update dangerous to your sanity", the update
permanatly takes up most of the 10000 blocks it says you need to install
it. And it assumes that you have the man pages installed and loads all
new ones whether you want them or not. Since I started the update
with 17000 blocks and only have 6000 left after the update and after
removing the unwanted man pages (I only had around 2000 left out of
17000 I started with before I deleted them), I'm afraid I'll just
have to grope along best I can.....:-)

Wes

Andrew MacIntyre

unread,
Feb 9, 1994, 10:22:45 PM2/9/94
to
In article <94020...@umunk.GUN.de> u...@umunk.GUN.de (Udo Munk) writes:

>Hm, would users be interested on additional service contracts and
>pay a fixed amount per year to get such fixes mailed automatically?
>This isn't a offer, this is a question only about an idea I
>just had my self for future improvements of customer support.

Depending on price, I would be. I am used to this sort of arrangement with
the systems I administer for a living ....

Andrew MacIntyre
<and...@happy.dotc.gov.au>
These thoughts are mine alone ...

Eric V. Bruno

unread,
Feb 10, 1994, 1:34:31 PM2/10/94
to
>These thoughts are mine alone ..,


Such an option would be worth to me (strawman proposal)
This is for disks only, no hardcopy. Sent by US First Class
Mail; Extra for UPS, Fed Ex, Overseas ...etc.


Basic Coherent OS, for 2 updates/per year US $40.00
X-Window for 2 updates per year US $20.00
GNU Tools 1 update per year US $15.00
GNU Compiler US $15.00

If a major release was to be provided update service fees
would apply towards purchase price.

So for example if I received on update of the OS and a new release
is available instead of an update, half the purchase price would be
applied towards the new release purchase price.

An additionial option would be a toll free number for updates on MWCBBS,
this would have to be a high speed line otherwise MWC would lose thier
shirt. However, if MWC would put in a real Internet node with ftp access
then people could dial the closet system they have access to.

Another option would be an automailer.

I would send a message with the subject

index to get a list of availble files.

send [small,medium,large] filename filename ....


small, medium and large refer to the message size for the uuencoded messages.


Another company whose products I use have this service. Works great.
They validate my e-mail address against a database of registered users
and if you are a vaild user they mail the files.

Bob Chalmers

unread,
Feb 10, 1994, 9:59:30 PM2/10/94
to
Andrew MacIntyre (and...@happy.dotc.gov.au) wrote:


I second that.
Bob

--

[5m [1mAustralia [0m
____________________________________________________________________________
|Robert Chalmers.(Li Bai) ,-._|\*<-Mackay rob...@nanguo.cstpl.com.au |
| CSTPL. E-Mail Bureau. / \*<-Brisbane pa...@cstpl1.cstpl.com.au |
|Support +61 79 524395 \_.-\__/ *Mail->News, coh...@cstpl.com.au |
|AUSTPAC (X.25) Dial-out NUI. *Info Server, in...@cstpl.com.au |
|X.32 SOON! - Loacal & Overseas *Sales Server, sa...@cstpl.com.au |
| Voice: +61 79 524395 Fax: +61 79 524032 Sales Only: 1800 067722 |
|---------------------* ao zhong you yi wan sui *--------------------------|

Bob Chalmers

unread,
Feb 11, 1994, 2:01:08 AM2/11/94
to
Eric V. Bruno (erib...@netcom.com) wrote:
: In article <andymac.4...@happy.dotc.gov.au> and...@happy.dotc.gov.au (Andrew MacIntyre) writes:
: >In article <94020...@umunk.GUN.de> u...@umunk.GUN.de (Udo Munk) writes:
: >

: Another option would be an automailer.

: I would send a message with the subject

: index to get a list of availble files.

: send [small,medium,large] filename filename ....


: small, medium and large refer to the message size for the uuencoded messages.


excellent idea Bruno. I'll see if I can impliment it here.

Udo Munk

unread,
Feb 14, 1994, 2:12:59 PM2/14/94
to
Lou Sortman (l...@tfnet.ils.unc.edu) wrote:
[...]
: What mirror sites? The mwcbbs stuff on raven all has a date in 1992.

In the release notes you'll find the COHERENT support uucp sites,
my system e.g. You'll not find any patches or bug fixes on raven,
because this stuff is copyrighted software. Because of legal reasons
it's not possible to make such stuff available on raven, it's a
anonymous ftp site.

: Are fixes archived somewhere which is accessible via ftp?

Not yet, I guess MWC has to install a system connected to the
Internet self, so that sysops of anon ftp sites doesn't violate
copyrights.

: Are they on raven somewhere where I haven't looked?

No.

CSCH...@bcsc02.gov.bc.ca

unread,
Feb 17, 1994, 1:19:49 PM2/17/94
to
In article <andymac.4...@happy.dotc.gov.au>
and...@happy.dotc.gov.au (Andrew MacIntyre) writes:

>
>In article <94020...@umunk.GUN.de> u...@umunk.GUN.de (Udo Munk) writes:
>
>>Hm, would users be interested on additional service contracts and
>>pay a fixed amount per year to get such fixes mailed automatically?
>>This isn't a offer, this is a question only about an idea I
>>just had my self for future improvements of customer support.
>
>Depending on price, I would be. I am used to this sort of arrangement with
>the systems I administer for a living ....

I have spent the bulk of my 19 year career as an MVS Systems Programmer on
IBM mainframes. IBM has been sending out Program Update Tapes (PUT tapes)
in various forms (ie. once a month, 7-10 times a year, and lately once every
two months) for almost as long as I can remember. I appreciate this approach
to system maintenance more than the on-demand approach used on other platforms.
I would be willing to pay an appropriate fee to have this service.


Regards, Phone: (604)389-3827
Cy Schubert OV/VM: BCSC02(CSCHUBER)
Open Systems & MVS Support BITNET: CSCH...@BCSC02.BITNET
BC Systems Corp. Internet: csch...@bcsc02.gov.bc.ca
0 new messages