View Single Post
Old 04-13-2014, 05:29 PM   #63
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,058
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by jtt View Post
Unfortunately, I'm rather sure that they won't work since this isn't a real terminal emulator. The program basically just prints out what it gets from the program run and doesn't have any special treatment for terminal escape sequences, sorry:-( Would be an interesting excercise to extend it to emulate e.g. a VT100...

I'm actually astonished that gdb works well enough, given that it seems to be linked against the ncurses library (at least my desktop version). Perhaps you just didn't use anything in it that would have send escape sequences?

Best regards, Jens
I think you're right about it not using any special escape sequences. gdb is very much like an ordinary shell, in that it doesn't need any editing capabilities. You enter a command and new stuff gets printed out.

For fun, I tried running vi within pbterm. It was a mess, of course, as expected.
rkomar is offline   Reply With Quote