Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

Непонятный формат


GALIM ©   (2004-07-05 15:40:00) 

Мастера помогите разобраться в этом формате сообщений отправленнего с тел. станции через com-порта.
Какой-та стандартный формат, потому что стандартные терминальные проги его понимает.
И что делать чтобы его в нормальном ввиде показать.
a'#$D#$1B'[?25l'#$1B'[2J'#$1B'[22H'#$1B'[K'#$1B'[23H'#$1B'[K'#$1B'[24H'#$1B'[K'
#$1B'[2H'#$1B'(0lqqqqqqqqqqqqqqqqqqqqqqqqq '#$1B'(B'#$1B'[1mA D M I N I S T R A T I O N '
#$1B'[m'#$1B'(0qqqqqqqqqqqqqqqqqqqqqqqqk'#$1B'[3Hx'#$1B'[3;80Hx'#$1B'[4Hx'#$1B'[4;80Hx'


GALIM   (2004-07-06 06:09:00) [1]

> han_malign ©   (05.07.04 17:41) [3]

А нету готовые компоненты показывающие в нормалном виде Escape-последовательности.


han_malign   (2004-07-05 18:17:00) [2]

VT100
http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlvt100.html
Key Sequence Meaning
ESC(B Set to US ASCII character set
ESC(A UK National
ESC(0 Graphic
ESC[M Move the cursor up in scrolling region.
ESC[nA Move the cursor up.
ESCD'LF' Move the cursor down in scrolling region.
ESC[nB Move the cursor down
ESC[nC Move the cursor right
ESC[nD Move the cursor left
ESCE Move cursor to start of next line
ESC[r;cH Move the cursor to row r, column c.
ESC7 Save the cursor column position and character attributes
ESC8 Restore the cursor column position and character attributes
ESC[0K Erase from the cursor to the end of the line
ESC[1K erase from the beginning of the line to the cursor.
ESC[2K Erase the line
ESC[0J Erase from the cursor to the end of the screen.
ESC[1J erase from the bottom of the screen to the cursor
ESC[2J Erase the screen
ESC[t;br Defines a scrolling region where the top line = t and the bottom line = b.
ESC[?6h Set cursor position 0,0 equal to the upper left corner of the scrolling region.
ESC[?6l Set cursor position 0,0 equal to upper left corner of the defined scrolling region.
ESC[0m Normal characters
ESC[1m Bold characters
ESC[4m Underline characters.
ESC[5m Blinking characters
ESC[7m reverse video characters
ESC#3 Double height characters, top half.
ESC#4 Double height characters, bottom
ESC#5 Single width characters
ESC#6 Double width characters
ESC[?3l Set terminal to 132 column mode
ESC[?3h Set terminal to 80 column mode
ESCH Set tab stop at current column position
ESC[g Clear tab stop at current column.
ESC[3g Clear all tab stops.


han_malign   (2004-07-05 17:41:00) [3]

Escape-последовательности, а вот какие управляющие коды - искать надо.


Erik1   (2004-07-05 17:07:00) [4]

Ты попробуй правильно выставить количество бод(9600 например).


MacroDenS   (2004-07-05 16:17:00) [5]

qqqqqqqqqqqqqqqqqqqqqqqqq, qqqqqqqqqqqqqqqqqqqqqqqqk - это по ходу сама месага, а A D M I N I S T R A T I O N - по ходу отправитель


Наверх

Титульная страница Поиск, карта сайта Написать письмо