From: Bigos on 13 Nov 2009 11:27 On Nov 13, 4:06 pm, Bigos <ruby.obj...(a)googlemail.com> wrote: > On Nov 13, 9:27 am, Bigos <ruby.obj...(a)googlemail.com> wrote: > > > On 13 Nov, 02:50, vanekl <va...(a)acd.net> wrote: > > > > Linedit is an example of one way of doing it.http://common-lisp.net/project/linedit/ > > > Thank you for both answers I will have a look at the subject today, or > > over the weekend. > > I had no success so far. I can't find documentation with examples that > would help me to bite into linedit and cn-ncurses. I'm giving up on > trying to do it in Terminal window, and will check cliki for other GUI > options that newbie like me can use. I think I have found something about cl-ncurses which might be useful. Maybe I was giving up too soon. ooops
From: Jurgen Defurne on 13 Nov 2009 15:30 Op Fri, 13 Nov 2009 08:27:33 -0800, schreef Bigos: > On Nov 13, 4:06 pm, Bigos <ruby.obj...(a)googlemail.com> wrote: >> On Nov 13, 9:27 am, Bigos <ruby.obj...(a)googlemail.com> wrote: >> >> > On 13 Nov, 02:50, vanekl <va...(a)acd.net> wrote: >> >> > > Linedit is an example of one way of doing >> > > it.http://common-lisp.net/project/linedit/ >> >> > Thank you for both answers I will have a look at the subject today, >> > or over the weekend. >> >> I had no success so far. I can't find documentation with examples that >> would help me to bite into linedit and cn-ncurses. I'm giving up on >> trying to do it in Terminal window, and will check cliki for other GUI >> options that newbie like me can use. > > I think I have found something about cl-ncurses which might be useful. > Maybe I was giving up too soon. ooops I used a combination of stty and the standard input functions of Common Lisp. I really did not want to screw around with calling C functions inside Common Lisp. stty -raw; <common Lisp program here>;stty -cooked Regards, Jurgen
From: Bigos on 13 Nov 2009 18:47 On Nov 13, 8:30 pm, Jurgen Defurne <jurgen.defu...(a)telenet.be> wrote: > Op Fri, 13 Nov 2009 08:27:33 -0800, schreef Bigos: > > > > > > > On Nov 13, 4:06 pm, Bigos <ruby.obj...(a)googlemail.com> wrote: > >> On Nov 13, 9:27 am, Bigos <ruby.obj...(a)googlemail.com> wrote: > > >> > On 13 Nov, 02:50, vanekl <va...(a)acd.net> wrote: > > >> > > Linedit is an example of one way of doing > >> > > it.http://common-lisp.net/project/linedit/ > > >> > Thank you for both answers I will have a look at the subject today, > >> > or over the weekend. > > >> I had no success so far. I can't find documentation with examples that > >> would help me to bite into linedit and cn-ncurses. I'm giving up on > >> trying to do it in Terminal window, and will check cliki for other GUI > >> options that newbie like me can use. > > > I think I have found something about cl-ncurses which might be useful. > > Maybe I was giving up too soon. ooops > > I used a combination ofsttyand the standard input functions of > Common Lisp. I really did not want to screw around with calling C > functions inside Common Lisp. > > stty-raw; <common Lisp program here>;stty-cooked > > Regards, > > Jurgen I know Jurgen's idea should work, but can anybody provide simple example? Help will be appreciated. Jack
From: Jurgen Defurne on 14 Nov 2009 04:16 Op Fri, 13 Nov 2009 15:47:52 -0800, schreef Bigos: > On Nov 13, 8:30 pm, Jurgen Defurne <jurgen.defu...(a)telenet.be> wrote: >> Op Fri, 13 Nov 2009 08:27:33 -0800, schreef Bigos: >> >> >> >> >> >> > On Nov 13, 4:06 pm, Bigos <ruby.obj...(a)googlemail.com> wrote: >> >> On Nov 13, 9:27 am, Bigos <ruby.obj...(a)googlemail.com> wrote: >> >> >> > On 13 Nov, 02:50, vanekl <va...(a)acd.net> wrote: >> >> >> > > Linedit is an example of one way of doing >> >> > > it.http://common-lisp.net/project/linedit/ >> >> >> > Thank you for both answers I will have a look at the subject >> >> > today, or over the weekend. >> >> >> I had no success so far. I can't find documentation with examples >> >> that would help me to bite into linedit and cn-ncurses. I'm giving >> >> up on trying to do it in Terminal window, and will check cliki for >> >> other GUI options that newbie like me can use. >> >> > I think I have found something about cl-ncurses which might be >> > useful. Maybe I was giving up too soon. ooops >> >> I used a combination ofsttyand the standard input functions of Common >> Lisp. I really did not want to screw around with calling C functions >> inside Common Lisp. >> >> stty-raw; <common Lisp program here>;stty-cooked >> >> Regards, >> >> Jurgen > > I know Jurgen's idea should work, but can anybody provide simple > example? Help will be appreciated. > > Jack The biggest problem is to have a look inside my repository where it is hidden somewhere. I think I have somewhere a shell script calling my application, which is a simulation of a computer system with keyboard input and tty output. I think I have isolated the keyboard input routines, because there was more to it than using read. It will be good for me to dig down into my code also, because I will be developing some libraries for this simulator, so I will know how to use those things again. I will follow up on this thread. Regards, Jurgen
From: Bigos on 14 Nov 2009 07:40
On 14 Nov, 09:16, Jurgen Defurne <jurgen.defu...(a)telenet.be> wrote: > Op Fri, 13 Nov 2009 15:47:52 -0800, schreef Bigos: > > > > > > > On Nov 13, 8:30 pm, Jurgen Defurne <jurgen.defu...(a)telenet.be> wrote: > >> Op Fri, 13 Nov 2009 08:27:33 -0800, schreef Bigos: > > >> > On Nov 13, 4:06 pm, Bigos <ruby.obj...(a)googlemail.com> wrote: > >> >> On Nov 13, 9:27 am, Bigos <ruby.obj...(a)googlemail.com> wrote: > > >> >> > On 13 Nov, 02:50, vanekl <va...(a)acd.net> wrote: > > >> >> > > Linedit is an example of one way of doing > >> >> > > it.http://common-lisp.net/project/linedit/ > > >> >> > Thank you for both answers I will have a look at the subject > >> >> > today, or over the weekend. > > >> >> I had no success so far. I can't find documentation with examples > >> >> that would help me to bite into linedit and cn-ncurses. I'm giving > >> >> up on trying to do it in Terminal window, and will check cliki for > >> >> other GUI options that newbie like me can use. > > >> > I think I have found something about cl-ncurses which might be > >> > useful. Maybe I was giving up too soon. ooops > > >> I used a combination ofsttyand the standard input functions of Common > >> Lisp. I really did not want to screw around with calling C functions > >> inside Common Lisp. > > >> stty-raw; <common Lisp program here>;stty-cooked > > >> Regards, > > >> Jurgen > > > I know Jurgen's idea should work, but can anybody provide simple > > example? Help will be appreciated. > > > Jack > > The biggest problem is to have a look inside my repository where it is > hidden somewhere. I think I have somewhere a shell script calling my > application, which is a simulation of a computer system with keyboard > input and tty output. I think I have isolated the keyboard input > routines, because there was more to it than using read. It will be > good for me to dig down into my code also, because I will be > developing some libraries for this simulator, so I will know how to > use those things again. I will follow up on this thread. > > Regards, > > Jurgen I'm looking forward to it Regards, Jack |