From b7f2fc76c3c666315dff4db157f1fc49757296d3 Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Fri, 25 May 2018 14:41:47 +0200 Subject: [PATCH] ADD [doc] : documentation with basics alias --- bonus/doc/about.html | 90 +++++++++++++++++++++++++++++++++ bonus/doc/documentation.html | 65 ++++++++++++++++++++++++ bonus/doc/home.html | 53 +++++++++++++++++++ bonus/doc/main.go | 44 ++++++++++++++++ bonus/doc/static/cecile.jpg | Bin 0 -> 4778 bytes bonus/doc/static/florent.jpg | Bin 0 -> 3776 bytes bonus/doc/static/florian.jpg | Bin 0 -> 3741 bytes bonus/doc/static/julien.jpg | Bin 0 -> 4375 bytes bonus/documentation/index.html | 62 ----------------------- 9 files changed, 252 insertions(+), 62 deletions(-) create mode 100644 bonus/doc/about.html create mode 100644 bonus/doc/documentation.html create mode 100644 bonus/doc/home.html create mode 100644 bonus/doc/main.go create mode 100644 bonus/doc/static/cecile.jpg create mode 100644 bonus/doc/static/florent.jpg create mode 100644 bonus/doc/static/florian.jpg create mode 100644 bonus/doc/static/julien.jpg delete mode 100644 bonus/documentation/index.html diff --git a/bonus/doc/about.html b/bonus/doc/about.html new file mode 100644 index 0000000..75f9052 --- /dev/null +++ b/bonus/doc/about.html @@ -0,0 +1,90 @@ + + + + + + 42SH + + + +
+
+

About us

+
+
+ +
+
+
+

Florian:
Quote management, Environement management

+

Cecile:
Scripting, Globbings, Echo built in

+

Julien:
Multiple pipe management, Job control

+

Florent:
Parsing, Simple execution, Alias, History, Line edition, Local variable

+
+
+
+
+
+
+
+
Support the team!
+

Check out our GitHub and report any bug!

+ GitHub +
+
+ + + + + \ No newline at end of file diff --git a/bonus/doc/documentation.html b/bonus/doc/documentation.html new file mode 100644 index 0000000..2453aae --- /dev/null +++ b/bonus/doc/documentation.html @@ -0,0 +1,65 @@ + + + + + + 42SH + + + +
+
+

Documentation



+

Install

+

Go to the download page and click on download. You can either download the full source code or just the binary.

+

Make sure to have the ncurses library on your computer.



+

After install

+

Once you've downloaded the project use make to comile the source code.

+

Once the compilation is done or if you've downloaded the binary instead of the full source code, use sudo mv ./42sh /bin/42sh to move it to the bin.

+

To execute the shell : 42sh



+

Alias

+

To add an alias to the shell use the command alias this command takes two parameters, the first one being the original command and the second one being the new command.

+

For exemple remplacing ll by ls -l you would use : alias ll ls -l

+

Then use the command ll and it will execute the linked alias.

+

Then use the command to display all the alias is alias



+

History

+

To look at the history use the command history

+

If you want to use an old command us !-x x being the number of the command you want to use

+

When you want to use the last command, you'd use : !-1

+
+
+
+
+
Support the team!
+

Check out our GitHub and report any bug!

+ GitHub +
+
+
+ + + + + \ No newline at end of file diff --git a/bonus/doc/home.html b/bonus/doc/home.html new file mode 100644 index 0000000..f4e8056 --- /dev/null +++ b/bonus/doc/home.html @@ -0,0 +1,53 @@ + + + + + + 42SH + + + +
+
+

42SH

+
+

The 42sh is an Epitect project.

+

The purpose of this project was to re-create the tcsh.

+

Compsed of team of 4 students.

+
+
+
+
+
+
Support the team!
+

Check out our GitHub and report any bug!

+ GitHub +
+
+ + + + + \ No newline at end of file diff --git a/bonus/doc/main.go b/bonus/doc/main.go new file mode 100644 index 0000000..11dddd0 --- /dev/null +++ b/bonus/doc/main.go @@ -0,0 +1,44 @@ +package main + +import ( + "html/template" + "log" + "net/http" +) + +var tmpl = template.Must(template.ParseGlob("./*.html")) + +func home(w http.ResponseWriter, r *http.Request) { + + tmpl.ExecuteTemplate(w, "home.html", nil) +} + +func documentation(w http.ResponseWriter, r *http.Request) { + + tmpl.ExecuteTemplate(w, "documentation.html", nil) +} + +func download(w http.ResponseWriter, r *http.Request) { + + log.Println("Download [42sh].") + http.Redirect(w, r, "/", http.StatusSeeOther) +} + +func about(w http.ResponseWriter, r *http.Request) { + + tmpl.ExecuteTemplate(w, "about.html", nil) +} + +func main() { + + log.SetFlags(log.LstdFlags) + + http.HandleFunc("/", home) + http.HandleFunc("/download", download) + http.HandleFunc("/documentation", documentation) + http.HandleFunc("/about", about) + + http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static")))) + + http.ListenAndServe(":8080", nil) +} diff --git a/bonus/doc/static/cecile.jpg b/bonus/doc/static/cecile.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0bce31ca0d93e8de2d28b1e57bdd239824d29cff GIT binary patch literal 4778 zcmbW%cQD-Fy9e;kT5I)<8l5PK{?%7sB+3%Kmk>*cC3;;^q9%F|q6Mo&31NwZ=vI$j zqC^)YBzg#ba_^nrow{Acy@U2U{N(Zw?P1 zTNfwq0Me^D;4VN+LTY8n_VD-$~#D-#O~2ePG>OslUp3+8Ad`%f0KcciRbnmUOs*aNh!Fr zjO^Wes%q*QNKHc{V-r&|a|^rcVL3i_LVJ1p`1<(=V8SCJqoSX`h)GFJOV4jDw@U2iZIA>@`Q5w)^D)YgNBQ|uWrtxEFi z+IA8yaf6?9D9=$+dTxnjo?m}y{~`O|!NUGuvVX(=+w}z?2ZOG|15*JAU{~q56r=%> z_I(3@W32S?Exfc*Kwxm%5}%x5B*1_L^n08zV+^1lX9ib5URnVRqtdyU1YJHeSP4~@ z-qV>=>RFvT#C9_j#Q<`ns*ESaAhke;xI~+&RKNFsu7I;cz;XUkf?DD6!rs{!O~MuM z_6o2L<=@QK&%Xj5aQxY7JFvJR4B;(4%eKCF407tEoliu&OGNSR=#*rT^>F~Qsb+Pj z_P#4 z)IYHCQ10OSVdm9Grf7Hz&&4|Ausi$aow`TKY2k`otC*i7Qs$8C)HKj8gziU8x*27c zL$h@ck|);PEk{Z;Fa33?&4SbZ9*t}Jd8NN3zs^7UxWRgb=PTJ>)?To9*B`|M#_{R3 zJ-T!Yvo`7h=v1|~D3+zE7-Z7QsGIzl{rRQ0BjWOd6T)UVi*vVFFyz8}?5lFS;9pyQPRb{ zNtkopy;r{K(k?k_m6p;nL*`l<>3&kgJx1r#k3X?AYN+JoR|#6PHaL)qDL6A4YkZ3* z5&yi>n!$KmH8zT44W=2nyP2%f>DY+F6#1)7>d6+|e&;H$_@X%ic$VDl_@mHf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1tEPkk+OI>W@F>_V0 z&jE(5tMa+|+smiGdZURm=iTf!>l?eJKG`K(Ic9rW5=JQG5PU%pJpG5{(h9=;bo^h6 Cf6XcY literal 0 HcmV?d00001 diff --git a/bonus/doc/static/florian.jpg b/bonus/doc/static/florian.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cc1abcc5beaa3c132fde469b9bb3b91f8e0b0b93 GIT binary patch literal 3741 zcmbW(XH?Tqmk01)5+EcL34|&oG-=A;P^5+y0qGE`G-(P6MM5uvAc~PHy(m>8BB1ml z7LZ^b{tckey(YQAUAeD1uN!#9Tu0GFwei4gz-fdG%A z1`ZDZ9W2gJ-_8oBiSqS1MF_s=i;6%io<_-rhvI{LQ6{FwC{t@gV^qW$CApI*pNp3~ z!vn%l#Bk35d{{L6a2CJ}+i8g4{gEkRn22q9Q`V!YC<4 z8I;6HNnv4GHMx_g(JCq`Vlo;SbtP>@Wfi5rhk#%(7&{xg00)PFlDM$A(*L;*y8#3% z@Ejv6C8Z`Fs;wHaHDSL%ngTeXu1q6kpPsqs1$*ZWI zQB&8@#GW-YGCpTwYHMfj;OKPT+52c%zJ7Q@XjpheWK?ua()An3H%YfrvU76t@(T)! ziYxC`k?&VOsCn4b+|t_C-qHEwWp7{qz~IpE$kc1|HFkia)FtcAWYD|E)Y2KXh9H6%;IPkZhaf5Cy_@&DUlUv zkX6yx1Cvz7ec|;AnS}F6sVquw|E2wh?0*Nl_WzRo8}{EWI=~JA9X%cd0q6ps^eXey ztO3pM<>AO@6u=s6V`icUC0J5lOVndCF%*d^ z2j31StCakn02Ld=eIS>^h(nbr%xLH{2pL(KNW#lebAjBO^_n@)0O=DtEuU~+2|UP~ z+vGuHJQBd+rmR8q?ELHmxFxe7l812{v|(brXi^L`;WcqTDhrc@ZH!xwa-w)EG7)0_!&S_apkPFSRT#`Hhe@VV@3gMY z{U+Vk$JprX3*%zc&b4ha@y(C-n2*;TZ_Y-I+BX*dGkZ~9_v!45k{JHv{lLo)ANGcQ z6kfX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+nr=o&Ryfj>ObZ#-Y)uhw*UU*m7Is^iG5#Q76n4iCjSX2pb4D- literal 0 HcmV?d00001 diff --git a/bonus/documentation/index.html b/bonus/documentation/index.html deleted file mode 100644 index abc30ff..0000000 --- a/bonus/documentation/index.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - 42SH - - -
-
-
-
-

42sh

-
Description
-

The 42sh is a tcsh like shell, most of the tcsh's functionalities are present.

-
Usage
-

$> make

-

$> sudo mv mysh /bin

-

$> mysh

-
Builtins
-

There are five builtins :

-
    -
  • cd
  • -
  • env
  • -
  • setenv
  • -
  • unsetenv
  • -
  • exit
  • -
-

They all have their own man.

-
History
-

To access the history use the command "hst".

-

The "hst" takes one parameter, it defines which command you want to execute.

-

"$> hst 1" will execute the last command in the history.

-
-

-
-
-
Download
- - -
-
-

- - - - -