![]() ![]() ![]() ![]() Some commands will output to an 'alternate' screen when the xterm terminal type. Yet for some reason PuTTy just places the cursor in the upper-left and fails to return it. PuTTY can be used with either a xterm or vt100 terminal type (set termxterm or set termvt100 if you use the tcsh shell or export TERMxterm or export TERMvt100 if you use bash.) To make your terminal type permanent, edit your /.cshrc (tcsh) or /.bashrc (bash). I'm using the below sequence to save the cursor, move it, and return it. For this assignment, we are supposed to use VT100/ANSI escape sequences to move the cursor to an arbitrary location and write the current time and then return it so the user can type and have their input echo'd back. I'm using PuTTy as the terminal attached to the device via serial(-over-USB). I'm writing a program for a class in HC12 Assembly for the Freescale MC9S12C32 processor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |