Oh, it seems that select.poll() is missing on OSX. atomized.org/2008/12/python-on-o ā¦ electpoll/
Nice, I love when this happens. Looking for a way to replace select.poll() with select.select() or something else
SublimePTY [pre-alpha]
[quote]select.poll()
(Not supported by all operating systems.) Returns a polling object, which supports registering and unregistering file descriptors, and then polling them for I/O events; see section Polling Objects below for the methods supported by polling objects.[/quote]
docs.python.org/library/select.html
It canāt be that important, right?
I was able to replace it with select.select() which hopefully is available on OSX.
It is important, non blocking reads are quite nice
EDIT:
I think Iāll launch OSX now and do the rest of todays dev on it instead of Ubuntu.
Just want to say that this plugin rocked my socksā¦that is all.
Thanks for the plugin!
You bring tears to my eyes ;D
Now all we need is an email plugin (catb.org/jargon/html/Z/Zawinskis-Law.html)
Using the console-based vi in SublimePTY inside Sublime Text doesnāt work. Outrageous!
Seriously, this thing is really awesome. Amazing job!
Yo dawg, I heard you like editors, so we put a plugin in your editor so you use an editor inside your editor.
Seriously though, the first thing I did was load up vi inside Sublime Text, and then giggled when it worked.
Thanks for the kind words This thing is becoming more and more usable with each passing hour.
Iāve got some problems with forcing shell on OSX to behave the same as my Ubuntu box.
Thatās why mc/vim/tmux are not working correctly on OSX right now.
If anyone knows how to force OSX bash into full TERM=linux compatibility Iāll be glad to hear from them
http://i.imgur.com/x2R31.png
Problem?
Yup, thatās Sublime -> PTY -> Bash -> tmux -> 4x bash [mc | ipython | apline | emacs]
And yes, you can kill sublime and ātmux attachā will work after restarting.
Oh, we are all so predictable ;D I did the same thing when it worked for the first time.
Lets not get too excited This is mostly just gluing together bits and pieces of existing software.
So I thought to myself, I really want the Terminal to open in the current directory by default. āHow hard could that be?ā So I opened up the source code and my eyes glazed over in confusion, haha. It would be AMAZING if the terminal could be set to open with a vertical split like a console window, but Iām getting way ahead of myself.
BTW, I get VIM working fine. Not sure why that would be necessary but w/e.
It would be AMAZING if the terminal could be set to open with a vertical split like a console window
You know wuub works with GIS system? 2 dimensional network layouts
or something epic sounding.
Iāve need him to help me with splits.
@castles, I was going to say ānow if only castles pre-alpha released the grid splitting thinger we saw a screenshot of, we could get mini SublimePTY term windowsā
@wuub, thanks for posting āearly and oftenā, itās functional for me. The fancy still will come down the road, I hope (height adjustment, colors). The license bit confused me but a couple beers in order for sure. Cheers!
@jtp2
Hint taken. Release early, release bla bla. I told wuub I wouldnāt mind releasing
it to the general public if he helps me with support/maintenance. Heās busy with work and other stuff though I guess.
Iāve been waiting on Jon to take a look at the layout regrouping and batch view repositioning before really spending any further time on it. He said he wonāt consider these until after 2.0 final is out. Most of the ideas I have for it depend on quick view positioning.
Donāt be mean. Itās 40K of **dense **code and workarounds on workarounds, for the love of FSM
Itās really difficult to wrap my head around it after full day of work. And after several reads Iām starting to think you overestimated my abilities
Donāt be mean
Sorry, I didnāt really mean
anything by it Just weād talked about it, but youāve simply got other stuff like SublimePTY and work.
Iām starting to think you overestimated my abilities
Puhlease! You aint getting out that easy! hahaha
Will any MinGW or Cygwin help with getting this supported in Windows?
Edit - Forget I asked, i found the library
Why doesnāt this work on Windows? the Pyte library should be cross platform
[quote=āGrantā]Will any MinGW or Cygwin help with getting this supported in Windows?
Why doesnāt this work on Windows? the Pyte library should be cross platform[/quote]
Pyte is not a problem. Actually w/o it this whole thing would probably never happen!
I want SublimePTY to be real terminal emulator/console on all three platforms. The main reason behind that, is that if you donāt emulate terminal good enough, some programs behave differently.
Doing this on osx and linux is mostly the same and well documented (blog.nelhage.com/2009/12/a-brief ā¦ o-termios/) thatās why I am working on it first and with good results.
Attaching and controlling a windows console is a different thing altogether. One Example: a single windows process can have only ONE console attached, so if you want to control many, you need to spawn child processes and because they need to detach from parent console and create a new one for themselves, you canāt communicate with them through STDIO (AFAIK). So, you have to communicate through something else, Conque uses shared memory (actually, 4 shared memory blocks per subprocess) but itās a mess. I would love to use 0MQ, but unfortunately it crashes sublime, so itās either bare sockets or something like Pyro4.
Iāll probably take a look if bash.exe ran in the way SublimeREPL does it is usable as a POSIX/VT100 compatible shell. But itās a workaround and ultimately I would like to avoid that.