Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a KornShell (ksh) IDE for Windows?

My job is to write KornShell (ksh) script and run the script in a remote server. I am trying to find the best way to do it.

Currently, I edit the code in Notepad++, transfer the file to server (through FTP), run the script in server, and repeat the process until the script runs fine.

So, what I'm looking for is an IDE (for windows) with a good editor, ftp support and debugging facilities.

like image 970
chemicalkt Avatar asked May 08 '12 05:05

chemicalkt


4 Answers

what you need is just an editor with syntax highlighting feature. Personally, I prefer the combination of winscp and notepad2. Configure your winscp to use notepad2 as editor. Then, locate the remote script file in winscp, right click and select Edit. You can now start coding and for every moment you press CTRL+S (save) in your notepad2, winscp will detect and transfer to the server.

like image 126
You Qi Avatar answered Sep 28 '22 13:09

You Qi


The Zeus editor can do seamless FTP/SFTP editing.

As to debugging it might also be possible to run the remote script using something like plink.

like image 43
jussij Avatar answered Sep 28 '22 11:09

jussij


Both Vim and Emacs will edit files on a remote machine somewhat transparently and both have ports to Windows that work well.

This link will tell you how to do it with Vim.

like image 34
JimR Avatar answered Sep 28 '22 12:09

JimR


I recommend opening a terminal connection to the remote machine (ssh or X windows) and edit/test/debug the script there. Unless you can get an X connection going, you'll have to use a text-mode editor like vi or emacs (steep learning curves but very powerful), or something simple like pico/nano. You can copy the file back to your Windows machine when you are all done. This approach isn't too bad. I do it all the time.

like image 32
Randall Cook Avatar answered Sep 28 '22 12:09

Randall Cook