While working through
nthe -p demo.the demo.txt
I've noticed that some commands do not work at all, whether or not I'm in an Apple "terminal", or in an X-Windows "xterm".
sos tabwordf / tabwordb / marginl / endchar / startendchar
do not work using "demo.the demo.txt" or loading "demo.txt" directly.
"cursor home" running "demo.the demo.txt" take me to the space after the last * in *** Top of File ***.
However when loading "demo.txt" directly, the cursor is sent to 0,0 - first * in *** Top of File ***
Has THE been tested on Apple Mac OS X? Any ideas on how achieve the correct behavior?
The demo.the is a little bit broken. I'll need to fix it.
Yes THE has been tested on OS X. Please read Appendix 2 of the THE Reference Manual. It will explain the issues with key mappings when using ncurses in a terminal.
You can configure the keys that return a valid escape sequence to a terminal by going into the Terminal->Preferences and changing the key mappings to match those in Appendix 2.
THE also runs as an X11 application on OS X. It has much better key mapping support.
Now that I have link(s) to the manual ;) I can go ahead and tinker. I still think that I should recompile….
Thanks for clues.
Log in to post a comment.