ksh for cygwin


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ksh for cygwin
# 1  
Old 09-01-2012
Question ksh for cygwin

i am a newbie to unix. I installed cygwin in my windows vista. the terminal has bash as default. I need to work on ksh. the /usr/bin has no vi, clear or any of the ksh commands,

Please tel me the exact link from where i can download vi editor.

Please help.
# 2  
Old 09-01-2012
hmm...

"vi" is not a "ksh command". Both are commands in their own right. Cygwin comes in packages and you manage these with the "Cygwin Setup" isntaller, which is a graphical tool, which lets you select packages to be installed. Somewhere there is a "vi" package, which is probably a "vim" in disguise and there is a "ksh" paackage too.

Be aware, though, that cygwins "ksh" is most probably a "pdksh", which is not completely compatible with a real ksh. In some regards it more behaves like a bash.

I hope this helps.

bakunin
# 3  
Old 09-01-2012
Hi.

For the version of cygwin on W7 that we use:
Code:
$ version =o ksh vi
OS, ker|rel, machine: CYGWIN_NT-6.1, 1.7.16(0.262/5/3), i686
MIRBSD KSH R40 2012/04/06
VIM vi 7.3

The version command is local to our site.

Best wishes ... cheers, drl
# 4  
Old 09-01-2012
The original AT&T KornShell could be compiled on cygwin as well:

Code:
% uname -sr
CYGWIN_NT-6.1-WOW64 1.7.9(0.237/5/3)
% ksh93 --version
  version         sh (AT&T Research) 93u 2011-02-08

# 5  
Old 09-01-2012
You can download ksh93 binaries for cygwin from AT&T's software download site
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Need ksh in cygwin

Hi All, I have installed cygwin64 terminal. I would like to have ksh shell as well. But i dont find any ksh files in /bin dir of cygwin. Pl. help on how to install ksh in cygwin. Its for my training purpose.I am using windows 7 64 bit . (3 Replies)
Discussion started by: Jag02
3 Replies

2. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

I'm using cygwin on win7, What I would like to do is something like this: cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e I know I can start a new instance using either of these: mintty -e ... cygstart tail ... But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies

3. Shell Programming and Scripting

KSH script to run other ksh scripts and output it to a file and/or email

Hi I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email. For example ------- Script ABC ------- a.ksh b.ksh c.ksh I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies

4. UNIX for Dummies Questions & Answers

Anyone else use Cygwin?

I started to gather some stats from our windows servers through the use of cygwin and sshd :) is anyone else doing this sort of thing? interested in some other indicators I should be checking for... thanks, manny the following is only an example of the type of data I am able to... (4 Replies)
Discussion started by: mr_manny
4 Replies

5. Programming

cygwin

hello ... i am new with cygwin ... and i want you to help me. ... First of all, i want to determine the steady state stream function in a 2-D duct using a square mesh by using the finite-difference methodology and i want to simulate it....and i read a lot of information at... (1 Reply)
Discussion started by: mostafamagdy
1 Replies

6. UNIX for Dummies Questions & Answers

cygwin - sh-3.2$ help!

i am completely new to unix and am trying to learn with cygwin. my problem is simple.... when i use the 'man' command, eg 'man cat' id do not know how to get out of the manual!!!? if i type '!' and Return, rather than having just the $ prompt, it has 'sh-3.2$' as a command prompt.... (1 Reply)
Discussion started by: bobby999
1 Replies

7. Linux

cygwin

I'm trying to run the make command in cygwin. The directory is d:\resiprocate-1.2.3\resip\dum\test. But the command outputs: cant open perl script "c:\Program": No such file or directory why??...check the attached JPEG file....plz help (10 Replies)
Discussion started by: m_well
10 Replies

8. UNIX for Dummies Questions & Answers

Cygwin X

I have managed a successful install of Cygwin (after a few tries), and like any sensible person am ignoring the console in favour of the xconsole. I have this set up how I want - tcsh, all hot-keys (including ^z for suspend) and et cetera, but find it awfully slow. Are there any good... (7 Replies)
Discussion started by: fulgura
7 Replies

9. UNIX for Dummies Questions & Answers

Cygwin

Hi , I have software CYGWIN . Can i practice for shell script on that? Thanks sam71 (1 Reply)
Discussion started by: sam71
1 Replies

10. UNIX for Dummies Questions & Answers

Cygwin

Hi , I have cygwin software on my machine. can i practice shell script on that software or not? thanks sam71 (0 Replies)
Discussion started by: sam71
0 Replies
Login or Register to Ask a Question