Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #59772

Re: The Forth console and cursor management

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: The Forth console and cursor management
Date 2017-05-24 10:16 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2017May24.121639@mips.complang.tuwien.ac.at> (permalink)
References <og17st$lfa$1@dont-email.me> <2017May23.144823@mips.complang.tuwien.ac.at> <og206g$afn$1@cherry.spenarnc.xs4all.nl>

Show all headers | View raw


albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) writes:
>Under linux you can run your program under rlwrap like so
>    rlwrap lina
>and then you get the same editing functions plus history accross
>sessions just like gforth has.

Do you get TAB-completion?

>An ACCEPT that is just a READ-FILE from standard input, allows
>me to test all exceptions in ciforth using input redirection.

You mean, like

[~:63938] cat <<EOF |gforth
> 0 @
> bye
> EOF
Gforth 0.6.2, Copyright (C) 1995-2003 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
0 @ 
*the terminal*:1: Invalid memory address
0 @
  ^
Backtrace:
bye 

You don't need an ACCEPT that is a READ-FILE for that (as demonstrated
here), and I don't see the advantage over

[~:63939] gforth -e "0 @"

in file included from *the terminal*:0
*evaluated string*:-1: Invalid memory address
0 @
  ^
Backtrace:

- 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 2017: http://www.euroforth.org/ef17/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

The Forth console and cursor management Alex <alex@rivadpm.com> - 2017-05-23 12:57 +0100
  Re: The Forth console and cursor management Raimond Dragomir <raimond.dragomir@gmail.com> - 2017-05-23 05:18 -0700
  Re: The Forth console and cursor management anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-23 12:48 +0000
    Re: The Forth console and cursor management Alex <alex@rivadpm.com> - 2017-05-23 15:45 +0100
    Re: The Forth console and cursor management albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-05-23 20:48 +0200
      Re: The Forth console and cursor management anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-24 10:16 +0000
  Re: The Forth console and cursor management minforth@arcor.de - 2017-05-23 06:22 -0700
    Re: The Forth console and cursor management Mark Wills <markwills1970@gmail.com> - 2017-05-23 06:27 -0700
  Re: The Forth console and cursor management minforth@arcor.de - 2017-05-23 06:44 -0700
    Re: The Forth console and cursor management rickman <gnuarm@gmail.com> - 2017-05-23 11:50 -0400
  Re: The Forth console and cursor management Matthias Trute <matthias.trute@gmail.com> - 2017-05-23 09:20 -0700
    Re: The Forth console and cursor management rickman <gnuarm@gmail.com> - 2017-05-23 17:46 -0400
  Re: The Forth console and cursor management peter.m.falth@gmail.com - 2017-05-23 12:12 -0700
  Re: The Forth console and cursor management Rob Sciuk <rob@controlq.com> - 2017-05-26 12:44 -0400

csiph-web