Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

really trying to get a Korn shell on redhat 6.2

Status
Not open for further replies.

mckarl

Programmer
May 5, 1999
147
GB
ok, i think i posted this before, but i still havn't been able to do it.<br><br>Basically, i want a korn shell on my linux box, i got pdksh but i can't seem to get it to work, anyone know if i need a few certain libraries for hte korn shell to work??<br><br>Thankyou in advance for any help!<br><br>Karl. <p>Karl Butterworth<br><a href=mailto:karl_butterworth@ordina.co.uk>karl_butterworth@ordina.co.uk</a><br><a href= > </a><br><i>I'm slim shadey, yes i'm the real shadey, all you other slim shadeys are just imitating; so wont the real slim shadey please stand up, please stand up, please stand up!</i>
 
If you head over to <A HREF=" TARGET="_new"> you can download the source code for Korn shell.&nbsp;&nbsp;This is the original, AT&T/David Korn source code that David Korn persuaded AT&T to open source a little while ago.&nbsp;&nbsp;You want the &quot;ast-open&quot; package.&nbsp;&nbsp;If you go to <A HREF=" TARGET="_new"> you will find the official home page of the Korn shell.<br><br>As an alternative, why not use Bash?&nbsp;&nbsp;This has all the features of Korn shell along with, to me, a better command line history.&nbsp;&nbsp;(You can't beat using the cursor keys to scroll through old commands ;^) <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
wondering on the bash approach, does it use the same syntax and everything??&nbsp;&nbsp;only i have been using korn shells for a while now.<br><br>Does it support the same ^[[3m (for change char type) and the ^[[16,06H and all that still???<br><br>i hope soooo.... <br><br>thanks in advance..<br>karl. <p>Karl Butterworth<br><a href=mailto:karl_butterworth@ordina.co.uk>karl_butterworth@ordina.co.uk</a><br><a href= > </a><br><i>I'm slim shadey, yes i'm the real shadey, all you other slim shadeys are just imitating; so wont the real slim shadey please stand up, please stand up, please stand up!</i>
 
They look like terminal control codes, so I'm going to say yes, you should be OK.&nbsp;&nbsp;The terminal should not be affected by the shell, and vice versa.&nbsp;&nbsp;If these are shell related options, what do they do?<br><br>Syntax wise, you should be able to take a Korn shell script and run it under Bash.&nbsp;&nbsp;I've never had any problems doing this.&nbsp;&nbsp;(When I have had problems, it's been with other programs not being present on the system I'm porting to, not with Bash itself.)&nbsp;&nbsp;The best way to find out would be to try your particular scripts.&nbsp;&nbsp;It may be that you are using some obscure Korn shell features that are not supported by Bash, but I would guess not. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
ok thanks. i will try tonight, <br><br>Thanks AndyDude!<br><br>Karl. <p>Karl Butterworth<br><a href=mailto:karl_butterworth@ordina.co.uk>karl_butterworth@ordina.co.uk</a><br><a href= > </a><br><i>I'm slim shadey, yes i'm the real shadey, all you other slim shadeys are just imitating; so wont the real slim shadey please stand up, please stand up, please stand up!</i>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top