• Golded+ on 64b Linux

    From Jeff Smith@1:282/1031 to All on Fri Jan 6 01:35:04 2017
    Hello There,

    I decided to install Golded+ (gpl115-20161221) on a 64 bit Ubuntu box. The compile seems to complete ok. Except for a BUNCH of warnings during the compile. I used the dist-gpl.sh script to perform the compile. The ZIP archive (gpl115-20161221.zip) is created as expected. After the Golded file extraction is completed and I go to run/load Golded+.

    When I run the golded (./golded) script to load gedlnx I get the following response:

    "./golded: 31: [: -a: unexpected operator"

    Line #31 of the golded script is:

    "if [ -n $SCREEN -a -s $SCREENRC_GOLDED ]; then"

    Any thoughts as to what might be causing this behavior?

    If I try to load gedlnx without using the script. Nothing happens and I am returned to the terminal command prompt.



    Jeff

    --- BBBS/Li6 v4.10 Toy-3
    * Origin: The OuijaBoard - Anoka, MN (1:282/1031)
  • From Wilfred van Velzen@2:280/464 to Jeff Smith on Fri Jan 6 08:54:58 2017
    Hi Jeff,

    On 2017-01-06 01:35:04, you wrote to All:

    When I run the golded (./golded) script to load gedlnx I get the
    following
    response:

    "./golded: 31: [: -a: unexpected operator"

    Line #31 of the golded script is:

    "if [ -n $SCREEN -a -s $SCREENRC_GOLDED ]; then"

    Change this to:

    if [ -n "$SCREEN" -a -s "$SCREENRC_GOLDED" ]; then

    And try again...

    If I try to load gedlnx without using the script. Nothing happens and
    I am returned to the terminal command prompt.

    Is a golded.log file created? Does it have any clues?

    Bye, Wilfred.

    --- FMail-W32 1.73.11.61-B20170103
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Jeff Smith on Fri Jan 6 09:05:14 2017
    Hi Jeff,

    On 2017-01-06 08:54:59, I wrote to you:

    "if [ -n $SCREEN -a -s $SCREENRC_GOLDED ]; then"

    Change this to:

    if [ -n "$SCREEN" -a -s "$SCREENRC_GOLDED" ]; then

    And try again...

    And if this doesn't work. What is the output of the command: "ls -l `which sh`" Maybe your shells '[' / test command doesn't support the '-a' option?

    Bye, Wilfred.

    --- FMail-W32 1.73.11.61-B20170103
    * Origin: FMail development HQ (2:280/464)
  • From Jeff Smith@1:282/1031 to Wilfred Van Velzen on Fri Jan 6 05:17:22 2017
    Hello Wilfred,


    When I run the golded (./golded) script to load gedlnx I get the
    following response:
    "./golded: 31: [: -a: unexpected operator"

    Line #31 of the golded script is:
    "if [ -n $SCREEN -a -s $SCREENRC_GOLDED ]; then"

    Change this to:
    if [ -n "$SCREEN" -a -s "$SCREENRC_GOLDED" ]; then
    And try again...

    When I run the golded script with the quotes placed as indicated I don't get the "unexpected operator" response. But... gedlnx doesn't load either. I am immediately returned to the terminal prompt.

    If I try to load gedlnx without using the script. Nothing happens and
    I am returned to the terminal command prompt.

    Is a golded.log file created? Does it have any clues?

    Now, If I load gedlnx directly (Without the golded script) golded loads and I am able to create a test netmail (No echomail areas defined yet). An empty golded.log file is created. I currently have a rather simple config file in place as this is both a fresh install of Linux (Ubuntu) and Golded on this spare machine. I also have a fresh install of SBBS also installed.

    It should be noted that my prior attempt at installing/compiling Golded+ was from the source code file gpsrc-115-20161221.tgz. After compiling loading gedlnx did nothing. This time I compiled Golded+ using the gpl115-20161221.zip file created by the running of the dist-gpl.sh script. Now, Golded+ actually loads when gedlnx is run directly. In neither case does the running of the golded script cause Golded (gedlnx) to load.

    I've gotten used to using Golded (Win32) but I prefer running Linux rather than Windows. <g>


    Jeff



    --- BBBS/Li6 v4.10 Toy-3
    * Origin: The OuijaBoard - Anoka, MN (1:282/1031)
  • From Richard Menedetter@2:310/31 to Jeff Smith on Fri Jan 6 12:44:38 2017
    Hi Jeff!

    06 Jan 2017 05:17, from Jeff Smith -> Wilfred Van Velzen:

    "./golded: 31: [: -a: unexpected operator"

    Simply start the compiled binary with -Cconfig.cfg like this:

    gedlnx -C/usr/local/etc/golded+/golded.cfg

    CU, Ricsi

    --- GoldED+/LNX
    * Origin: Time is the only critic without ambition. -Steinbeck (2:310/31)
  • From Wilfred van Velzen@2:280/464.112 to Jeff Smith on Fri Jan 6 14:41:48 2017
    Hi Jeff,

    On 06 Jan 17 05:17, Jeff Smith wrote to Wilfred Van Velzen:
    about: "Re: Golded+ on 64b Linux":

    Change this to:
    if [ -n "$SCREEN" -a -s "$SCREENRC_GOLDED" ]; then
    And try again...

    When I run the golded script with the quotes placed as indicated I don't get the "unexpected operator" response. But... gedlnx doesn't load either. I am immediately returned to the terminal prompt.

    I had a closer look at the script. And it's strange you even get that far into the script. When you don't have a Russion locale installed you shouldn't get past line 15 of the script. And that just executes the gedlnx...


    Wilfred.

    --- FMail-W32 1.73.10.56-B20161219
    * Origin: point@work (2:280/464.112)
  • From Rick Christian@1:135/377 to Jeff Smith on Fri Jan 6 09:20:00 2017

    Hello Jeff!

    06 Jan 17 01:35, you wrote to all:

    Any thoughts as to what might be causing this behavior?

    If I try to load gedlnx without using the script. Nothing happens and
    I am returned to the terminal command prompt.


    I don't use that script or anything to run...

    But the behavior you describe matches what happens when you don't have a golded.cfg created or if you do golded can't find it

    I use:

    ./golded @S A -C~/fido/golded/goldedMSG.cfg

    I compile using the standard make files included, sudo make, and then I move the created binaries to a ~/fido/golded/bin/ directory and run it from there.


    I create a BASH alias to run this, so all I do at the CLI is golded... and off it goes...

    Do you have a defined golded.cfg defined? Location?

    At a minimum this needs:

    USERNAME Rick Christian
    ADDRESS 1:135/377
    AREADEF NETMAIL "Netmail" 0 Net Opus /home/xx/fido/netmail/

    Also take not that if you use VERY WIDE terminals golded will CRASH seg fault and/or not run as well.

    A bug report offers a fix for that, at least for reading, which I've added to my versions, but the internal editor still seg faults on wide terminals.

    The screenfuls of warnings, while "techincally" not a problem for now.. portend
    to issues later when the "deprecated" methods used are removed from gcc.

    Rick


    ~... Ding Dong the Witch is DEAD! I Made America Great Again! President Trump! --- GoldED+/LNX 1.1.5-b20161221
    * Origin: Vina's Talos Moon Base Alpha (1:135/377)
  • From Jeff Smith@1:282/1031 to Wilfred Van Velzen on Fri Jan 6 13:48:46 2017
    Hello Wilfred,

    about: "Re: Golded+ on 64b Linux":

    Change this to:
    if [ -n "$SCREEN" -a -s "$SCREENRC_GOLDED" ]; then
    And try again...

    When I run the golded script with the quotes placed as indicated I don't
    get the "unexpected operator" response. But... gedlnx doesn't load either. >> I am immediately returned to the terminal prompt.

    I had a closer look at the script. And it's strange you even get that far into
    the script. When you don't have a Russion locale installed you shouldn't get past line 15 of the script. And that just executes the gedlnx...

    The implied suggestion from the Golded scripts was to use the golded script to launch Golded. But upon examining the script file it became evident that it dealt with ".ru" Russian locales. Hence my decision to try to launch Golded manually. After first downloading the Golded+ source I had setup a basic golded.cfg file to use in running Golded. At first using the source obtained from the gpsrc-115-20161221.tgz. Running ./gedlnx (With golded.cfg in the same directory as gedlnx) left me right back at the command prompt.

    After obtaining the golded+ source from the gpl115-20161221.zip which was created from running the dist-gpl.sh script and compiling Golded+. Loading gedlnx (Again with golded.cfg in the same directory as gedlnx caused Golded+ to
    load ok. This is without specifying a golded config file on the commandline.

    I will write a small bash file to load Golded in the future and also complicate
    the config file more to meet my particular needs. <g>


    Jeff


    --- BBBS/Li6 v4.10 Toy-3
    * Origin: The OuijaBoard - Anoka, MN (1:282/1031)
  • From Jeff Smith@1:282/1031 to Richard Menedetter on Fri Jan 6 13:54:10 2017
    Hello Richard,

    06 Jan 2017 05:17, from Jeff Smith -> Wilfred Van Velzen:

    "./golded: 31: [: -a: unexpected operator"

    Simply start the compiled binary with -Cconfig.cfg like this:
    gedlnx -C/usr/local/etc/golded+/golded.cfg

    Initially Golded+ seemed to load ok by just running ./gedlnx. That is with golded.cfg residing in the same directory as gedlnx. But I totally understand specifying a particular config file on the commandline.


    Jeff





    --- BBBS/Li6 v4.10 Toy-3
    * Origin: The OuijaBoard - Anoka, MN (1:282/1031)
  • From mark lewis@1:3634/12.73 to Jeff Smith on Sat Jan 7 11:05:34 2017

    On 2017 Jan 06 13:48:46, you wrote to Wilfred Van Velzen:

    I had a closer look at the script. And it's strange you even get that
    far into the script. When you don't have a Russion locale installed you
    shouldn't get past line 15 of the script. And that just executes the
    gedlnx...

    The implied suggestion from the Golded scripts was to use the golded script to launch Golded. But upon examining the script file it became evident that it dealt with ".ru" Russian locales.

    i just edited the script ;)


    ==== Begin "golded" ====
    #!/bin/sh

    ## echo -e "\033%@" && echo -e "\033(U"

    BINDIR=~/fido/bin
    ETCDIR=~/fido/etc
    GEDLNX=$BINDIR/gedlnx
    if [ ! -x $GEDLNX ]; then
    echo $GEDLNX is not avaiabled, sorry
    exit 1
    fi
    CMD="$GEDLNX $*"

    echo ""
    echo "GEDLNX=$GEDLNX"
    echo "CMD=$CMD"
    echo ""

    $CMD

    for JAMFILE in [ $ETCDIR/netmail.jam $ETCDIR/echomail.jam ]; do
    if [ -f $JAMFILE ] ; then
    rm $JAMFILE
    fi
    done

    TOSSLOG=$ETCDIR/echotoss.log
    if [ -f $TOSSLOG ]; then
    $BINDIR/hpt scan
    fi

    ## reset
    ==== End "golded" ====

    plus i want to see the CP437 stuff as close to correct as possible so i use a wrapper tool and execute it like this


    ~/cp437/cp437 ~/fido/bin/golded -c~/fido/etc/golded.conf


    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... In the future, all restaurants WILL NOT BE Taco Bell.
    ---
    * Origin: (1:3634/12.73)