Sponsored Content
Full Discussion: help!!!
Top Forums Programming help!!! Post 4768 by qodoc on Tuesday 31st of July 2001 07:36:55 AM
Old 07-31-2001
hey,

btw,
unistd.h
termio.h

is not an ANSI standard AFAIK. so you could not expect them to exist in environment other than unix.

to compile you would better use the 32 bit compiler, like VisualC++.

Use the Win32 APIs to implement feature that is unix specific.
BTW it is better to write a program that uses ANSI standard.
It is more portable.

qodoc
 
term::ansi::code(n)						 Terminal control					       term::ansi::code(n)

_________________________________________________________________

NAME
term::ansi::code - Helper for control sequences SYNOPSIS
package require Tcl 8.4 package require term::ansi::code ?0.1? ::term::ansi::code::esc str ::term::ansi::code::escb str ::term::ansi::code::define name escape code ::term::ansi::code::const name code _________________________________________________________________ DESCRIPTION
This package provides commands enabling the definition of control sequences in an easy manner. ::term::ansi::code::esc str This command returns the argument string, prefixed with the ANSI escape character, "33." ::term::ansi::code::escb str This command returns the argument string, prefixed with a common ANSI escape sequence, "33[". ::term::ansi::code::define name escape code This command defines a procedure name which returns the control sequence code, beginning with the specified escape sequence, either esc, or escb. ::term::ansi::code::const name code This command defines a procedure name which returns the control sequence code. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category term of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
control, declare, define, terminal COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net> term 0.1 term::ansi::code(n)
All times are GMT -4. The time now is 11:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy