00:00:00 --- log: started forth/18.01.27 02:55:05 --- join: ncv (~neceve@unaffiliated/neceve) joined #forth 05:36:53 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 07:34:11 --- join: lijero (~lijero@unaffiliated/lijero) joined #forth 11:13:58 --- quit: ncv (Ping timeout: 248 seconds) 11:31:02 --- quit: dys (Ping timeout: 248 seconds) 11:58:28 --- join: dys (~dys@tmo-102-47.customers.d1-online.com) joined #forth 12:18:22 --- join: ncv (~neceve@unaffiliated/neceve) joined #forth 12:23:31 --- join: beretta (~beretta@cpe-184-58-116-76.columbus.res.rr.com) joined #forth 13:04:55 --- quit: dddddd (Remote host closed the connection) 13:28:51 --- join: ghiaew (b839bcda@gateway/web/freenode/ip.184.57.188.218) joined #forth 13:35:52 --- quit: ghiaew (Ping timeout: 260 seconds) 14:36:51 --- quit: Darksecond (Read error: Connection reset by peer) 14:41:34 --- join: Darksecond (~darksecon@a82-94-53-70.adsl.xs4all.nl) joined #forth 15:23:49 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 15:59:20 --- quit: ncv (Ping timeout: 256 seconds) 18:22:16 --- quit: johnmark_ (Quit: Leaving) 20:32:21 --- join: johnmark (~johnmark@64.53.247.121) joined #forth 20:49:21 --- quit: karswell (Remote host closed the connection) 20:50:35 --- join: karswell (~user@cust125-dsl91-135-5.idnet.net) joined #forth 21:58:29 --- join: newuser|27992 (8269ce42@gateway/web/cgi-irc/kiwiirc.com/ip.130.105.206.66) joined #forth 22:00:45 Hi can I ask is there a way I can display box graphics in forth? I can do it in the terminal with an escape sequence but when I try it in forth it does not seem to work the same as printf does on the command line. I can write .... printf "\x1b(0x6c\x1b(B\n" and that will print the top left corner graphic on the terminal but when I try and do it wit 22:00:45 h s\" in forth it does not seem to work the same way. 22:07:16 which forth are you using? in gforth s\" \x1b(0x6c\x1b(B\n" type gives the same output as your printf 22:08:01 --- quit: dddddd (Quit: Hasta otra..) 22:13:15 hi its gforth, I couldn't find a ncurses type library for gforth so I thought I would just use terminal codes to make some basic graphics. 22:15:23 I type that code and it just prints junk in the gforth. 22:15:57 what exactly are are you doing in gforth? 22:16:15 I want to make a menu system 22:16:21 so I needed some sort of graphics 22:17:04 I couldn't find any gui for gforth, not even curses/ncurses 22:17:53 show the code that is not working in gforth 22:17:53 I must be missing something but why would there not be a gui for a language? 22:19:20 gforth also offers bindings to C libraries like ncurses, if that's what you like 22:20:07 is there a link to that? all I could find was some vague talk about using foreign function interface and then nothing. 22:20:44 newuser|27992: for me it prints the same junk in gforth as it does with bash's printf 22:21:49 http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/C-Interface.html#C-Interface apparently 22:22:25 so after decades nobody wrote a library that was complete? 22:23:06 newuser|27992: oh that is why. you are missing a \ in your tring 22:23:07 string 22:23:30 \x1b(0\x6c\x1b(B\n gives upper left corner 22:24:47 yes your quite right 22:24:57 thanks 22:25:26 I can change the terminal colours so I can create a basic layout now. 22:26:07 If I want to append the strings so like i can do cornertl line line line cornertr 22:37:27 ok great I think i have it sorted now. Thank you for the help. 22:40:03 np. just wrote https://bpaste.net/show/43c71679e8b6 to illustrate but looks like you have it 22:42:59 --- quit: lijero (Remote host closed the connection) 22:44:01 *last line should be more liked cr graphics ulcorner hline hline hline urcorner cr text 22:49:46 ah cheers for that. I will come back in a few days with the github link if you are intrested :) 22:51:33 definitely come back :) 22:52:57 hmm, i found this in IRC logs: my curses library is 6 to 8k of compiled size. ncurses is 500k 22:53:50 (gopher://forthworks.com/0/forth/irc-logs/17.08.03) 23:13:11 oooh. I will take a look at that.. :) 23:33:10 --- quit: dys (Ping timeout: 248 seconds) 23:59:59 --- log: ended forth/18.01.27