Re: “When typing Hebrew or Arabic text on a 3270, does tne cursor move 
right-to-left?”, I can testify that yes it does.  Quite remarkable when you 
first see it, but then for numeric fields it moves left to right, just like 
non-Arabic/Hebrew screens.  And while typing non-numeric characters, the 
characters you already typed can change as you type other characters, according 
to the language rules.



An ISV I worked for in the early 1980’s had Aramco as a client and supported 
Arabic 3270 screens.



WRT regex for R-to-L language handedness, I believe that UTF-8 character 
storage is left-to-right regardless of the external presentation order, thus so 
as long as the regex algorithm handles UTF-8 it should Just Work (tm).



Peter

From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Paul Gilmartin
Sent: Thursday, April 18, 2024 10:43 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: grep ascii files...


On Thu, 18 Apr 2024 08:24:02 -0500, Lionel B. Dyck wrote:



>Gil - no need to insult.

>

Understood.  I felt I that I was lighthearted, in the spirit of Kirk's

suggestion, after I checked that he did append a smiley to his

arrant pedantry.



More seriously, suppose the pattern isn't EBCDIC?  I'm

imagining Hebrew in UTF-8.  How do regular expessions

play with R-to-L text?



When typing Hebrew or Arabic text on a 3270, does tne

cursor move right-to-left?





>-----Original Message-----

>From: Paul Gilmartin

>Sent: Thursday, April 18, 2024 8:22 AM

>

>On Thu, 18 Apr 2024 07:36:15 -0500, Kirk Wolf wrote:

>

>>Behold the power of Unix pipelines:

>>

>>$ iconv -f ISO8859-1 -t IBM-1047  myasciifile | grep  MATCH

>>

>>iconv is not "first converting" the the whole file to EBCDIC since both

>>iconv and grep run at the same time :-)

>>

>OK, smartass.  How about "grep -r".



--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to