Sysxtree now knows more file types, and dnsr got Russian interface

git-svn-id: svn://kolibrios.org@993 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ataualpa 2008-12-31 17:02:06 +00:00
parent 1d22b242c8
commit 5be6f93061
2 changed files with 859 additions and 814 deletions

View File

@ -45,7 +45,7 @@
; dd 0,0 ; dd 0,0
;****************************************************************************** ;******************************************************************************
include '..\..\..\macros.inc' include 'macros.inc'
include 'ascl.inc' include 'ascl.inc'
include 'ascgl.inc' include 'ascgl.inc'
@ -602,7 +602,7 @@ is_brow:
jz run jz run
cmp ecx, 'JPEG' ; note that it will select also *.JPEG* cmp ecx, 'JPEG' ; note that it will select also *.JPEG*
jz run jz run
mov ebx, gifview mov ebx, bmpview
cmp ecx, 'GIF' cmp ecx, 'GIF'
jz run jz run
mov ebx, ac97 mov ebx, ac97
@ -610,9 +610,14 @@ is_brow:
jz run jz run
cmp ecx, 'MP3' cmp ecx, 'MP3'
jz run jz run
cmp ecx, 'XM'
jz run
mov ebx, midamp mov ebx, midamp
cmp ecx, 'MID' cmp ecx, 'MID'
jz run jz run
mov ebx, htmlv
cmp ecx, 'HTM'
jz run
mov ebx, bmpview mov ebx, bmpview
cmp ecx, 'BMP' cmp ecx, 'BMP'
jz run jz run
@ -631,6 +636,12 @@ is_brow:
jz run jz run
cmp ecx, 'INC' cmp ecx, 'INC'
jz run jz run
cmp ecx, 'INI'
jz run
cmp ecx, 'LOG'
jz run
cmp ecx, 'CONF'
jz run
mov ebx, life2 mov ebx, life2
cmp ecx, 'LIF' cmp ecx, 'LIF'
jz run jz run
@ -1868,6 +1879,10 @@ no_folico:
je is_imgico je is_imgico
cmp edi,dword 'MID' cmp edi,dword 'MID'
je is_imgico je is_imgico
cmp edi,dword 'MP3'
je is_imgico
cmp edi,dword 'XM'
je is_imgico
jmp no_imgico jmp no_imgico
is_imgico: is_imgico:
push imgico+8 push imgico+8
@ -1877,6 +1892,10 @@ no_imgico:
je is_asmincico je is_asmincico
cmp edi,dword 'INC' cmp edi,dword 'INC'
je is_asmincico je is_asmincico
cmp edi,dword 'INI'
je is_asmincico
cmp edi,dword 'CONF'
je is_asmincico
jmp no_asmincico jmp no_asmincico
is_asmincico: is_asmincico:
push asmincico+8 push asmincico+8
@ -1886,6 +1905,8 @@ no_asmincico:
je @f je @f
cmp edi,dword 'TXT' cmp edi,dword 'TXT'
jne no_txtico jne no_txtico
cmp edi,dword 'LOG'
jne no_txtico
@@: @@:
push txtico+8 push txtico+8
jmp out_ico jmp out_ico
@ -2554,6 +2575,7 @@ bmpview db '/sys/MV',0
jpgview db '/sys/JPEGVIEW',0 jpgview db '/sys/JPEGVIEW',0
gifview db '/sys/GIFVIEW',0 gifview db '/sys/GIFVIEW',0
ac97 db '/sys/AC97SND',0 ac97 db '/sys/AC97SND',0
htmlv db '/sys/NETWORK/HTMLV',0
rtfread db '/sys/RTFREAD',0 rtfread db '/sys/RTFREAD',0
; //// Willow ; //// Willow
pngview db '/sys/@RCHER',0 pngview db '/sys/@RCHER',0

View File

@ -27,7 +27,7 @@ use32
dd 0x0 , 0x0 ; I_Param , I_Path dd 0x0 , 0x0 ; I_Param , I_Path
include 'lang.inc' include 'lang.inc'
include '..\..\..\macros.inc' include 'macros.inc'
START: ; start of execution START: ; start of execution
mov eax,40 ; Report events mov eax,40 ; Report events
@ -725,6 +725,17 @@ addr dd 0x0
ya dd 0x0 ya dd 0x0
text: text:
if lang eq ru
db 'ˆ¬ï å®áâ  : xxxxxxxxxxxxxxx '
db 'DNS á¥à¢¥à : xxx.xxx.xxx.xxx '
db ' '
db ' <20>®«ãç¨âì  ¤à¥á '
db ' '
db ' '
db 'x <- END MARKER, DONT DELETE '
else
db 'Host name : xxxxxxxxxxxxxxx ' db 'Host name : xxxxxxxxxxxxxxx '
db 'DNS server : xxx.xxx.xxx.xxx ' db 'DNS server : xxx.xxx.xxx.xxx '
db ' ' db ' '
@ -732,17 +743,29 @@ text:
db ' ' db ' '
db ' ' db ' '
db 'x <- END MARKER, DONT DELETE ' db 'x <- END MARKER, DONT DELETE '
end if
if lang eq ru
title db 'DNS Š«¨¥­â',0
else
title db 'DNS Client',0 title db 'DNS Client',0
end if
prompt: dd 0 prompt: dd 0
promptlen: dd 0 promptlen: dd 0
if lang eq ru
p1: db '†¤ã ª®¬ ­¤ë '
p1len:
else
p1: db 'Waiting for Command ' p1: db 'Waiting for Command '
p1len: p1len:
end if
p4: db 'IP Address: . . . ' p4: db 'IP Address: . . . '
p4len: p4len: