Projects / AIBash / Comments

Comments for AIBash

06 Jan 2004 22:41 arifali_007

How do we go about to start a basic small shell
can anybody plz tell me how do we start writing a new small shell . or else if i would like to participate in devlopment of this AIbash, what can i do ,what are the modules.

this is what i know about shell is that it has to recognise its parameter the command and call the approtiate function or executable.

i think we need to write parser for that can we use lex and yacc there

05 Dec 2003 07:06 opk

Re: Why not just use zsh?

> Hi, one thing that would interest me if
> zsh also creates a statistics about
> which program is
> associated with which suffix (e.g. latex
> with .tex) and path trees to use this
> information for path names the user
> wants to enter at some later time.

No, zsh uses preprogrammed rules for that type of thing. Sounds like an interesting idea though. Would probably be easier to do for zsh without hacking C code: you can get at commands executed from the preexec() special function and by changing the default completion function, you could have it lookup your statistics to decide what to do.


I think you'd get more interest using zsh as a basis for your ideas. Having made a concious decision on their shell instead of using the default, zsh users tend to be more interested in interesting improvements. It also has dynamic modules so bloating the main binary is less of an issue. Zsh is a much more open project: Bash has no mailing list other than for bug reporting and no public access to development sources in CVS.

05 Dec 2003 06:19 vdbrueck

Re: Why not just use zsh?

> Most of what is mentioned on the web
> page can already be done in zsh. Even
> tcsh can do basic spelling correction.
> With the zsh completion it is possible
> to correct typos and complete partial or
> approximate things.


Hi, one thing that would interest me if zsh also creates a statistics about which program is
associated with which suffix (e.g. latex with .tex) and path trees to use this information for path names the user wants to enter at some later time.

By the way, I could need some
people to further improve this project.

Example for Path Tree

home
+heinz
++data
++statistics
++prog
++doc
+holger

The tree was messed up in the previous mail.

05 Dec 2003 06:14 vdbrueck

Re: Why not just use zsh?

> Most of what is mentioned on the web
> page can already be done in zsh. Even
> tcsh can do basic spelling correction.
> With the zsh completion it is possible
> to correct typos and complete partial or
> approximate things.


Hi, one thing that would interest me if zsh also creates a statistics about which program is
associated with which suffix (e.g. latex with .tex) and path trees to use this information for path names the user wants to enter at some later time.

By the way, I could need some
people to further improve this project.

Example for Path Tree

home
heinz
data
statistics
prog
doc
holger

15 Dec 2002 07:51 opk

Why not just use zsh?
Most of what is mentioned on the web page can already be done in zsh. Even tcsh can do basic spelling correction. With the zsh completion it is possible to correct typos and complete partial or approximate things.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.