[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Mar 21 15:39:03 2001 
Subject:Re: FAQ to alleviate pop patch query storm. 
From:Stephen Isard 
Volume-ID:1010321.02 

cglur@onwe.co.za wrote:

> As the user base grows it might become appropriate to have an FAQ.

There is one, at
http://www.cs.bham.ac.uk/research/poplog/comp.lang.pop.faq.html,
although it doesn't cover the particular point that prompted your
message.

> Is the current query:
>   vedcharinsert in linux console
> just a re-hash of the recently answered query:
>    how to run ved in linux console ?

Yes, I apologise for that.  Sloppy of me.

> Yes I get bad-stuff and spaces between chars on command line, unless I
> do: TERM=xterm ; export TERM  or
> load   $usepop/pop/lib/ved/term/vedlinuxkeys.p   - as above.

You shouldn't need to load vedlinuxkeys.p yourself.  It should be
loaded automatically by vedinitterm when you start ved, as long as your
TERM environment variable is set to linux and your search paths are
properly set up by sourcing $usepop/pop/com/poplog.sh .  Ditto for
vedlinuxscreen.p.  My problem was that I didn't have vedlinuxscreen.p on
my system, because it wasn't included in the version of linux1553.tar.gz
that I downloaded.

> zcat $tardir/bhamteach.tar.gz | tar xf -
> is very 'wizz-bang'. But some of these expanders delete the original
> *.tar.gz.  So at least warn the user to make a backup first.
> A more defensive/conservative way is to first expand to *.tar,

I'm not sure what other expanders you have in mind, but zcat is just
gunzip -c, which doesn't delete the original file and writes to standard
output.

zcat <tarfile> | tar ...  is very defensive/conservative, because it
doesn't delete anything.  If you are feeling especially paranoid, you
can do cat file.tar.gz | gunzip | tar..., which doesn't apply a
decompressor directly to the file at all, but really if your version of
zcat has been replaced by a program that deletes files, your version of
cat might have been too.

> Since mc (midnight commander) can directly see and list the dir/file
> structure of a *.tar.gz  there is a one line command which will show
> (or save to file) the dir/file structure of a *.tar.gz - I don't know > how to.

I'm not sure what you are trying to say here, but tar ztf file.tar.gz
will send the directory listing of the tar achive to standard output,
and you can divert it to a file in the usual way with ">".

Best,

Steve