Re: [Freedos-kernel] default drive and CDS

2004-06-28 Thread tom ehlert
Hello Arkady,

>>>  In kernel often used constructions, similar to next:
>>> if (get_cds(drv ? drv - 1 : default_drive) == NULL)
te>> in which case 'often' is 2

>  Ok, 2. But non-zero. In any case there will be useful to introduce
> get_cds1(), which will call get_cds(drv ? drv - 1 : default_drive) (because
> there is much more than 2 such instances).

in any case, FreeDOS kernel is GPL, so you may do whatever you want.

just another example of arkady'fying a project.

unfortunately, you drive former developers away - forever.

te>> so I think you are wasting our time.

>  _If_ you don't know the answer, simply don't answer. This your letter
> contains no useful information. :(

only useful questions can get useful answers.





---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] kernel progress

2004-06-28 Thread Arkady V.Belousov
Hi!

28-Июн-2004 14:11 [EMAIL PROTECTED] (Alain) wrote to
[EMAIL PROTECTED]:

>>  I just reproduce MS-DOS behavior. Also, I myself found that skipping
>> all remaining questions (including "?") is useful. Though, later this
>> behavior may be changed (and documented in config.txt!).
A> BUT, IMHO the key for that should not be  but something completely
A> different, like some other function key.

 Agreed. I myself also feel that using Esc for ALLYES is somewhat
misleading. But Esc is as in MS-DOS and I introduce (similar) F8.
Unfortunately, I don't know which key may be assigned to ALLNO. :(

 O! What you say about this:

?device=himem.sys[Y/n/Esc=all N/F8=all Y/F5=skip all]

Of course, Esc should answer N only for lines with "?".




---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] default drive and CDS

2004-06-28 Thread Arkady V.Belousov
Hi!

28-Июн-2004 21:08 [EMAIL PROTECTED] (tom ehlert) wrote to "Arkady V.Belousov"
<[EMAIL PROTECTED]>:

>>  In kernel often used constructions, similar to next:
>> if (get_cds(drv ? drv - 1 : default_drive) == NULL)
te> in which case 'often' is 2

 Ok, 2. But non-zero. In any case there will be useful to introduce
get_cds1(), which will call get_cds(drv ? drv - 1 : default_drive) (because
there is much more than 2 such instances).

te> so I think you are wasting our time.

 _If_ you don't know the answer, simply don't answer. This your letter
contains no useful information. :(




---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] kernel progress

2004-06-28 Thread Alain

Bernd Blaauw escreveu:
Win9x's DOS (7.x0) interprets the keys in a different way compared to
older MSDOS.
Y = confirm
N = not confirm
ENTER=confirm
ESC = No (MSDOS7), YES (FreeDOS, older MSDOS).
so a "don't ask any other items unless explicitly mentioned in 
config.sys" option/key would have to use something other than ESC.
How about the space bar :) ? ..or even..F5
this could do, but I don't like it for a reason: if used at the 
begining, it meens "Don't execute any or Config.sys os autoexec", so 
IMHO it thould be something else, something never used, like F7, and F5 
could be implemented as "Stop executing any or Config.sys os autoexec"

this causes only the commands explicitly using the sequence '?' followed 
by '=' to be asked: echo?=test (and ?echo=test , but not !echo?=test)
Ok,
Alain

---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] default drive and CDS

2004-06-28 Thread tom ehlert
Hello Arkady,

>  In kernel often used constructions, similar to next:

> if (get_cds(drv ? drv - 1 : default_drive) == NULL)

in which case 'often' is 2

so I think you are wasting our time.

bye







---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


[Freedos-kernel] default drive and CDS

2004-06-28 Thread Arkady V.Belousov
Hi!

 In kernel often used constructions, similar to next:

if (get_cds(drv ? drv - 1 : default_drive) == NULL)

but for `default_drive' get_cds() always should be non-NULL, so this code
may be optimized:

if (drv && get_cds(drv - 1) == NULL)

Question: is there possible, that CDSp[default_drive].cdsFlags will be
changed or .cdsDpb will be cleared, but default_drive will not be changed?




---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] kernel progress

2004-06-28 Thread Bernd Blaauw
Alain schreef:
In my opinion this would be a _great_ improvement :)
Many times I had ro reboot (in MS-DOS) because the critical instruction 
was executed ok and I didn't want to singlestep all the rest.

BUT, IMHO the key for that should not be  but something completely 
different, like some other function key.
yes, agree.
I had a small discussion with Tom a year ago or so. It turned out that 
Win9x's DOS (7.x0) interprets the keys in a different way compared to
older MSDOS.
Y = confirm
N = not confirm
ENTER=confirm
ESC = No (MSDOS7), YES (FreeDOS, older MSDOS).

so a "don't ask any other items unless explicitly mentioned in 
config.sys" option/key would have to use something other than ESC.
How about the space bar :) ? ..or even..F5
this causes only the commands explicitly using the sequence '?' followed 
by '=' to be asked: echo?=test (and ?echo=test , but not !echo?=test)

Alain
Bernd

---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


Re: [Freedos-kernel] kernel progress

2004-06-28 Thread Alain
 I just reproduce MS-DOS behavior. Also, I myself found that skipping
all remaining questions (including "?") is useful. Though, later this
behavior may be changed (and documented in config.txt!).
In my opinion this would be a _great_ improuvement :)
Many times I had ro reboot (in MS-DOS) because the critical instruction 
was executed ok and I didn't want to singlestep all the rest.

BUT, IMHO the key for that should not be  but something completely 
different, like some other function key.

Alain
---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


[Freedos-kernel] kernel prograss

2004-06-28 Thread Arkady V.Belousov
Hi!

 Well, as I promise:

config.c

- when tracing, Esc now turns off asks for all following lines, including
  lines with "?", and assumes "Y" for all; F8 now behaves similar to Esc.
- environment for INSTALL= now includes previous SETs.
- fix: CmdSet(): with SET environment variables now may be redefined and
  removed ("V=").

task.c

- fix: new_psp(): as in MS-DOS6, ps_parent now not changed; ps_exit, ps_unix,
  ps_farcall, ps_reentry, ps_prevpsp, ps_maxfiles, ps_filetab and ps_files
  are initialized.
- patchPSP(): as in MS-DOS6, FCB addresses in exec block now don't checked
  and copied only 12 bytes (drive+name+ext).




---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel