简体   繁体   中英

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.

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.

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 .

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM