🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Console Application

#474
From: Kevin Dean
Date: Tue, 09 Sep 2003 20:00
35 lines
2228 bytes
The short answer is yes; terminals respond to escape sequences that tell
them how to display text (bold, underline, cursor position, etc.) but I
can't find the right reference for HP/UX for you.  Enter your terminal type
plus "escape sequence" in Google and you should find what you're looking
for.  You may be lucky enough to find a Java library that will do it all for
you as well.

-- 
Check out our latest white papers at
http://www.datadevelopment.com/papers/index.html

BladeNET Scores With Borland Enterprise Tools
Team Development with JBuilder and Borland Enterprise Server

Dolphin Data Development Ltd.
http://www.datadevelopment.com/

"Diego De Marco" <ddemarco@dpsautomation.com> wrote in message
news:3f5e293b@newsgroups.borland.com...
> Hi!
>
> I'm working on a console application for HP/UX. This application displays
> its results in an old green-text terminal. I was wondering if there's any
> way to:
> 1) Change the location of the cursor (some sort of gotoXY()), so that I
can
> display text anywhere on the console window
> 2) Change the text attributes (mainly to display inverse-video and "bold"
> text).
>
> Thank you very much in advance,
>
> Diego De Marco
>
>
Technical Details
Message-ID: <3f5e3199@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!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f5e293b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,59aa351ac0686925
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-09-09 13:08:02 PST
From: "Kevin Dean" <NkOdSePaAnM@datadevelopment.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3f5e293b@newsgroups.borland.com>
Subject: Re: Console Application
Date: Tue, 9 Sep 2003 16:00:05 -0400
Lines: 37
Organization: Dolphin Data Development Ltd.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 24.57.150.243
Message-ID: <3f5e3199@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063137689 24.57.150.243 (9 Sep 2003 13:01:29 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail