Hi Larry, I understand the generated files did not work, I need to find another cPack generator for Arch, if there is one. Just like you I am a complete noob on Arch/Manjaro so I am on a steep learning curve. In the meantime the AUR will be the wrkaround. Just for your information Manjaro passed ALL unit tests for ooRexx first time it ran, which I think is a good sign.
Please check both the files and the required installation command(s). I tried several permutations and received various error messages I quickly spun-up the system so I can't easily paste the various trials and errors. It seems like the best method to support arch linux is through AUR, which seems to download and compile source as part of the install process. As stated at the beginning of this thread, I am currently a complete arch linux novice.
I downloaded the files. Please give me a few days and I will spin up another manjaro kvm guest and I can give it a try.
This probably arrives a bit late but I have built ooRexx from source and checked that it works on Manjaro. It would be interesting to see if you could install one of these files using Pacman -Syu <fullpathtofile.ext></fullpathtofile.ext>
Success!!! [larry@manjaro1 ~]$ which rexx /usr/bin/rexx [larry@manjaro1 ~]$ rexx -v Open Object Rexx Version 5.1.0 r12916 Build date: Oct 29 2024 Addressing mode: 64 Copyright (c) 1995, 2004 IBM Corporation. All rights reserved. Copyright (c) 2005-2024 Rexx Language Association. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution or at https://www.oorexx.org/license.html I had to...
I am a complete arch linux noob. I am running manjaro. sudo pacman -S oorexx-beta error: target not found: oorexx-beta I also have been unsuccessful thus far building from source.
Hi Larry, ooRexx 5.1 is in the aur (arch user repository) as "oorexx-beta". So if you use your aur-helper in the terminal (e.g. Yay) you can install it, for instance with the command "yay -S oorexx-beta". Hope that helps?!
Hi Larry, I do not think the tar file will work, it contains the source code, not an installer. We do not have an installer for Arch Linux but I have installed Manjaro and will see if I can bild ooRexx on that machine. It will take some time, I am a newbie on Manjaro so it will involve some trial&error. I will let you know how it went. It should be possible to build ooRexx from source if follow the steps for Linux in the WIKI as proposed by Ruurd.
Larry, The tar file should work on Arch. https://sourceforge.net/projects/oorexx/files/oorexx/5.1.0beta/oorexx-5.1.0-12916.tar.gz
Go to sourceforge.net, search for oorexx , go to the wike tab an you'll find how to do it. I just did it this week for my Android smart phone and it worked no problems. 27 okt 2024 19:12:27 Larry Schacher larry-s@users.sourceforge.net: Can someone provide id10t instructions for installing ooRexx (beta 5.1) on Arch Linux (manjaro)? I am just trying Arch for the first time and am used to .rpm and .deb. Thank you in advance! Larry Instructions for installing ooRexx on Arch Linux[https://sourceforge.net/p/oorexx/discussion/408478/thread/48d7f9c1eb/?limit=25#a19f]...
Sorry, I misread your post, mine was for an arm (aarch) install. Scusi mi. 27 okt 2024 19:12:27 Larry Schacher larry-s@users.sourceforge.net: Can someone provide id10t instructions for installing ooRexx (beta 5.1) on Arch Linux (manjaro)? I am just trying Arch for the first time and am used to .rpm and .deb. Thank you in advance! Larry Instructions for installing ooRexx on Arch Linux[https://sourceforge.net/p/oorexx/discussion/408478/thread/48d7f9c1eb/?limit=25#a19f] Sent from sourceforge.net because...
Can someone provide id10t instructions for installing ooRexx (beta 5.1) on Arch Linux (manjaro)? I am just trying Arch for the first time and am used to .rpm and .deb. Thank you in advance! Larry
Hello Erich! Based on your hint about Beta UTF-8 I prepared an "internationalisation update" of my Nut CPU firmware interpreter which is published now. Instead of a "central transliteration service" I implemented several specialised for display, printer, tree-view of wand paper keyboard, etc. Observations: * counting characters fails, instead count bytes in ASCII representation, * rexxc lacks an 'addressing mode' option, thus to prepare sourceless executable files for publishing two PCs are needed,...
You are very welcome! Wow, what you are doing sounds really very, very impressive, kudos!
Thank you. I use this as a part in a huge script that can take care of x variations of input maps as pdf-files and adjust the contents (lines, clip background, remove obstructing black images and add legends, map overviews, county overview map and text, headings etc.) while this* is a part of building/adding the legend. *One unique and specific variation
Hi Jan-Erik, thank you for the running snippet (it used a single dimensioned array instead of a double dimensioned array). Took me a while to get acquainted with AOO/LO PolyPolygons. Added some - hopefully - helpful links as comments. Also I tried to simplify the coding a little bit. However, I also added some code to demonstrate different debugging possibilities, especially uno.getDefinition(), the method and the routine. HTH, ---rony /* --> https://sourceforge.net/p/oorexx/discussion/408477/thread/cc913e54d3/...
Hi, I have difficulties to actually grasp how to do what I need/want with the info in the reference card. So here's a stand alone script that you can run without parameters and it will create a shape in the top left corner with 0 points in it, but it's not what I want. /* Script to create a Triangle in Apache OpenOffice Draw with ooRexx */ xContext = UNO.connect() -- connect to server and retrieve the XContext object xServiceManager = xContext~getServiceManager xDesktop = UNO.createDesktop( xContext...
Hi, I have difficulties to actually grasp how to do what I need/want with the info in the reference card. So here's a stand alone script that you can run without parameters and it will create a shape in the top left corner with 0 points in it, but it's not what I want. /* Script to create a Triangle in Apache OpenOffice Draw with ooRexx */ xContext = UNO.connect() -- connect to server and retrieve the XContext object xServiceManager = xContext~getServiceManager xDesktop = UNO.createDesktop( xContext...
Hi, I have difficulties to actually grasp how to do what I need/want with the info in the reference card. So here's a stand alone script that you can run without parameters and it will create a shape in the top left corner with 0 points in it, but it's not what I want. Change it to a circle and it /* Script to create a Triangle in Apache OpenOffice Draw with ooRexx */ xContext = UNO.connect() -- connect to server and retrieve the XContext object xServiceManager = xContext~getServiceManager xDesktop...
Jan-Erik, it certainly would help if you could supply a short, stand-alone example to become able to easily study the problem. Currently the overhead to research everything needed to become able to insert your snippet to study it is overwhelming, unfortunately. Maybe a few hints that might help: * in the installation directory of BSF4ooRexx (e.g. C:\Program Files\BSF4ooRexx850) you find two pdf-files containing reference cards, "refcardBSF4ooRexx.pdf" for BSF4ooRexx, and " refcardOOo.pdf" for OpenOffice/LibreOffice;...
Hello, I have an urgent problem... to create a triangle in AOO. I've got a lot of code to allow Draw to open a pdf, adjust, read and manipulate shapes of various kinds and add rectangles, lines and circles. To create a Triangle one need to create a PolyPolygonShape and add an array containing an array of points that describe how it look. CALL UNO.loadClass "com.sun.star.awt.Point" -- How can one btw detect if this has been called if already called in a previous run?! rTriangle = .Array~Of( oo~createArray(...
EXECIO * DISKR is not suited to read binary data as it reads "lines" terminated by CR or CR/LF. So even without the NUL issue this bug report addresses, you would be unable to correctly piece together your binary data by concatenating all read "lines" as they might have been separated by either CR or CR/LF. You can read your binary data with charIn in a single call by specifiying how many bytes you want to read, or by opening the Stream with the BINARY option and read data with lineIn, like this:...
The encrypted magazine is from a series of DVDs published by National Geographic in 2009 or so. The software to read the files no longer installs. Hence the need for decryption.
Reading in a large file (249k), ooRexx only got 123K. It stopped when it reached a x00. Not yet sure where it restarted. I thought execio would be faster than 249k charins. but execio doesn't work. The 249k file is an encrypted page from a National Geographic magazine issue. Decryption is very easy, but very slow -- 249k charins, 249k charouts. Where is the source code? It cannot be that difficult to fix.
Hello Jeremy! Sorry to reply so long after you posted... Never mind, expedient solutions are welcome at any time :) Instead of [...] display the bmp. That approach works for several simulations with focus on a surface as close as possible to the role model. I've considered to do what you suggest, but for now I follow Erich's advice, and I plan to publish an "internationalisation update" of my toy within a month or so. Best, M.
On Sun, 15 Sep 2024, at 17:17, m-stgt wrote: This subject leads to another question, what I do in ooRexx here on my PC looks exactly like I programmed it. But if somebody runs it on his Windows PC in Brazil, or U.S.A, or maybe Kazakhstan -- hello Elena! :) -- will a "§" show as paragraph sign, a "^" as circumflex accent, a multiply dot as such? What must I do to ensure the same look of display no matter of a particular locale? Sorry to reply so long after you posted... Instead of expecting the user's...
Error 19.923 sometimes inaccurate
Thanks. I guess I will keep using my screen scraper that runs overnight and saves a year of entries. Just thought maybe someone might have a better way.
Hi Garry, I made a start on this some years ago. Google calendars can feed an ical. I produced a class that provided me a set of events from an ICAL file. I never completed the work as I had control over the calendar and was able to parse out the event types and recursions I wanted. However, if that was the way that you wanted to go you could get some mileage from my code. The great flexibility of the ICAL format makes it quite difficult to parse out all events, but my ical event class and the ical...
Does anyone have Rexx code to read a google calendar?
Hello Erich! I do have to retract my assertion edit control displays UTF-8 flawlessly, tree view does not. Sorry if I forwarded my confusion. Meanwhile I may precise: ooDialog static text displays on an UTF-8 enabled PC glyphs like Sigma or "lazy T" no matter if using "Courier New" or "IBM Plex Mono Medm" as font. In contrast, in ooDialog tree view this holds true only when using "Courier New". With "IBM Plex Mono Medm" Sigma will show only if prepended with a right-pointing arrow. To show a Sigma...
Hello Erich! can you provide a small test case that shows the issue? I try to boil down the issue as much as possible, sorry if my explanation is too lengthy. To show what I do you may take a look here Within the branch node "GTOs and XEQs for CAT 1" will list alpha labels, which may use characters not available in CP 1252. Up to now I replaced Sigma Σ by paragraph §, what looked funny but worked. Now with UTF-8 Sigma shows in the Display but not in a. m. tree view. With UTF-8 now a substitution...
Next issue: To append text to a multiline edit control I have to place the 'caret' past the last character. Up to now I did so with curva = pastr~lines curva = pastr~lineIndex(curva) + pastr~lineLength(curva) curva = pastr~select(curva, curva) /* no select, set caret only */ UTF-8 enabled this fails, I guess a little discrepancy in counting chars and bytes. A curva *= 3 before select helps in my case (with mainly single-byte characters). My conclusion: a PC with Beta UTF-8 enabled turns ooRexx/ooDialog...
Some more bugs: rexx -e "If 1 Then; X: Nop" correctly reports Labels are not allowed within an IF block; found "X". but rexx -e "If 1 Then X: Nop" erroneously produces Labels are not allowed within an IF block; found "IF". There is an implied semicolon after the THEN keyword, and therefore the result of both runs should be identical. Besides, the label name is not "IF".
The same happens with rexx -e "Select; When 1; X: Then Nop; End" In this case, a 18.2 is produced instead of a 47.4.
Similarly, If 1 X: Then Nop produces a 18.1, IF instruction on line 1 requires matching THEN clause. when there is clearly a THEN clause. What is invalid (using the current definition of the language) is the label , "X:". A 47.3, Labels are not allowed within an IF block; found "X". should be produced instead.
Thanks for fixing https://sourceforge.net/p/oorexx/bugs/1945/#cb5f I've found a new bug in the current code. rexx -e "If 1 Then Nop; X: Else Nop" produces Error 47.3: Labels are not allowed within an IF block; found "ELSE". We should have "X" instead of "ELSE". Please also keep in mind that you have not fixed or commented upon https://sourceforge.net/p/oorexx/bugs/1945/#e174
Hi Mike, edit control displays UTF-8 flawlessly, tree view does not can you provide a small test case that shows the issue? I'm taken all codepoints above '7F'x Can you explain this in more detail? Did you see my remark regarding naked above-'7F'x bytes vs. valid UTF-8?
Halfway success only. While ooDialog's edit control displays UTF-8 flawlessly, tree view does not. In addition I'm taken all codepoints above '7F'x within tree view. Nevertheless I'll keep UTF-8 enabled me think. /M.
Success! With your hint to Beta UTF-8 it's now the very first time my "Nut CPU firmware interpreter" may display Σ (Sigma) like the role model HP41. Because I simulate its segmented display by ordinary characters I substituted the Sigma by §, what is a stopgap -- what was a stopgap :) Thank you Erich! /M.
Hallo Erich! TY for the additional information. No sure what you mean by dual. Sorry for ambiguities. Dual-use source in the sense of same REXX program usable on Beta UTF-8 enabled Windows and also usable on not Beta UTF-8 enabled Windows. I've identified already a show-stopper: out = translate(in, ditrl) with ditrl a simple string of characters. After shifting to Beta UTF-8 the editor now files ooRexx programs UTF-8 encoded what results in ditrl being interspersed with "double-byte characters" --...
Hi Mike, it now stops at '7F'x, before it showed the complete character set The "required blank" 'A0'x is not available any more UTF-8 means valid UTF-8. A random single byte above '7F'x is illegal UTF-8. For more details check https://en.wikipedia.org/wiki/UTF-8 shows a trouser button I assume that this is just a somewhat badly rendered smiley in this font. Not every available font may be able to render all 100+K Unicode glyphs. You could try using a different font. will all user of my program have...
Same procedure as before reveals dramatic changes with Beta UTF-8 enabled, see attached screen copy. The "required blank" 'A0'x is not available any more :( Note: this is output shown in an ooDialog multiline edit control, not within a Windows cmd window. Sending 'CEA3'x to the ooDialog edit control shows as Greek capital letter sigma, thus UTF-8 encoded data seems to work. So still some hope left.
After enabling the Beta UTF-8 setting (and a reboot) there are several changes to observe: chcp in a cmd window shows "Aktive Codepage: 65001." Before it was 850. Then: C:\PRGM\rexx\ooNutFIP>pipe "xrange 20 ff!fblock 16!term" !"#$%&'()*+,-./ 0123456789:;<=>? @ABCDEFGHIJKLMNO PQRSTUVWXYZ[\]^_ `abcdefghijklmno pqrstuvwxyz{|}~ Well, it's OS/2 Pipelines, version 1.00.56, it now stops at '7F'x, before it showed the complete character set. Then, the text editor I use saves files now UTF-8 encoded. Seems...
Hello Erich! TY for investigating in this subject, also for ticket #1984, you found many more issues than I could ever see. In a different country your screenshot - I assume, from a 1252 "ANSI" codepage, the Windows default in your region - could very well look differently. Maybe I was not clear enough, the shown characterset is just xrange('20'x, 'FF'x), interspersed with .endofline every 16th character, sent to a multiline edit control created with ooDialog -- no codepage set from me. What the...
Trace problem when calling other program with I/O redirection
Enabling the Beta UTF-8 setting works for me (reboot required, remember, this is still Windows ...): https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page With this set, the actual OEM, ACP, CurrentCodepage and CurrentOutputCodepage are all 65001 = UTF-8 - exactly what's needed.. running call RxMessageBox 'I will display 😜', 'Sürprise' displays like attached PNG. This looks very nice to me. As always, your mileage may vary ...
When installing ooRexx on a PC, is the particular locale of that machine respected somehow? Locale typically means language - ooRexx doesn't care about that. Or would -- since ooDialog framework is compiled in ANSI only mode -- set text from '20'x to 'FF'x of an edit control look like the one attached? In a different country your screenshot - I assume, from a 1252 "ANSI" codepage, the Windows default in your region - could very well look differently. This is because in this other country Windows...
Unix fixes for rxapis issues [bugs:#1981] RXAPI Improper/?Missing Access Control and [bugs:#1982] and [bugs:#1983]
No labels should be allowed within DO/LOOP, IF, SELECT
additional fixes committed withrevision [r12915]
SysTo/FromUnicode issues
additional code fixes for [bugs:#1945] No labels should be allowed within DO/LOOP, IF, SELECT
When installing ooRexx on a PC, is the particular locale of that machine respected somehow? Or would -- since ooDialog framework is compiled in ANSI only mode -- set text from '20'x to 'FF'x of an edit control look like the one attached? Completely independent from whatsoever locale?
SysToUnicode seems to be very tolerant about the codepage specification, no matter what I set it indicates No errors. Or my laptop has installed cp "XXX" and "WTF16".
In section 9.23 useUnicode of ooDialog Reference I read Currently, the ooDialog framework is compiled in ANSI only mode. Is there a remote chance this "currently" ends in near future?
Hello Erich! TY for this (almost) working example (only one comma was missing within IF). Also TY for pointing me to the changed address (just "" what I use normaly on its own does not the trick it seems). You can't. Not every Windows codepage can display every glyph, Well, the well known flaw of codepages. But maybe I'm lucky since in my case it's only about four characters, .ne. what is mostly shown as = overtyped by / which I replace by #, the paragraph §, the up arrow which I replace by ^, and...
Hi René! You might have a look into what emacs does to mostly get this right. But Rony is right - even ooRexx cannot guess these things. I still strongly suggest to use Josep Maria's Unicode package instead of re-inventing the wheel. There are two more points to consider, i) when I publish a program I can not advice to install an unfinished supplement. Similar problem with ooRexx 5.oo which obviously is not updated although buggy, alas 5.1 is still beta. (A 5.0.1 would be nice me think.) ii) about...
Hello Rony! In general there are no BOMs for text files A quick look for determination of encoding unveiled, no known method is 100% correct. That is why I only take BOMs as tag, all else remains users' task. This "solution" is close to the approach suggested by P.O. Therefore one must know the encoding that was used when a text file was created in order to be able to correctly process it. Text editor's offer -- at least the one I use for programming -- with save as... besides the encoding also the...
is there a chance to capture the output of chcp? Yes. You could update the CP class with something like this: ::method activate class expose cpActive address "" "chcp" with output stem line. if rc = 0, line.0 = 1, line.1~words > 0, line.1~word(line.1~words)~dataType("whole") then cpActive = line.1~word(line.1~words) else cpActive = "ACP" ::method fromUTF8 class expose cpActive use strict arg string, cpOut = (cpActive) return self~convert(string, "UTF8", cpOut) What must I do to ensure the same look...
removing docbuild test from sandbox/po
aligning docs test with trunk for sandbox/po