mellon85 / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

esc key in vim (can not save) #190

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.vi /path/file
2.edit file
3.type esc to save(:wq!) it

What is the expected output?
change to visual mode in vi

What do you see instead?

What version of the product are you using? On what operating system?
2.14

Please provide any additional information below.
when i use vi in shellinabox, i can not save the file after edit.
because when i type esc, the focus point will out of the browser.

anyway, i want to know people how to use the vi in shellinabox to save file.
any tips / workaround?

thank you. 

Original issue reported on code.google.com by johnw.ch...@gmail.com on 18 May 2012 at 11:01

GoogleCodeExporter commented 8 years ago
This works for me running with fedora 17 on the client on Firefox 15.  What 
browser/client platform are you running?

Original comment by j...@cryregarder.com on 19 Sep 2012 at 4:21

GoogleCodeExporter commented 8 years ago
Hi, what I mean is, when I want change to visual mode(from insert mode) in vim, 
then hit the "ESC" key, the cursor will out focus of the browser(chromium).

Now, I found a workaround to this issue, use "Ctrl-[" key change to visual mode 
in vim.

Thank you.

Original comment by johnw.ch...@gmail.com on 20 Sep 2012 at 6:33