Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #135028
| From | minforth <minforth@gmx.net> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: The joy of formatting |
| Date | 2026-04-30 20:47 +0200 |
| Message-ID | <n5hmdhF1fs9U1@mid.individual.net> (permalink) |
| References | <nnd$7b365bf7$7124ac52@50f873c72dd8fb98> <69f2ba42$1@news.ausics.net> <nnd$5188275e$5d740caa@15d7ec6ab0bb7dfb> |
Am 30.04.2026 um 11:11 schrieb albert@spenarnc.xs4all.nl: > In article <69f2ba42$1@news.ausics.net>, dxf <dxforth@gmail.com> wrote: >> On 29/04/2026 11:41 pm, albert@spenarnc.xs4all.nl wrote: >>> Formerly I had this clunky handling of colors. >>> ... >>> Now if you have FORMAT this becomes a lot less clunky. >> >> I agree the original was clunky. But whether FORMAT was necessary, >> I'm less certain. Naturally, I'm too lazy to show an alternative. >> But I can for your last example, as I'm sure can others ... >> >>> : default-bw "%e [00m" FORMAT TYPE ; >> >> : default-bw ." \1b[00m" ; >> > Now consider this: > : AT-XY 1+ SWAP 1+ SWAP "%e [%d ;%d H" .FORMAT ; \ ISO While AT-XY \ ( col row -- ) 10.6.1.0742 set text cursor coordinates is standard, XY \ ( -- col row ) get text cursor coordinates is much more interesting to implement. ;-)
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
The joy of formatting albert@spenarnc.xs4all.nl - 2026-04-29 15:41 +0200
Re: The joy of formatting dxf <dxforth@gmail.com> - 2026-04-30 12:11 +1000
Re: The joy of formatting Hans Bezemer <the.beez.speaks@gmail.com> - 2026-04-30 09:48 +0200
Re: The joy of formatting albert@spenarnc.xs4all.nl - 2026-04-30 11:06 +0200
Re: The joy of formatting Hans Bezemer <the.beez.speaks@gmail.com> - 2026-04-30 23:34 +0200
Re: The joy of formatting albert@spenarnc.xs4all.nl - 2026-04-30 11:11 +0200
Re: The joy of formatting dxf <dxforth@gmail.com> - 2026-04-30 23:58 +1000
Re: The joy of formatting albert@spenarnc.xs4all.nl - 2026-04-30 18:11 +0200
Re: The joy of formatting dxf <dxforth@gmail.com> - 2026-05-01 09:57 +1000
Re: The joy of formatting anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2026-05-01 06:03 +0000
Re: The joy of formatting dxf <dxforth@gmail.com> - 2026-05-03 23:09 +1000
Re: The joy of formatting anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2026-05-03 14:11 +0000
Re: The joy of formatting dxf <dxforth@gmail.com> - 2026-05-04 11:02 +1000
Re: The joy of formatting minforth <minforth@gmx.net> - 2026-04-30 20:47 +0200
Re: The joy of formatting Krishna Myneni <krishna.myneni@ccreweb.org> - 2026-05-03 09:07 -0500
csiph-web