www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/30/05:17:11

From: Jari Oksanen <jari DOT oksanen AT helsinki DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gotoxy() for UNIX
Date: Thu, 30 Apr 1998 11:24:02 +0100
Organization: Univ Helsinki
Lines: 27
Message-ID: <35485142.6CA@helsinki.fi>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980430022205 DOT 007b09d0 AT 200 DOT 252 DOT 238 DOT 1>
NNTP-Posting-Host: neopc161.lpt.fi
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Thiago F.G. Albuquerque wrote:
> Is it true that gotoxy() doesn't exist on UNIX environments? And that the
> only way to port my DOS code is to rewrite it using the complicated curses
> library? For Christ's sake, I just want to move the cursor! I don't want to
> create buffered windows! Does anybody have a simpler solution?

When I type "info libc alpha gotoxy" I get the following info below. Is
that what you want?

gotoxy
======

Syntax
------

     #include <conio.h>

     void gotoxy(int x, int y);

Description
-----------

Move the cursor to row y, column x.  The upper left corner of the
current window is (1,1).

-- 
Jari Oksanen -- Lahtis, Finland / Luokta, Suopma / Lahti, Häme.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019