🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #581

Re: SetCursorPos

#581
From: Sultanbek Tezadov
Date: Wed, 18 Jun 2003 05:41
23 lines
1742 bytes
I believe you can't unless (I guess) you use JNI calls. The reason is IMHO
that Java is a multiplatform environment. And it can't provide platform
specific features. Other platforms (Unix, Mac, ...) than MS DOS may lack
console cursor positioning. For example, on Unix there is an optional
library for console applications -- Curses (Ncurses).
Moreover Java is not very friendly for writing rich console applications (it
lacks convenient input routines that parse users input into primitive types
values, like Pascal's read() does).

  --Sultan

Willie wrote:

> Hi Lori Olson:
> 
> Thanks for your reply.
> I can use System.out.println("String1"); to output a "String1" on the
> screen.
> How can I output the string at specific location in a DOS BOX(console
> Application)?
> Is there a Java API can do this?
> 
> Willie.
Technical Details
Message-ID: <3eeffbe3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3eee68ea@newsgroups.borland.com> <3EEF9578.8090308@techie.com> <3eefb5d6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,1fc7fe3d76f71822
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-06-17 22:46:20 PST
Message-ID: <3eeffbe3@newsgroups.borland.com>
From: Sultanbek Tezadov <st99@mail.ru>
Subject: Re: SetCursorPos
Newsgroups: borland.public.jbuilder.java.api
Date: Wed, 18 Jun 2003 09:41:55 +0400
References: <3eee68ea@newsgroups.borland.com> <3EEF9578.8090308@techie.com> <3eefb5d6@newsgroups.borland.com>
Lines: 24
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 62.231.6.23
X-Trace: newsgroups.borland.com 1055914980 62.231.6.23 (17 Jun 2003 22:43:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail