Hi,

>From what I got, there are two type of terminal control. One that uses the 
ansi codes as Mr. Laha rightly said. ( e.g. backspace, carriage return, 
line feed, etc). but they treat the terminal as a serial device. I cant do 
things like erase some text once it has been sent. ( one round about way 
is a carriage return and then printing all spaces). but it seems there are 
slightly more advanced requests provided by IOCTL function which allow 
things like setting the terminal size, etc.

But I couldnt find any exhaustive documentation for these requests.
Any pointers in this direction will be very helpful.

My interest is totally Academic and I dont bother about portability. It 
will be fine if the thing runs on normal ANSI terminals or VT100.

Thank you

Sourangshu



On Mon, 20 Jan 2003, Russell McOrmond wrote:

> On Mon, 20 Jan 2003, Manas Laha wrote:
> 
> > What ncurses uses is a aet of standard ANSI codes for terminal control.
> > Unfortunately, I don't have a ready answer about where to find them.
> > 
> > These codes may be used by any program.
> 
>   Yes and no. 
> 


> 
>   ncurses and similar programs make use of the termcap and other
> information to determine which set of terminal control settings to use.  
> If you are doing anything advanced, you want to go through something like
> ncurses to ensure that your terminal based application will work
> regardless of what terminal someone is using.
> 
>   If you create something 'vt100 only' or linux-console only, then the 
> program will only work in those specialized environments.
> 
> ---
>  Russell McOrmond, Internet Consultant: <http://www.flora.ca/>
>  Any 'hardware assist' for communications, whether it be eye-glasses, 
>  VCR's, or personal computers, must be under the control of the citizen 
>  and not a third party.   -- http://www.flora.ca/russell/
> 
> 
> --
> To unsubscribe, send mail to [EMAIL PROTECTED] with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/node.php?id=3
> 

-- 
----------------------------------------------------------------------------
Sourangshu Bhattacharya
M.Tech. Computer Science,
Indian Statistical Institute,
Kolkata.
----------------------------------------------------------------------------


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to