Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #55002 > unrolled thread
| Started by | lehs <skydda.barnen@gmail.com> |
|---|---|
| First post | 2017-02-19 02:52 -0800 |
| Last post | 2017-03-12 00:36 +0000 |
| Articles | 5 on this page of 45 — 12 participants |
Back to article view | Back to comp.lang.forth
Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-19 02:52 -0800
Re: Inconsequent EKEY values in GForth rickman <gnuarm@gmail.com> - 2017-02-21 17:16 -0500
Re: Inconsequent EKEY values in GForth Julian Fondren <julian.fondren@gmail.com> - 2017-02-21 14:26 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-21 23:01 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-21 23:50 -0800
Re: Inconsequent EKEY values in GForth Paul Rubin <no.email@nospam.invalid> - 2017-02-22 00:40 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-22 00:44 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-22 00:48 -0800
Re: Inconsequent EKEY values in GForth Paul Rubin <no.email@nospam.invalid> - 2017-02-22 00:51 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-22 00:54 -0800
Re: Inconsequent EKEY values in GForth minforth@arcor.de - 2017-02-22 02:11 -0800
Re: Inconsequent EKEY values in GForth Paul Rubin <no.email@nospam.invalid> - 2017-02-22 13:46 -0800
Re: Inconsequent EKEY values in GForth rickman <gnuarm@gmail.com> - 2017-02-22 17:04 -0500
Re: Inconsequent EKEY values in GForth minforth@arcor.de - 2017-02-23 04:21 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-23 05:51 -0800
Re: Inconsequent EKEY values in GForth Julian Fondren <ayrnieu@gmail.com> - 2017-02-23 06:02 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-23 06:10 -0800
Re: Inconsequent EKEY values in GForth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-02-23 15:45 +0000
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-23 07:07 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-22 04:25 -0800
Re: Inconsequent EKEY values in GForth albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-02-22 14:22 +0100
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-22 11:16 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-22 11:44 -0800
Re: Inconsequent EKEY values in GForth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-02-23 16:21 +0000
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-24 05:04 -0800
Re: Inconsequent EKEY values in GForth "Elizabeth D. Rather" <erather@forth.com> - 2017-02-24 12:27 -1000
Re: Inconsequent EKEY values in GForth albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-02-25 12:51 +0100
Re: Inconsequent EKEY values in GForth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-02-25 16:37 +0000
Re: Inconsequent EKEY values in GForth "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-03-12 04:20 +0000
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-25 05:14 -0800
Re: Inconsequent EKEY values in GForth rickman <gnuarm@gmail.com> - 2017-02-25 16:24 -0500
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-25 18:48 -0800
Re: Inconsequent EKEY values in GForth rickman <gnuarm@gmail.com> - 2017-02-25 23:41 -0500
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-26 00:48 -0800
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-26 03:13 -0800
Re: Inconsequent EKEY values in GForth rickman <gnuarm@gmail.com> - 2017-02-26 15:27 -0500
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-26 23:39 -0800
Re: Inconsequent EKEY values in GForth peter.m.falth@gmail.com - 2017-02-26 14:42 -0800
Re: Inconsequent EKEY values in GForth rickman <gnuarm@gmail.com> - 2017-02-26 18:20 -0500
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-26 23:43 -0800
Re: Inconsequent EKEY values in GForth albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-02-27 13:03 +0100
Re: Inconsequent EKEY values in GForth lehs <skydda.barnen@gmail.com> - 2017-02-27 04:22 -0800
Re: Inconsequent EKEY values in GForth albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-02-27 13:31 +0100
Re: Inconsequent EKEY values in GForth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-02-23 16:27 +0000
Re: Inconsequent EKEY values in GForth Bernd Paysan <bernd@net2o.de> - 2017-03-12 00:36 +0000
Page 3 of 3 — ← Prev page 1 2 [3]
| From | albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) |
|---|---|
| Date | 2017-02-27 13:03 +0100 |
| Message-ID | <o914i5$dup$1@cherry.spenarnc.xs4all.nl> |
| In reply to | #55163 |
In article <bd52d3e0-8d01-4243-aeea-d3df2f5d8d4c@googlegroups.com>, lehs <skydda.barnen@gmail.com> wrote: > >I haven't tried that. Thanks! I would really like to make an editor that wo= >rks with all ANS Forth systems. I remember John Passaniti posting to c.l.f. On his website he has/has an editor that would provide a good starting as far as I remember. Sorry I couldn't find the url for you. Groetjes Albert -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
[toc] | [prev] | [next] | [standalone]
| From | lehs <skydda.barnen@gmail.com> |
|---|---|
| Date | 2017-02-27 04:22 -0800 |
| Message-ID | <be12b9b4-0224-4a7a-a241-4636d2b9ec68@googlegroups.com> |
| In reply to | #55173 |
Den måndag 27 februari 2017 kl. 13:03:29 UTC+1 skrev Albert van der Horst: > In article <bd52d3e0-8d01-4243-aeea-d3df2f5d8d4c@googlegroups.com>, > lehs <skydda.barnen@gmail.com> wrote: > > > >I haven't tried that. Thanks! I would really like to make an editor that wo= > >rks with all ANS Forth systems. > > I remember John Passaniti posting to c.l.f. On his website he has/has an > editor that would provide a good starting as far as I remember. > > Sorry I couldn't find the url for you. > > Groetjes Albert > -- > Albert van der Horst, UTRECHT,THE NETHERLANDS > Economic growth -- being exponential -- ultimately falters. > albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst Thanks, but I already have a starting editor: https://github.com/Lehs/Simple-editor-in-ANS-Forth Of course, it would be interesting to see how/if he solved the problems.
[toc] | [prev] | [next] | [standalone]
| From | albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) |
|---|---|
| Date | 2017-02-27 13:31 +0100 |
| Message-ID | <o91670$e6c$1@cherry.spenarnc.xs4all.nl> |
| In reply to | #55174 |
In article <be12b9b4-0224-4a7a-a241-4636d2b9ec68@googlegroups.com>, lehs <skydda.barnen@gmail.com> wrote: >Den m=C3=A5ndag 27 februari 2017 kl. 13:03:29 UTC+1 skrev Albert van der Ho= >rst: >> In article <bd52d3e0-8d01-4243-aeea-d3df2f5d8d4c@googlegroups.com>, >> lehs <skydda.barnen@gmail.com> wrote: >> > >> >I haven't tried that. Thanks! I would really like to make an editor that= > wo=3D >> >rks with all ANS Forth systems. >>=20 >> I remember John Passaniti posting to c.l.f. On his website he has/has an >> editor that would provide a good starting as far as I remember. >>=20 >> Sorry I couldn't find the url for you. >>=20 >> Groetjes Albert >> --=20 >> Albert van der Horst, UTRECHT,THE NETHERLANDS >> Economic growth -- being exponential -- ultimately falters. >> albert@spe&ar&c.xs4all.nl &=3Dn http://home.hccnet.nl/a.w.m.van.der.horst > >Thanks, but I already have a starting editor: https://github.com/Lehs/Simpl= >e-editor-in-ANS-Forth > >Of course, it would be interesting to see how/if he solved the problems. Exactly, that is why I gave you the tip. I still want to do a lisp in Forth, and I've collected a dozen implementations, some toy, some vintage, some rather powerful yet simple. There is something to learn from each of those. You could have a look into the block editor of mina, the msdos version of ciforth. Groetjes Albert -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2017-02-23 16:27 +0000 |
| Message-ID | <2017Feb23.172734@mips.complang.tuwien.ac.at> |
| In reply to | #55002 |
lehs <skydda.barnen@gmail.com> writes:
>EKEY for return gives 10 in the Android version but 13 in the Windows versions. :)
>
>I'll try to make a simple but highly extendable editor in ANS-Forth...
Gforth's command-line editor treats both CR (13) and LF (10) as
newline. That's probably a good approach for other editors, too.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2016: http://www.euroforth.org/ef16/
[toc] | [prev] | [next] | [standalone]
| From | Bernd Paysan <bernd@net2o.de> |
|---|---|
| Date | 2017-03-12 00:36 +0000 |
| Message-ID | <oa256n$u80$8@dont-email.me> |
| In reply to | #55002 |
Am Sun, 19 Feb 2017 02:52:58 -0800 schrieb lehs: > EKEY for return gives 10 in the Android version but 13 in the Windows > versions. :) Android's enter key event returns 10 on getUnicodeChar, and getKeyCode gives AKEYCODE_ENTER. The current logic is that if there is an unicode character in the event, I prefer that, otherwise, I take the keycode instead; if I do it reverse, I can convert the AKEYCODE_ENTER to the usual 13. I agree that it is better to be consistent... so I will simply ignore what Android thinks the corresponding character is - if there is a keycode, then I can convert it myself. I'll have to test that with a number of different soft and hard keyboards, as they all behave slightly different ;-). Gforth's own command line editor just handles 10 = 13, and 8 = 127, too. I'd recommend doing that. -- Bernd Paysan "If you want it done right, you have to do it yourself" net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ* http://bernd-paysan.de/
[toc] | [prev] | [standalone]
Page 3 of 3 — ← Prev page 1 2 [3]
Back to top | Article view | comp.lang.forth
csiph-web