Skip to content
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

Using old i2cssh config files #1

Open
kurktchiev opened this issue Nov 13, 2015 · 12 comments
Open

Using old i2cssh config files #1

kurktchiev opened this issue Nov 13, 2015 · 12 comments

Comments

@kurktchiev
Copy link

Hey so I just stumbled on your re-write and I like it, much simpler and faster than original, but it seems to not be able to use my already existing .i2cssh file :(, my node knowledge is non existent otherwise I would start doing some PRs. Any chance to add that?

@peh
Copy link
Owner

peh commented Nov 13, 2015

Yes it is on the Todo list! I am currently polishing the ec2 intergration .

@peh
Copy link
Owner

peh commented Nov 23, 2015

so i did some first integrations, clusters should already work. can you check if it's working with your existing file. and do you have any preference on what should work next

@kurktchiev
Copy link
Author

Just tested and it did not like my config file. GUessing its not ignoring the direction and boradcast bits.

---
version: 2
clusters:
  direction: row
  broadcast: true
  sakai-dev:
    columns: 3
    hosts:
      - lmapp0d
      - lmapp1d
      - lmadmind
  appbuild:
    hosts:
      - appbuild0
      - appbuild1

doing i2cssh -C .i2csshrc -c appbuild just returns and does nothing.

@peh
Copy link
Owner

peh commented Nov 23, 2015

are you using the latest beta of iterm2?

@kurktchiev
Copy link
Author

latest nightly actually.

@peh
Copy link
Owner

peh commented Nov 23, 2015

sorry that was my mistake. pushed 1.2.3 to npmjs which is working with your config file.
direction, broadcast and columns is ignored working by now but i will implement those options next

@kurktchiev
Copy link
Author

seems your changes have not made it to npmjs yet

@peh
Copy link
Owner

peh commented Nov 23, 2015

pesch3 published 55 minutes ago
1.2.3 is the latest of 7 releases

should be in by now?

one more question on your config.
is columns: 3 overriding direction: row currently (it sounds a bit like those two are "conflicting" no?)

@kurktchiev
Copy link
Author

So the idea is that you can do a complex layout using the default direction and specifying the column count. So in my case I have 3 servers and I want to end up with a window that looks like this:
iterm
I know it snot sure intuitive, but thats how you had to specify it in the config in the old i2cssh in order to produce the above.

@peh
Copy link
Owner

peh commented Nov 23, 2015

can you safely do a screenshot of this? or edit that and make it a code block? not sure i got what that painting means :)

@kurktchiev
Copy link
Author

yeah already did after realizing it wouldnt actually save my ascii art properly lol

@peh
Copy link
Owner

peh commented Nov 23, 2015

ok got it. will fiddle around should not be to hard to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants