-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open workspace specification ("session support" / "split more flexible" / ...) #274
Comments
I will certainly act as a tester for this project |
I've been looking for about 10 years for a decent 'console' front end to Java applications. |
a reminder: You can write here your needs and ideas. |
Well, I don't know about java integration, but I do sincerely wish for session support, defined as remembering my current console list when I close ConsoleZ, and restoring it automatically next time I open it. It doesn't matter to me what the implementation is named, as long as this functionality is provided. Frankly, char101's implementation works superbly, and I am using that now. The only problems with it are that Aero style is not available, and the fact that since it isn't being integrated into main project, I won't be able to update ConsoleZ in the future. I truly wish you would reconsider your position on that branch. Theoretical desire for a written specification is wonderful, in concept, but typically what an outside user cares about is functionality. |
@leendek like ConsoleZ -r command line option? |
@cbucher idd, but can I use that to open a split tab? If I run this now (console -t ConsoleZ -r "/k ping www.google.be" -t ConsoleZ -r "/k ipconfig"), I get 2 different tabs. |
I'd really love to have this functionality. Is this feature development dead? |
The reality is, the author was never very interested in this feature; he only started poking at it because someone else (char101) had actually gotten an implementation mostly working, and author didn't want to accept his commits. Actually, there's another alternative called ConEmu which does have this feature, very well implemented, and I've switched to that program for months now. It's got a bit of a learning curve when coming from ConsoleZ, but it's very stable, and author is very supportive (if a bit terse in email exchanges). I don't think we will ever see sessions support in ConsoleZ, though I'd be happy to be proven wrong! |
Awesome. I've tried searching for a console client that would do this a few times but it never quite found the one that proclaimed support for it and only so many hours in the day to search for tool instead of actually using them. I'll give ConEmu a look. |
I'm waiting for help on specifications since more than one year now.
Help to write some specifications, perhaps you will be happy 😉 |
Hi Christophe; thank you for responding to this thread. NOTE: this is a complete, thorough, implementable description of Frankly, that's exactly what Char101's code did too, though I would be very happy to switch back to ConsoleZ someday; I think it is Derell Licht On 11/19/16 14:29, Christophe Bucher wrote:
This email has been checked for viruses by Avast antivirus software. |
😞 This is so stupid... I opened myself this issue ❗️ (#260 (comment)) Why I didn't merge the pull request? So please: |
Yes, I know you opened it yourself, but then after that, (at least, it appeared to me) that you just dropped it because others weren't submitting suggestions for a "product specification". I really wanted this feature, but had no idea what would be involved in creating a formal spec for it, and it didn't appear that anyone else did either, judging from the inputs on the other (now closed) topics. All I could do was describe what I wanted... I also offered to act as a tester if you developed prototypes, but then nothing else followed. ITM, Char101's version really did work, very nicely indeed!! Yes, it had a major bug (if user rebooted Windows with the program open), but it likely would have been very easy to fix, easier (most likely) than re-writing some other solution. I was sad that he abandoned it. |
On a separate topic, I've been trying to figure out what your post with the images was saying, but I think I understand now; I think you're asking "how do I handle multiple consoles if user has specified different background images for different shells?"... I'm very glad I don't have to figure that out!! However, I think that's less an issue for the save/restore function, than just for the program's operation itself... Very complicated... does the user really want different background image for each tiled shell, or one image spread across them all? I've never thought about that, because the few times I've tried using transparency and background images, I felt it made the console almost unreadable!! You would need input from someone who uses them. And also, if you started working on this feature at some point, I'll re-iterate that I would be happy to act as a beta tester for the prototypes. |
My first idea to handle the mix of shells into a same tab was to separate shell settings from tab settings. But this is a big modification including settings structure. Tab settings remain unchanged.
The actual command "new tab XXX" creates a new tab (using XXX settings) and creates a new view (using XXX settings) and launches a new shell (using XXX settings). The actual command "split horizontally/vertically" creates a new view (using XXX settings) and launches a new shell (using XXX settings). The future command "split horizontally/vertically using other tab YYY" creates a new view (using YYY settings) and launches a new shell (using YYY settings). There is an example of xml file used to define a workspace. Xml is chosen for consistency: settings and snippets are already in xml. <?xml version="1.0" encoding="utf-8"?>
<ConsoleZWorkspace>
<Tab Title="tab1"
Name="my first tab">
<View Title="tab1" CurrentDirectory="C:\perso" />
</Tab>
<Tab Title="tab2"
Name="my second tab">
<SplitView Type="Horizontal" Ratio="50%">
<Pane0><View Title="tab2" CurrentDirectory="C:\perso" BasePriority="BelowNormal" /></Pane0>
<Pane1><View Title="tab4" CurrentDirectory="C:\perso\yolo" /></Pane1>
</SplitView>
</Tab>
<Tab Title="tab3"
Name="my third tab">
<SplitView Type="Vertical" Ratio="70%">
<Pane0><View Title="tab3" CurrentDirectory="C:\perso" /></Pane0>
<Pane1><View Title="tab3" CurrentDirectory="C:\perso\yolo" /></Pane1>
</SplitView>
</Tab>
</ConsoleZWorkspace> |
I'm not sure for icon, cursor and colors. Which property should be affected to tab (aka common to all the views present in the tab) or to the view? |
Wow, I don't have any ideas on any of those... I tried split consoles once, really didn't like it; I prefer all my consoles to be as large as possible!! So I don't have any experience with them. I think trying to retain any color scheme other than "all consoles use same colors", would get very complicated very quickly. |
- tab (background image, colors and cursor) - shell (shell, runas, icon, environment vars)
Well, this appears to be usable. Is there a way to auto-load a given workspace? That would be desirable. I tried "consolez workspace_filename", but that did nothing. What would be ideal, I think, would be to have auto-save/auto-load options. If I enable auto-save, then when I close ConsoleZ, it saves the current workspace. Next time I load with no arguments, it auto-loads that previous workspace. That is what ConEmu does; at first, I wasn't sure that was really how I wanted a console aggregator to work, but now it's hard to imagine living without it!! Whatever project that I'm currently working on, next time I reboot and start the program, I'm right back where I started!! It's pretty awesome. ITM, I'll continue using this ConsoleZ release, both here and at work (where I have 32-bit Win7, believe it or not!!)... I'll let you know if anything odd happens. |
Progress tracking:
|
Tab settings are used to configure two things:
|
Confirmed, 32-bit version (non-legacy) works fine as well. I'm very happy with this save/restore mechanism, works very nicely. (BTW, this post came from DerellLicht, just have different name at work...) |
Thanks for your feedback. I will build a new experimental version soon. |
Okay, program version 1.18.0.16349 seems to work, at least as well as previous build. I'm still having problems with tab naming on reload; see my post from yesterday. Thank you for your excellent work!! hmmm... later note: |
You must move or delete the backup-ed configuration file (bak file in %appdata%\console). |
Ahh!! Yes, that solved the "save settings" issue, thank you!! the tab-naming issue, however, remains. That's about all, though... everything else seems to be working very nicely... |
Tab title has not be designed to be empty. I don't understand what you want to do. |
CloseSettings moved from BehaviorSettings to BehaviorSettings2 (need more height in dialog)
…rkspace or tab are specified in command line)
I deleted some comments unrelated to this discussion but related to "Question about tab naming..." #395 |
This is an open specification for workspace.
It is impossible to restart a shell in the exact same state. (That's why I prefer "workspace" instead of "session".)
A workspace is limited to describe opened tabs, split configuration.
There are also some missing in tab splitting.
Specification should consider:
The text was updated successfully, but these errors were encountered: