This site is an archive; learn more about 8 years of OpenHatch.

[WFS-India] [Gnu-linux-discussion] Interesting Blogs

Sayan "Riju" Chakrabarti s26c.sayan at gmail.com
Fri Sep 13 15:36:12 UTC 2013


1. Please don't hijack threads. As far as I can see, your query has
absolutely nothing to do with the OT viz. Interesting Blogs.
Start a new thread for a new query; it's free! :=)

2. As for a direct answer to your query, try Cygwin as suggested by another
poster for a pretty complete package. Also, there used to be  quite a nice
port of Bash (standalone) for windows; probably called win-bash or
something.

3.

On Fri, Sep 13, 2013 at 7:44 PM, HRIDAM BASU <hridam.basu at gmail.com> wrote:

>   in my ubuntu 13.04 if I open a particular file in vi editor then the
> editor is not working properly such as
> backspace and delete and arrow keys(giving C , B ,etc in various
> cases)


Are you in Insert mode of vi?
Are you doing this from a remote session?

Vi, et al may be not quite "friendly" as compared to something like gedit.



>   while running some of the shell script programs illegitimate errors are
> being given such as "expecting do" but I have given do after all loops
> and also ended them using done;these files are expected to work fine
> in proper systems as it really contains no syntax.
>
>
Try something simple like
*for i in `seq 1 10`;do
*
*echo $i
done*

Do you still get the same error?
Otherwise, show us the code you were trying which threw the errors.

Also, was the shell script file(s) you are trying to run created in a
windows system?
Are you doing this from a remote session?

-- 
Sayan "Riju" Chakrabarti
Kolkata, India.
---------------------------------------------------------
GnuPG Public Key ID: 0xB6506B6F
---------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhatch.org/pipermail/wfs-india/attachments/20130913/06cadf3d/attachment.html>


More information about the WFS-India mailing list