View Single Post
Old 02-06-2013, 09:40 AM   #125
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by Ondra View Post
Thank you to all for great terminal app for kindle. There is bug with colors in myts. I thing that myts accept only one paramater in esc[ sequence... You can see right colors representation and on second picture screenshot from myts and kindle. I thing that colors handling is done in terminal.c:

terminal.c: * for foreground color, the next 3 bits are background color.
terminal.c: * attributes -- we use bits for foreground and bg color.
terminal.c: case 30: /* Set foreground color: black */
terminal.c: case 31: /* Set foreground color: red */

....

Can anyone help me with solving this problem ??
The source is attached to the top post.

And @matan

Does this support command line script switching?

like ./myts ./dialog myScript.sh

I guess not with the first param being a vt toggle.
will have to read source I guess... Would be really nice.
twobob is offline   Reply With Quote