On Tue, 2020-08-18 at 02:37 +0200, [email protected] wrote:
. . .
> 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.
I have discovered some of this. In particular I found
pop/help/vedkeys.pdf which has similar info (I haven't verified that is
identical to 'pop/help/linuxterm'). It seems that $TERM=xterm and
$TERM=linux both work; at least the error message goes away.
. . .
> 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?
Here's a brief transcript:
$ TERM=linux xved $usepop/pop/teach/teach
;;; WARNING - PIXMAP FILE NOT FOUND
;;; INVOLVING: '$usepop/pop/x/ved/bitmaps/ved_48.xbm'
;;; PRINT DOING
;;; DOING : runproc
;;; editing: /home/bill/Poplog/poplog/V16/poplog_base/pop/teach/teach,
ON LINE 1
and a second window pops up with the title
Ved - /home/bill/Poplog/poplog/V16/poplog_base/pop/teach/teach
The first line of the text area says "TEACH TEACH Last revised,
A.Sloman, Sept. 1987"
which seems to be right.
BTW I believe I am using the version 16 software, and the header that
appears when invoking pop11 from the shell prompt says 16.0.
Now from pop11:
$ TERM=linux pop11
Sussex Poplog (Version 16.0 Sun Aug 16 18:54:52 CDT 2020)
Copyright (c) 1982-1999 University of Sussex. All rights reserved.
Setpop
: ved /home/bill/Poplog/poplog/V16/poplog_base/pop/teach/teach
───┤ 1├ ved │ (editing:
/home/bill/Poplog/poplog/V16/poplog_base/pop/teach/teach, 404 line
TEACH TEACH Last revised, A.Sloman. Sept 1987
-- HOW TO READ POPLOG TEACH FILES ------------------------------------
etc. So it appears the file is in the right place and I can coerce ved
into editing it. But consider this:
$ TERM=linux pop11
Sussex Poplog (Version 16.0 Sun Aug 16 18:54:52 CDT 2020)
Copyright (c) 1982-1999 University of Sussex. All rights reserved.
Setpop
: ved
───┤ 1├ teach teach (not found - try TEACH TEACHFILES)
──────────────────────────────────
I should be clear: I am using Control-G (^G) for ENTER since I found
that key binding in $usepop/poplog_base/pop/help/vedkeys. It seems to
work -- it kicks the cursor to the left end of the command area and
"erases" whatever was there. And yes, the file
$usepop/poplog_base/pop/help/linuxterm says that the <ENTER> key at the
far right end of the keyboard is bound to ENTER, and it seems to work
that way.
That's all I know. Thanks for your help,
Bill Wood