* How to move the cursor
@ 2003-09-23 1:42 R@f@el D1n1z
2003-09-23 8:02 ` Maciej Hrebien
2003-09-23 18:48 ` peter w krause
0 siblings, 2 replies; 3+ messages in thread
From: R@f@el D1n1z @ 2003-09-23 1:42 UTC (permalink / raw)
To: linux-assembly
Hi all,
I would like to know how to change the position of cursor on the screen.
I'm looking at this howto:
http://www.linuxassembly.org/articles/rawkb.html
But I could not find anything about this subject.
Thanx,
Rafael Diniz
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Engenharia da Computação -- Unicamp
http://www.gnu.org/philosophy/why-free.pt.html
Usuário do sistema operacional GNU/Linux
Chave PGP: http://www.dcc.unicamp.br/~ra017126/pubkey.asc
"Acreditar num conhecimento que pode ser vendido e
comprado é uma forma sutil (e cruel) de perpetuar a ignorância."
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to move the cursor
2003-09-23 1:42 How to move the cursor R@f@el D1n1z
@ 2003-09-23 8:02 ` Maciej Hrebien
2003-09-23 18:48 ` peter w krause
1 sibling, 0 replies; 3+ messages in thread
From: Maciej Hrebien @ 2003-09-23 8:02 UTC (permalink / raw)
To: linux-assembly
"R@f@el D1n1z" wrote:
>
> Hi all,
> I would like to know how to change the position of cursor on the screen.
> I'm looking at this howto:
> http://www.linuxassembly.org/articles/rawkb.html
> But I could not find anything about this subject.
Try escape sequences, ie:
char c[]="\x1b[2B";
write(STDOUT_FILENO,c,sizeof(c));
will move cursor down 2 rows. See man console_codes for more.
--
Maciej Hrebien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to move the cursor
2003-09-23 1:42 How to move the cursor R@f@el D1n1z
2003-09-23 8:02 ` Maciej Hrebien
@ 2003-09-23 18:48 ` peter w krause
1 sibling, 0 replies; 3+ messages in thread
From: peter w krause @ 2003-09-23 18:48 UTC (permalink / raw)
To: R@f@el D1n1z, linux-assembly
R@f@el D1n1z am Dienstag, 23. September 2003 02:42:
> Hi all,
> I would like to know how to change the position of cursor on the screen.
> I'm looking at this howto:
> http://www.linuxassembly.org/articles/rawkb.html
> But I could not find anything about this subject.
>
> Thanx,
> Rafael Diniz
man 4 console_codes
man 4 console_ioctls
--
Linux,Assembly,Forth: http://www.lxhp.in-berlin.de/index-lx.shtml
>> xxxx -at- lxhp -dot- in-berlin -dot- de <<
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-23 18:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-23 1:42 How to move the cursor R@f@el D1n1z
2003-09-23 8:02 ` Maciej Hrebien
2003-09-23 18:48 ` peter w krause
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.