Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.07.18;
Скачать: CL | DM;

Вниз

Непонятный формат   Найти похожие ветки 

 
GALIM   (2004-07-05 15:40) [0]

Мастера помогите разобраться в этом формате сообщений отправленнего с тел. станции через 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"


 
MacroDenS ©   (2004-07-05 16:17) [1]

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


 
Erik1   (2004-07-05 17:07) [2]

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


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

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


 
han_malign ©   (2004-07-05 18:17) [4]

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.


 
GALIM   (2004-07-06 06:09) [5]

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

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



Страницы: 1 вся ветка

Текущий архив: 2004.07.18;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.048 c
4-1086097847
lehich
2004-06-01 17:50
2004.07.18
закрытие окна


3-1087914032
TUser
2004-06-22 18:20
2004.07.18
FieldByName vs FieldValues


14-1088418920
sapsi
2004-06-28 14:35
2004.07.18
Ученые звания


6-1084803810
Artem03
2004-05-17 18:23
2004.07.18
TIdTCPServer, TIdTCPClient - передача файлов


14-1088388530
Думкин
2004-06-28 06:08
2004.07.18
С днем рождения! 27 июня