Search found 14 matches
- 28 Apr 2014 10:09
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
Ok ! That's really interresting. Thank you so much for explanation of font behaviour. If I understand well, To make this work in the way it is intended to, a TrueType font should be used. Do you know why raster fonts are used by default ? It's allways sad to have not every functionnality enabled by ...
- 25 Apr 2014 04:28
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
That's not how it works in Windows. Dos9 is _not_ getting UTF16 input, because it's not _asking_ for it. Somewhere in the Dos9 code or libraries it uses, you end up calling the "A" flavor of the API for console input. So, when the user enters or pastes text at the prompt (which is fully U...
- 24 Apr 2014 09:20
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
I'm not sure if i understand you right, you want to use the actual encoding of the a string as a byte list (char list)? Nope. What I said is it was sad that microsoft devs have choosed the behaviour that makes me forced of thinking about various encoding. But well, that consist on replacing functio...
- 24 Apr 2014 04:58
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
Ok, windows console support at least two unicode code page. The first is UTF-16 (1200) and the second is UTF-8. When you type something, your input gets translated either in utf-8 or in utf-16. This is important because if you use utf-16, NUL characters will be added (it's the case for 'm' which is...
- 23 Apr 2014 01:49
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
May I suggest you try "cd /?" OH my god ! OH MY GOD ! ANOTHER BRAND NEW SYNTAX ! With all due respect, but if you are to lay any claim to "cmd compatibility" you should first learn what 'cmd' itself does - and this is a case of an old, common, well documented behavior. Ok, haven...
- 23 Apr 2014 01:07
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
You think that FOR command is not achievable by the average batch user? Yes (it's a joke ) But for is a difficult part of batch, isn't it ? There have been plenty of 3rd party utilities written to extend BAT file functionality. Frank Westlake did a lot! He has a Utilities to add GUI support for sel...
- 22 Apr 2014 15:38
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
Why do you expect somebody would use Dos9 instead of CMD then? (Please don't get me wrong.) Ok What I wanted to say, is, well there's obviously behaviours that must be implemented (common behaviors), but there are also some others may not be implemented, for instance, strange behaviours that are us...
- 22 Apr 2014 04:42
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
I haven't tested it, but it sounds, like DOS9-"cd" implementation always does what cmd-"cd /D" does. That may be a problem for all scripts setting up directories in different volume: Ok ! it would indeed be a great advantage to have such different paths on different paths, this ...
- 22 Apr 2014 01:37
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
It also appeared it was bound to dissapear because of the lack of newer features that it need (like command substitution, for example "$(command)"), and it would be sad if it does. Doesn't appear to me that cmd is bound to disappear. If anything, it's still being worked on, bugfixed and e...
- 21 Apr 2014 17:25
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
The right handling of quoted expressions is important for the compatibility with conventional Batch scripts. You will rarely see an unquoted SET assignment here at DosTips because it wouldn't be safe enough in most cases (as my ampersand example demonstrates). Of course you have to do a lot of test...
- 20 Apr 2014 17:24
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
I did some random tests and I found at least one thing that needs to be revised. Please have a look at expressions that where quoted. E.g. set "var=a&b" for %%i in (1,2;3="4 a") do echo %%i Ok, I knew about the first problem. But anyway, using quotes on set is pain in the as...
- 20 Apr 2014 13:28
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
Oh dear ! Agraf is a command that i created a long time ago, but i didn't managed to include it in the pakage (because it is to be replaced by Dos9 internals, I hope). If you wanna see it capabilities you can go there m , you can get the binary here, and there's a few example, but i don't know if I ...
- 20 Apr 2014 12:24
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
Re: An alternative command prompt (Dos9)
Sorry, I did not included the documentation. Anyway, you can generate it through the following command : hlp /b en_US CP850 you may need to replace CP850 by another code pages (you console's codepage) in order to translate non-ascii characters into something printable in your console. Then you shoul...
- 20 Apr 2014 05:58
- Forum: DOS Batch Forum
- Topic: An alternative command prompt (Dos9)
- Replies: 34
- Views: 30487
An alternative command prompt (Dos9)
Hello guys ! I woulld like to present a free (as in "freedom" ) cmd-like command prompt called Dos9 to you. I've been programming this for some time now, and I think is now mature enough to be released more publicly. It not big enough to replace cmd.exe completly (though it has been a goal...