Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uflorida!haven!adm!news From: postmaster@sandia.gov (SMTP MAILER) Newsgroups: comp.unix.questions Subject: Mail Delivery Problem Message-ID: <22785@adm.BRL.MIL> Date: 18 Mar 90 21:41:03 GMT Sender: news@adm.BRL.MIL Lines: 533 ----Reason for mail failure follows---- Sending mail to : Could not be delivered for three days. ----Transcript of message follows---- Date: 15 Mar 90 06:59:00 MST From: info-unix@BRL.MIL Subject: INFO-UNIX Digest V9#092 To: "jnjortn" Return-Path: Received: from SEM.BRL.MIL by sandia.gov with SMTP ; Thu, 15 Mar 90 06:49:28 MST Received: from SEM.BRL.MIL by SEM.BRL.MIL id ab06497; 15 Mar 90 6:01 EST Received: from sem.brl.mil by SEM.BRL.MIL id aa06485; 15 Mar 90 5:45 EST Date: Thu, 15 Mar 90 05:45:28 EST From: The Moderator (Mike Muuss) To: INFO-UNIX@BRL.MIL Reply-To: INFO-UNIX@BRL.MIL Subject: INFO-UNIX Digest V9#092 Message-ID: <9003150545.aa06485@SEM.BRL.MIL> INFO-UNIX Digest Thu, 15 Mar 1990 V9#092 Today's Topics: fcntl Re: fcntl Re: *nix - an abbreviation? Re: Motif shared library? Starting a session at a terminal remotely ftp site for uuencode/decode source in PD Re: troff fonts with me macros Re: Printer accounting and cutoff from UNIX: is it possible? Re: signal problems on BSD Intro to sockets? Re: Kermit vs uugetty BSD4.3 For Banking interprocess communication cache parity error Re: RPC programming ----------------------------------------------------------------- From: Jerome Freedman Subject: fcntl Date: 13 Mar 90 12:57:55 GMT To: info-unix@sem.brl.mil I know what the entry point(s) to ioctl are (I've seen enough drivers but where are the fcntl entry points? There is sort of an overlap there. Will a fcntl cause a call to dev_ioctl? Jerry Freedman,Jr ----------------------------- From: Doug Gwyn Subject: Re: fcntl Date: 15 Mar 90 00:18:39 GMT To: info-unix@sem.brl.mil In article <1990Mar13.125755.9720@granite.cr.bull.com> freedman@granite.cr.bull.com (Jerome Freedman) writes: > I know what the entry point(s) to ioctl are (I've seen >enough drivers but where are the fcntl entry points? >There is sort of an overlap there. Will a fcntl cause >a call to dev_ioctl? Well, it's not supposed to -- fcntl() was introduced specifically to play with the file table entries, which is something the device driver is not supposed to know (or care) about. ----------------------------- From: Roger Gonzalez Subject: Re: *nix - an abbreviation? Keywords: sorry; some misunderstandings :-( Date: 13 Mar 90 13:46:02 GMT To: info-unix@sem.brl.mil Yep, as you said A/UX and others don't fit the *IX. For that matter, one of our systems runs UNOS, which is a UN* :-) -- UUCP: ..!uunet!unhd!rg | USPS: Marine Systems Engineering Laboratory BITNET: r_gonzalez at unhh | University of New Hampshire PHONE: (603) 862-4600 | Marine Programs Building FAX: (603) 862-4399 | Durham, NH 03824-3525 ----------------------------- From: Larry Wall Subject: Re: *nix - an abbreviation? Keywords: sorry; some misunderstandings :-( Date: 14 Mar 90 22:19:17 GMT To: info-unix@sem.brl.mil In article <1990Mar13.134602.12921@uunet!unhd> rg@unhd.unh.edu.UUCP (Roger Gonzalez ) writes: : Yep, as you said A/UX and others don't fit the *IX. For that matter, : one of our systems runs UNOS, which is a UN* :-) How 'bout we switch to normal regular expressions and say something like: (u.*[nx]|[rn].*x|ix) That gets most of 'em, and maybe a few that haven't been invented yet. Or perhaps (^u|[ux]$) Or maybe that should that be (^u|[ux]$|osf) Probably get a false positive with that one, though. :-) Larry Wall lwall@jpl-devvax.jpl.nasa.gov ----------------------------- From: Guy Harris Subject: Re: Motif shared library? Date: 13 Mar 90 19:34:24 GMT Followup-To: comp.unix.questions To: info-unix@sem.brl.mil >The .sa file may have to contain code, if the address of a function is >referenced by both library code and library client code (e.g. mem_rop in >the pixrect library). Yup, I'd forgotten that little Tale of Terror from 4.0 development days. If you have to do something like if (foo->bar->bletch == mem_rop) { /* * Do special memory pixrect stuff */ } else { /* * Do other pixrect stuff */ } this comes into play (i.e., it's not *any* reference by name that causes problems, it's references that actually care about the address of the function as something other than the target of a jump). ----------------------------- From: dec@winston.sr.com Subject: Starting a session at a terminal remotely Date: 13 Mar 90 21:27:16 GMT To: info-unix@sem.brl.mil I have to start a session programaticly on a terminal, the terminal is local to my machine, but for reasons that make no difference I am forced to start the session for them. (meaning that instead of letting someone log into a script or anything else, the data entry screen has to be there for them). Unfortunately I can not make the data entry program open the dev I want to use because it is an existing package. I am running SCO XENIX on everex 286 systems, version 2.2.3. Please help me! Thanks in advance Dave David Compton, 900 W. Alameda, Burbank, CA, 91506 U.S.A, Work Phone 818-843-7311 UUCP: ..!winston!dec INTERNET: dec@winston.sr.com Home Phone 805-583-4345 ----------------------------- From: "David J. Harr" Subject: ftp site for uuencode/decode source in PD Date: 13 Mar 90 21:40:33 GMT To: info-unix@sem.brl.mil Does anyone know where I can find the source for uuencode/uudecode? I have these huge files that I encoded on a Sun before mailing them to myself on a Prime, but I get here and I find that Primix, the Prime implementation of Unix, does not include these utilities in its standard distribution. As a result, I am stuck here with > 50 megabytes of stuff and no way to use it. Any help would be appreciated. Please e-mail me as I do not really follow this newsgroup regularly. Thank you. David ----------------------------- From: "Conor P. Cahill" Subject: Re: troff fonts with me macros Date: 14 Mar 90 00:35:04 GMT To: info-unix@sem.brl.mil In article <22738@adm.BRL.MIL> gaspar@stl-08sima.army.mil (Al Gaspar) writes: >I am working on a document using the me macros and I want to >change the point size for the entire document from the default >of 10 to 12. I have tried (among other things) '.ps 12' and I had to do this with my USENET Manual Set and came up with the following: .nr pp 8 .nr sp 8 .nr tp 8 to set it to 8 point. I added these lines after the .so for the me macros. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170 ----------------------------- From: "John E. Prussing" Subject: Re: troff fonts with me macros Keywords: simple solution Date: 14 Mar 90 14:51:56 GMT Sender: News To: info-unix@sem.brl.mil In article <22738@adm.BRL.MIL> gaspar@stl-08sima.army.mil (Al Gaspar) writes: > >I am working on a document using the me macros and I want to >change the point size for the entire document from the default >of 10 to 12. I have tried (among other things) '.ps 12' and >'.sz 12' at the top of my file with no luck. The only way those > .............etc. >Al Gaspar >USAMC SIMA, ATTN: AMXSI-TTC, Box 1578, St. Louis, MO 63188-1578 >COMMERCIAL: (314) 263-5646 AUTOVON: 693-5646 >uunet.uu.net!stl-08sima.army.mil!gaspar =-=-=-=-=-=-= Try putting the statement ".nr PS 12" at the very beginning of your program. You may need to include "gsize 12" in your .EQN definitions if you're using eqn. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- John E. Prussing Internet: jep@uxh.cso.uiuc.edu Aeronautical & Astronautical Engineering University of Illinois at Urbana-Champaign Bitnet: jep@uiucuxh ----------------------------- From: Anton Hartl Subject: Re: troff fonts with me macros Date: 14 Mar 90 16:27:54 GMT Sender: news@lan.informatik.tu-muenchen.dbp.de To: info-unix@sem.brl.mil In article <22738@adm.BRL.MIL> gaspar@stl-08sima.army.mil (Al Gaspar) writes: >I am working on a document using the me macros and I want to >change the point size for the entire document from the default >of 10 to 12. I have tried (among other things) '.ps 12' and >'.sz 12' at the top of my file with no luck. The only way those >insertions seem to work is to place them in each paragraph separately. That's true, .sz does a temporary size change, respectively every call to .pp or similar macros resets the point size. >The only way I have been able to change the point size for the entire >document was to make my own copy of the macro package and change the >defaults for the .tp and .pp registers. Is there a better way? There is. The number register pp defines the pointsize used throughout the entire document; the macros pp, lp and the like set the pointsize to the value of that number register. So the first thing you put in Your paper is '.nr pp 12' and everything should work fine. -Toni Anton Hartl | hartl@lan.informatik.tu-muenchen.dbp.de, ...!unido!tumult!hartl Only those who attempt the absurd will achieve the impossible. -Escher ----------------------------- From: Lyle Seaman Subject: Re: Printer accounting and cutoff from UNIX: is it possible? Date: 14 Mar 90 00:35:08 GMT To: info-unix@sem.brl.mil Gee, all we did was put a cup on the printer and a sign that said: Laser Printer costs $0.07/page. Your own paper --> $0.05/page Worked pretty well. -- Lyle sendmail.cf under construction, pardon the From: lws@comm.wang.com (or, uunet!comm.wang.com!lws) (508) 967-2322 ----------------------------- From: Ravindran Ramachandran Subject: Re: signal problems on BSD Date: 14 Mar 90 04:58:14 GMT Sender: nntppost@uhnix1.uh.edu To: info-unix@sem.brl.mil In article <1990Mar8.084830.9252@athena.mit.edu> jik@athena.mit.edu (Jonathan I. Kamens) writes: >In article <5913@star.cs.vu.nl>, maart@cs.vu.nl (Maarten Litmaath) writes: >> )doesn't happen in csh. Therefore, the reason your process is not >> )getting the signal is because the signal is never sent. >> >> ...because csh puts each job into its own process group and a the group of a >> background job never equals the tty process group (by definition!). > I had a similar kind of a problem on a Pyramid running ATT Sys 5, having csh as the base shell. I have a Bourne shell script that is started up from my .login, which runs a clock at the top corner of my tty. When I log out, however, the process remains active even though there is no actual device to output to. I tried in the script to 'trap' the signals, but they are not received on logout. The suggestion to: a) set setpgrp() is slightly a pain in a shell script. b) modify /bin/login (?) is impossible for me. Right now, in my .logout I do a ps, and use awk to get the pid so that I can explicitly kill the process. However, I wish the script would directly get the signal when I logout and expire! For your eyes only (please destroy after reading), --Ravi- ----------------------------- From: Sebastian Hammer Subject: Intro to sockets? Date: 14 Mar 90 14:24:07 GMT To: info-unix@sem.brl.mil I've checked the list of common questions, and haven't seen this one, so I guess it is legal.. :) Is there some sort of description of/introduction to the socket-concept available (either on a file somewhere, or on paper)?? I've tried to get by on the man pages, but either I'm not looking the right places, or the info there is a bit thin (The man pages, I think, are generally most useful if you know the material beforehand). I'd be grateful for any references. quinn@freja.diku.dk (The Novice) ----------------------------- From: Robert Halloran Subject: Re: Kermit vs uugetty Date: 14 Mar 90 14:26:42 GMT To: info-unix@sem.brl.mil In article <1990Mar12.174721.13244@tcsc3b2.tcsc.com> pag@tcsc3b2.tcsc.com (Philip A. Gross) writes: >kdq@demott.COM (Kevin D. Quitt) writes: >> We have a modem on /dev/tty01 with a uugetty running on it for >>normal network use. Occasionally, I would like to be able to use this >>modem to call other systems (such as bbs's) and transfer files (we don't >>have ftp capability). I have kermit to do the transfers, but it seems >>to butt heads with the uugetty in trying to get the incoming data - > >Well, I am going to guess that you might be using Un*x SVR3.2 or >thereabouts. HoneyDanBer uucp uses the directory /usr/spool/locks >to keep lock files regarding what devices are in use, etc. The current versions of Unix kermit have a make for 'att3bx', which is used to get the right directory for setting up lockfiles. Bob Halloran ========================================================================= UUCP: att!mtune!rkh Internet: rkh@mtune.ATT.COM Disclaimer: If you think AT&T would have ME as a spokesman, you're crazed. Quote: "Remember, kids, if some weirdo in a blue suit offers you some DOS, JUST SAY NO!!!" ----------------------------- From: Michael Furtney Subject: BSD4.3 For Banking Date: 14 Mar 90 19:05:15 GMT Sender: daemon@watdragon.waterloo.edu To: info-unix@sem.brl.mil Hello, I currently work part time for a relatively small software development company called XCEL-Soft. We are based in Toronto, and our major product is a retail banking system that runs on a UNIX System V platform. Right now, we are in the midst of designing an 'Inter-Branch Banking' facility, and we are planning to make use of a Public Data Network (X25) to facilitate communications between branches. The software has been developed by us, for this project, and is now being tested on a local network. While this poses no problems from our point of view, it is felt by one of our major customers (A bank based in Jamaica), and by my employer, that a private network would be more secure, and offer better response times. We are looking at a solution of porting our retail banking system to BSD, and perhaps implementing a TCP/IP network of some kind that would facilitate inter-branch communication. We have various other reasons for switching to BSD, eg. the socket is a more robust IPC mechanism than is the standard System V IPC Message Queue routines, and our banking software relies heavily on this. But this article is not concerned with that... We are experienced with X25, and interfacing our banking software to other networks. (VISA/NET in particular) . This leaves us with a few questions, that I am sure many of the knowledgable gurus out there could answer for us : 1) Were could we write, or call, or FTP to obtain information concerning a) The purchase of 4.3BSD. b) Implementing a TCP/IP based network. In Particular: What types of communications medium are supported by TCP/IP. (With our PDN solution, each branch has a leased line to the network, is that possible with a TCP/IP solution?) These are broad, and rather vague questions, but any responses would be appreciated. All responses should be directed to : mfurtney@dahlia.waterloo.edu ..!watmath!watcgl!electro!grimm!mike (At home) ------------------------------------------------------------------------------- ..!watmath!looking!grimm!mike ..!watmath!watcgl!electro!grimm!mike ----------------------------- From: Mehdi Bonyadi Subject: interprocess communication Date: 14 Mar 90 19:11:34 GMT Sender: news@iss-rb.sandiego.ncr.com To: info-unix@sem.brl.mil Hi everybody, I wrote a program that deals with connectivity information of a logic design. I took the connectivity information from a CAD tools set output. What I want to do is to see if it is possible to "kind of" integrate the schematic capture part of the CAD tool into my program. I do not have the sources for the CAD system, it is a commercial tool. My program can find some characteristics of the logic design. For some of its functions it needs some input from the user, ie name of a part or name of a signal. Currently, the user must type these names in, but what I am thinking of doing is to monitor the schematic capture process from outside, ie my program, and read the input of the user and the response of the schematic capture program. This way the user can just use the mouse and pick a signal on the schematic and ask for the information on that signal from the schematic capture program, the response would be few lines of text giving the info about the signal. This information goes to a tty subwindow of the schematic capture frame. And I want to read this text. I was told that I can look at the /dev/kmem and monitor the clist of that tty window and go from there. I was wondering about some of the complications that I am putting myself into if I go through this path. For one not everybody has read permission to /dev/kmem, or how do I find the clist for this tty subwindow, or if I am violating copyright if I look at the /dev/kmem and monitor the clist. By the way if anyone had done such a thing before, I would appreciate if I could take a look at the program. I am open to any other suggestions that might be applicable to this problem. --------------------------------------------------------------------------- Mehdi Bonyadi, NCR Corporation, E & M San Diego - Mail Stop 4424 16550 West Bernardo Drive San Diego, CA 92127 (619) 485-2233 mehdi@venus.SanDiego.NCR.COM ----------------------------- From: mark kraitchman Subject: cache parity error Date: 14 Mar 90 22:11:10 GMT Sender: news@pasteur.berkeley.edu To: info-unix@sem.brl.mil Hi, I realize this is hardware related, since DEC's response was to replace the CPU. My question is, what is a cache parity error? Thanks in Advance, mark [where does the time go] kraitchman * UUCP:ucbvax!isis!mark * * ARPA:mark@isis.berkeley.edu * ----------------------------- From: Mark Benard Subject: Re: RPC programming Date: 14 Mar 90 23:57:50 GMT To: info-unix@sem.brl.mil In article <3744@incas.informatik.uni-kl.de> zessel@descartes.informatik.uni-kl.de (Holger Zessel) writes: >tph@cs.utexas.edu (Pow-Hwee Tan) writes: >>2. The XDR serializing/deserializing routines do not explicitly free >>the memory allocated. How can I free them myself? > >This would interest me too. I write some kind of NFS-Server. Now >I have the problem that ist prototypes are growing permanently while >serving NFS-requests. I could not find any reason for this memory leak >in my code. Won't xdr_free() do the job? Mark -- Mark Benard Department of Computer Science INTERNET & BITNET: mb@cs.tulane.edu Tulane University USENET: rex!mb New Orleans, LA 70118 ----------------------------- End of INFO-UNIX Digest ***********************