steven@ misc@

just a heads up for octave

recently installed it for learning 


1 giving a wrong command drops me to the shell

octave:1> pc
error: 'pc' undefined near line 1 column 1
rgc:/home/rgc:107$

or

octave:1> pkg
/tmp/octave-help-hUhbm7:119: Unknown command `codequoteundirected'.
warning: print_usage: Texinfo formatting filter exited abnormally
warning: called from
    print_usage at line 74 column 5
    pkg at line 323 column 5
warning: print_usage: raw Texinfo source of help text follows...
error: Invalid call to pkg.  Correct usage is:

on

 -- pkg COMMAND PKG_NAME
 -- pkg COMMAND OPTION PKG_NAME
 -- [OUT1, ...] = pkg (COMMAND, ... )

Additional help for built-in functions and operators is
available in the online version of the manual.  Use the command
'doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at https://www.octave.org and via the h...@octave.org
mailing list.


2 is probably an issue with tar usage ... OpenBSD tar explicitly needs 'z'
to extract gzed tarballs 

octave:1> pkg install -forge communications
warning: creating installation directory /home/rgc/octave
warning: called from
    install at line 30 column 5
    pkg at line 441 column 9
unpack: unarchiving program exited with status: 1
tar: input compressed with gzip; use the -z option to decompress it
error: called from
    unpack at line 274 column 5
    untar at line 48 column 5
    install at line 87 column 9
    pkg at line 441 column 9
octave:1>


both issues don't occur on octave in Linux (Ubuntu 20.04).

regards,

Reply via email to