00:00:00 --- log: started forth/18.01.28 00:02:23 --- join: proteusguy (~proteusgu@180.183.54.190) joined #forth 00:02:23 --- mode: ChanServ set +v proteusguy 00:04:57 --- quit: proteus-guy (Ping timeout: 240 seconds) 01:22:26 --- join: dys (~dys@tmo-101-34.customers.d1-online.com) joined #forth 02:17:04 --- quit: groovy2shoes (Ping timeout: 246 seconds) 02:44:32 --- join: ncv (~neceve@unaffiliated/neceve) joined #forth 03:07:00 --- join: ncv_ (~neceve@unaffiliated/neceve) joined #forth 03:09:42 --- quit: ncv (Ping timeout: 248 seconds) 03:54:39 --- quit: newuser|27992 (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 06:13:11 --- join: impomatic (~digital_w@host109-149-158-17.range109-149.btcentralplus.com) joined #forth 06:22:50 --- quit: bluekelp (Ping timeout: 240 seconds) 06:23:12 --- join: bluekelp (~bluekelp@bluekelp.com) joined #forth 06:45:48 --- join: _spt_ (~Jupiter-R@host-89-242-35-162.as13285.net) joined #forth 06:45:48 --- quit: _spt_ (Changing host) 06:45:48 --- join: _spt_ (~Jupiter-R@unaffiliated/-spt-/x-5624824) joined #forth 07:01:23 --- quit: MrMobius (Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC) 07:04:48 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 08:16:46 --- join: lijero (~lijero@unaffiliated/lijero) joined #forth 08:18:27 --- quit: impomatic (Ping timeout: 240 seconds) 08:38:49 --- quit: Zarutian_PI (Ping timeout: 240 seconds) 08:49:48 --- join: Zarutian_PI (~3.1415@173-133-17-89.fiber.hringdu.is) joined #forth 09:49:22 --- join: nomad81 (8269cf98@gateway/web/cgi-irc/kiwiirc.com/ip.130.105.207.152) joined #forth 09:51:00 Hi, i am trying to figure out how to use the blocks file system in gforth the manual does everything but give an example of how to actually save code to a block. I tried a bunch of times but every time I update and flush nothing is added to the block. 09:55:09 --- nick: nomad81 -> nomad1981 10:50:13 you modify the block buffer in memory, do UPDATE FLUSH and nothing happens? 10:52:51 that is strange. post code to reproduce it somewhere? 10:52:51 I type use test.block , then it says ok. I then type 1 list and it shows a blank block, I type in a comment, then i type in a word, but I can't get it to write to the block. 10:56:38 --- quit: ncv_ (Ping timeout: 256 seconds) 10:57:42 are you typing in an editor or just straight into the REPL? 10:57:57 into the repl 11:00:28 https://thepasteb.in/p/vghOgEJyB0mF3 11:00:45 I ran this as a script also. 11:01:09 I think I am not getting the procedure for saving the block right. I must be missing somthing. 11:01:12 yeah that does not modify the block buffer contents at all, it's just compiling to your running gforth instance 11:02:22 how to i write to the block? the gforth manual is a bit weird it goes on this long theory discussion without giving an example on how actually to do it. 11:03:05 I was looking for an example on the net but there appears only to be stuff for things like fig-forth 11:06:14 nomad1981: blocked.fb has an editor you can load but it is pretty basic since gforth mainly only supports blocks for backward compatibility 11:09:38 thanks I will have a look 11:10:37 you probably don't want to use blocks with gforth unless you have a specific resaon to 11:11:52 I read that with blocks you did not require an operating system. 11:12:29 you still need a storage driver 11:12:47 It would be nice to have projects that could just boot from a usb or micro sd card 11:13:13 you will not make gforth run on bare metal with anything like a reasonable amount of effort 11:13:27 ah 11:14:03 --- join: Labu (~mik@mvice.pck.nerim.net) joined #forth 11:14:10 Hello 11:14:40 and if you're looking to run on a modern PC, there is a lot of hardware to talk to, so you are almost certainly better off using some minimal installation of linux/*bsd than trying to go that route 11:15:19 hmm maby one of the tiny linux distros 11:15:39 Do you use emacs ? I tried to install forth-mode in this editor but it doesn't understand specific gforth syntax like this http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Local-Variables-Tutorial.html#Local-Variables-Tutorial 11:16:17 I use Se 11:16:26 but this page talk about gforth https://www.emacswiki.org/emacs/Forth-mode 11:17:59 what is the problem, exactly? 11:18:12 so I don't know If I use gforth-mode or forth-mode. I didn't find gforth-mode in package-list-command 11:19:03 i have only ever used forth mode when i have used emacs but forth syntax is minimal enough you could just as well use fundamental-mode 11:19:15 apart from some basic highlighting 11:19:34 koiseke: when I try : swap { a b -- b a } emacs jumps to second line with an indentation just under first { 11:20:17 I have several source code with this syntax which is gforth specific 11:21:25 that is a common enough (not just gforth) way to implement locals, but it does that to indent because you are still compiling to that definition 11:22:39 I want two space indent in my defintion like in the example... 11:23:46 @koisoko thanks you for the assist. 11:25:28 but I get 7 space .if I backspace I erase some space at the begining and return at the begining of the line without control of the number of spaces characters I remove 11:26:37 because I have a tabulation at the begining of the line 11:27:33 --- join: tusj (~tusj@185.176.244.88) joined #forth 11:28:27 I think forth-mode expect this: 11:28:27 :swap 11:28:27 { a b -- b a } 11:28:29 Labu: it looks like gforth.el defines some variables to do what you want. i haven't tried customizing them 11:29:31 is gforth.el not forth-mode ? 11:30:08 I am looking in gforth package if I find it 11:30:09 it seems to be; looks like i was mistaken re: forth-mode 11:30:35 had thought there was one that shipped with emacs but apparently the one one on my system came from gforth 11:30:38 --- join: ncv_ (~neceve@unaffiliated/neceve) joined #forth 11:33:52 what the system do you have koisoke ? 11:34:01 I am on netbsd 11:34:14 ubuntu right now 11:34:20 ok 11:35:25 I tried to remove forth-mode from emacs package, but in this case I have nothing when I try to open a forth file 11:36:18 --- quit: dys (Ping timeout: 256 seconds) 11:37:36 I am using .4th extension when I write forth source file but gforth.el seems to recognize .fs extension 11:37:50 I suppose (I am not emac-lisp expert) 11:38:10 neither am i 11:38:40 what is standard extension for forth source files ? 11:38:48 fs usually 11:38:51 ok 11:39:15 I don't know why I write 4th so... 11:39:28 I am trying to rename my file 11:48:24 --- join: dys (~dys@tmo-112-186.customers.d1-online.com) joined #forth 11:50:49 --- quit: tusj (Remote host closed the connection) 11:51:09 I download gorth.el from github 11:51:16 work better now 11:51:21 thx koisoke 11:51:42 not sure i've been helpful, but np :P 11:52:26 you participated :-) 12:22:20 --- join: Gromboli (~Gromboli@static-72-88-80-103.bflony.fios.verizon.net) joined #forth 12:27:44 --- join: groovy2shoes (~groovy2sh@unaffiliated/groovebot) joined #forth 13:03:01 --- quit: _spt_ (Remote host closed the connection) 13:30:43 --- join: ncv__ (~neceve@2a02:c7d:c5c9:a900:1ec6:932f:1b02:d27e) joined #forth 13:30:43 --- quit: ncv__ (Changing host) 13:30:43 --- join: ncv__ (~neceve@unaffiliated/neceve) joined #forth 13:33:10 --- quit: ncv_ (Ping timeout: 248 seconds) 14:10:26 --- quit: ncv__ (Ping timeout: 256 seconds) 14:36:51 --- quit: Darksecond (Read error: Connection reset by peer) 14:40:03 --- join: Darksecond (~darksecon@a82-94-53-70.adsl.xs4all.nl) joined #forth 16:09:08 --- quit: nighty- (Quit: Disappears in a puff of smoke) 16:18:56 --- quit: Labu (Quit: Leaving.) 16:59:26 --- join: nighty- (~nighty@kyotolabs.asahinet.com) joined #forth 17:01:30 --- quit: nomad1981 (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 19:56:34 --- quit: dddddd (Remote host closed the connection) 20:53:15 --- quit: Gromboli (Quit: Leaving) 23:39:25 --- quit: dys (Ping timeout: 276 seconds) 23:59:59 --- log: ended forth/18.01.28