HDTenEightyP/NetNews huggingface dataset:
From: udo@umunk.GUN.de (Udo Munk)
Newsgroups: comp.unix.questions
Subject: Re: executing down directory tree
Date: 14 Aug 92 20:04:34 GMT
Organization: umunk (private)
X-Newsreader: Tin 1.1 PL4

bbobak@undergrad.math.uwaterloo.ca (Brad Bobak) writes:
: In article <5550@vtserf.cc.vt.edu> you write:
: >
: >how to i do a certain task in the current directory and all it's sub-
: >directories? i'd like to be able to do:
: >   global rm *~
: >to remove backup files.
: >  thomas
: 
:  How bout something like:
: 
:  find . -name '*~' -exec rm {} \; 

How about rm -r ?
--
Udo Munk     | voice:      +49 2131 275348             | uucp: +49 2131 278869
Oberstr. 21  | mail :      udo@umunk.GUN.de            |     2400/1200/300 8N1
4040 Neuss 1 | ...!{mcshh,smurf,unido}!easix!umunk!udo | MYNAME=bbsuser
Fed. Rep. of | CompuServe: 100021,2515                 | login: uucp
Germany      | at first connect get ~/info  and ~/files| pwd:   public
Newsgroups: comp.unix.questions
From: apollo@ecf.toronto.edu (Vince Pugliese)
Subject: looking for local guide(s)
Organization: University of Toronto, Engineering Computing Facility
Date: Mon, 17 Aug 1992 14:14:27 GMT

i am preparing a local guide for our users and was wondering if
there are any such guides that others have prepared that are
available in lectronic form.

what i am hoping to do is rip out those parts that look to be of
interest and then edit and augment those parts that are specific
to our site. of course credit will be given to the original 
authors .

thanks in advance,
.vp
apollo@ecf.utoronto.ca

-- 
apollo@ecf.utoronto.ca
Newsgroups: comp.unix.questions
From: dlparker@dlpinc00.rn.com (David L. Parker)
Subject: Re: Login Message
Organization: Automated Data Management Services
Date: Sat, 22 Aug 1992 18:37:48 GMT

In article <derry.714440956@milton> derry@milton.u.washington.edu (Derry Lyons) writes:
>Is there any way to edit the login screen on a Unix system?
>I've never seen it done, nor have I found it mentioned.  Just
>curious...  :-)  Derry
>
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>=                                                                         =
>=  Derry Lyons - N7YPG                  "Sometimes you're the winshield,  =
>=           ...they call it a B.S.       sometimes you're the bug."       =
>=              for a reason...                        -- Dire Straits     =
>=                                                                         =
>=  Call derry@u.washington.edu  /  If no answer: derry@afsc.noaa.gov      =
>=                                                                         =
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

In SVR3 (at least ISC's 3.0), it's in /etc/issue.
-- 
Dave Parker
Automated Data Management Services, Pleasant Hill, MO 64080-1331
(816) 987-5167/5218 voice/fax
From: merz@dk-vs.UUCP (Bruno Merz)
Newsgroups: comp.unix.questions
Subject: CGM Tools
Summary: Tools for CGM-Files available?
Keywords: CGM
Date: 13 Aug 92 06:10:40 GMT
Organization: Digital-Kienzle Computersyst.  7730 Villingen/Germany

Hi,

are there any tools for unix available to manipulate CGM (Computer Grafik
Metafiles) files? I.e. scale, rotate, flip and so on.


------------------------------------------------------------------------

Bruno Merz                        Tel.:   +49 7721 867690
Digital Kienzle                   Fax:    +49 7721 867113
Computersystems
Abt. 011.2                        e-mail: merz@kivax.UUCP
Postfach 1660                             ..!mcsun!unido!kivax!merz
D-7730 VS-Villingen                       ..!uunet!unido!kivax!merz
Germany
Newsgroups: comp.unix.questions
From: suzanne@sfsuvax1.sfsu.edu (Suzanne McCaffrey)
Subject: pushd/popd ???
Organization: San Francisco State University
Distribution:  us
Date: Wed, 19 Aug 1992 23:44:26 GMT

what is the appropriate usage for popd and pushd?
From: thierry@curlie.UUCP (Thierry Lach   )
Newsgroups: comp.unix.questions
Subject: Re: csh foreach question
Keywords: csh,foreach
Date: 14 Aug 92 01:21:07 GMT
Organization: Not An Organization

gordon@osiris.cso.uiuc.edu (John Gordon) writes:

> 
> 	Given the following script:
> #
> foreach line ( `cat this_script` )
>   echo "$line"
> end
> 
> 
> 	I would expect the output to be:
> 
> #
> foreach line ( `cat this_script` )
>   echo "$line"
> end
> 
> 	However, I get:
> 
> #
> foreach
> line
> (
> )
> echo
> "$line"
> end
> 
> 	Is this what's supposed to happen?  Any help appreciated.
> 
> ---
> John Gordon                        My incredibly witty saying has been 
> gordon@osiris.cso.uiuc.edu         Politically Corrected into oblivion.

Yes.  The `cat this_script` will take each token (as recognized
by the shell, meaning anything delimited by whitespace), and
make it an argument to the foreach.  Because newline is whitespace,
they are not maintained, and because the echo does not override
the newline, you get one token per line.
Newsgroups: comp.unix.questions
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: Simple AWK question.....
Originator: tchrist@pixel.convex.com
Date: Thu, 20 Aug 1992 19:23:32 GMT
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: Convex Computer Corporation, Colorado Springs, CO
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

From the keyboard of guy@Auspex.COM (Guy Harris):
:SV-like "du" commands don't *report* the number of kB, they report the
:number of half-kB.

Can anyone explain WTF POSIX.2 decided that utilities should report
things in demikilobytes instead of real k which we all are more
likely to think in?  

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist
Unix is like a toll road on which you have to stop every 50 feet to
pay another nickel.  But hey!  You only feel 5 cents poorer each time.
	--Larry Wall in <1992Aug13.192357.15731@netlabs.com>
Newsgroups: comp.unix.questions
From: nickel@cs.tu-berlin.de (Juergen Nickelsen)
Subject: Re: Changing file names
Reply-To: nickel@cs.tu-berlin.de
Organization: STONE Project, Technical University of Berlin, Germany
	<1992Aug20.161001.25653@news.eng.convex.com>
Date: Thu, 20 Aug 1992 20:45:54 GMT

In article <1992Aug20.161001.25653@news.eng.convex.com> Tom
Christiansen <tchrist@convex.COM> writes:

> From the keyboard of nickel@cs.tu-berlin.de:
> :There have some solutions been posted, which are undoubtedly suited
> :for this task, but all of them used non-standard tools -- nawk, perl, ...
> 
> As Mark Bush said, I sincerely hope that the future does not mean we
> must forever restrict ourselves to the tools that were available ten
> years ago.  

I agree. 

The main reason why I suggested a solution with "tools that were
available ten years ago" is that people asking questions like "how do
I change these file names" are usually not able (by permissions or
skill) to install a tool that they want/need.

Another reason is that I considered the solution using sh, sed, and mv
just simpler (and perhaps easier to understand), and I try to stick to
the old and simple tools when they are adequate for the problem.

--
Juergen Nickelsen
From: @ada3.ca.boeing.com:crispen@efftoo.boeing.com (crispen)
Newsgroups: comp.unix.questions
Subject: Real-time Unix
Date: 21 Aug 92 14:38:02 GMT

We have found in our evaluations that we need to go beyond defining
context switching times, etc. in our requirements for Unix systems.

One of the most important things we've found so far is that you need
to know the method by which preemption is implemented.  We have found
(in real Unixes) three schemes:

(1) fully preemptive: when a higher-priority process becomes ready
to run, if the currently running process is a lower priority, it
suspends at once.

(2) clock-preemptive: higher priority tasks do not get resumed until
the next clock tick.  Latency requirements are met by having a
higher clock tick rate or sub-clocks or some such.

(3) "cheat-preemptive": pending processes aren't allowed to become
ready to run except on clock ticks (so that vendors can claim (1)
is true without actually lying).

You also need to know when signals will activate their handlers (same
sort of thing as above).  In fact, one of the worst offenders seems
to be socket code, where the struct socket doesn't get updated except
on clock ticks (Tahoe code?).  Granted, it's nice for select() to know
that what it finds at the beginning of a tick is what it will find at
the end of the tick, but there are applications that don't appreciate
this "feature".

Who can think of some others?  Or are these wrong?

Bob Crispen
crispen@foxy.boeing.com
Newsgroups: comp.unix.questions
From: dcb@kopachuk.uucp (David Breneman)
Subject: Re: Exabyte (8mm) vs. DAT (4mm), advice needed
Organization: Tacoma Screw Products, Inc.
Date: Mon, 10 Aug 1992 19:17:29 GMT

In article <1992Jul31.001931.3829@bnd2.bnd.oz.au> johnw@bnd2.bnd.oz.au (John Warburton) writes:
>
>This __never__, NEVER fails to amaze me. That people would skimp an extra $20
>per tape & put their only course for recovery onto non-data certified tapes.
>You are getting huge amounts of data onto one tape & if that tape dies & so do
>the disks, start looking for another job...
>
When we got our 8mm drive (1988) there was no such thing as data certified
tapes.  We used regular video tapes and retired them after 25 passes
(the standard guide for broadcast video tape).  Never had any
trouble.  Now that they are available, I'd probably go with the data
tapes (our drive has been disconnected for about 1-1/2 years - I gotta
get that thing hooked back up! :-) ) but we used video tapes for two
years with no trouble.

-- 
David Breneman     Sys Admin, Tacoma Screw Products, Inc. |  ____  ____  ____
dcb@tacoma.uucp           |   SCREWIE the TSP CLOWN sez-  |   /   /___  /___/ 
 ..!uunet!tacoma!dcb      |  "Nylok lock nuts lose their  |  /   ____/ / 
CompuServe: 75760,1232    | binding strength after 1 use!"|
Newsgroups: comp.unix.questions
From: gene@ponder.csci.unt.edu (Gene De Lisa)
Subject: need help reading from a child
Organization: University of North Texas, Denton
Date: Fri, 21 Aug 1992 20:29:34 GMT


This code hangs on the read (or fread). I simply want to
exec the child and read both its stdout and stderr.
suggestions?
(previous imbrications commented out)


     if (pipe(pipefds) < 0) {
      perror("pipe");
      return(NULL);
     }

     if ((pid = fork()) < 0) {
      perror("fork");
      return(NULL);
     }
     if (pid == 0) {
#if 0
      close(0);
      close(1);
      close(2);
      for(j=3; j<getdtablesize(); j++)
           close(j);
#endif
      dup2(pipefds[0],0);
      dup2(pipefds[1],1);
      dup2(pipefds[1],2);
      execvp(*args, args);
      perror("on execvp");
      exit(-1);
     }
    if ((fp = fdopen(pipefds[0], "r")) == NULL) {
      perror("fdopen");
     }

     /*while ((n=read(pipefds[0], &buf[count], sizeof(buf))) > 0) */

     while ((n=fread(&buf[count], sizeof(char), sizeof(buf), fp)) > 0) {
      count += n;
      printf("c=%d\n", count);
     }

     fclose(fp);
     while (wait((int *) 0) != pid)
      ;
From: odriscod@topaz.ucq.edu.au
Newsgroups: comp.unix.questions
Subject: WANTED utils software for SVR4
Date: 13 Aug 92 20:31:06 AET
Organization: University of Central Queensland, Australia


Machine and Setup :

A Commodore Amiga A3000 running Commodore's Amiga UNIX ver 1.1 
(ATT SVR4), (will be upgraded to ver 2.0 as soon as Commodore
ring me back, its only taken them 4 weeks so far).

PROBLEM 

My problem is that I am looking for some pd software that is
similar or has the same features as Norton's Utilities for
UNIX or Xtree for UNIX. I am presuming that some exists but
I have no idea where I might find it or what it is called. Any 
tips in this area and opinions, if you have used the software
you are recommending, would be most appreciated. Also opinions
of the two Utilities packages that I have mentioned would also
be welcome. My email address appears at the bottom of your screen.

Thanks in advance.
David.

--------------------------------------------------------------------|
David O'Driscoll                 | The trouble with doing something |
odriscod@jasper.ucq.edu.au       | right the first time is nobody   |
University of Central Queensland | appreciates how difficult it was.|
Australia                        |             ----    Walt West    |
--------------------------------------------------------------------|

From: srini@hpcuhe.cup.hp.com (Sreenivasa R Tellakula[C])
Date: Thu, 20 Aug 1992 23:34:31 GMT
Subject: Re: Changing file names
Organization: Hewlett Packard, Cupertino
Newsgroups: comp.unix.questions


following script should be able to change file names


#!/bin/ksh
for i in `ls`
do
  echo $i | sed s/xyz// >j
  mv $i `cat j`
done
rm j
#end script
#assumption is that the file by name j is not
#existing in the directory



-- TSR
	srini@cup.hp.com
Newsgroups: comp.unix.questions,comp.unix.programmer
From: tinsel@uiuc.edu (Thomas Aaron Insel)
Subject: Re: regarding rlogin..
Originator: tai50080@uxa.cso.uiuc.edu
Reply-To: tinsel@uiuc.edu
Organization: {not speaking for the} University of Illinois at Urbana
Date: Tue, 18 Aug 1992 18:38:42 GMT

cxk6819@hertz.njit.edu (K. Chandrakanth) writes:

> rlogin newark.njit.edu -l kanth

> it asks for the password. Instead of that is there any way we can`
> give the password and rlogin commands in a shell script  and execute.

You don't need to put your password in a shell script.  Set up a
~/.rhosts file.  For example, on newark, include this line:

  hertz.njit.edu	cxk6819

and on hertz, have this line:

  newark.njit.edu	kanth

Then, you can use rlogin and never be asked for your password.  If 
you have any questions, it's all in the manual.
-- 
Thomas Aaron Insel (tinsel@uiuc.edu)
  I speak for myself, and not for the State or University of Illinois.
  "We must not confuse dissent with disloyalty." -- Edward R. Murrow
Xref: sparky comp.unix.questions:10165 comp.sys.sun.admin:5636 comp.sys.sun.misc:3759 alt.sys.sun:3046
From: limes@ouroborous.Eng.Sun.COM (Greg Limes)
Newsgroups: comp.unix.questions,comp.sys.sun.admin,comp.sys.sun.misc,alt.sys.sun
Subject: Re: Swap space usage..??
Date: 18 Aug 92 23:16:45 GMT
Organization: Sun Microsystems, Inc.
NNTP-Posting-Host: ouroborous

In article <1992Aug13.204756.12770@mdd.comm.mot.com> pchan@mdd.comm.mot.com (Pat Chan) writes:
| When I do "pstat -T", I get the swap space size, say X.
| When I do "/etc/dmesg", I find the swap space is only half of X.
| The other half is for dump space.

	myhost% head -1 /etc/motd
	SunOS Release 4.1.3_BETA_1.0 (LIMES) #2: Wed Jul 8 20:21:01 PDT 1992
	myhost%

	myhost% pstat -T
	216/3628 files
	300/1946 inodes
	 68/1034 processes
	31392/66632 swap	
	myhost%

	myhost% pstat -s
	25360k allocated + 5624k reserved = 30984k used, 35648k available
	myhost%

	myhost% dmesg | grep sd6b
	swap on sd6b fstype spec size 66640K
	dump on sd6b fstype spec size 66616K
	myhost%

Looks to me like everything agrees, I have ~65Meg of swap. pstat -T tells
me that I'm using 31M of 65M; so does pstat -s. "dmesg" also tells
me that my swap partition is 65M, and that my dump partition (for kernel
crash dumps, RTFM "savecore") is on the same partition as my swap.

I don't see where your "half of X" comes in. Perhaps if you actually
included details like the specific version of the kernel, and the
real outputs of the commands ... ?
From: kkt@philabs.philips.com (Kim-Kiat Tan)
Newsgroups: comp.unix.questions
Subject: Communication program for Sun
Date: 19 Aug 92 15:03:49 GMT
Article-I.D.: philabs.1992Aug19.150349.25008
Distribution: usa
Organization: Philips Laboratories, Briarcliff, New York


	Is there a version of Waffle communication program for Sun using tip ?
or is there any communication program like pcomm for Sun ? Most of the programs
I knew are for unix on pc, but I would like to run it on Sun.
Xref: sparky comp.unix.questions:10205 comp.sys.sun.admin:5686 comp.sys.sun.misc:3797
From: rriv@oural.inria.fr (Robert Riviere)
Newsgroups: comp.unix.questions,comp.sys.sun.admin,comp.sys.sun.misc
Subject: Re: Swap space usage..??
Date: 20 Aug 92 09:11:17 GMT
Followup-To: comp.unix.questions
Organization: Cermics/Inria-Sophia Antipolis

In article <l9316tINN7g@appserv.Eng.Sun.COM> limes@ouroborous.Eng.Sun.COM (Greg Limes) writes:
>
>	myhost% head -1 /etc/motd
>	SunOS Release 4.1.3_BETA_1.0 (LIMES) #2: Wed Jul 8 20:21:01 PDT 1992
>	myhost%
>
>	myhost% pstat -T
>	216/3628 files
>	300/1946 inodes
>	 68/1034 processes
>	31392/66632 swap	
>	myhost%
>
>	myhost% pstat -s
>	25360k allocated + 5624k reserved = 30984k used, 35648k available
>	myhost%
>
>	myhost% dmesg | grep sd6b
>	swap on sd6b fstype spec size 66640K
>	dump on sd6b fstype spec size 66616K
>	myhost%
>
>Looks to me like everything agrees, I have ~65Meg of swap.

But it doesn't agree at my home ... 
myhost% head -1 /etc/motd
SunOS Release 4.1.1 (GENERIC) #2: Thu Mar 28 11:26:50 MET 1991

myhost% pstat -T
208/1017 files
 82/553 inodes
 61/266 processes
27060/60972 swap

...~60 Mo of swap...

myhost% pstat -s
21312k allocated + 5588k reserved = 26900k used, 34072k available
...still 60 Mo...

myhost%dmesg|grep sd0b
swap on sd0b fstype spec size 40500K
dump on sd0b fstype spec size 40488K

...Damn' here we are !

myhost%df
Filesystem            kbytes    used   avail capacity  Mounted on
...
swap                   36828     952   35876     3%    /tmp
...

What is my swap size ? 60 Mo, 40Mo or 36 Mo ...





-- 
Robert Riviere
(rriv@sophia.inria.fr)				Tel: (33) 93.65.79.06
Inria/CERMICS					Fax: (33) 93.65.77.40
BP 93
Newsgroups: comp.unix.questions
From: ifc@cactus.org (Wolf Metzner)
Subject: questions for Tex and e-mail
Organization: Capital Area Central Texas UNIX Society, Austin, Tx
Date: Thu, 20 Aug 1992 18:09:54 GMT

Newsgroups: comp.unix.questions,comp.sys.sun.admin,comp.sys.sun.misc,alt.sys.sun
From: fwp@CC.MsState.Edu (Frank Peters)
Subject: Re: Swap space usage..??
Organization: Computing Center, Mississippi State University
Date: Wed, 19 Aug 1992 01:50:01 GMT

In article <l9316tINN7g@appserv.Eng.Sun.COM> limes@ouroborous.Eng.Sun.COM (Greg Limes) says:
: In article <1992Aug13.204756.12770@mdd.comm.mot.com> pchan@mdd.comm.mot.com (Pat Chan) writes:
: | When I do "pstat -T", I get the swap space size, say X.
: | When I do "/etc/dmesg", I find the swap space is only half of X.
: | The other half is for dump space.
: 
: Looks to me like everything agrees, I have ~65Meg of swap. pstat -T tells
: me that I'm using 31M of 65M; so does pstat -s. "dmesg" also tells
: me that my swap partition is 65M, and that my dump partition (for kernel
: crash dumps, RTFM "savecore") is on the same partition as my swap.
: 
: I don't see where your "half of X" comes in. Perhaps if you actually
: included details like the specific version of the kernel, and the
: real outputs of the commands ... ?

I'll betcha the system is swapping to two equally sized partitions on
two disks.  The value returned by dmesg is the size of the first swap
partition since it comes before swapon has added additional
partitions.  The pstat, of course, reflects the total of all swap space
allocated via swapon.
--
Frank Peters  -  UNIX Systems Programmer  -  Mississippi State University
Internet: fwp@CC.MsState.Edu  -  Phone: (601)325-7030  -  FAX: (601)325-8921
Newsgroups: comp.unix.questions
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: vi (cut and paste)
Originator: tchrist@pixel.convex.com
Date: Thu, 20 Aug 1992 18:17:06 GMT
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: Convex Computer Corporation, Colorado Springs, CO
Keywords: vi
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

From the keyboard of sgr@alden.UUCP (Stan Ryckman):
:Well, I learned something new about vi.  I'll add ` to my list of
:useful but undocumented commands.

The ` is certainly documented!

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist

Perle, plesaunte to prynces paye/ To clanly clos in golde so clere,
Oute of oryent, I hardyly saye/ Ne proued I neuer her precios pere.
Newsgroups: comp.unix.questions
From: hm342st@unidui.uni-duisburg.de (Michael Staats)
Subject: Re: Simple AWK question.....
Date: 20 Aug 92 10:19:26 GMT
Organization: Rechenzentrum Uni-Duisburg

In <l96frkINNsom@phad.hsc.usc.edu> rpinder@phad.hsc.usc.edu (Rich Pinder) writes:

>I'd like to reference the environment variable PWD inside an awk script.  I
>wrote the following simple script to sum bytes in any given directory, and
>would like the output to say:  Total Bytes in /usr/lib: 1024000 (1 MB).

>Thanks for you help


>......................

>#	sums directory bytes (BSD)

What about 

$ echo Total kbytes in $PWD: `du -s .`

This works under AIX 3.1.5 with ksh and I hope under other BSD like OS, too.
Under SYS V like OS you'll get twice the amount of kB, which is weird,
but ...

So long
Michael
-- 
Michael Staats
Theoretische Tieftemperaturphysik
Universitaet Gesamthochschule Duisburg
michael@hal9000.uni-duisburg.de
Newsgroups: comp.unix.questions
From: christo@bcarh803.BNR.CA (Mark Christopher)
Subject: Re: Awk Variables
Reply-To: christo@bnr.ca
Organization: Bell-Northern Research Ltd.
Date: Fri, 21 Aug 1992 15:09:59 GMT

In article <516@alden.UUCP>, sgr@alden.UUCP (Stan Ryckman) writes:
|>In article <Bt6v2A.6CM@root.co.uk> gwc@root.co.uk (Geoff Clare) writes:
|>>In <510@alden.UUCP> sgr@alden.UUCP (Stan Ryckman) writes:
|>>>  Old awk's don't take var1=value1 type arguments.
|>[stuff deleted]
...
|>>Old awks DO take var=value arguments.  I have never come across a version
|>>of awk that did not.
|>
|>Uh-oh, my age is showing :-).  I believe I tried var=value upon seeing
|>it in a "new" awk book in 1987 or so, but it would not work (and was
|>not in the man pages or manual) on an OS version from the early 1980's
|>or so.  (As I remember, the book described many "new" features in
...

Ummm, I do believe Geoff is right on the money on this one.  I have some
awk scripts that I originally wrote back in '86 on v7 - and that WAS the
old 'awk' and the scripts used the sym=val capabilities.  And awk was not
one of the things I added improvements to.

But as Geoff said, you had to specify '-' or a filename after the var
assignments.  Newer versions are somewhat smarter.
-- 
Mark Christopher        Bell-Northern Research          christo@bnr.ca
From: root@candle.uucp (Bruce Momjian)
Newsgroups: comp.unix.questions
Subject: cu and C-Kermit for file transfters - HOW?
Date: 15 Aug 92 00:55:32 GMT
Organization: a consultant's basement
X-Newsreader: Tin 1.1 PL4

I often use 'cu' or 'pcomm' to dial out, and then want to transfer a
file, so I start kermit remotely and put it in server mode, escape to a
subshell, and fire up ckermit(4E).

If I try to 'get' a file, it say I must 'set line' first, but if I try to
'set line', it says the line is in use and I must remove the lock file
to continue.  If I set line to /dev/tty, it doesn't seem to do anything
but hang there.  I even tried the send/receive pair /dev/tty with no
luck. I am runing AT&T 386 SVr3.1 with a Hayes external modem.

I can't figure out how to do this.  One suggestion in the documentation
was to set up a second link to the modem device, and 'set line' to that,
but that seems extreme.  Also, under SVr4, the locks are under the
major,minor numbers, to such a scheme wouldn't work.

Suggestions?
-- 
Bruce Momjian                      |  830 Blythe Avenue
root%candle.uucp@bts.com           |  Drexel Hill, Pennsylvania 19026 
                                   |  (215) 353-9879(w)  853-3000(h)
Newsgroups: comp.unix.questions