Virtual Console v0.1 alpha

thx e-rock, but that didn't work either. i tried both 'command.com' and 'c:windowssystem32command.com'. (yes, i checked to make sure it's there). man, this is screwy!

#262867

Thx for this superb addon, I love it.

#262874

@shmengie: I don't think the problem is the application name, %comspec% should just be fine (cmd.exe is in the PATH and should be found from everywhere). I think the problem is the starting directory, which is %HOMEPATH% by default... Try changing it to D:, C: or whatever you think it is appropriate.

@andreas: i have no guards in my code wrt desklet position. Only the desklet size is forced to a specific value whenever the configuration changes (the size depends on the font size and the number of columns). I'll try the slide effect by myself and see what's happening.

BTW I've found a bug (margin values are ignored) so I'm going to release a second alpha soon.

#262887

@andreas: I've just tried the slide effect, but I get a "bounce" effect on all desklets and I'm not sure it is intended. If yes, then the Virtual Console desklet behaves like all others... :confused:

#262892

Quote:

Originally Posted by Polo78
I've just tried the slide effect, but I get a "bounce" effect on all desklets and I'm not sure it is intended.

I've tested console and both slide effects (dreadnaut's and thy's). Console works fine, problem is in effects, it's not a bug but correct behaviour. Bounce occurs if mouse cursor during animation goes out of desklet area (it includes transparent pixels for pidlShortcut desklet, but not for console desklet). Cursor must be positioned to stay in desklet area during whole slide animation.

Question: How many lines are kept in buffer of console (I can't list "dir" entire content of directory that contains 326 items).

BTW Great work. Keep on developement.

#262921

@NoNaMeR: the number of lines in the buffer is 10 times the number of visible rows. This is an hardcoded value, but I can make it configurable if you think it would be useful.

#262929

nice... I wonder if your dll is based on a well known console program... If is it, you should give the credits

#262934

@blade: what is this "well known console program" ?

anyway, my code is 100% written from scratch. If any developer is interested I can also make the source code public.

#262936

He's probably talking about Console :)

#262940

did blade just accuse you of stealing? and he does in it this icky passive-agressive "i wonder..." mode. what an e-hole!

anyways, thx polo. yeah, that was it. other than feeling kinda dumb, i'm up and running and happy. thx!

#262942

@Polo78: Thanks, I'd like to see that value configurable.

#262956

This proggy is fantastic - I use cmd all the time, and having it available via Showcase is great! Keep up the good work1

#262968

@shmengie, no, "e-hole" :P

@dreadnaut, yes, Im talking about (the old?) 'console' open source program.

#263372

i can't change the font color

invert color does not appear nice when desklet is always on top

#263386

maybe there is no hope of getting rid of it, but Alt-Space brings out the hidden console menu... and if you choose Close... :slant:

#263406

maybe there is no hope of getting rid of it, but Alt-Space brings out the hidden console menu... and if you choose Close... :slant:

uhm... I must admit I didn't even think of it. But have no fear, I can prevent the Alt-Space keystroke from being passed to the original console window. At least I think so... Thanks for your report! :)

#263518

i can't change the font color

invert color does not appear nice when desklet is always on top

note 1: the color in the font dialog has no effect. you have to change the color by clicking the "Color" button that is placed below the "Font" button.

note 2: you have to select "ignore foreground colors" for your color to take effect, otherwise the program running in the console will select the color for each cell.

as for the inverted color not being nice... well, the "invert color" option does just that: it inverts the colors. Whether it is nice or not depends on what's behind the desklet... :)

#263520

Thankx! Polo78

I thought "ignore foreground color" will ignore the font color

BTW, i can't see anything when i press Alt+space

what affect the color of active cursor (i have orange one)

Before i change the color as u said, i've black one.

#263578

This is amazing...and even better with the slide effect! :o

Just one little problem - on a regular command prompt window, I can highlight text and hit enter to copy it to the clipboard, and right click on the window to paste the contents of the clipboard to the prompt. Is it possible to get either of these functions working in the virtual console?

Cheers. :)

#263614

what affect the color of active cursor (i have orange one)

Before i change the color as u said, i've black one.

The color of the cursor is the inverse color of the underlying character (both fg and bg). This was done in order to make the cursor well visible in any circumstance.

I could make the cursor color configurable when the "ignore xxx" options are enabled... I'll think of it for a future release.

#263625

Just one little problem - on a regular command prompt window, I can highlight text and hit enter to copy it to the clipboard, and right click on the window to paste the contents of the clipboard to the prompt. Is it possible to get either of these functions working in the virtual console?

This feature has already been requested, I'll try to implement it in next versions. :)

#263627

AWESOME! been waiting for something like this. TY TY TY

#263701

Got this working at home, and man, is it ever slick. Thanks a ton.

#263730

Nice work, but is there any way of getting more fonts in that list?

#263747

Nice work, but is there any way of getting more fonts in that list?

A console is a matrix of fixed-size cells. Thus, only fixed-width font can be used. This is not a limitation of Virtual Console, it's just a logic consequence.

As an experiment it would be possible to use variable-width fonts, centering each character within its cell regardless of its size, but:

1) it would make the rendering process much more intensive and therefore slow.

2) IMHO it would be just ugly... take this word for example: "abiiixdto". Now imagine to make each letter fixed in width (included the i's)

#263754