summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-10-18 23:12:27 +0200
committerBoris Faure <billiob@gmail.com>2013-10-18 23:28:09 +0200
commitb5139674826462038833124930af971621e318f6 (patch)
tree29712461253af1676be52ad705be17b37f7f6089
parent384069d88003dee1eb7550e4580c927076a34bcf (diff)
add moar slides + fix bugs
-rwxr-xr-xtypres.sh133
1 files changed, 115 insertions, 18 deletions
diff --git a/typres.sh b/typres.sh
index 02eb92b..549b890 100755
--- a/typres.sh
+++ b/typres.sh
@@ -27,7 +27,7 @@ t() {
27 else 27 else
28 len=$COLUMNS 28 len=$COLUMNS
29 lines+=("$line") 29 lines+=("$line")
30 line="" 30 line="$w"
31 fi 31 fi
32 done; 32 done;
33 if [[ -n $line ]]; then 33 if [[ -n $line ]]; then
@@ -94,6 +94,21 @@ function b {
94 done 94 done
95} 95}
96 96
97i() {
98 local h=$(( $LINES - $WL - 1 ))
99 #tycat -c -g ${COLUMNS}x${h} you_can_do_it.gif
100 echo -ne '\033}i'$1'#'$COLUMNS';'$h';'$PWD'/'$2'\0'
101 for I in $(seq 1 $h); do
102 echo -ne '\033}ib\0'
103 for J in $(seq 1 $COLUMNS); do
104 echo -ne '#'
105 done
106 echo -ne '\033}ie\0'
107 done
108 WL=$(( $WL + $h ))
109}
110
111
97vc() { 112vc() {
98 local str=$@ 113 local str=$@
99 local spaces=$(( ($COLUMNS - ${#str}) / 2 )) 114 local spaces=$(( ($COLUMNS - ${#str}) / 2 ))
@@ -150,36 +165,118 @@ f() {
150 echo -ne '\033[0m' 165 echo -ne '\033[0m'
151} 166}
152 167
153function s01 { 168function s_intro {
154 c "Terminology - Oct 2013 - Where are we?" 169 c "Terminology - Oct 2013 - Where are we?"
155 170
156 #local h=$(( $LINES - $WL - 1 )) 171 i "c" "terminology.png"
157 #tycat -c -g ${COLUMNS}x9 terminology.png
158 #WL=$(( $WL + 9 ))
159}
160function s_end {
161 c "Questions ?"
162
163 #local h=$(( $LINES - $WL - 1 ))
164 #tycat -c -g ${COLUMNS}x9 terminology.png
165 #WL=$(( $WL + 9 ))
166} 172}
167function s02 { 173function s_me {
168 t "$ whoami" 174 t "$ whoami"
169 175
170 local bullets=("Boris Faure aka billiob" \ 176 local bullets=("Boris Faure aka billiob" \
171 "developer on Enlightement and the EFL for 4 years" \ 177 "developer on Enlightement and the EFL for 4 years" \
172 "working on terminology for more than a year") 178 "working on Terminology for more than a year")
173 b "${bullets[@]}" 179 b "${bullets[@]}"
174} 180}
181function s_about {
182t "What is Terminology (in case you're really new here)?"
175 183
184 local bullets=("A terminal emulator" \
185 "written with the EFL (hence this talk!)" \
186 "with an impressive list of features")
187 b "${bullets[@]}"
188}
189function s_interlude0 {
190 t "Beware, the list is long"
191 i "s" "long_list.gif"
192}
193function s_features1 {
194 t "Features…"
195
196 local bullets=("Most escape sequences supported" \
197 "256 colors mode" \
198 "Unicode and Wide-Characters support" \
199 "All kinds of backgrounds (bitmaps, scalable, gifs, videos, pdf…)" \
200 "Transparency" \
201 "Bitmaps and scalable fonts" \
202 "Themes: much more than just changing colors!"
203 )
204 b "${bullets[@]}"
205}
206function s_interlude1 {
207 t "Interlude 1"
208 i "s" "interlude1.gif"
209}
210function s_features2 {
211 t "More Features…"
212
213 local bullets=("URL, file path, email address detections" \
214 "Inline display of content (images, videos…)" \
215 "Multiple copy/paste selections and buffer support" \
216 "Block text selection" \
217 "Works on X, Wayland, linux framebuffer…" \
218 "Can use OpenGl or OpenGL-ES2" \
219 "Can be finger/touch controlled"\
220 )
221 b "${bullets[@]}"
222}
223function s_interlude2 {
224 t "Interlude 2"
225 i "s" "interlude2.gif"
226}
227function s_features3 {
228 t "More and More Features…"
229
230 local bullets=( "Single process and multiple windows/terminals" \
231 "Splitting into multiple panes"\
232 "Tabs with live thumbnail content" \
233 "Custom escape sequences" \
234 "Fast!" \
235 "And more to come…" \
236 )
237 b "${bullets[@]}"
238}
239function s_figures {
240 t "Figures"
241 local bullets=( "Currently on version 0.3" \
242 "a bit less than 20k LOC" \
243 "about 35 contributors" \
244 "23 defects on Coverity" \
245 "26 Bugs on Phab" \
246 "11 Tasks as whishlist")
247 b "${bullets[@]}"
248}
176 249
250function s_help {
251 t "TODO"
252 local bullets=( "Fix any remaining bugs" \
253 "(yes, I know about selection and links)" \
254 "Scrollbar (patch to review)" \
255 "Bold/Italic support" \
256 "Text search"
257 "Settings UI (Keys, Colors…)" \
258 "…" \
259 "Patches are welcome!")
260 b "${bullets[@]}"
261}
262function s_can_do_it {
263 t "You can do it!"
264 i "s" "you_can_do_it.gif"
265}
266function s_troll {
267 t "Apps!"
268 local bullets=( "Elementary is not for you?" \
269 "Write your apps for Terminology!"
270 "Most languages supported!")
271 b "${bullets[@]}"
272}
273function s_end {
274 t "Questions ?"
275 i "c" "grumpy.gif"
276}
177 277
178 278
179slides=(s01 s02 s_end) 279slides=(s_intro s_me s_about s_interlude0 s_features1 s_interlude1 s_features2 s_interlude2 s_features3 s_figures s_help s_can_do_it s_troll s_end)
180
181clear
182
183 280
184 281
185 282