Browse Prior Art Database

Changing locale of terminal emulator from remote host

IP.com Disclosure Number: IPCOM000012251D
Original Publication Date: 2003-Apr-23
Included in the Prior Art Database: 2003-Apr-23
Document File: 1 page(s) / 8K

Publishing Venue

IBM

Abstract

To change locale of remote terminal, enhance old protocol 'OSC'. By which, program can control remote terminal emulator's locale.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 97% of the total text.

Page 1 of 1

THIS COPY WAS MADE FROM AN INTERNAL IBM DOCUMENT AND NOT FROM THE PUBLISHED BOOK

JP820020893 Koichiro Kato/Japan/IBM Jiro Sekiba

Changing locale of terminal emulator from remote host

A program is disclosed that protocol of changing locale of remote terminals. By encapsulating new protocol within the old protocol, easily enhancing the terminal emulator wich has compatibility with other terminals.

To tell proper locale to termina emulators, introduce new protocol by using Operating System Command(OSC).  OSC is structed as follow:

 ESC [ ] <pritable characters> BEL

 terminals will interpret part of "<pritable characters>" by their own interpretation.  Which is usually interpreted "<number>;<printable characters>" as a de-fact standard.  For instance, xterm interprets following OSC command as changing their window and icon titles.

 ESC [ ] 0 ; <pritable character> BEL

Therefore introducing a number which is not widely used these days, it is achieved to enhance changinge locale of terminal emulator. For example, introducing "100", command can be as follow:

 ECS [] 100 ; LANG=ja_JP.SJIS BEL

 Terminal emulators will interpret this command as changing their locale to ja_JP.SJIS.

Disclosed by Inte...