forked from KolibriOS/kolibrios
Fix EN typos
- Corrections for en_US language. - Some whitespace sanitation. git-svn-id: svn://kolibrios.org@10059 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
349dbb6edf
commit
27f290d51b
@ -31,7 +31,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
;-----------------------------------
|
;-----------------------------------
|
||||||
; Shell`s initialization
|
; Shell's initialization
|
||||||
; without arguments
|
; without arguments
|
||||||
;-----------------------------------
|
;-----------------------------------
|
||||||
|
|
||||||
@ -105,7 +105,7 @@
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
;-----------------------------------
|
;-----------------------------------
|
||||||
; Wait answer from shell
|
; Wait for answer from the shell
|
||||||
;
|
;
|
||||||
; INPUT:
|
; INPUT:
|
||||||
; edi - shell-buffer
|
; edi - shell-buffer
|
||||||
@ -259,7 +259,7 @@
|
|||||||
; Get string from shell
|
; Get string from shell
|
||||||
;
|
;
|
||||||
; INPUT:
|
; INPUT:
|
||||||
; eax - addres of memory for str
|
; eax - address of memory for str
|
||||||
;-----------------------------------
|
;-----------------------------------
|
||||||
|
|
||||||
shell.get_string:
|
shell.get_string:
|
||||||
@ -380,7 +380,7 @@
|
|||||||
; Print string to shell
|
; Print string to shell
|
||||||
;
|
;
|
||||||
; INPUT:
|
; INPUT:
|
||||||
; arg1 - addres of string
|
; arg1 - address of string
|
||||||
;-----------------------------------
|
;-----------------------------------
|
||||||
|
|
||||||
macro shpsa [addr] {
|
macro shpsa [addr] {
|
||||||
@ -420,7 +420,7 @@
|
|||||||
; Get string from shell
|
; Get string from shell
|
||||||
;
|
;
|
||||||
; INPUT:
|
; INPUT:
|
||||||
; arg1 - addres of memory for str
|
; arg1 - address of memory for str
|
||||||
;-----------------------------------
|
;-----------------------------------
|
||||||
|
|
||||||
macro shgs [addr] {
|
macro shgs [addr] {
|
||||||
@ -432,7 +432,7 @@
|
|||||||
; Get number from shell
|
; Get number from shell
|
||||||
;
|
;
|
||||||
; INPUT:
|
; INPUT:
|
||||||
; arg1 - addres of memory for num
|
; arg1 - address of memory for num
|
||||||
;-----------------------------------
|
;-----------------------------------
|
||||||
|
|
||||||
macro shgn [addr] {
|
macro shgn [addr] {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
;include 'smb_nf2.inc'
|
;include 'smb_nf2.inc'
|
||||||
|
|
||||||
smb_base dd 0 ; IO port base for SMBus acces
|
smb_base dd 0 ; IO port base for SMBus acces
|
||||||
smb_slave dd 0 ; SMBus addres for monitoring chip
|
smb_slave dd 0 ; SMBus address for monitoring chip
|
||||||
|
|
||||||
;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
smbInit:
|
smbInit:
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
; version: 2.02
|
; version: 2.02
|
||||||
; last update: 15/03/2012
|
; last update: 15/03/2012
|
||||||
; changed by: Marat Zakiyanov aka Mario79, aka Mario
|
; changed by: Marat Zakiyanov aka Mario79, aka Mario
|
||||||
; changes: some optimisations and code refactoring
|
; changes: some optimizations and code refactoring
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
; version: 2.01
|
; version: 2.01
|
||||||
; last update: 27/09/2011
|
; last update: 27/09/2011
|
||||||
|
@ -531,7 +531,7 @@ runthread:
|
|||||||
mov ebx,[processes]
|
mov ebx,[processes]
|
||||||
dec bl
|
dec bl
|
||||||
cmp al,bl
|
cmp al,bl
|
||||||
ja searchexit ; such process doesnt exist
|
ja searchexit ; such process doesn't exist
|
||||||
cmp al,[esi + child]
|
cmp al,[esi + child]
|
||||||
je searchexit ; such process already exists
|
je searchexit ; such process already exists
|
||||||
|
|
||||||
@ -670,7 +670,7 @@ close:
|
|||||||
shl ebx,4
|
shl ebx,4
|
||||||
add ebx,[menu_data] ; ebx = base of parent info
|
add ebx,[menu_data] ; ebx = base of parent info
|
||||||
call backconvert
|
call backconvert
|
||||||
cmp [ebx + child],al ; if i am the child of my parent...
|
cmp [ebx + child],al ; if I am the child of my parent...
|
||||||
jnz @f
|
jnz @f
|
||||||
mov [ebx + child],-1 ; ...my parent now has no children
|
mov [ebx + child],-1 ; ...my parent now has no children
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
|
@ -84,7 +84,7 @@ START:
|
|||||||
mov esi, [params]
|
mov esi, [params]
|
||||||
cmp [esi], byte '/'
|
cmp [esi], byte '/'
|
||||||
jne @f
|
jne @f
|
||||||
mov esi, [params] ;user gave us the path so lets mount it
|
mov esi, [params] ;user gave us the path so let's mount it
|
||||||
inc esi
|
inc esi
|
||||||
mov edi,f30_3_work_area+64
|
mov edi,f30_3_work_area+64
|
||||||
call proc_copy_path
|
call proc_copy_path
|
||||||
|
@ -13,7 +13,7 @@ Shell 0.8.1 // 14.04.2020 - 01.04.2021 // rgimad, turbocat, Kenshin
|
|||||||
* fixed bug with ctrl+v
|
* fixed bug with ctrl+v
|
||||||
* added navigation in current string by Home, End
|
* added navigation in current string by Home, End
|
||||||
* directory highlighting in ls command output
|
* directory highlighting in ls command output
|
||||||
* Now for incorrect scripts (which doesnt start with #SHS) shell says
|
* Now for incorrect scripts (which doesn't start with #SHS) shell says
|
||||||
that they are incorrect, not "File not found".
|
that they are incorrect, not "File not found".
|
||||||
Also, translated comments from russian to english in two files.
|
Also, translated comments from russian to english in two files.
|
||||||
* added mv command
|
* added mv command
|
||||||
@ -264,4 +264,3 @@ Shell 0.01 // 27.07.2008 // Albom
|
|||||||
=======================================
|
=======================================
|
||||||
* Решил написать функциональный шелл на Си с использованием console.obj
|
* Решил написать функциональный шелл на Си с использованием console.obj
|
||||||
* Пока сделал функцию отделения команды и параметров, а также реализовал команды help (пока без параметров), ver и exit
|
* Пока сделал функцию отделения команды и параметров, а также реализовал команды help (пока без параметров), ver и exit
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ int cmd_echo(char text[])
|
|||||||
// remove spaces at the end of out_len
|
// remove spaces at the end of out_len
|
||||||
while (out_len > 0 && text[out_len - 1] == ' ') { out_len--; }
|
while (out_len > 0 && text[out_len - 1] == ' ') { out_len--; }
|
||||||
|
|
||||||
// delete quotes if has
|
// delete quotes if present
|
||||||
if (text[out_len - 1] == '"') { out_len--; }
|
if (text[out_len - 1] == '"') { out_len--; }
|
||||||
if (text[0] == '"') { text++; out_len--; }
|
if (text[0] == '"') { text++; out_len--; }
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ int cmd_echo(char text[])
|
|||||||
k70_in.p21 = filename_out;
|
k70_in.p21 = filename_out;
|
||||||
|
|
||||||
result = kol_file_70(&k70_in); // get information about file
|
result = kol_file_70(&k70_in); // get information about file
|
||||||
if ( 0 != result ) // file doesnt exist, then rewrite
|
if ( 0 != result ) // file doesn't exist, then rewrite
|
||||||
{
|
{
|
||||||
k70_out.p00 = 2;
|
k70_out.p00 = 2;
|
||||||
k70_out.p04 = 0; // offset
|
k70_out.p04 = 0; // offset
|
||||||
@ -170,4 +170,3 @@ int cmd_echo(char text[])
|
|||||||
//free(filename_out);
|
//free(filename_out);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user