I have been using poplog V16 as my main environment (reading and writing
email, writing papers, invoking latex, tailoring Ved, invoking linux
facilities from Ved etc.) and there have been remarkably few problems.

A new bug-report is below: sys_host_name no longer works.

I have also been trying to expand my installation and testing instructions
for people unfamiliar with Poplog, here (work in progress)

        http://www.cs.bham.ac.uk/research/projects/poplog/V16/AREADME.html

I've started a temporary location for bug reports:

        http://www.cs.bham.ac.uk/research/projects/poplog/V16/known-problems.txt

I'll copy there bug reports posted to pop-forum or sent directly to me.
I'll include name of submitter unless asked not to.

=======================================

I have just added this first bug report:

-- 16 Dec 2019 sys_host_name (Aaron Sloman)

    sys_host_name defined in $usepop/pop/src/sys_host_name.p

    Returns <false> instead of host name.

========================================

Can anyone see what needs to be changed here because of the switch from 32
to 64 bit linux? I am out of my depth.

The source code, including call of get_host_name, is copied at the end of
this message. I suspect a small change is needed to fix this.

There may be more obscure examples of low level code in $usepop/pop/src
that need to be changed for 64-bit poplog, though the conversion has mostly
been amazingly successful.

I also propose that all the *.o and *.w files produced during installation
should be removed, saving about 10MB from the installed system.

        They are in
                $usepop/pop/src/*.[ow]
                $usepop/pop/ved/src/*.[ow]
                $usepop/pop/x/src/*.[ow]

There may be others that I have forgotten about.

Removing them would need a small change change to build_pop2

---
I've also updated help message.login, to give the right version of poplog
(v16, not v15.65)
        $usepop/pop/help/message.login

This is one of the documentation files not included in Waldek's package,
but available here for download and installation
        http://www.cs.bham.ac.uk/research/projects/poplog/V16/docs.tar.bz2
        doc help ref teach files.

Waldek, I suggest that these files should be added to your package.

If you agree, I'll change my version of your tar file poplog_base6.tar.bz2
to include them (with the fixed help file).

This will enable me to simplify the (incomplete) documentation here:

        http://www.cs.bham.ac.uk/research/projects/poplog/V16/AREADME.html
        (in a messy transitional state right now)

Thanks

Bug-report below:
Aaron
---

sys_host_name no longer works:

from $usepop/pop/src/sys_host_name.p

#_INCLUDE 'declare.ph'

section $-Sys => sys_host_name;

constant procedure (sysinfo);

define sys_host_name();
#_IF DEFV SYSTEM_V >= 4.0 or DEF OSF1
    ;;; use sysinfo(2)
    lconstant SI_HOSTNAME = 2;  /* from <sys/systeminfo.h> */
    sysinfo(SI_HOSTNAME);
#_ELSE
    lvars _offs;
    lstackmem stackbuff _obuf;
    lconstant _size = _:SIZEOF(stackbuff);
    if _neg(_extern[SE] gethostname(_obuf, _size)) then
        if (_locc(_obuf, @@(b)[_size], _0) ->> _offs) == _-1 then
            @@(b)[_size] -> _offs
        endif;
        Consstring_bptr(_obuf, ##(b){_offs}, CSB_LSTACKMEM)
    else
        false
    endif
#_ENDIF
enddefine;

endsection;

Reply via email to