in Linux using "screen" command produces "segmentation violation" when trying to run filepro.

Bill Campbell bill at celestial.com
Fri Mar 18 16:34:43 PDT 2016


On Fri, Mar 18, 2016, tony via Filepro-list wrote:
> hi experts
> i am trying to use "screen" command in linux. works great except for  
> filepro which gives a  segmentation violation.
> env returns a TERMCAP listing and no variable for TERM.
> i tried TERM linux; export TERM, but the segmentation violation continues.
>
> any suggestions on how to fix it.

I've put a wrapper around the FilePro 'p' command that
manipulates the TERM environment variable.  Something like this:

#!/bin/bash
PFPROG=/home/appl
PFDATA=/home
PFDIR=/appl
PFDSK=/home/appl
PFMENU=/home/appl/fp/menus
PFGLOB=/home/appl/fp/lib/edits
PFCONFIG="/home/appl/fp/lib/config"
TERMCAP="/home/appl/fp/termcap"
TERMCAP="/csoft/etc/fptermcap"
case "$TERM" in
    xterm|xterm-color) TERM=xterm-linux; export TERM;;
    SCO) TERM=scoansi; export TERM;;
esac
export PFPROG PFDATA PFDIR PFDSK PFMENU PFGLOB PFCONFIG TERMCAP
/home/appl/fp/p "$@"

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

The aim of public information is not to spread enlightenment at
all. It is simply to reduce as many individuals as possible to
the same level, to a breed of standard citizenry, to put down
dissent and originality. -- H. L. Mencken


More information about the Filepro-list mailing list