HDTenEightyP/NetNews huggingface dataset:
From: TGJ@ukhouo.prime.com (Terry Jeffery International Product Support Group)
Newsgroups: comp.unix.questions
Subject: HP paintjet xl setup
Date: 8 Oct 92 17:00:08 GMT

This has probably been answered sometime in the past but I am after the
printer setup for generating X windows dumps to a HP Paintjet XL connected
via RS-232 to a Sparc II. I would appreciate some info re :-

        1) printcap entry

        2) serial port settings such as what sort of handshaking (software
           or hardware and baud rate.

> Regards

============================================================================
Terry Jeffery International Product Support Group   Telephone +44 256 301230
Computervision (UK) Ltd Basingstoke                 Fax       +44 256 301215
Internet : tgj@ukhouo.prime.com
X.400    :  /C=GB/A=TMailUK/P=Prime/O=Prime Computer Ltd/S=Jeffery/G=Terry
                 Living is Hazardous to your Health
============================================================================
From: agc@bmdhh286.bnr.ca (Alan Carter)
Newsgroups: comp.unix.questions
Subject: Re: Problems with tilde (~) substitutions...
Date: 15 Oct 92 14:07:21 GMT
Organization: BNR-Europe-Limited, Maidenhead, England

In article <1992Oct15.053459.11923@u.washington.edu>, olsenc@carson.u.washington.edu (Clint Olsen) writes:
|> Hello:
|> 
|> I am writing a korn shell script which obtains a list of
|> usernames.  What I want to do is tack on a tilde on the front
|> of it to denote their home directory.
|> 
|> For example, 
|> 
|> user=mike
|> homedir=~$user
|> 
|> Rather than expand to mike's home directory, I get this:
|> 
|> % echo $dir
|> ~mike
|> 
|> Any ideas?

You can use the tilde as a magic word, but only for accessing. Still,
no problem:

memory=`pwd`
cd ~$user
homedir=`pwd`
cd $memory

   Alan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Maidenhead itself is too snobby to be pleasant. It is the haunt of the
   river swell and his overdressed female companion. It is the town of showy
   hotels, patronized chiefly by dudes and ballet girls. 

   Three Men In A Boat, Jerome K. Jerome, 1889
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.unix.questions
From: sgraham@fraser.sfu.ca (Scott Douglas James Graham)
Subject: Changing In Real Life 
Keywords: Ack!
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Tue, 13 Oct 1992 21:42:53 GMT


Hi.  Does anyone know how to change the name that appears beside
the In REal Life area (shows up when you 'finger' someone).  My
full name shows up there, and I'd like to shorten it!  I've tried
passwd -f (to change full name), but this hasn't worked.  Is there
something that I can put in .login or .mylogin that will do this?
If this is a FAQ, sorry, and thanks! :)


Scott, Faculty of Business Administration, Simon Fraser University,
Burnaby, B.C., CANADA.

Newsgroups: comp.unix.questions,comp.dcom.fax
From: sl@wimsey.bc.ca (Stuart Lynne)
Subject: Re: Unix Fax Servers
Organization: BC News and Mail
Date: Wed, 7 Oct 1992 22:27:43 GMT

In article <1992Oct7.182814.4645@spdcc.com> eli@spdcc.com (Steve Elias) writes:
>those concerned with legalities might want to 
>note that faxback is a patented thang (IFF the fax is
>sent out via a separate phone call.)
>
>it is a combination hardware/software patent,
>i don't have the number handy right now, it's been discussed here before.
>(comp.dcom.fax, comp.patents) 

We'll also note that there are several good examples of the technology
concerned that pre-date the patent application date that should lead to
the patent being thrown out if and when it gets to court. 

The patent covers use of signals (i.e. DTMF tones) to control the delivery
of faxes from a computer system. For example, Globefax a service like this 
was in place and being offerred commercially in Canada in January of 1988 by
Teleglobe Canda.  The patent application date is May 11, 1988.

I've only been peripherally involved so I don't have uptodate details
but it's my understanding that there is currently an industry group that
will be sponsoring a challenge.

-- 
Stuart Lynne <sl@wimsey.bc.ca> ....................... UNIX Facsimile Software
Wimsey Information Technologies ................... moderator biz.sco.binaries
uucp login:nuucp passwd:nuucp .................. ftp.wimsey.bc.ca:~ftp/ls-lR.Z
PD Software for SCO UNIX .................. ftp.wimsey.bc.ca:~ftp/pub/wimseypd
From: lhjensen@fish.Princeton.EDU (Leif Jensen)
Newsgroups: comp.unix.questions
Subject: Re: Anyone have the terminfo entries for vt3xx and vt4xx?
Keywords: terminfo vt300 vt400
Date: 14 Oct 92 02:44:49 GMT
Article-I.D.: Princeto.1992Oct14.024449.29116
Organization: Princeton University
Originator: news@nimaster

In article <1bfu53INNr3@crcnis1.unl.edu> mosemann@unl.edu writes:
>   I'm looking for the terminfo entries for the vt3xx and vt4xx
>terminals?  These are for a Sun running SunOS 4.1.3.  Source or binaries
>would be fine.

I have posted termcap entries for these terminals.  SunOS has several
useful utilities like /usr/5bin/captoinfo and /usr/5bin/infocmp that you
should be able to use to build terminfo entries.  Check your man pages
for more information.  Other systems must have similar utilities.

--
Leif Jensen
lhjensen@phoenix.princeton.edu
Xref: sparky comp.unix.questions:11987 comp.unix.wizards:4265
From: barker@wd0gol.WD0GOL.MN.ORG (Bob Barker)
Newsgroups: comp.unix.questions,comp.unix.wizards
Subject: How to delete trailing blanks from data?
Keywords: regular expressions, ed
Date: 11 Oct 92 06:30:51 GMT
Followup-To: poster
Organization: Robert Barker & Associates, Eden Prairie, MN.

This ought to be an easy thing to do, and I'm sure it is, but I can't
come up with a regular expression that will remove trailing blanks from
a string.

Can anybody help me out?

Thanks,

-Bob
------------------------------------------------------------------------------
Bob Barker                                ...!uunet!umn-cs!tcnet!wd0gol!barker
Robert Barker & Associates                                barker@wd0gol.MN.ORG
(612) 949-0140
From: tundra@eskimo.chi.il.us (Tundra Tim Daneliuk)
Newsgroups: comp.unix.questions
Subject: Device Drivers
Date: 15 Oct 92 22:38:57 GMT

I would dearly love to be able to read/write multi-volume tar archives
on both Unix and DOS - that is multi-disk (3.5" HD) archives.  The various
Unix flavors I use have no problem doing this, of course.  However, the
various PD tar utilities for MS-DOS can't get at the raw floppy device to
do this - I presume because there is no MS-DOS device driver which has
enabled raw floppy access.

Before I go off and write a raw floppy driver for DOS, I'm wondering if anyone
has already done this or if another solution is available?

I'd appreciate a steer to the appropriate ftp site or whatever ..



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

        "Tundra" Tim Daneliuk
        PREFERRED: tundra@eskimo.chi.il.us
        OR (Yuk!): eskimo!tundra@clout.chi.il.us
        ALSO:      ...uunet!gargoyle.uchicago.edu!clout!eskimo!tundra
        US SNAIL:  4927 N. Rockwell, Chicago, IL  60625
        MA BELL:   (312) 989-1052

------------------------------------------------------------------------------
From: yasu@ll.mit.edu (Alan Yasutovich)
Newsgroups: comp.unix.questions
Subject: How to install a color tektronix printer?
Date: 16 Oct 92 19:04:50 GMT
Organization: MIT Lincoln Laboratory


	I have a color textronix printer (4793D) that I'd like
	to have work on a sun.

	I guess I need to get a "grf" file, which some part of
	the tcpr utility creates.

	That's all I know.  I have some of the tcpr stuff, but
	don't know how to use it.

	Anyone help?

-- 
	Alan Yasutovich
	"inquiring  (and nosey) minds WANT TO KNOW!!!"
	I can remember when "safe sex" meant having a padded headboard!!
	Tick Tock.....Tick Tock......Tick Tock .....Tick Tock......
From: davis@aurs01.UUCP (Alan Davis)
Newsgroups: comp.unix.questions
Subject: Re: A peeve (was Re: A QUESTION
Date: 14 Oct 92 02:29:00 GMT
Reply-To: davis@aurw17.aur.alcatel.com.UUCP (Alan Davis)
Organization: Alcatel Network Systems, Raleigh NC

In article <1992Oct13.201842.23272@ttinews.tti.com> reid@metis.tti.com (Reid Kneeland) writes:
>In answwering the original quesion, the following was suggested:
>>cat file | cut -d' ' -f1
>Most other answers to this question did the same silly thing with cat.
>My question:
>Why is it that so many people do this:
>	cat file | prog
>When this:
>	prog < file
>will work just fine?  Is there any good reason to fire up an additional
>process (I know, cat has fairly low impact on system performance)?
>
....
I find myself doing the same thing, my only conclusion is because it 
seems odd to type :
    prog -xparam -yparam < infile | prog2 -xyz

cat'ing infile in 'seems' more straightforward.

Alan Davis                      aur : davis@aurfs1
Alcatel Network Systems         BIX : adavis
adavis@rockdal.aud.alcatel.com  CIS : 72317,3661

Newsgroups: comp.unix.questions
From: brandy@tramp.Colorado.EDU (BRANDAUER CARL M)
Subject: Re: weird behaviour of sed
Organization: University of Colorado, Boulder
Date: Fri, 16 Oct 1992 03:32:57 GMT

krisk@ux1.cso.uiuc.edu (Kris Klindworth) writes:

>mau@beatles.cselt.stet.it writes:

>I don't think it's well documented but the regular expression takes the
>LONGEST pattern which matches.

Paragraph 2.2 of my AT&T System V, Release 3 manual page for 'ed' states:

2.2 A one-character RE followed by and an asterisk (*) is a RE that matches
    *zero* or more occurences of the one-character RE. If there is any choice,
    the longest leftmost string that permits a match is chosen.

Seems pretty clear to me.
Newsgroups: comp.unix.questions
From: besp@ellis.uchicago.edu (anna  besprozannaya)
Subject: winter 93 usenix info wanted
Reply-To: besp@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Distribution: usa
Date: Sat, 10 Oct 1992 22:24:02 GMT

I've scanned newsgroups and FAQ's, and I can't find any announcements.
If you have any info, please mail it to me.

Thank you.

--------------------------------------------------------------------------------
Anna Pluzhnikov		besp@ellis.uchicago.edu		312/955-5784

"Perfection is achieved, not when there is nothing left to add,
but when there is nothing left to take away" - Antoine de St. Exupery
From: GEANEL@cn.laafb.af.mil
Newsgroups: comp.unix.questions
Subject: archiving to 8mm tape
Date: 15 Oct 92 17:11:13 GMT


I am trying backup some files to a 8mm tape drive.  Can someone tell me what 
command  and device name I should use?  Using "tar cvf /dev/rst0 [filename]" 
works only for 1/4" tape drives. My hardware platform is a Sun workstation 
running Sun OS4.1.2 
 
Thanks.  

Edmund Gean
From: NUNEZ@esevvx.cica.es (REGI's)
Newsgroups: comp.unix.questions
Subject: (none)
Date: 15 Oct 92 16:36:50 GMT

>X-Envelope-to: info-unix@sem.brl.mil
>X-VMS-To: IN::"     info-unix@sem.brl.mil"

1
13-OCT-1992 06:59:18.32
   1 00:00:00.00
14-OCT-1992 06:59:18.32
info-unix-request@sem.brl.mil
rafapa@obelix.cica.es

Received: from SEM.BRL.MIL by ESEVVX.CICA.ES ; 10-OCT-1992 06:59:14.85
Received: from SEM.BRL.MIL by SEM.BRL.MIL id ac00943; 9 Oct 92 19:00 EDT
Received: from fncrd0.fnal.gov by SEM.BRL.MIL id aa28023; 9 Oct 92 15:47 EDT
Date:    Fri, 9 Oct 1992 14:47:52 -0500 (CDT)
From:    "Jorge Luis M. do Amaral" <AMARAL@fnacp.fnal.gov>
Message-Id: <921009144752.20201e52@fnacp.fnal.gov>
Subject: What does cc -D option means ?
To:      info-unix@sem.brl.mil
X-Vmsmail-To: SMTP%"info-unix@sem.brl.mil"

Hi ,
	Does anyone can explain me what the cc -D option means ?

	I'm trying to compile a program that has in his make something
like:
	cc -g -DWANT_X11 -DWANT_MFB ....

	The man does not help much . Is there anyone that can help me ?

Thanks,
				Jorge (amaral@fnacp.fnal.gov)
Newsgroups: comp.unix.questions
From: zhang@ms.uky.edu (Bing Zhang)
Subject: How to get the UNIX(or similar) source code?  
Date: Wed, 7 Oct 1992 16:35:50 GMT
Organization: University Of Kentucky, Dept. of Math Sciences

       I want the UNIX (or similar) source codes for studying OS. Could
anybody tell me how to get them?   Please send me a mail at zhang@ms.uky.edu
   Thanks a lot.
   Bing Zhang    
Newsgroups: comp.unix.questions
From: dmenns@muug.mb.ca (Darren Enns)
Subject: Re: weird behaviour of sed
Organization: Manitoba Unix User Group, Winnipeg, Manitoba, Canada
Date: Fri, 16 Oct 1992 22:06:20 GMT

In article <1992Oct15.175532.16088@acuson.com> liuwu@acuson.com (Wu Liu) writes:
>Kris answered the why.  The how is a bit trickier. If we assume that
>we would like the regular expression to match the first
>whitespace-delimited (i.e. "word") string on a given line, try
>"sed 's/[^ ^I]*fg/GF/1'", where ^I is replaced with a real tab
>character.  If other delimiters are used, include them in the
>expression inside of the brackets.
>-- 
>Wu Liu                          Software Engineer, User Interface Group
>liuwu@acuson.COM                Acuson

Jumping into this conversation for my own selfish reasons, does anyone know
of a clever sed technique to search/replace strings that are words without
being specific about the word delimiters?  Right now, I have an extremely
large sed command file that has to anticipate many possible delimiter
types for a given word e.g.
 
s/ pckl / pickle /g
s/ pckl_/ pickle_/g
s/(pckl /(pickle /gg
s/(pckl_/(pickle_/g

etc..(you get the idea...all possible permutations and combinations).
What I really want to say is 'replace this string as long as it is not
part of another word' but the delimiters can be more than just blanks.
Help?

Dare
Newsgroups: comp.unix.questions
From: gmhtng@ntuvax.ntu.ac.sg
Subject: <None>
Organization: Nanyang Technological University - Singapore
Date: Thu, 8 Oct 1992 02:27:39 GMT

Hi there,

I have just installed AT&T UNIX System V Rel 4 into my 486 PC and I am having
problems making use of my serial port (ie com1) to communicate with PLC or
robot controller. (I could not open the special file /dev/tty00 which is
configured as the serial port). I believe that I have not configured the system
properly.

I would appreciate it if you could enlighten me. Thank for the enlightment in
advance.   
Newsgroups: comp.unix.questions
From: bill@Celestial.COM (Bill Campbell)
Subject: Re: A QUESTION
Organization: Celestial Software, Mercer Island, WA
Date: Sun, 11 Oct 1992 20:44:50 GMT

In <1992Oct09.004500.14733@trebor.uucp> root@trebor.uucp (Bob Stockler) writes:

:csc5840@hertz.njit.edu (Sekhar Chitti) writes:

:>I have a question on using 'sed' and 'awk' to edit a text file.
:>I have a text file of nearly 500 lines and having 6 fields.
:>Now that I wanna delete the last 5 fields of each line and 
:>keep only the first one. What is the easiest way I can do this? 

:<infile awk '{ print $1 }' >outfile

Or: cut -f1 infile > outfile

Bill
-- 
INTERNET:  bill@Celestial.COM   Bill Campbell; Celestial Software
UUCP:   ...!thebes!camco!bill   6641 East Mercer Way
             uunet!camco!bill   Mercer Island, WA 98040; (206) 947-5591
SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?
Xref: sparky comp.unix.questions:11888 comp.lang.c:14668
From: hemstree@cs.colostate.edu (unknown)
Newsgroups: comp.unix.questions,csu.unix,comp.lang.c
Subject: Imakefile???
Date: 8 Oct 92 03:31:52 GMT
Distribution: comp
Organization: Colorado State University


What is Imake and where can I get the source to use some Imakefiles
that I have (came with some programs that I ftp'd).

Thanks for the help,

Charles
--
!===========================================================================!
! Charles H. Hemstreet IV       !internet: hemstree@handel.cs.Colostate.Edu !
! Colorado State University     !        Professional College Student       !
!===========================================================================!
From: duplain@rtf.bt.co.uk (Andy Duplain)
Newsgroups: comp.unix.questions
Subject: Re: archiving to 8mm tape
Date: 16 Oct 92 12:45:33 GMT
Organization: BT Customer Systems, Brighton, UK

In article <33092@adm.brl.mil> GEANEL@cn.laafb.af.mil writes:
>
>I am trying backup some files to a 8mm tape drive.  Can someone tell me what 
>command  and device name I should use?  Using "tar cvf /dev/rst0 [filename]" 
>works only for 1/4" tape drives. My hardware platform is a Sun workstation 
>running Sun OS4.1.2 

	try "tar cfv /dev/rst1 file ... file".  To do proper backups look
	at dump(8) and restore(8).

-- 
Andy Duplain, BT Customer Systems, Brighton, UK.            duplain@rtf.bt.co.uk
#define	DISCLAIMER      My views and opinions are my own, and not my company's
Xref: sparky comp.unix.questions:12113 comp.lang.c:15003 comp.windows.x:17876
From: smr@pki-nbg.philips.de (Stephen Riehm)
Newsgroups: comp.unix.questions,comp.lang.c,comp.windows.x
Subject: using sigwinch with curses
Date: 14 Oct 92 14:54:36 GMT
Reply-To: smr@pki-nbg.philips.de

I am attempting to write a small program which uses curses to prevent
a variety of  information on the screen, and it works fine, but I
can't find a way to change curses idea of how big the screen is after
a sigwinch. I have a signal handler written, but it doesn't work. 

(I even tried doing an endwin(); initscr() but it still used the old
size).

Do I need to create a new window, copy
the data across and then delete the old one?? (even then the LINES
and COLS variables are still not updated.)

What is the most reliable way to find out how big the window is after
a SIGWINCH?? 

thanks in advance

-----------------------------------------------------------------
Stephen Riehm		Configuration Management	   _-_|\ 
smr@pki-nbg.philips.de	Philips Kommunikations Industrie  /     \
Work: +49 911 526 2975	N|rnberg, Germany		  \_.-.*/
Fax:  +49 911 526 2095	"I was there, now I am here!"	       v 
"My company speaks another language, I CAN'T speak on it's behalf"
Newsgroups: comp.unix.questions,comp.unix.misc
From: tjt@blink.att.com (Tim Thompson)
Subject: Re: Profiling on shared library..
Organization: AT&T
Date: Sat, 10 Oct 1992 02:04:52 GMT

barmar@think.com (Barry Margolin) writes:

>In article <tjt.718655662@sparc-10> tjt@blink.att.com (Tim Thompson) writes:
>>Can you use -Bstatic when compiling a program that uses -ldl ?

>No.  libdl.so.* is actually a dummy routine, and the dlopen(), et al ...
>However, it's possible to have a mixture of dynamic and static linking in a
>program, so you may be able to do this by only linking libdl dynamically.

I tried to do that (by putting -Bstatic and -Bdynamic at various points
in the command line) but never succeeded.  I'm suspecting that both
dynamic loading and profiling want to insert hooks into the startup
mechanism, and that those hooks can't co-exist.  Just a guess, though.

Inserting the profiling hooks manually would probably work.  If at some
point I get tired of hacking a staticly-linked version of my program, I'll
probably try that.     ...Tim...tjt@blink.att.com...
From: ntucs73@csman.csie.ntu.edu.tw (CSIE 73 student)
Newsgroups: comp.unix.questions
Subject: (none)
Date: 7 Oct 92 03:24:08 GMT


Hi, 

    I downloaded a set of sources of KERMIT several days ago.  The purpose was 
 not only for installing it, but also for understanding its design concepts.  
 Thus, I think the sources were not enough for me.

    Can anyone tell me where I can find the protocol specification of KERMIT ?
 With such a protocol spec., I hope I could easily get the spirit of KERMIT.

    Thanks in advance.

Cheng, Chia-Hsin
E-mail: ntucs73@csie.ntu.edu.tw
 
  
Newsgroups: comp.unix.questions
From: edwardsk@cuug.ab.ca (Kenneth Edwards 268-6500)
Subject: Re: Getting % prompt in piping "more"
Organization: Calgary UNIX Users' Group
Date: Tue, 6 Oct 1992 20:44:40 GMT

In article <1992Oct06.082758.837335@zeus.calpoly.edu> dgong@zeus.calpoly.edu (Irkel) writes:
>But if I pipe "more" through something like cat or zcat
>then all I get at the bottom is a: --More--
>
>Ex.: zcat file.Z | more
>Is there any way of getting --More--(%n) when piping "more"?

Well if you could tell more how big the file will be when you have finished
zcat'ing it, then more could tell you what percent it was.

Since more has no way of telling how may bytes are going to come down that
pipe, it can not give you the percentage.

-- 
_____________________________________________________________________________
She looked under the sheets and cried -- oh no it's micro soft.
From: jbowyer%ovc.vutbr.cs%CSBRMU11.BITNET@aearn.edvz.uni-linz.ac.at (Jeff Bowyer)
Newsgroups: comp.unix.questions
Subject: getty command
Date: 12 Oct 92 13:47:33 GMT

Where can I get source code for the getty command?

Thank you for your assistance.

==========================================================================
 Jeff Bowyer                         EMail:
 Technical University of Brno        jbowyer%ovc.vutbr.cs@csbrmu11.bitnet
 Udolni 19, 602 00 BRNO
 Czechoslovakia
==========================================================================
Newsgroups: comp.unix.questions
From: jpr@jpradley.jpr.com (Jean-Pierre Radley)
Subject: Re: Which group is for SCO 3.2.4
Organization: Unix in NYC
Date: Sun, 11 Oct 1992 19:20:05 GMT

In article <$davee.2.0@sasb.byu.edu> $davee@sasb.byu.edu (Dave Edmunds - MIS Hardware) writes:
>I am having a rather obnoxious problem with an SCO Unix box, unfortunately I 
>did not see a group that was specifically for SCO, except the Xenix and I 
>don't think that is right.

Try biz.sco.general.
If your site doesn't get it, then get on the mailing list to which it is
mirrored:
Send this message to scogen-request@xenitec.on.ca
Add: davee@sasb.byu.edu
-- 
Jean-Pierre Radley   Unix in NYC   jpr@jpr.com   jpradley!jpr   CIS: 72160,1341
From: NUNEZ@esevvx.cica.es (REGI's)
Newsgroups: comp.unix.questions
Subject: (none)
Date: 14 Oct 92 19:11:37 GMT

>X-Envelope-to: Info-Unix@BRL.mil
>X-VMS-To: IN::"Info-Unix@BRL.MIL"

1
12-OCT-1992 16:39:11.05
   1 00:00:00.00
13-OCT-1992 16:39:11.05
info-unix-request@sem.brl.mil
rafapa@obelix.cica.es

Received: from SEM.BRL.MIL by ESEVVX.CICA.ES ;  9-OCT-1992 16:39:09.08
Received: by SEM.BRL.MIL id aa19659; 9 Oct 92 10:29 EDT
Received: from SEM.BRL.MIL by SEM.BRL.MIL id aa17549; 9 Oct 92 8:41 EDT
Received: from wharf.brl.mil by SEM.BRL.MIL id aa17405; 9 Oct 92 8:24 EDT
Received: from pol88a.polito.it by WHARF.BRL.MIL id aa11127; 9 Oct 92 8:20 EDT
Received: from EI3500.CSELT.IT by POLITO.IT (PMDF #12666) id
 <01GPQQGEVIKG94I37I@POLITO.IT>; Fri, 9 Oct 1992 10:55 GMT+1
Received: from beatles.uf.cselt (125.0.90.142) by EI3500.CSELT.STET.IT; Fri,
 9 Oct 92 10:55 GMT +1
Received: by beatles.uf.cselt (4.1/SMI-4.1) id AA24183; Fri,
 9 Oct 92 10:56:08 +0100
Date: Fri, 9 Oct 92 10:56:08 +0100
From: mau@beatles.cselt.stet.it
Subject: weird behaviour of sed
To: Info-Unix@BRL.MIL
Message-id: <9210090956.AA24183@beatles.uf.cselt>
X-Envelope-to: Info-Unix@BRL.MIL

My man page (SunOs 4.1.2) for sed says that 
           s/regular expression/replacement/flags
change the regular expression into the replacement and defers to ed(1).
ed says that it is the first occurrence of a string which match the RE to be
substituted. Fine.

So, if z is a file containing the line 
	asdfgh asdgfh asdfgh asdgfh asdfgh asdgfh
the command  sed 's/.*gf/GF/1' z should return 
GFh asdfgh asdgfh asdfgh asdgfh
, shouldn't it? Well, it returns just GFh .

Which is the reason of this behaviour? and how can I accomplish my goal?

regards, .mau.
From: arjen@disnet.uucp (Arjen Duursma)
Newsgroups: comp.unix.questions
Subject: Re: Troff to Epson 24 pin printer
Date: 16 Oct 92 07:23:59 GMT
Organization: Disnet, IDE Maassluis, The Netherlands

bbs.barfeau@GOONSQUAD.SPIES.COM (David Fox) writes:

>Hi *,
>I am running 386bsd 0.1, and I have groff, gnu troff.  The only
>formatting devices I have are -Tascii and -Tps.  I can use -Tascii,
>but it treats my printer as a dumb device.
> 

If you can't find a -Tepson driver, try the -Tps and route the output
through GhostScript (also GNU). It should be available at the same place
where you got the groff.

Good luck to you

Arjen