For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > May 2004 > Readline









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Readline
Greg

2004-05-13, 9:35 am

Hi,

I'm french and at the moment I develop a shell with 5 person. I have a
little problem with my readline, how can I find the number of the
current line before start my readline ?

At the moment my readline is medium but the problem it's that I must
clear the term to launch my readline otherwise I have a problem with
the position of the cursor, I use tputs to replace the cursor, it's ok
for columns but not for the lines.

My question is, how can I find the number of the line in the term when
I launch my shell whithout clear the window ?

I know my english is very bad, I'm sorry and I hope I'm comprehensible
:)

Thanks.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com