HDTenEightyP/NetNews huggingface dataset:
From: heinz@marvin.tuwien.ac.at (Heinz Herbeck)
Subject: Re: help on vi
Organization: Technical University of Vienna
Date: Tue, 14 Apr 1992 12:37:50 GMT

In <1992Apr14.101635.1781@csdvax.csd.unsw.edu.au> 88u9330@csdvax.csd.unsw.edu.au asks:

>any one know how can i map the space to something else ?

Yup. Try
:map! ^V  a
that is, :map!<SP><Ctrl-V><Ctrl-V><SP><SP>a
(substitute whatever you want for the 'a')

>				anthony choi
>-- 
>+---------------------------------------------------------+
>| Anthony Choi   - The University Of New South Wales      |
>| email address  - u2116318@cumulus.csd.unsw.oz.au        |
>+---------------------------------------------------------+

MfG
HH
-- 
- Heinz M. HERBECK       heinz@marvin.tuwien.ac.at       Tel. +43 1 58801-4107 -
- Technical University of Vienna, Austria  //  Institute for Computer Graphics -
- Hardware, n. : The part of a computer system that can be kicked.             -
Newsgroups: comp.unix.questions,comp.lang.perl
From: max@spam.uchicago.edu (Max Ziff)
Subject: kill the shell script?!
Organization: Center for Information and Language Studies / University of
	Chicago
Date: Tue, 14 Apr 1992 15:24:13 GMT


I'm working in a team, and I'm responsible for a module that presents
as interface the standard unix shell-callable process interface:
namely it takes a few command-line options, but primarily takes its
input from stdin and writes its output to stdout.

However, the caller of this process is not a shell, it's (at the
moment) a perl script.  It's important that this caller be able to
kill the process I'm responsible for (and all its children--there's
the rub).

The only thing my caller has to hold on to is the process number of
its child, my process.  At present my module is implemented as a
/bin/sh script.  It invokes a bunch of other stuff, some of which runs
for a long time.

At present, when my parent kills me, I die, but none of my children
do.  I want to set things up so that they all die too.  I would think
that if I can arrange to be process-group leader, then the signal
should propogate to all the processes in my group, right?  But how do
I arrange that, using shell-level tools?  Or perhaps my parent, the
perl script, can arrange it?

I'm using a sparc, sunos 4.1.1.

Thanks,
--
Donald Ziff (Max)         Center for Information and Language Studies
                          1100 E. 57th Street, Chicago, Illinois   60637
                          ziff@cs.uchicago.edu
Newsgroups: comp.unix.questions,comp.unix.programmer,comp.unix.misc,comp.lang.c,gnu.emacs.help,comp.editors
From: fredrp@ferrari.nmc.ed.ray.com (Fred Ross-Perry)
Subject: Language Sensitive Editor ?
Organization: Equipment Division, Raytheon Company
Date: Tue, 7 Apr 92 20:48:07 GMT

Hi,

I'm investigating language-sensitive editors for Motorola 88k, and HP,
both running UNIX.  I'm mildly aware of emacs's "electric c" mode.
Does anyone have

	1.  Enhancements to GNU emacs electric c,                

	2.  Experience with language-sensitive editors in general you'd like
            to share,

	3.  Information about commercial products that address this need.

Thanks in advance for any help.  Pleas email to fredrp@tif28.ed.ray.com.
I'll summarize if there's sufficient interest.
-- 
**********************************************
 Fred Ross-Perry         Raytheon Company
 fredrp@mar.ed.ray.com   Equipment Division
 (508) 440-4481          528 Boston Post Road
From: torek@horse.ee.lbl.gov (Chris Torek)
Newsgroups: comp.unix.questions
Subject: Re: lint chokes on a backslash????
Date: 6 Apr 92 22:12:21 GMT
Article-I.D.: dog.22534
Reply-To: torek@horse.ee.lbl.gov (Chris Torek)
Organization: Lawrence Berkeley Laboratory, Berkeley
NNTP-Posting-Host: 128.3.112.15

In article <1992Mar17.222634.4274@sunhillo.uucp> olias@sunhillo.uucp
(Mitch Gorman) writes:
>>AIX's lint [hates]
>>					longVariableName = longStructure. \
>>						longElementName;
>>	A '\' for continuing lines is a perfectly valid usage ...


In article <3582@unixhub.SLAC.Stanford.EDU> kls@argus.SLAC.Stanford.EDU
(Karl L. Swartz) writes:
>Since when is this a perfectly valid usage?

Since ANSI C.

>In #define, yes, and within strings, but not elsewhere in C, at least
>not any C that I have encountered (include K&R and ANSI).

This is true for Classic C (backslash only in special circumstances),
but in ANSI C, backslash-newline combinations vanish early in the
translation phases.  They are gone by the time the preprocessor gets
around to handling `#define's, and long gone by the time you get to
structure member selection.

Clearly AIX's lint is, like most lints, not up to the ANSI standard.
The easiest cure in this case is simply to delete the backslash.
-- 
In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 510 486 5427)
Berkeley, CA		Domain:	torek@ee.lbl.gov
From: mchenry@BAEPV2.NCSU.EDU (MCHENRY@BAE.NCSU.EDU)
Newsgroups: comp.unix.questions
Subject: Runaway Processes
Date: 9 Apr 92 17:29:36 GMT
Reply-To: mchenry@BAEPV2.NCSU.EDU (MCHENRY@BAE.NCSU.EDU)
Organization: North Carolina State University



 9-APR-1992 12:43:55.12
 

 Hello:

 We are running ULTRIX 4.2 on a DECsystem 5000 set up to allow multiple
 logins. We are currently having a problem with runaway processes that
 grab all of the cpu cycles available and bog down the system. I'm not
 going to mention the cause of the runaway processes except to say that
 we have the appropriate people looking into it(It is beyond my control).  
 The processes in question are software application
 processes(ted,mwm....) .
 
 I'd like to write a script file or c program to identify these
 runaway processes and either alert me or kill them. This is 
 happening at least once a day and thus far the only way to get
 rid of a runaway process is to log in and kill it. The processes have
 either a username or (null) tagged to them . Those that have a
 username tagged to them remain active whether the user is logged in
 or not.

 For the record I have sought local help with this problem. My
 apologies if this question is not appropriate for this forum.

                                                    Kevin R. McHenry
                                                    Pseudo System Manager 
                                                    NCSU BAE
                                                    mchenry@bae.ncsu.edu
From: ry@cbnewsl.cb.att.com (ryerson.schwark)
Newsgroups: comp.unix.questions
Subject: Re: more OSF/1 vs SVR4 (text)
Date: 13 Apr 92 19:58:56 GMT
Organization: UNIX System Laboratories, Summit, NJ

In article <130@ptt-iat> michiel@ptt-iat (Michiel vd Waaij) writes:
>In article <1992Apr10.200922.7144@news.larc.nasa.gov> mln@sunkj.larc.nasa.gov (Michael Nelson) writes:
>
>I heard that lately USL has teamed up with a french company 'CHORUS'
>that also has a microkernel type product. At least i happen to know
>that Unisys (one of the big UI members) did team up with Chorus about three
>quarters of a year ago.


Yes, we did.  We announced that we were going to do joint development
with them, and made an equity investment in them.  Chorus offers a 
microkernel with a full, binary compatible svr4 implementation running
on it.

Ry Schwark
ry@usl.com
Newsgroups: comp.unix.questions
From: zwicky@erg.sri.com (Elizabeth Zwicky)
Subject: Re: Substituting words in vi
Organization: SRI International, Menlo Park, CA
Date: Mon, 13 Apr 92 22:06:05 GMT

In article <1992Apr9.012945.17804@u.washington.edu>
payman@u.washington.edu  asks for code to substitute "\index{hello}"
for "hello". Several people have suggested ways to do this; several
people have suggested ways to do the opposite. Unfortunately, if he
wants to make a LaTeX index, what he really wants is code to turn
"hello" into "hello\index{hello}". Presumably, in fact, he also needs
to turn "Hello" in "Hello\index{hello}", and I'm not even certain that
\index doesn't end up equivalent to whitespace, so there may be
special cases for punctuation (so as to turn "hello," into
"hello,\index{hello}" rather than "hello\index{hello},"). 

Here's an untested Perl solution to the actual problem:
	perl -pe 's/(hello)([^\w]+)/$1\\\\index{$1}$2/gi'


Elizabeth D. Zwicky
zwicky@erg.sri.com




Newsgroups: comp.unix.questions
From: jennifer@meaddata.com (Jennifer Lill)
Subject: ISO/ANSI standard reel to reel tape
Organization: Mead Data Central, Dayton OH
Date: Fri, 10 Apr 1992 14:36:35 GMT



I would like to copy all the files from an ISO/ANSI tape
to disk. The tape was originally created on an VMS machine.

I have looked at dd but this does not use the information
in the header and trailer files in order to figure the blocking,
record length, record type and original file name. I could
write something homegrown, but would like to avoid this. Since
this is a "standard labeled tape" I would think that their
would be utilities to read and write the tapes easily.

Jennifer 

Newsgroups: comp.unix.questions
From: sb7c+@andrew.cmu.edu (Shikhar Bajaj)
Newsgroups: comp.unix.questions
Subject: C question
Date: 15 Apr 92 16:05:31 GMT
Organization: Carnegie Mellon, Pittsburgh, PA

Does anyone know a simple way of converting a string into an array of
integers.  For example, if I have a string composed of "10 689 -3", can I do
something like,


mysterious_func(&integr[0], "10 689 -3");


and get integr[0] = 10, integr[1] = 689, etc.
I can parse the string myself using sscanf() and the like but the
strings I will be using will be long and I need to do this conversion
as quickly as possible.  Please email any responses.  Thanx.


Shikhar
Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sys.intel
From: peter@ferranti.com (Peter da Silva)
Subject: Re: How to copy to another machine's /dev
Organization: Xenix Support, FICC
Date: Thu, 9 Apr 1992 17:50:01 GMT

In article <1992Apr7.182123.19781@cirrus.com> dhesi@cirrus.com (Rahul Dhesi) writes:
> If DESTROOT is changed to be "/", this Makefile will access "//vmsgty",
> and it's not clear that the user wants that to refer to some other system
> on the network.

Yeh, you'll get error messages.

> This is partly why UNIX treates "//" as if it were "/./"
> which in turn is the same as "/" alone, and why no other system should
> try to give "//" any other meaning.

Except... and this is explicitly spelled out in a number of standards
documents including POSIX (last time I checked)... when it comes at the
beginning of the path.

> Even worse, if DESTDIR is also defined to have a leading slash, the total
> pathname begins with three slashes.  What does that do to your system?

Treats it as two slashes, as it happens.

If this *really* bothers you you can change the leadin characters to anything
you want. We haven't had any problems with it over the past 6 or so years with
something like 300 developers on the network.
-- 
/F{/Times-Roman findfont exch scalefont setfont}def /M{moveto}def /S{show}def
8 F 24 24 M (Sugar Land, TX  77487-5012; +1 713 274 5180)S 60 0 rmoveto(`-_-')S
12 F 24 32 M (Peter da Silva, Ferranti International Controls Corporation)S
0 -6 rmoveto 20 F ( Have you hugged your wolf today?)S showpage
From: berman@moguls.csb (Lewis Berman, CEB)
Newsgroups: comp.unix.questions
Subject: # of filesystems that can be mounted
Date: 15 Apr 92 21:29:41 GMT
Reply-To: berman@moguls.csb
Organization: National Library of Medicine

What is the maximum number of files systems that can be mounted under
UNIX (SUN OS)?  We will be operating an optical jukebox with 144 
platters (each side it's own file system) and have heard that the maximum
number of filesystems mountable at one time are 200 under UNIX.  If 
this is true than all filesystems (both sides of all platters) can not
be mounted.

Lew Berman
National Library of Medicine
Bethesda, MD
Newsgroups: comp.unix.questions
From: hermes@ux1.cso.uiuc.edu (Ron Szoke)
Subject: spanish database
Keywords: spanish foreign-fonts database
Organization: University of Illinois at Urbana
Date: Wed, 8 Apr 1992 19:59:27 GMT

I'm beginning to work on a project to create a large spanish text
database.  There may be the opportunity to create it on a unix machine.

My questions:
   1. How are accented letters encoded in a unix system?
   2. Can the sort command be modified to handle these letters?
      (The accented vowels would be treated as unaccented vowels, but
      the "tilded n" would be sorted as a separate letter with its own
      place in the alphabet.)
   3. Is there any software available to handle spanish (or other accented
      font) texts on unix systems?
   4. Does anyone know of references (books, articles, etc.) which could 
      help me with this?

Thanks in advance.
ED Kovach

Newsgroups: comp.unix.questions,comp.sys.dec,comp.unix.sysv386,comp.unix.msdos,comp.sys.hp
From: christam@syd.dms.CSIRO.AU (Kam T Tam)
Subject: Re: Responses to 'netviews' survey
Organization: CSIRO Division of Mathematics and Statistics
Date: Tue, 7 Apr 1992 11:39:29 GMT

In article <31299@sdcc12.ucsd.edu> xm9@sdcc12.ucsd.edu (richard g. adair) writes:
> MS Windows can run all week without crashing, IF you know how to
> exclude the hardware-reserved high memory areas with emm386.  When
> one installs DOS 5.0, you get the high memory area turned on by
> default.  WRONG!  NOT!  You MUST know the high memory areas, plus
> all the bus addresses and interrupts, if you want care-free
> operation.  For example, we have a 386PC with MS Windows, SUN
> PC/NFS, and X  Window System software from Hummingbird running
> and it works weeks on end without problem...
> 
> Of course, DOS 5 can't show you what high memory areas are in use...
> 
> A real advance in PC operating systems would be able to sense high
> memory areas on hardware cards and DEAL with it...

Did somebody say that you don't need a system administrator for PCs?


-- 
 _______Kam T Tam__________CSIRO Division of Mathematics & Statistics_______ 
|                                                                           |
|                PO Box 218, Lindfield, NSW 2070, Australia.                |
|            Phone : +61 2 413 7598         Fax : +61 2 416 9317            |
|      Telex : AA26296               Email : christam@syd.dms.csiro.au      |
+---------------------------------------------------------------------------+
Xref: sparky comp.unix.questions:6232 comp.unix.sysv386:8697
From: sg@cbnewsh.cb.att.com (stephan.gross)
Newsgroups: comp.unix.questions,comp.unix.sysv386
Subject: Screen Blanker Wanted
Date: 15 Apr 92 21:19:16 GMT
Followup-To: poster
Organization: AT&T


  I'm looking for either C source or an executable to blank
the screen after a given amount of time.  Hitting any key
should bring the screen back.
  Please email responses to me, as I don't read this group.

  Thanks - 
-- 

                      Steve Gross    (...att!homxc!sg or sg@ATT.COM.HOMXC)
Newsgroups: comp.unix.questions,comp.unix.sysv386
From: navarra@casbah.acns.nwu.edu (John Navarra)
Subject: Re: windowing on normal character terminals
Organization: Northwestern University, Evanston, Illinois
Date: Sun, 12 Apr 1992 03:18:35 GMT

In article <1992Apr11.061946.8814@sdf.lonestar.org> iczer@sdf.lonestar.org (Ted Uhlemann) writes:
>I'm looking for some way to do windowing on a normal vt100 terminal.  I
>know there's a program out there called "screens" (or something similar)
>that does this on systems with sockets, but unfortunately we don't have
>sockets over here.  Doing this with an emacs shell would be fine, but
>programs like trn always report an error like "no /dev/tty" when I try
>to run them from inside emacs, and I'm not sure if emacs would be able to
>translate the vt100 codes anwyay.
>
	'Screen' is the program you are thinking about. It will allow
you to open up different 'screens' on a normal vt100 terminal and
switch back and forth between them. Screen uses ptys. If you are using
a Unix computer, I would think it would work. 	
	It is available via anonymous ftp from ftp.uni-erlangen.de
in the directory /portal/utilities/screen.

-tms

-- 
From the Lab of the MaD ScIenTiST:
					
navarra@casbah.acns.nwu.edu		
Newsgroups: comp.unix.questions
From: cpearce@morticia.cnns.unt.edu (Chris Pearce)
Subject: Unix question - libraries
Organization: University of North Texas
Date: Tue, 14 Apr 1992 18:52:59 GMT

My site recently upgraded from HPUX 7.x to HPUX 8.0. However, 
I now have trouble compiling some programs that used libraries
that were available under HPUX 7.x and have been renamed or
removed from HPUX 8.0. How can I find the correct libraries?

When I compile, the cc compiler tells me which symbols have no
references, but I still haven't been able to put that info to
use.

The libraries I used to use are: -lX11 -lXr11 and -lpc.

The X11 library used to be in /usr/lib, but now it is in /usr/lib/X11 --
that's the one library I think I've found.

The Xr11 library used to be in /usr/lib, but now it is not in any
subdirectory of /usr/lib...

The pc library apparently causes something weird to happen under HPUX
7.0 -- I can't find any files named libpc.a or libpc.sl in my old system.
But I realize I probably have an incomplete understanding of what occurs
when the -l option is used.

Thanks.




-- 
Chris Pearce -- cpearce@morticia.cnns.unt.edu
--
   "Baldric, go forth into the streets and announce that Lord Blackadder wishes
    to sell his house. Percy, just go forth into the streets."
Newsgroups: comp.unix.questions
From: brian@apt.bungi.com (Brian Litzinger)
Subject: Re: WANTED: fax and modem at the same phone line (unix)
Keywords: fax and modem at the same phone line (unix)
Organization: NoOrg
Date: Tue, 7 Apr 1992 22:36:52 GMT


I've used a ZyXEL U-1496E modem and a DigiFax card on one line.
The ZyXEL has the cleverness to do the line switching.

(ZyXEL owners will no doubt ask why I don't just use the ZyXEL's
 fax capability.  I will, as soon as, netfax 2.2 is available and
 ZyXEL fixes the end of page negotiations problem)

brian@apt.bungi.com
From: shane.s.brath@uwrf.edu (Bad Brath)
Newsgroups: comp.unix.questions
Subject: cursed curses
Date: 7 Apr 92 23:03:40 GMT


I am writting with problems related to curses.

I am working on a SUN 3/50 workstation that is connected to a SUN 3/280 server, running SunOs.

My problem is that the curses on our system, (and many other also) is unreliable.
The version that is our system is given in curses.h -> /*      @(#)curses.ed 1.7 88/02/07 SMI; from S5R3.1 1.31        */

I know this thing is old, and am requesting any recomendations of other libraries to use.

The problems that I am having include random control characters on screen that clear when a refresh is done.
I am using about 4 windows on the screen at the same time, and I randomly update specific ones
	using the commands wnoutrefresh(win_name);doupdate(win_name);

If I refresh the entire screen every time the program redraws the screen every time you
move the menu bar.  

I have tried to use the 4.3bsd-reno version on uwarchive, but it is missing many of the commands that I nead.
Also when I erase the commands from my program, just to see if I can compile, I get errors that some things are undefined.
	like _SP and ___sF and _fwopen

If you have your own version of curses of similar, or any other sugestions please send private E-Mail to me.
	
	Thanks in advance for any help.

------------------------------------------------------------------------
I can be reached at internet address
	"shane.s.brath@uwrf.edu" 
if that bounces then you can mail directly to my Academic Staff Account at 
	"acs_brath@rivers.acc.uwrf.edu"
From: etxtsil@kk152.ericsson.se (Torbj|rn Sellen TT/TSD)
Newsgroups: comp.unix.questions
Subject: test
Summary: test
Keywords: test
Date: 7 Apr 92 15:37:42 GMT
Distribution: comp
Organization: Ericsson

test
Newsgroups: comp.unix.questions,comp.unix.sysv386
From: iczer@sdf.lonestar.org (Ted Uhlemann)
Subject: windowing on normal character terminals
Organization: sdf Public Access UNIX, Dallas--unrestricted free shell access
Date: Sat, 11 Apr 1992 06:19:46 GMT

I'm looking for some way to do windowing on a normal vt100 terminal.  I
know there's a program out there called "screens" (or something similar)
that does this on systems with sockets, but unfortunately we don't have
sockets over here.  Doing this with an emacs shell would be fine, but
programs like trn always report an error like "no /dev/tty" when I try
to run them from inside emacs, and I'm not sure if emacs would be able to
translate the vt100 codes anwyay.

Can anyone help me?
-- 
_ _ _  _ _ _______________________________________________________________
//_ /_/=/> Ted Uhlemann  ..!uunet!convex!egsner!sdf!iczer  +1 214 352 2259
Xref: sparky comp.unix.questions:6197 comp.lang.perl:3161
From: sgccdeb@citec.oz.au (Darren Bock 231 9716)
Newsgroups: comp.unix.questions,comp.lang.perl
Subject: Re: kill the shell script?!
Date: 14 Apr 92 22:04:16 GMT
Organization: CITEC

>From the keyboard of max@spam.uchicago.edu (Max Ziff):
>:
>:However, the caller of this process is not a shell, it's (at the
>:moment) a perl script.  It's important that this caller be able to
>:kill the process I'm responsible for (and all its children--there's
>:the rub).
>:

>From the keyboard of tchrist@convex.COM (Tom Christiansen):

>Replace the child portion with the system("my_shell_script args") and
>the killpg should get that script and any of its (well-behaved) kids.

Does anyone have any ideas (or code) for how to handle badly behaved children?

We are using Oracle and Ingres here, and the Oracle database processes are
badly behaved. All of the processes involved are still attached to the terminal
but the oracle backend switches itself into a new process group.

This problem exists in other places for us as well but this is the nastiest
place.

Thanks for any ideas

						Darren Bock
--
Darren Bock			|
Dept DEVETIR, Qld, Australia	|  The mind is its own illusion
sgccdeb@citecuc.citec.oz.au	|   it creates far more problems than
ph:  612 07 231 9716		|    it could possibly solve in one lifetime
fax: 612 07 221 1002		|
Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sys.intel
From: peter@ferranti.com (Peter da Silva)
Subject: Re: How to copy to another machine's /dev
Organization: Xenix Support, FICC
Date: Mon, 13 Apr 1992 18:19:51 GMT

In article <1992Apr9.122111.2229@prl.dec.com> boyd@prl.dec.com (Boyd Roberts) writes:
> In article <id.AYOO.PYF@ferranti.com>, peter@ferranti.com (Peter da Silva) writes:
> > So long as the two systems involved have compatible ioctls. I just read
> > my tty modes on this System V/386 serial port from a login on a Xenix
> > System III box.

> Yep, just as I thought -- homogeneity.

No, compatibility. There are differences between System III and System V,
and between the 80286 and the 80386. Among other things, as I mentioned,
some of those structures have "int" elements (sloppy of Microsoft). "int"
is 16 bits on the Xenix box, 32 bits on the System V one.

We've also got VAXen running VMS on the network. If you can tell me how to
issue an ioctl on an open file under VMS I'll be happy to try it. I suspect
that VMS isn't compatible enough, though. OpenNET only translates stuff
where it makes sense.
-- 
/F{findfont exch scalefont setfont}def /S{moveto show}def /T{/Times-Roman F}def
8 T(Ferranti International Controls Corporation)24 28 S(+1 713 274 5180)24 12 S
(Sugar Land, TX  77487-5012)24 20 S 12 /Courier F(`-_-')320 32 S( 'U` )320 16 S
12 T(Peter da Silva)24 36 S 16 T(Have you hugged your wolf today?)358 24 S
From: tsui@imec.be (Mung Laam Tsui)
Newsgroups: comp.unix.questions
Subject: Delete Blank Lines
Date: 8 Apr 92 13:54:38 GMT
Organization: IMEC vzw, 3030 Leuven, Belgium

Hi Net-landers,

I am trying to write a C program in order to remove
all the empty lines in a text file. The following piece
of code is my tentative try, but it doesn't work at
all . Can anybody help me out. I'm not interested in 
using UNIX utilities like awk, sed, .....

#include <stdio.h>
main(int argv, char *argv[])
{
    int c;
    FILE *fp;

    fp = fopen(argv[1], "r");
    while((c = getc(fp)) != EOF)
	   if(c != '\n\n')
               putchar(c);
           else
                         ;
}

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
TSUI, Mung Laam              tsui@imec.be
			     Philips/VSDM
			     IMEC
			     Kapeldreef 75
			     3000 Leuven
			     Belgium
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Newsgroups: comp.unix.questions,comp.lang.perl