Re: Thone 0.5

2010-04-03 Thread pike
Hi Rafael

 On April 1st, 2009, Werner Almesberger wrote
   April 1 is not over yet ;-) [1]

 Grrreat!.. :-) Thanks a lot!. I will test your job
 on fatfingershell asap and I'll let you know how it goes.
 
 Since new libsdl lets us run/rotate sdl applications
 on fb directly it would be possible to start the system
 with just a shell to work :) 

In fact, I had that setup before I flashed
my phone. The launcher started with
fatfingershell -e thone jail

But after flashing to shr-u, I can't install the ipk
for fatfingershell anymore :-/ It depends on libsdl and
libvorbis, but shr-u uses libsdl-ttf-2.0-0 and libvorbis0
(i'm guessing these are the intended packages)..

cu
*-pike



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-04-01 Thread Thomas Zimmermann
Am Donnerstag 01 April 2010 00:29:47 schrieb pike:
 Hi
 
  http://wiki.openmoko.org/wiki/User:Pike/Thone
 
  I have .ipk now
  http://jama.homelinux.org/org.openembedded.shr/all/thone_0.5-r0.4_all.ipk
 
 Cool! Thanks!
 
 Now, as was to be expected, I fixed some bugs
 and upped a new version, 0.6 .. with a different
 url ..  wouldnt it be easier if I hosted that ipk
 myself, on googlecode ?
 
 .. so i was trying to untarzip your ipk file
 to see if I could update it but it gives
 tar: invalid tar magic. isnt it a tarzip ?

.ipk are ar archives containing 2 tar.gz archives

 I'm wondering how to proceed. Never done this.
 Given the way .ipk works, I dont see the need
 for a makefile.

I can imagine how Martin's recipe looks like and it's probably very ugly and 
just for your current version. If you add an additional file or rename one then 
that recipe won't work anymore.
If you provide a Makefile then it will look nice and be independent on what you 
in your programm. That way it's much much easier to maintain for the package 
maintainer. And writing a Makefile is a matter of 5 minutes for you...

  BTW: Haven't seen your real name to fill AUTHOR field properly.. but
  nick will be enough if it is intentional  ;) .
 
 Yeah, pike will do :-)
 
 thanks,
 *-pike
 
 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-04-01 Thread Martin Jansa
On Thu, Apr 01, 2010 at 12:29:47AM +0200, pike wrote:
 Hi
 
  http://wiki.openmoko.org/wiki/User:Pike/Thone
 
  I have .ipk now
  http://jama.homelinux.org/org.openembedded.shr/all/thone_0.5-r0.4_all.ipk
 
 Cool! Thanks!
 
 Now, as was to be expected, I fixed some bugs
 and upped a new version, 0.6 .. with a different
 url ..  wouldnt it be easier if I hosted that ipk
 myself, on googlecode ?

I'm not going to host that .ipk.. but add recipe to shr and it will be
in SHR feeds as any other app :). If you want to reuse it for other
distributions, feel free to add link to shr feeds or redistribute it
from googlecode.

I'll update recipe to 0.6 and add it to feed (probably today).

 .. so i was trying to untarzip your ipk file
 to see if I could update it but it gives
 tar: invalid tar magic. isnt it a tarzip ?

it's 'ar', ar -x would do right magic

 I'm wondering how to proceed. Never done this.
 Given the way .ipk works, I dont see the need
 for a makefile.

With makefile it would be easier to install files to other locations
easily (like readme to /usr/share/doc) etc.. but it's not a big issue so
if you don't see the need, OK :).

  BTW: Haven't seen your real name to fill AUTHOR field properly.. but
  nick will be enough if it is intentional  ;) .
 
 Yeah, pike will do :-)

OK

BTW: in 0.5
* updating sms.cache..
/org/freesmartphone/PIM/Messages/Query: Query failed:
org.freedesktop.DBus.Python.AttributeError

is it something fixed in 0.6 already? (I'll try in few minutes..)

Thanks!

Cheers,
-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-04-01 Thread pike
Hi

 http://wiki.openmoko.org/wiki/User:Pike/Thone
 I'm not going to host that .ipk.. but add recipe to shr and it will be
 in SHR feeds as any other app :). 

Bear with me :-) The bitbake recipe refers to the ipk ?

In either case, it's probably better to wait for
a bit more stable version, or find a way for me to
fix bugs upstream.

In short, wow thanks, but please don't, yet.

 BTW: in 0.5
 * updating sms.cache..
 /org/freesmartphone/PIM/Messages/Query: Query failed:
 org.freedesktop.DBus.Python.AttributeError
 
 is it something fixed in 0.6 already? (I'll try in few minutes..)
 

I don't think so - never seen it.
Let me check if I can repeat it.


thanks!
*-pike

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-04-01 Thread Martin Jansa
On Thu, Apr 01, 2010 at 10:40:26AM +0200, pike wrote:
 Hi
 
  http://wiki.openmoko.org/wiki/User:Pike/Thone
  I'm not going to host that .ipk.. but add recipe to shr and it will be
  in SHR feeds as any other app :). 
 
 Bear with me :-) The bitbake recipe refers to the ipk ?

bitbake recipe is build description which instructs bitbake how to
create correct .ipk or .dep or .rpm or whatever from source archive.

In thone case it's repackaging your scripts.
 
 In either case, it's probably better to wait for
 a bit more stable version, or find a way for me to
 fix bugs upstream.

In case you relase newer version, recipe update is task for few sec.
Than all shr users get updated version with opkg upgrade (which they
have to check and download manually in case your .tgz).

 In short, wow thanks, but please don't, yet.

It's your call, but I don't see any disadvantage of having thone in
shr feeds. Let me know if you change your mind.

  BTW: in 0.5
  * updating sms.cache..
  /org/freesmartphone/PIM/Messages/Query: Query failed:
  org.freedesktop.DBus.Python.AttributeError
  
  is it something fixed in 0.6 already? (I'll try in few minutes..)
  
 
 I don't think so - never seen it.
 Let me check if I can repeat it.

Steps used here:
thone
sms tabtab
 sms grep: /home/root/.thone/ppl.cache/*ppl: No such file or directory
grep: /home/root/.thone/ppl.cache/*ppl: No such file or directory

config  helplistreadwrite
 sms list
* updating sms.cache..
/org/freesmartphone/PIM/Messages/Query: Query failed: 
org.freedesktop.DBus.Python.AttributeError

Cheers,

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-04-01 Thread pike
Hi


 In short, wow thanks, but please don't, yet.
 It's your call, but I don't see any disadvantage of having thone in
 shr feeds. Let me know if you change your mind.

Thanks, but I'll get back to you.
Want to fix your error first :-)

 Steps used here:
 thone
 sms tabtab
 sms grep: /home/root/.thone/ppl.cache/*ppl: No such file or directory

that's fixed in 0.6

 sms list
 * updating sms.cache..
 /org/freesmartphone/PIM/Messages/Query: Query failed: 
 org.freedesktop.DBus.Python.AttributeError

that's not.

I'll be back,
*-pike

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread Michael 'Mickey' Lauer
Amazing stuff, congrats!

-- 
:M:


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread Martin Jansa
On Wed, Mar 31, 2010 at 01:59:52AM +0200, pike wrote:
 On April 1st, 2009, Werner Almesberger wrote
   April 1 is not over yet ;-) [1]
 
 Following up on that discussion, I decided to
 write a bunch of shell scripts to read/write sms,
 calls, manage your address book etc. At first,
 they were basicly mdbus wrappers. But it apparently
 took me a full year get the details right.
 
 And today is a nice day to release what I have
 http://wiki.openmoko.org/wiki/User:Pike/Thone
 
 I'm curious what y'all think. My aim was to write
 something that would beat the guis: quicker to load,
 easier to work with, more reliable, and, when using
 a gui like FatFingerShell [2], prettier :-)
 But to be honest, I'm not there yet.
 
 I learned the nitgrit of bash, sed and awk along
 the way; most of the code already looks like
 babytalk to me now, but well it works.
 
 $2c,
 *-pike
 
 [1] http://lists.openmoko.org/nabble.html#nabble-td2542865%7Ca2568942
 [2] http://fz.hobby-site.org/om/fatfingershell/web.html

Hi,

Haven't tried yet, but from description it looks usefull (I'm using my
neo mostly only remotely over ssh connection :)). So I'm already
preparing bb recipe for that to put it in shr-u feeds.

Thanks!

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread pike
Hi

 http://wiki.openmoko.org/wiki/User:Pike/Thone
 Haven't tried yet, but from description it looks usefull (I'm using my
 neo mostly only remotely over ssh connection :)). So I'm already
 preparing bb recipe for that to put it in shr-u feeds.

That sounds great. Not exactly sure what it means though :-)
Let me know if you need anything.

for example ..  I've put the tarbal up on google code but
I could put the sources under public svn there if thats
easier ?

thanks,
*-pike

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread Martin Jansa
On Wed, Mar 31, 2010 at 02:35:25PM +0200, pike wrote:
 Hi
 
  http://wiki.openmoko.org/wiki/User:Pike/Thone
  Haven't tried yet, but from description it looks usefull (I'm using my
  neo mostly only remotely over ssh connection :)). So I'm already
  preparing bb recipe for that to put it in shr-u feeds.
 
 That sounds great. Not exactly sure what it means though :-)
 Let me know if you need anything.

I have .ipk now
http://jama.homelinux.org/org.openembedded.shr/all/thone_0.5-r0.4_all.ipk

But it's just converted tgz-ipk made by bitbake.

 for example ..  I've put the tarbal up on google code but
 I could put the sources under public svn there if thats
 easier ?

Yeah, would be nice to have it somewhere in tar.gz or svn in form of
just source files and simple Makefile which has only target install
which moves source files to right target dirs.

BTW: Haven't seen your real name to fill AUTHOR field properly.. but
nick will be enough if it is intentional ;).

Cheers,

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread Esben Stien
pike pike-openm...@kw.nl writes:

 I decided to write a bunch of shell scripts

Yup, really nice stuff;). Thanks. Hope you bring it to completion;).

-- 
Esben Stien is b...@e s  a 
 http://www. s tn m
  irc://irc.  b  -  i  .   e/%23contact
   sip:b0ef@   e e 
   jid:b0ef@n n

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread pike
Hi

 http://wiki.openmoko.org/wiki/User:Pike/Thone

 I have .ipk now
 http://jama.homelinux.org/org.openembedded.shr/all/thone_0.5-r0.4_all.ipk

Cool! Thanks!

Now, as was to be expected, I fixed some bugs
and upped a new version, 0.6 .. with a different
url ..  wouldnt it be easier if I hosted that ipk
myself, on googlecode ?

.. so i was trying to untarzip your ipk file
to see if I could update it but it gives
tar: invalid tar magic. isnt it a tarzip ?

I'm wondering how to proceed. Never done this.
Given the way .ipk works, I dont see the need
for a makefile.

 BTW: Haven't seen your real name to fill AUTHOR field properly.. but
 nick will be enough if it is intentional  ;) .

Yeah, pike will do :-)

thanks,
*-pike


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread Rafael Ignacio Zurita
Hello Pike,

--- On Tue, 3/30/10, pike pike-openm...@kw.nl wrote:

 On April 1st, 2009, Werner Almesberger wrote
   April 1 is not over yet ;-) [1]
 
 Following up on that discussion, I decided to
 write a bunch of shell scripts to read/write sms,
 calls, manage your address book etc. At first,
 they were basicly mdbus wrappers. But it apparently
 took me a full year get the details right.
 
 And today is a nice day to release what I have
 http://wiki.openmoko.org/wiki/User:Pike/Thone
 
 I'm curious what y'all think. My aim was to write
 something that would beat the guis: quicker to load,
 easier to work with, more reliable, and, when using
 a gui like FatFingerShell [2], prettier :-)
 But to be honest, I'm not there yet.
 
 I learned the nitgrit of bash, sed and awk along
 the way; most of the code already looks like
 babytalk to me now, but well it works.

Grrreat!.. :-) Thanks a lot!. I will test your job
on fatfingershell asap and I'll let you know how it goes.

Since new libsdl lets us run/rotate sdl applications
on fb directly it would be possible to start the system
with just a shell to work :) 

Rafael


  

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Thone 0.5

2010-03-31 Thread Werner Almesberger
pike wrote:
 And today is a nice day to release what I have
 http://wiki.openmoko.org/wiki/User:Pike/Thone

Looks great ! Finally a UI that's friendly also with users who are
hackers ;-)

It would be nice to avoid modal dialogs, like the one in
$TH_MENU_SMSREAD. Why not simply remember the last message read
and have commands del(ete), re(ply), n(ext), p(rev), etc.,
that operate on whatever was the last message ? mh worked like
this, and it was quite nice to use.

sms read can still print a hint what commands may be useful next,
but without a modal dialog. (As an advanced feature, there could
then be an option for an expert mode that turns off the hints.)

If there's an undo, you also don't need to ask before dangerous
operations.

By the way, regarding overlay keyboards, in cases where fatfingershell
is too crowded or narrow, perhaps the following approach may be worth
considering:

- use a 4 x 6 grid (or similar)

- use the keys on the leftmost column as modifiers, e.g., with the
  following functions:

  - Left: use left half of the keyboard
  - Shift: shift, pressed in combination with Left and Right
  - Right: use right half of the keyboard
  - Fn: special functions/characters

- for the remaining positions, select the layout according to the
  modifier(s) pressed

Typical use would be two-handed. E.g., if we assume a split through
the middle of a regular keyboard, we'd get something like this:

Modif.  LeftRight
--  -   -
Left1   2   3   4   5   6   7   8   9   0
Shift   Q   W   E   R   T   Y   U   I   O   P
Right   A   S   D   F   G   H   I   J   K   L
Fn  ?   Z   X   C   V   B   N   M   ?   ?

? is something non-alphanumerical. Space, Enter, and Delete come
to mind. We can use Shift+Number for special characters.

To type Hello, one could

- hold Right+Shift then tap H
- hold Left and tap E
- hold Right and tap L, then holding Right tap L again
- keep holding Right and tap O

If modifiers are sticky, also single-handed use would be possible,
but slower.

Right+Shift could correspond to a location somewhere around
the bottom of the Shift area, or a transition of in Right to
between Right and Shift (rolling the finger.)

The multi-touch effect would be possible because touching
positions X and Y looks like a touch at a position in the
middle between the two. A sequence like Left-E would then look
like this:

- press somewhere in Left (let's call this vector X, from the
  origin)
- point moves - without releasing - somewhere near the top of
  W or Q (let's call this vector Y, from the origin)
- we calculate the real second position as X+2*(Y-X)

Just an idea for whichever April 1st is next :-)

- Werner

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community