Application: Console
Category: Utilities
About:
Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles
Download:
Download Console_Portable_2.00.141_Development_Test_1_en-us.paf.exe
(MD5: c82547e3d51cd78291564d541d436031 | 1.23 MB)
Build 141 DevTest1: 1 Downloads (updated: 2008-11-18)
Build 139 DevTest3: 647 Downloads
Build 139 DevTest2: 204 Downloads
Notes:
Build 141
Development Test 1 (2008-11-18):
-
updated Console to build 141 from 139. Console now tracks environment variable changes on new tabs, has global hotkey for activating, and other fixes.
-
Updated the help.html
Build 139
Development Test 3 (2008-04-16):
-
updated Console to build 139 from 138. This reduces memory usage required for application painting and allows you to hide scroll bars.
-
Added support for updating the Environment Path (Thanks wraithdu)
See help.html for details. The newly added scripts directory is automatically added to the %PATH%
-
Added a scripts directory under the Data directory which is populated with two default scripts.
Any suggestions or examples of Bat files to include are welcome.
-
Updated the help.html
-
Created new Console Portable icon
Development Test 2 (2008-03-10):
-
Corrected script errors. Thanks to rayven01, Patrick Patience, & ZGitRDun8705 for the help. Much Appreciated.
-
Renamed the app to "Console"
-
Restored the Default configuration file. (no longer windowless by default)
-
Used UPX to compress EXE and DLLs
-
ToDo: Add abilty to dynamically adjust COMSPEC in XML settings file similar to Command Prompt Portable
Console doesn't support Win98 or earlier so changing COMSPEC in settings file is irrelevent. Console adjusts to cmd.exe by default on new tabs unless otherwise specified in settings. (2008-04-03)
-
ToDo: Add support for adjusting %PATH% environment variable from ConsolePortable.ini (2008-04-03)
There is a bug in how Console handles environment variables which is preventing this method at the moment (2008-04-03)
Development Test 1 (2008-03-07):
-
initial release
-
ToDo: Properly update drive letter dynamically in XML settings file
-
ToDo: Add abilty to dynamically adjust COMSPEC in XML settings file similar to Command Prompt Portable
_______________________________
I've been a member of PortableApp.com for 9 months now and this is my first attempt at making an application portable. I realize that this application is mostly portable out of the box; however, the settings do not accept relative paths for items such as Shell, Startup dir, icons, and background images. If these settings are not set, Console will use the default cmd.exe for its shell and the program directory for startup, so it will work portable.
Not being an experience NSIS coder, I dev in VB.net at work, I currently need help with updating drive letters in the XML settings file. I'm using the Notepad++ launcher as template, but the drive letter doesn't seem to be updating in the XML settings file as expected. Any help in pointing out my error would be greatly appreciated.
-Chad Ross
hmmm -download error
when i click on your download-link i get the following page:
"500 - Your link has timed out or is invalid. Go back to the drop page and refresh your browser."
Something wrong with the download link?
Fixed
Apparently Drop.io doesn't give me a static file url. I've updated the link to my Drop.io account where you can download the file directly.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
no problem
now it works, i get your page with the download link - that's okay, too :)
Nice!
I was waiting for someone to do this, I'll try it out.
Sweet!
I've been looking for something like this. Not sure I like the lack of window border but everything else looks nice. Curious why you called it console2 instead of just console?
Checked over the source:
console2portable.nsi
Here's a snippet that should clean things up:
SkipSplashScreen: ;=== Check for data files IfFileExists "$PROGRAMDIRECTORY\console.xml" UpdateLocations ;=== settings already in program directory IfFileExists "$SETTINGSDIRECTORY\console.xml" MoveSettings ;=== settings found in data directory ;=== Copy the default settings files StrCmp $DEFAULTLOCATION "true" "" UpdateLocations ;=== if not default location, user is on their own CreateDirectory "$SETTINGSDIRECTORY" CopyFiles /SILENT "$EXEDIR\App\DefaultData\settings\*.*" "$SETTINGSDIRECTORY\" MoveSettings: Rename "$SETTINGSDIRECTORY\console.xml" "$PROGRAMDIRECTORY\console.xml" UpdateLocations: ;=== Update files for new location ${GetRoot} $EXEDIR $0 IfFileExists "$SETTINGSDIRECTORY\Console2PortableSettings.ini" "" CreateSettingsIni ReadINIStr $1 "$SETTINGSDIRECTORY\Console2PortableSettings.ini" "Console2PortableSettings" "LastDriveLetter" WriteINIStr "$SETTINGSDIRECTORY\Console2PortableSettings.ini" "Console2PortableSettings" "LastDriveLetter" "$0" IfFileExists "$PROGRAMDIRECTORY\console.xml" "" GetPassedParameters ${ReplaceInFile} "$PROGRAMDIRECTORY\console.xml" "$1\" "$0\" Delete "$PROGRAMDIRECTORY\console.xml.old" Goto GetPassedParameters CreateSettingsINI: ;=== Create initial settings INI with default drive letter WriteINIStr "$SETTINGSDIRECTORY\Console2PortableSettings.ini" "Console2PortableSettings" "LastDriveLetter" "c:" Goto UpdateLocations GetPassedParameters:Make sure to delete the other nsexec line near the bottom too, that's a leftover from notepad++. Also you need to clean up the installer, it still has leftovers in the pre-install code.
Overall good first effort, just a few logic problems. It takes a bit to get used to how NSIS script works. :)
formerly rayven01
Nice :)
i often wonder how familar some people here with the NSIS code :) I hope i will be soon, too. :)
But one little remark: when i compile the launcher with rayven01's changes i get in the compiler a warning at the end:
1 warning:
Variable "USERTYPE" not referenced or never set, wasting memory!
Var USERTYPE is used on line 95 but not used afterwards,... I remember that in some launcher-scripts the USERTYPE is set as User or Admin but i can't find one at the moment as example or maybe I'm blind ;)
I think this app need administrative privilegs, doesn't it?
USERTYPE
You can just remove that variable. It was used in notepad++ because there was some manipulation of HKLM registry keys involved which were skipped if admin rights were lacking. Your launcher does not do any of that. You could also remove the COMSPEC variable since you don't need the nsexec lines anymore either.
formerly rayven01
ah okay...
that's the reason, sounds clear to me,... thank you, i will test it tommorow,... :)
I think i have learned now a little bit more and i hope, all your infos will help cjsden with his app :)
Beta
As far as I remember, the latest beta on there site had a window border, I don't know why this doesn't.
Edit: Yep, I just checked and build 138 has a border. I don't know whether this one, 137 doesn't, or there's just something either in the default settings, but either way it should be updated.
Thanks
@rayven01
Thanks for the help Shawn, I'll look at and update the changes you suggested on Monday, I have family over this weekend. I used Console2 so people would easily identify that i'm using the Beta and not the stable 1.* branch.
@Patrick Patience
Patrick,you're correct I forgot to redownload the defualt config file. These are my custom settings that I personaly use. I'll swap that out when I re upload.
Again thanks for the help guys.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Name
I used Console2 so people would easily identify that i'm using the Beta and not the stable 1.* branch.
In that case you should call it Console 2.0.137 Beta Development Test 1 and just use ConsolePortable on all the files. That way when they inevitably update it to version 3+ down the road you don't have to change all the files and have people with multiple installs. :) That's why we don't use the term 'Beta' for portable releases, so we can use the offical app status in the name.
formerly rayven01
Looks pretty good, a few
Looks pretty good, a few minor issues though.
The developer formerly known as ZGitRDun8705
WEB
Can i view web pages and how
Console2 is not a web
Console2 is not a web browser, it is Windows Command Shell enhancement, it adds a tabbed interface and a fancy window border, thats about it.
The developer formerly known as ZGitRDun8705
Updated Launcher
I've updated the launcher with the recommendations made.
thanks for the help guys.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
One more
One more recommendation
Change the file name so it matches the current Development Test naming schemes
Console2_Portable_Development_Test_2_en-us.paf.exe
The developer formerly known as ZGitRDun8705
Hosting
Hey Chad,
I see you have an account on drop.io there, but can I offer you hosting? You can get an FTP account or a web-based login and it'll be a direct link. Check out my user page to contact me if you're interested.
Thanks
Thanks for the offer Patrick.
I actually was using the Drop.io account until I could free up some room on my personal website account. I've managed to do so and have updated the download URL above.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Oh, alright
Sounds good.
Slow Going
We're heading into the final stretch of a major product launch here at work, so getting to my ToDo items for Console Portable have been slow. I'm hoping that I'll be able to look at it again later next week.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Any way to update path?
I like this. It seems really cool. I have the UnixUtils and some other items I would like to have in the PATH, is there anyway to add to the PATH with this?
---
Jeffrey Wiggs
Loving God and Learning Laughter
PATH?
Do you mean, Can you specify the startup path?
If so, you can specify the startup path in from the settings dialog. You can set an global startup path or a specific path for each Tab type you setup. The launcher will automatically adjust the drive letter to the current drive upon launch.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
No, I am referencing the environmental variable
I mean the %PATH% variable, so that I can add my UnixUtils bin directory, and my CommonFiles/CommandLine directory to the system Path. That way, I only have to type ls(.exe), instead of F:/PortableApps/CommonFiles/GnuWin32/bin/ls.exe to display current directory settings. (etc...) Does that make sense? I think it may have to do with the shell settings, but I don't know, and boogered up my home install playing with it.
*edit*
Sorry, this should have been replying to the above, I was not logged in when I hit reply.
---
Jeffrey Wiggs
Loving God and Learning Laughter
Not completely portable
Because you require Administrative Permissions on the machine you want to do this on, it is not completely portable. You could have a batch file that you run upon inserting your drive that takes the current definition for %path% saves it to disk and then appends it with your portable directory. I would then recommend a second bat file that restores the original setting prior to removing your drive. keeping in mind that if you're on a public machine as a guest you won't be able to alter the %path% variable.
You could add a user variable (such as %bin%) to the environment, this doesn't require you to be admin. And when you need to use your utilities you would type
%bin%\ls.exe. Remember to remove the variable once you are finished with it.Alternatively, and maybe not quite as convenient, you could have the startup path for Console be the directory that holds your utilities. this way when you launch a new tab you can use them without need to enter path.
Personally, i don't like playing with the %path% variable as many applications and the OS rely on it pointing in the right directories. And as you noted above you can bugger things up if you don't alter it properly.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Well, now I am confunded.
The messing with the %path% variable wasn't what was bothering me. Basically, I am wanting to use Console as John references using CommandPromptPortable in this UnxUtils link. The batch editing is what was done here, but how do I have Console do similar? Is there a way?
---
Jeffrey Wiggs
Loving God and Learning Laughter
Not Yet
Oh, you're talking about the ability to launch a bat file on startup as in Command Prompt Portable. I haven't implemented all of the feature from John's Command Prompt portable yet. Once I have the time to do so Console will work similarly. All you are missing at the moment is the ability to launch a bat file with Console as John's application does.
It's coming, just haven't had the time do get to it yet. ;)
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Thanks, I am
Anxiously awaiting this. This is a really cool app. The way I borked the system at home was by playing with the shell: setting and by accidentally running it without out the portable launcher. It seems the program does default to settings in your application data directory if they are there. I am not certain about this, so if anyone else can try to duplicate. I opened Console on my system, changed some settings, then closed it. I opened Console Portable, and it went to my new settings from my system, instead of using the ones from the data settings folder.
---
Jeffrey Wiggs
Loving God and Learning Laughter
Easy Fix
Hey Guys,
It's actually quite easy to do. I've setup Console2 Portable, to use autoexec.bat as the shell, which is stored in the XML File. I also have it setup to use MSYS+MinGW on my USB Stick, as I prefer to use MSYS instead of Command Line. So much more natural.
Anyways, the XML File looks like this:
<tab title="MSys" icon="E:\system\msys\m.ico"> <console shell="E:\system\msys\bin\sh.exe --login -i" init_dir="E:\"> <cursor style="0" r="255" g="255" b="255" /> <background type="0" r="0" g="0" b="0"> <image file="" relative="0" extend="0" position="0"> <tint opacity="0" r="0" g="0" b="0"/> </image> </background> </tab>BTW, keep up the good work Chad.
Correct
After all of the reading I've done on Console, you're example is the easiest way I can find to accomplish running a script at startup. This is also what is recommended in the help file.
Thanks for the support.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Updating %path% from the launcher
I've been working on getting the launcher to update the %path% environment variable from the consoleportable.ini file, but I have run into some problems. Apparently there is some issues with how Console reads environment variables from other processes. If i update the HKCU key for %path% the regular cmd.exe is updated but Console doesn't read the change.
There is currently thread in the Console forum regarding this. In the mean time you can a batch file with the following command in it on startup of a new tab like the example here. This is using the same implementation as Command Prompt Portable.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
What about...
this...?
System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("PATH", "X:\UtilsDirectory;$%PATH%").r0'Seems to work for me. Should be easy enough to read the extra path settings from the INI then adjust the value above accordingly.
Thanks
wraithdu, thank you for the help. I'm new to using NSIS to code and was stuck on using the registry to make the update.
Again, thanks.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Yeah, the registry is
Yeah, the registry is difficult for env variables, since most of the time you'll need a reboot or to logoff/logon.
Glad it works for ya now. Pretty neat program too.
Issues
Has anyone had any issues with the latest Dev Test? I personally have been running it with no issues.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
PAF Specs Stuff
in /Other/readme.txt remove the top 2 lines, and move your copyright to be directly under John's
I don't think you need registry.nsh included in the script
I had no issues using the app, it looks like everything is good to go.
The developer formerly known as ZGitRDun8705
Thanks
Thanks for the feedback Zach.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
2.00.138 to 2.00.139
If I remember right Dev Tests 1 and 2 were for version 2.00.138? No biggie, but FYI for future releases when you update the base app the Dev Test number starts over at 1. Also be sure to put in your notes that you updated the base app to a new version. :)
Love this app, by the way!
formerly rayven01
Understood
Thanks for the support Shawn.
I understand about the Dev Test numbering, I just thought it wasn't worth starting a new thread for such a minor update to the app. I'll be sure to do so next update.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
New thread
You don't necessarily have to start a new thread, just update the post with notes listing any version changes and add a comment. It's then fairly easy to spot your comment and know that discussion after that is about the new version.
formerly rayven01
Q
question: why do you only have the beta version of Console and not the 1.5 stable version?
Well...
If I remember correctly, it's no longer being updated, and the beta has more features and it quite stable. There was quite a lot of beta releases.
updates
? that doesn't make sense. the program is being updated. the 2.0 versions are updates but they're not stable yet and 1.5 is the last stable update. at least that's what the naming scheme implies
More Stable
The 2.00 branch is actually more stable than the 1.5 branch in my opinion. Plus 1.5 doesn't have tab support or a GUI for editing settings. The latter of which makes it hard for the average user to configure.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Missing library problem MSVCP71.dll
When i try to start console comes a window with information for missing library MSVCP71.dll.
And I have no idea why ...
In main folder of program there is one.
When i put MSVCP71.dll into system folder its starts normal.
O luaidh be siod an gradh
A dh'fhag mi ceangailte ruit an drasda
Co shaoileadh an rud a dh'fhas
Bho phog aon oidhche earraich
Unsure
I'm unsure as to why you're having this issue. I cannot duplicate the error on any of my systems. If you install Console to you machine directly do you have the same issue? If so I would post in the Console forum found here: http://sourceforge.net/forum/forum.php?forum_id=143117
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
Is this planning to be
Is this planning to be updated at some point? I personally use it and think its great.
I looked on source forge and have noticed that they have updated to 2.0.140
Else, I'd like to see this go official.
Good gracious! There goes a kangaroo. I must have a practice with me boomerang- Now then, slowly back
If you throw that thing at me, I'll jump right on your head.
Innit marvellous? Got a land full of kangaroos and I had to pick that one.
Swamped
I've been swamped at work as of late. I took a quick look at the changes in build 140 and there is nothing there that will change the portability.
I'll try to find some time to update the installer, but in the mean time you can just copy and paste the new build in the console folder.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
technically you can....
http://www.fdisk.com/doslynx/lynxport.htm
EDIT: I was replying to agdurrette.
~~{What will he think of next?}~~
~~{SeaMonkey 2.0a1 is out!!!}~~
Edit: Nvm.
Edit: Nvm.
Update
Updated Console Portable to current build: 141.
"If knowledge can create problems, is it not through ignorance that we can solve them." -Isaac Asimov
downloaded! and thanks :D
downloaded!
and thanks :D
Good gracious! There goes a kangaroo. I must have a practice with me boomerang- Now then, slowly back
If you throw that thing at me, I'll jump right on your head.
Innit marvellous? Got a land full of kangaroos and I had to pick that one.