🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
2 messages
2 total messages Started by Diego De Marco Tue, 09 Sep 2003 19:26
Console Application
#473
Author: Diego De Marco
Date: Tue, 09 Sep 2003 19:26
13 lines
1373 bytes
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
Re: Console Application
#474
Author: 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
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads