Hi,
When I give the 'ved' command from an "unknown terminal type", I get,
along with "Unknown terminal type:<termtype>", an invitation
Enter an alternative terminal type, or <RETURN> to abandon VED
Entering 'linux' as a terminal type, then gets me a ved session. Do you
not get that second line? If you do, I would suggest trying 'linux' as
your terminal type. An alternative would be setting
export TERM=linux
before giving the ved command. That might work if you don't get the
"Enter an alternative" invitation.
Are you by any chance giving the TEACH TEACHFILES command literally, in
upper case? If so, try lower case. The upper case is a convention for
making commands stand out in teach files, but of course you have no way
of knowing that without access to the teach files.
If you are able to run pop11, clisp, etc., you probably have the
environment variable $usepop set. Do you have the file
$usepop/pop/teach/teachfiles in your installation? That's what you are
trying to read with ved, but you can read it with a different editor, or
with more or less, if you can't get ved to work.
If you don't have the file, something has gone wrong and I'd expect
there to be a message of some sort about it in your installation log.
The files
$usepop/pop/lib/ved/term/vedextermkeys.p and
$usepop/pop/lib/ved/term/vedlinuxkeys.p
give the keybindings for the linux term type. (The linux keys are a
superset of the xterm keys.) You could put your own xterm-256color.p
file in that directory if you had other key bindings that you preferred
to the given ones.
Hope that helps.
Steve Isard
On Mon, 17 Aug 2020, william.wood3-at-comcast.net |pop-forum| 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.
The software installation seems OK -- I was able to invoke 'pop11',
'clisp', 'prolog' and 'pml' successfully. I was able to enter my
favorite naive recursive and tail recursive definitions of the
factorial function into clisp and pml; test runs were successful and
pleasingly quick, even for 1000! and 10000!. I also exercised prolog a
little, consulting user, entering a couple of facts and a rule, exiting
from user and then exercising the rule. I also tried a couple of lines
from the pop-11 primer into pop11 with expected results. So Poplog
seems to be running OK.
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!
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?
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?
Thanks for your attention,
Bill Wood