LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-13-2001, 02:14 PM   #1
juglugs
LQ Newbie
 
Registered: Sep 2001
Location: UK
Distribution: mandrake and Red Hat
Posts: 20

Rep: Reputation: 0
Redhat 7.1 Ninja required


Could anybody tell what, if anything, is wrong with this script. It simply will not run a file called xoac after setting the path to the required directory ie: \usr\angoss\bin and ensuring it had correct permissions. All i got was file not found or no such directory.

I have had no luck with the software distributors support just simply won't work ?

NB: This script ran fine in older versions of linux - but in RH 5.1 it needed some libraries connecting. Me thinks that the newer versions of Linux are slightly different with the syntax - could this be ?

Cheerz

Juglugs

Here's the script.........


#!/bin/sh
# SID "@(#)xangoss.sh 3.2 - 95/07/06"
if [ $# = 0 ]; then
xoac&
exit 0
fi

x=`basename $0`
if [ X"$1" = X-x ] ; then
cat <<!
$x [-x] [s or w or d or c] [-a<command>] [-d<dir>] [-oa<size>] [-oe]
[-od<file>] [-oi] [-om<menu>] [-os<num>] [-ot<size>]
[-p<file>] [-RAD<path>]

Starts SmartWare PLUS in graphics mode (X11).

-x Display this explanation
s Start Spreadsheet (must be first argument)
w Start Word Processor (must be first argument)
d Start Data Base (must be first argument)
c Start Communications (must be first argument)
-a<command> Run a command ("-afile load \"mydoc\"")
-d<dir> Data directory (-d/usr/mydir)
-oa<size> Value stack size (-oa1000)
-oe Default project execution mode = in-memory
-od<file> Special start up screen (-odmyfile)
-oi Suppress start up screen (-oi)
-om<menu> Optional menu (-ommymenu)
-os<num> Override detection of speech rec. software
-ot<size> String stack size (-ot1000)
-p<file> Run project upon entry (-pstart)
-RAD<path> Home directory of RAD application to start
-pulldown Run with pulldown menus

NOTE: For the above agruements, do not put a space between the flag and
arguements.

X11 Switches

-geometry WxH Change the size (in characters) W=Width, H=Height
-font fontname Change the font to use

!
exit 1
fi

exec xoac $*&


Pengy:

Last edited by juglugs; 11-13-2001 at 02:18 PM.
 
Old 11-13-2001, 03:58 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Try changing that line to:

./xoac&

or alternatively, add /usr/angross/bin to your PATH

Was " \usr\angross\bin " a typo?
 
Old 11-13-2001, 04:10 PM   #3
juglugs
LQ Newbie
 
Registered: Sep 2001
Location: UK
Distribution: mandrake and Red Hat
Posts: 20

Original Poster
Rep: Reputation: 0
Yeah just a typo, ooops, just keeping you on your toes, (too much of the M word).

Anyhow, tried that now all I get is..............nothing - no errors, but no nothing either ?

Cheers

JugLugs
 
Old 11-14-2001, 03:08 AM   #4
juglugs
LQ Newbie
 
Registered: Sep 2001
Location: UK
Distribution: mandrake and Red Hat
Posts: 20

Original Poster
Rep: Reputation: 0
Additional

Tried taking out the if statement also tried replacing xoac with ./xoac and ./xoac &, there is some progress here ie: it now does nothing at all, by which I mean there are no errors returned however nor is the programme running either.

There are instructions that say set your paths and display environment like this:

ANGOSS=/usr/angoss
export ANGOSS

DISPLAY=machine-name:0.0
export DISPLAY

Are these valid - they appeared to be accepted ?

This is old software it's called Angoss Smartware Plus (a cross platform development suite including database, spreadsheet, comms and wordprocessor) - it used to run fine on older versions of RH (5.1 or before) and other linux platforms, but now for some reason it won't run on the newer versions. Could it be a library link or path problem ?

The main errors I get are No such file or directory. But now there are no errors at all, but no programme, even when I reverse the amendments to the file I still get no errors ?

Talk about a bit bemused i've just found this at one of the download site ftp://ftp.angoss.com/pub/smartware/demos/linux/:

BTW, the X version requires X11R6.

I guess this is the release of X11 it needs ?

Please Help

Cheerz

JugLugs
 
Old 11-14-2001, 11:18 PM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Is there a verbose or debug mode for the 'xoac' program?
Is it logging anything in /var/log/messages when you run it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ISV looking to distribute RedHat-7.3, unsure what media is required by GPL JayEssDeeSea Linux - General 1 03-23-2005 06:03 PM
What is minumum memory and processor required for Redhat 9 pls meadensi Linux - Hardware 1 02-09-2005 10:26 AM
Quad-Xeon Mobo required with RedHat 8 support fishsponge Linux - Hardware 0 08-16-2004 08:06 AM
very new to redhat linux ,pls i need directions on howtos required.thanks folabiomonije Linux - Newbie 1 10-23-2003 04:03 AM
Redhat 7.3 and ADSL routing to home network, help required. Danners Linux - Networking 4 11-21-2002 04:18 PM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration