Terminal control/Cursor positioning

From Rosetta Code
Revision as of 18:58, 4 October 2010 by rosettacode>Markhobley (Initial content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{task}

Move the cursor to column 3, row 6 and display the word "Hello", so that the letter H is in column 3 on row 6.

Ada

Algol68

awk

BASIC

{{header|QBasic))

{{header|Locomotive Basic))

{{header|ZX Spectrum Basic))

Batch File

COBOL

PureBasic

Rexx

The Rexx programming language does not include terminal control as part of the language. However, it might be possible to output ANSI control sequences, and there are various workarounds which are platform specific:

brexx

regina

The regina interpreter supports the rexxcurses plugin, which provides the facility to set the cursor position:


UNIX Shell