On Tue, Aug 18, 2020 at 04:34:21PM +0100, Aaron Sloman wrote:
> Bill,
> 
> You have raised different problems at different times. I don't think this
> one, concerned with terminal type, was addressed in any of my previous
> messages, though I know you have received a partial answer.
> 
> Your recent message:
> 
> [BW]
> > ....
> > As evidence here is the result of kicking off a new xterm:
> >
> > Poplog?Version 16 (64 bit)
> > bill@debian-desktop:~$?
> >
> > Notice that the "Poplog Poplog?Version 16 (64 bit)" message does appear
> > at start up.
> >    . . .
> 
> Yes that's fine.
> 
> [AS]
> > > Anyhow, if you have not already done so please try:
> > >
> > > ????source $usepop/pop/com/poplog.sh
> > >
> > > Then try:
> > >
> > > ????pop11
> > > ????help rclib
> 
> [BW]
> > Again, starting up a fresh xterm:
> >
> > Poplog Version 16 (64 bit)
> > bill@debian-desktop:~$ 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
> > : help rclib
> > Unknown terminal type: xterm-256color
> 
> That suggests that your value of $TERM at the time when you start poplog is
> xterm-256-color. That's not recognized by poplog, and is not detected when
> you source poplog.sh
>

Such terminals are good reason to use terminfo.  AFAICS this terminal
works after change poposed by Andreas Eder (now in git repo and
attached to this mail). 

-- 
                              Waldek Hebisch
diff --git a/pop/ved/src/vdinitseq.p b/pop/ved/src/vdinitseq.p
index 5c887a8..222fffb 100644
--- a/pop/ved/src/vdinitseq.p
+++ b/pop/ved/src/vdinitseq.p
@@ -341,10 +341,8 @@ define veduseterm(name);
     if testdef sys_autoload then weakref sys_autoload(pdr_name) -> endif;
     if isdefined(pdr_name) then
         valof(pdr_name)();
-#_IF not(DEF LINUX)
     elseif testdef vedtermcapscreen then
         weakref vedtermcapscreen(name);
-#_ENDIF
     else
         return(false);
     endif;
diff --git a/pop/ved/src/vdtermcap.p b/pop/ved/src/vdtermcap.p
index 44d248e..c6d7013 100644
--- a/pop/ved/src/vdtermcap.p
+++ b/pop/ved/src/vdtermcap.p
@@ -9,8 +9,7 @@
 #_INCLUDE 'vddeclare.ph'
 
 
-/* Altered to turn off termcap on linux systems */
-#_IF DEF NCR or DEF LINUX
+#_IF DEF NCR
     /*  Termcap not available -- see comment in "termcap.p"
     */
 define vedtermcapscreen(_);

Reply via email to