Share

Rexx/Wrapper

Code

Programming Languages: Rexx, C

License: GNU General Public License (GPL)

Repositories

browse code, statistics, last commit on 2001-07-08 cvs -d:pserver:anonymous@rexxwrapper.cvs.sourceforge.net:/cvsroot/rexxwrapper login

cvs -z3 -d:pserver:anonymous@rexxwrapper.cvs.sourceforge.net:/cvsroot/rexxwrapper co -P modulename

Show:

What's happening?

  • Comment: windows say/lineout adds extra '0d'x to output

    Update: I thought I was on to something, working the RXSIOSAY portion of the code - nope. Then I googled the problem and found people suggesting opening stdout as a binary file - again, nope :-(.

    2009-05-05 14:39:25 UTC by cniggeler

  • windows say/lineout adds extra '0d'x to output

    Consider this simple test case entered into test.rexx: say 1 say 2 say 3 say 4 Then from a command line, type rexx test > out1.txt out1 is just as expected, the numbers 1-4, one per line. However, if you take that file and Rexxwrap it: rexx rexxwrap.cmd and use just the defaults (no encryption etc.) to get test.exe. Then when you run test.exe > out2.txt and run a hex editor on...

    2009-05-01 15:01:16 UTC by cniggeler

  • Comment: Error Linking (program name)

    I had a 2004 version and an old mingw compiler I had used before, they worked. Bill.

    2009-04-24 21:00:42 UTC by nobody

  • C Compiler question

    First, I was wondering if this forum is even being monitored... if it is, then I had a C question. (I am not a C programmer, just someone playing with rexx after a lot of years away.) I'm using a newish dual core Dell running WinXP Pro. I installed the latest versions of Rexx/Wrapper, oorexx, regina and lcc-w32 since Rexx/Wrapper wouldn't work with my installs of mingw. I used the sample...

    2009-04-24 18:16:23 UTC by terryowen4sf

  • Comment: Error Linking (program name)

    I did the myrexx.def and dlltool as described in the rexxwrap -h for MinGW and it did produce a libmyrexx.a file I copied it in the Regina lib and include directory it is in the rexxwrapper source directory and I placed it in the c:\mingw\lib directory with its other .a files. Still no luck and the same error message.

    2009-04-16 23:15:51 UTC by nobody

  • Error Linking (program name)

    Hi All ; I am having a problem with rexxwrap.cmd I type in the requests from rexx rexxwrap.cmd msd2asc2.rex . The program compiles then it starts linking. I receive an error message msd2asc2.o:msd2asc2.c:(.text+0x6b1): undefined reference to `RexxStart@36' collect2:ld returned 1 exit status error linking msd2asc2 I am running Regina 3.4 windows 32, Mingw 5.1.4 and rexxwrapper 2.4. Thanks...

    2009-04-16 22:19:03 UTC by nobody

  • Comment: PARSE SOURCE not working under ANY Unix; WORKAROUND INSIDE

    The same stated (mis)behavior occurs in all the *nixes I've ported to: Irix 6.5, Solaris 8, HP-UX 11.1, and AIX 5.2. Only Linux and Windows(!) seem to behave like they're supposed to. FULL WORKAROUND Caveat - this workaround assumes you're inspecting "whoami" and the results of "ps" in an application started from the command line - it is not a daemon. I don't know what happens if you start...

    2008-03-03 23:09:24 UTC by cniggeler

  • Comment: PARSE SOURCE not working under ANY Unix; WORKAROUND INSIDE

    WORKAROUND - Assuming the program is named "testparse": if uname('s') = "IRIX" then do ls. = "" whoami = '' prod="testparse" address system 'ps -ef | grep "'||prod'||" | grep -v grep' with output stem ls. do i=1 while ls.i "" do j=1 to words(ls.i) if right(word(ls.i, j), length(prod)) = prod then do whoami = word(ls.i, j)

    2008-02-15 16:28:54 UTC by cniggeler

  • Comment: PARSE SOURCE not working under ANY Unix; WORKAROUND INSIDE

    Hi Mark, Thanks for the prompt reply. At least in Irix 6.5, the situation is much worse than that. For the RexxWrapped program mentioned before, the results are almost always only the name without path or extension! So the commands ./testparse cd .. build/testparse ALWAYS return UNIX COMMAND testparse The one exception is if the fully qualified pathname is given...

    2008-02-15 16:23:19 UTC by cniggeler

  • Comment: PARSE SOURCE not working under ANY Unix; WORKAROUND INSIDE

    Hi Chris, When the executable built by Rexx/Wrapper runs it attempts to find a fully qualified name for the current executable. Under Linux this is achieved by calling readlink( /proc/self/exe ) which will return the fully qualified (ie full path) of the executable that is currently running. Even on Linux it will only return /usr/people/chris/build/testparse (no .rexx). See getargv0.c in...

    2008-02-15 06:44:09 UTC by rexx

Our Numbers