🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5035

Embedded Eacape Sequences ?

#5035
From: Stan Novinsky
Date: Fri, 19 Apr 1996 12:19
32 lines
1398 bytes
I have a program that I wish to have some escape sequences
defined and used.  The escape sequences will work on a 
VT emulation terminal I am using.  

For instance, I want to place the cursor at the top left
corner of my terminal screen with ESC//'[01;01H'.
This works in FORTRAN by defining the 
 
   ESC = CHAR(27)
   TOPL = ESC//'[01;01H'

When a FORTRAN type statement is issued, the cursor moves to the 
top left portion of the screen.

Is it possible to do this in C and if so, how is the 
sequence defined and used ???

Thanks 
stan_novinsky@jhuapl.edu



*******************************************************************
* System Configuration:								
*											
*     VAXstation 4000/90								
*											
*     OpenVMS 6.1									
*     Oracle 7.1, Forms 4.0								
*     3 RZ28's										
*
*******************************************************************
Technical Details
Message-ID: <4l80bq$b2k@aplinfo.jhuapl.edu>
Path: arc1-ca.pugleaf.net!netnews.jhuapl.edu!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!netnews.jhuapl.edu!usenet
From: Stan Novinsky <stan_novinsky@jhuapl.edu>
Newsgroups: comp.std.c
Subject: Embedded Eacape Sequences ?
Date: 19 Apr 1996 12:19:06 GMT
Organization: Johns Hopkins University Applied Physics Lab
Message-ID: <4l80bq$b2k@aplinfo.jhuapl.edu>
NNTP-Posting-Host: f3c-sjn.jhuapl.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (Macintosh; I; PPC)
X-URL: news:comp.std.c