On Mon, Aug 17, 2020 at 11:43:15AM -0500, [email protected] wrote:
> Hi, I'm a new user of poplog and I'm having a problem.  First, I have
> an up-to-date Debian 9 system running on a 4 GHz 2-core processor with
> 4 GiB memory and 250 GB disk.  After setting up a poplog dir under my
> home dir I went through the script for getting and installing required
> libraries with no error or warning messages.  I then downloaded the
> file 'getpoplog.sh', set modes and ran it with no warning or error
> messages.  I did look at the file "makeindexes-out.txt" and found two
> "WARNING" lines saying that two ref directories did not have sub-
> directories named "doc_index".  There were no error messages.
<snip> 
> However, ved is something else again.  I tried both ved and xved; with
> both I get the warning "PIXMAP FILE NOT FOUND" and both start up.  I
> also get a complaint "unknown terminal type: xterm-256color".  When I
> try "teach teach" I get the message "(not found - try TEACH
> TEACHFILES)".  When I try "TEACH TEACHFILES" I get the same message!

That is strange.  Starting ved, pressing ENTER and then "teach teach"
I see the teach file.  I get error as you describe when teach
files are not present.  But then what you do below would not
work...

> Invoking either on a file does read the file into the editor, but then
> I can do little.  I have had little success using the editor to
> navigate because the I have not found any doc specifying the mapping
> from abstract key names to keystrokes (the user guide says "These will
> be supplied separately.").  Available yet?  Where?

1) 'teach' command really is ved that knows where to look for
   teach files (so there is no need to give full pathname) and
   which protects orignal from modification (so you can play
   with a file without fear of destroying useful info)
2) before using ved you definitely should look at
   'pop/help/linuxterm', it explains keys on PC keyboard.
   Modern keyboards (especially laptop keyboards) have
   various slightly different layouts, but typically keys
   with the same description (marking) on newer keyboards
   do the same things as keys with the same description on
   older keyboard.  So if you know where the key is on older
   keyboard you can find out what function it has.  Playing
   a little with ved (possibly using teach file) should
   clarify doubts.

> At this point ved seems unusable, and since so much of the
> documentation seems to be available only through ved, it is difficult
> to see how I can find out what I need to know to use the language
> implementations.
> 
> Any ideas what's wrong with either the installation or my
> understanding?

Ved keybinding are somewhat strange.  Hope that the above and
what Steve wrote helps.  You did not wrote which version
you fetched.  Assuming that this is V16, there is a change:
teach and ref are not provided as separate shell commands.
As distributed one needs to start them from ved or pop11.
That could be easily changed assuming that teach in ved
works: one just needs to do:

ln basepop11 teach

in the pop/pop subdirectory of Poplog tree (and similar for
ref command).  However, if 'teach teach' does not work
from ved or pop11, then link will not help.

As I wrote, error message that you gave appears when teach
files are not present, or in wrong place (that is why Steve
asked about '$usepop/pop/teach/teachfiles').  You wrote
that file is where it should be.  In such case it remains
a mystery why ved can not open it via 'teach'.  Does it
work if you try to open copy of 'usepop/pop/teach/teach'
in ved?

-- 
                              Waldek Hebisch

Reply via email to