Live data from Hacker News

Vim ported to iOS

applidium.com

111–120 of 133 posts

Re: Vim ported to iOS

#111

Does anyone know what they keyboard skin/layout is on their splash page screenshots? Its definitely not stock.

I think you have to slide two fingers to opposite sides of the screen for they keyboard to split. (At least that is what was showed in the iOS 5 videos, I don't have an iPad)

Re: Vim ported to iOS

#112
post #59

Vim is for coding. How does this work out on the iPad? Does one edit remote files locally, and compile/run remotely? (the benefit is the editing feels instant - no keystroke latency.) Or has Apple let up on the "no coding for you!" iPad/iPhone terms? (I thought they would eventually, once their dev environment is firmly established - and they'll have to, if/when they adopt iOS on their {lap,/desk}tops - but maybe tod…

This made the rounds somewhere a while back, but I didn't see a link to a discussion on HN when I searched

http://yieldthought.com/post/12239282034/swapped-my-macbook-...

Re: Vim ported to iOS

#113
post #94

Earlier quoted context omitted.

My point is that with this and iSSH, iPad + a keyboard could be a serious alternative to a traditional laptop for many types of programming tasks.

Any free alternatives to iSSH? I don't feel like paying 10$ just to try it out.

This isn't free, but it is a bit cheaper in my opinion it's miles better, http://www.panic.com/blog/2011/04/introducing-prompt-ssh-for...

If I remember correctly, iSSH hasn't been updated for quite some time now. Though I might be wrong.

Re: Vim ported to iOS

#115
post #77

What's the biggest advantage over SSHing to your server? Is the interface optimized? I mean, you're almost never offline these days, so local storage can't be it, right? I suggest mapping 'jj' to ESC rather than '\'

Small tip - I use "jk" instead of "jj" for ESC. I always thought the difference was personal preference, but there is actually 1 good reason to use "jk". If you get used to pressing "jk" all the time, you'll probably end up using it in Normal mode as well as insert mode. "jj" will move up 2 rows in Normal mode, while "jk" doesn't do anything. Therefore you can use "jk" as a reflex every time you get to the keyboard,…

ctrl-c, to avoid any of that stuff. 'jk' will move you one row down, and one row up.

Re: Vim ported to iOS

#116
post #101

Earlier quoted context omitted.

You do not have to distribute the source code of a GPL application with the binary. You merely have to make it available. For example, I have an Ubuntu Linux install CD with lots of GPL binaries and no source. It's perfectly legal for that binary-only CD to be distributed. AFAIR from the VLC case, software distributed on the AppStore has extra restrictions on the user (You can only use it for personal reasons, you ca…

Okay, thanks for the detailed explanation and the reasoning behind that sentence. Yes, Apple did not take any special action to support GPL in the app store. Personally, I find it surprising that Apple, which leveraged open source to a huge effect and took stewardship of some high-profile OS projects (webkit, llvm/clang, CUPS), but allows other companies to position themselves as "open source friendly" alternatives.…

Apple did not take any special action to support GPL in the app store.

You do not need to take any special action with any operating system to get it to support the GPL. What Apple have done is done special action (lots of EULA/contracts/etc.) that explicitly disallow the GPL.

The reason (I think) Apple are explicitly disallowing the GPL is because it would be incompatible with the DRM type systems that Apple use. It's more a case of 'If Apple distribute GPL software on their App Store, they might have to give away the DRM keys and allow anyone to run any programme on their iPhone'. That situation is something Apple don't want.

GPL programmes are still allowed on OSX obviously, and I think some of Microsoft's mobile and/or app store thingie explicitly ban GPL as well.

Re: Vim ported to iOS

#117
post #104
post #102

Earlier quoted context omitted.

Bundling of source code with binaries is not required under the GPL. You can have it on your website. However the App Store EULA etc. are incompatible with the GPL (cf. http://news.ycombinator.com/item?id=3489115 )

Interestingly, there seems to be an exception for open source licenses in http://www.apple.com/legal/itunes/appstore/dev/stdeula/ (I assume this is the relevant appstore eula); look at the end of: "You may not copy (except as expressly permitted by this license and the Usage Rules), decompile, reverse engineer, disassemble, attempt to derive the source code of, modify, or create derivative works of the Licensed Appli…

(I don't know much about iOS development, so will take your word that this is the standard licence that software on the AppStore goes to the customer under)

There are numerous parts of that licence that are incompatible with the GPL and other Free Software/Open Source licences:

e.g.:

This license does not allow You to use the Licensed Application on any iPod touch or iPhone that You do not own or control, and You may not distribute or make the Licensed Application available over a network where it could be used by multiple devices at the same time. You may not rent, lease, lend, sell, redistribute or sublicense the Licensed Application.

If $COMPANY (e.g. Canonical gives me a Linux kernel) gives me a piece of GPL software, I am allowed to install that on numerous devices, I am allowed to sell that software myself and keep all the money myself, I am allowed to install that software on my friend's computer. All of these actions are prohibited by that Apple Licence, and hence in order for Apple to give/sell me a GPL programme they would have to change that.

Apple have chosen to get around this situation by not giving me any GPL licenced software.

Re: Vim ported to iOS

#118
post #116

Earlier quoted context omitted.

Okay, thanks for the detailed explanation and the reasoning behind that sentence. Yes, Apple did not take any special action to support GPL in the app store. Personally, I find it surprising that Apple, which leveraged open source to a huge effect and took stewardship of some high-profile OS projects (webkit, llvm/clang, CUPS), but allows other companies to position themselves as "open source friendly" alternatives.…

Apple did not take any special action to support GPL in the app store. You do not need to take any special action with any operating system to get it to support the GPL. What Apple have done is done special action (lots of EULA/contracts/etc.) that explicitly disallow the GPL. The reason ( I think ) Apple are explicitly disallowing the GPL is because it would be incompatible with the DRM type systems that Apple use.…

Yes, you do (sometimes) have to take special action to support the GPL. For example, Ruby recently changed its license to allow the bundling of readline 6 with MRI. This was a distribution problem as well.

Show me the places where Apple EULA "explicitly" disallows the GPL (and not just includes things that are incompatible with the GPL). There certainly is GPLed Software in the app store, even with a notice included (see Battle of Wesnoth). If it was explicitly forbidden, that would not happen.

My interpretation is that Apple just doesn't care. The want Apple-signed code on their devices and if your license doesn't allow signed code, they won't help you. This by itself is sad and I would very much hope for that to be different, but not "explicitly disallowing".

Re: Vim ported to iOS

#119
Nice work. It would be nice to add a few extra keys like you were suggesting like "tab", "ctrl" and "escape". Maybe slide them down from the top when you swipe the edges.

Another comment, this looks great for editing a fresh file on the run, but it would be nice to ssh into a server with existing files.

Great effort!

Re: Vim ported to iOS

#120

Earlier quoted context omitted.

They remapped backslash to esc. Kind of a pain since you have to go through 2 keyboards to get to it, but it works.

How exactly would going through 2 keyboards to switch modes work in a practical situation?

That's why you'd edit .vimrc to rebind the functionality provided by escape to 'jj' or 'jk' or something of the nature.
Post reply on HN