🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42118

cursor moving with the UNIX gcc

#42118
From: Roeder Martin
Date: Fri, 12 Jan 1996 00:00
9 lines
861 bytes
I would like to have a function (like gotoXY in Pascal) in C to put the
cursor on a defined place in the shell.
Perhaps there are ESC-sequences for it.
I already found out the ESC-seq. to Clear the window:
char c[]={27,91,72,27,91,50,74};
printf("%s",c);

I use the Sun-Unix System.
Perhaps there is a library for the sun gcc but I still didn't find it.
Technical Details
Message-ID: <30F66B72.92A@mni.fh-giessen.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ce52ed350bfe6976,start
X-Google-Attributes: gid11318c,public
From: Roeder Martin <Martin.Roeder@mni.fh-giessen.de>
Subject: cursor moving with the UNIX gcc
Date: 1996/01/12
Message-ID: <30F66B72.92A@mni.fh-giessen.de>
X-Deja-AN: 135279392
content-type: text/plain; charset=us-ascii
organization: University of Giessen, Germany
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0b3 (X11; I; SunOS 5.4 sun4m)