Re: fatfingershell V0.2

2009-10-28 Thread Treviño
c_c wrote:
 
 Marco Trevisan (Treviño) wrote:
  
  Would be possible keeping the same system but allowing an usage in
  480x640 mode?
   OT - but - what hardware are you talking about? ;-)

Sorry I used a wrong term... With system I didn't meant another
hardware, just the same software used in a different way, but always
in the FR, of course :P



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


Re: fatfingershell V0.2

2009-10-28 Thread rixed
-[ Tue, Oct 27, 2009 at 04:37:15PM -0300, Rafael Ignacio Zurita ]
   there is a new version of fatfingershell (0.2). 

Trying it on Hackable1, I got :

No se pudo iniciar el modo grafico No video mode large enough for 640x480

Apparently it rely on SDL being able to open a 640x480 fullscreen window.
Can't it work in portrait mode ?


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


Re: fatfingershell V0.2

2009-10-28 Thread Rafael Ignacio Zurita
Hello Marco,

--- On Tue, 10/27/09, Marco Trevisan (Treviño) m...@3v1n0.net wrote:
Il giorno mar, 27/10/2009 alle 16.37 -0300, Rafael Ignacio Zurita ha
scritto:
 Hello people,
   there is a new version of fatfingershell (0.2).
   
 It is a virtual terminal for Openmoko mobile phones, with a fullscreen
 keyboard, and sound/screen/vibrator feedback.

Nice work!

Thanks!,

 Suggestions and feedback are always welcome.

Would be possible keeping the same system but allowing an usage in
480x640 mode?

You mean a smaller keyboard? (width 480?), and the same
for the terminal?. I am not sure if I can (using the same
font) to put 80x24 (columnsxlines), which is the original
idea for the shell. 

Let me know if I am understanding well your idea :)

Rafa


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


Re: fatfingershell V0.2

2009-10-28 Thread Rafael Ignacio Zurita
Hello,

--- On Tue, 10/27/09, Łukasz Pankowski lukp...@o2.pl wrote:
Rafael Ignacio Zurita rizur...@yahoo.com writes:
 Hello people,
   there is a new version of fatfingershell (0.2). 
   
(snip)
 Moreover it is comfortable for fat fingers.

Thanks for that, really usable shell.

The keyboard lacks only small feature, I tried to run 

$ mdbus -s org.freesmartphone.otimed

and made a typo, and I see right and left cursors (preferable
 on   keys in FN mode) are a must.  I can do well with
 C-p and C-n to browse shell history (as you hit them
 once or twice), but multiple C-b or C-f
to move inside the line to edit it is a pain and unusable.

Well, I use bash, and set -o vi, so I can use ESC, and then
h j k l for left, down, up, right ;-)

But, yes, arrows keys are in my TODO list.

Thanks for the feedback.

Rafa

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


Re: fatfingershell V0.2

2009-10-28 Thread Rafael Ignacio Zurita
Hello, 
--- On Wed, 10/28/09, ri...@happyleptic.org ri...@happyleptic.org wrote:
-[ Tue, Oct 27, 2009 at 04:37:15PM -0300, Rafael Ignacio Zurita ]
   there is a new version of fatfingershell (0.2). 

Trying it on Hackable1, I got :

No se pudo iniciar el modo grafico No video mode large enough
 for 640x480

 Apparently it rely on SDL being able to open a 640x480
 fullscreen window.
 Can't it work in portrait mode ?

Question: the problem looks like you don't have xrandr in
Hackable1 right?. If you have, can you rotate the display
to landscape? The fatfingershell.sh tries to rotate
the display with xrandr first, then runs the ffs binary.

Portrait: no yet, and I am not sure if I want a portrait mode.
I want a 80x24 shell, and comfortable keyboard. I don't
know how to do that in portrait mode yet.

Regards,
Rafa


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


Re: fatfingershell V0.2

2009-10-28 Thread pike
Hi

 Portrait: no yet, and I am not sure if I want a portrait mode.
 I want a 80x24 shell, and comfortable keyboard. I don't
 know how to do that in portrait mode yet.

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

that may be radical, but I'm not sure if I find
a qwerty layout to be the most comfi too.
in the default keyboard in fatfingershell the keys
are high rather than wide. I estimate my fingertips
are about 160 wide (and 80 high). I found I could
use ffshell flawlessly when holding it vertical :-)

$2c,
*-pike


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


Re: fatfingershell V0.2

2009-10-28 Thread rixed
  Can't it work in portrait mode ?
 
 Question: the problem looks like you don't have xrandr in
 Hackable1 right?. If you have, can you rotate the display
 to landscape?

Well, we had it for sure, but in the daily build I'm using right now
it kills X :)

 Portrait: no yet, and I am not sure if I want a portrait mode.
 I want a 80x24 shell, and comfortable keyboard. I don't
 know how to do that in portrait mode yet.

Yeah. The problem is : I would like my keyboard in landscape mode
like a real keyboard but I like my terminal in portrait mode like
a real sheet of paper. Is it possible ?? :-)

Also, I'm a little contraried by the memory footprint of the
program, and by the fact that I would like this keyboard for other
apps... Anybody already tried to build a OSD keyboard with lib-aosd
or lib-xosd ?


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


fatfingershell V0.2

2009-10-27 Thread Rafael Ignacio Zurita
Hello people,
  there is a new version of fatfingershell (0.2). 
  
It is a virtual terminal for Openmoko mobile phones, with a fullscreen
keyboard, and sound/screen/vibrator feedback.

You can set the colors and the transparency, set new keyboard layouts
(hard yet) and replace the sounds.

The fullscreen keyboard aims to be complete and useful for sh/bash,
vi and common console apps, like top, mocp, mplayer, mc, gnu tools, etc.
Moreover it is comfortable for fat fingers.

The new stuff :

- better performance
- scroll
- vibration feedback
- better sources
- ipkg package

Installing ffs :
opkg install http://ffs.projects.openmoko.org/fatfingershell_0.2_armv4t.ipk

Web page and documentation :
http://ffs.projects.openmoko.org/
(check the TODO, we need useful scripts yet :-) )

Suggestions and feedback are always welcome.

Enjoy, Rafa.

--
Rafael Ignacio Zurita

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


Re: fatfingershell V0.2

2009-10-27 Thread Łukasz Pankowski
Rafael Ignacio Zurita rizur...@yahoo.com writes:

 Hello people,
   there is a new version of fatfingershell (0.2). 
   
 It is a virtual terminal for Openmoko mobile phones, with a fullscreen
 keyboard, and sound/screen/vibrator feedback.

 You can set the colors and the transparency, set new keyboard layouts
 (hard yet) and replace the sounds.

 The fullscreen keyboard aims to be complete and useful for sh/bash,
 vi and common console apps, like top, mocp, mplayer, mc, gnu tools, etc.
 Moreover it is comfortable for fat fingers.

Thanks for that, really usable shell.

The keyboard lacks only small feature, I tried to run 

$ mdbus -s org.freesmartphone.otimed

and made a typo, and I see right and left cursors (preferable on  
keys in FN mode) are a must.  I can do well with C-p and C-n to browse
shell history (as you hit them once or twice), but multiple C-b or C-f
to move inside the line to edit it is a pain and unusable.


 The new stuff :

 - better performance
 - scroll
 - vibration feedback
 - better sources
 - ipkg package

 Installing ffs :
 opkg install http://ffs.projects.openmoko.org/fatfingershell_0.2_armv4t.ipk

 Web page and documentation :
 http://ffs.projects.openmoko.org/
 (check the TODO, we need useful scripts yet :-) )

 Suggestions and feedback are always welcome.

 Enjoy, Rafa.

 --
 Rafael Ignacio Zurita

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


Re: fatfingershell V0.2

2009-10-27 Thread Treviño
Il giorno mar, 27/10/2009 alle 16.37 -0300, Rafael Ignacio Zurita ha
scritto:
 Hello people,
   there is a new version of fatfingershell (0.2).
   
 It is a virtual terminal for Openmoko mobile phones, with a fullscreen
 keyboard, and sound/screen/vibrator feedback.

Nice work!

 Suggestions and feedback are always welcome.

Would be possible keeping the same system but allowing an usage in
480x640 mode?
Thanks...



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


Re: fatfingershell V0.2

2009-10-27 Thread c_c

Hi,

Marco Trevisan (Treviño) wrote:
 
 Would be possible keeping the same system but allowing an usage in
 480x640 mode?
 
  OT - but - what hardware are you talking about? ;-)
-- 
View this message in context: 
http://n2.nabble.com/fatfingershell-V0-2-tp3901258p3903512.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: fatfingershell ?

2009-09-24 Thread Ben Wong
On Wed, Sep 23, 2009 at 9:01 AM, pike pike-openm...@kw.nl wrote:
 I'm not in favor of one char commands - i
 like the fact that the terminal would
 literally type out call if you type c[tab].
 This way, getting familiar with the available
 commands is really easy. Ofcourse, it implies
 there should be no other commands with a c
 on your path.
 [...]
 - a 3rd keyboard for special chars
(1 is keys, 2 is numbers, 3 is *) -
I'm short on screen estate already :-)

I would like to see a third keyboard that is programmable.  That way,
I could have a Call key that types the word call .

Also, I second the request for arrow keys, though I admit the vi
bindings do have advantages and I could probably learn to live with
them.  I realize the primary fat finger shell keyboard doesn't have
room for four more keys, but I think we can get away with just one
more.

I'd be happy with a single, grand-unified-cursor button that, when
held, moves the cursor in the direction I tilt the phone (relative to
initial position).  Editing or perusing a file would be like playing
mokomaze in ASCII.  Alternately, when not pressed, the icon and action
of the single cursor button could change depending upon the absolute
tilt (left, right, up down, page up, page down, home, end) and it
would otherwise work as a normal button.

--Ben

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


Re: fatfingershell ?

2009-09-24 Thread pike
Hi

 - a 3rd keyboard for special chars
(1 is keys, 2 is numbers, 3 is *) -
I'm short on screen estate already :-)
 
 I would like to see a third keyboard that is programmable.  That way,
 I could have a Call key that types the word call .

I was dreaming about the same thing .. if you
stretch that concept, instead of a keyboard,
you would have more of a push-button interface
to control a terminal. and you can switch back
to a normal keyboard to just start typing
old style.

I doesnt seem to hard too. i just peeked around,
but in the code where char *keyreleased() is
defined, the key sent to the terminal is a
asci code taken from an array that is
read from the config file on startup.
if that could be  a string instead of a asci
char .. the rest would up to the designers of
a layout.

excited,
*-pike


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


Re: fatfingershell ?

2009-09-23 Thread Rafael Ignacio Zurita
Hello Pike,
  and sorry for the late answer.

On Mon, Sep 14, 2009 at 10:03:50AM +0200, pike wrote:
 Hi
 
 I just *love* the fatfingershell
 http://www.youtube.com/watch?v=DV4p414_VJM
 http://fz.hobby-site.org/om/fatfingershell/
 
 .. and i'm really curious if there's been
 any update since april 1 ?

Yes and no. I have almost ready a new version, with
these improvements:
 - optional vibrate for pressed keys
 - a little faster
 - easy scrolling
 - better sources and Makefile
 - perhaps disappear/darken keyboard when no keys are pressed.
 - opkg package

I will upload this version soon.
 
 If I think real hard, there's a number of
 things that come to mind to make it fully
 functional. Some of them I'm puzzling on,
 others are beyond me, but perhaps people
 on this list have suggestions ?

Thanks a lot for the suggestions, I will try to add my TODO list
all of them, to check out which are useful and which are not.
If you would like to help me with some of them, please.. 
I would love to do ffs better. The scripts for easy call/sms/gps
usgin dbus would be great. Somethinkg like c pike to do 
pike a call would be cool, etc ;)

 Here's a list I wrote:
 
 *to handle incoming signals from the dbus:
 
 - handlers to send dbus signals to the
running bash shell. it could be as simple
as a wall message - incoming call from xxx.
I *imagine* thats just a matter of changing
yaml files, but that would break your
'default' phone functionality forever ? You'd
want to temporarily disable some default
handlers while fatfingershell is running.
I wouldnt know how to do that.
Perhaps Siglaunchd can help  ?
http://wiki.openmoko.org/wiki/Siglaunchd
 
 - Non-keyboard handlers to reply to such signals.
E.g. when the phone rings, you may be in the
middle of typing some text, or maybe not using
the keyboard at all (f.e. looking at tangogps).
So you can't type yes to answer the phone;
instead, pressing a button should answer
or cancel the call (and perhaps switch to bash
to start some interactive app, if you werent
already doing something else there ...)
 
 *for the fatfingershell c app itself:
 
 - a separate middle layer, so the transparency
of the middle layer doesnt affect the
transparency of the font
I'm afraid this depends on SDL_Terminal ..
not sure if it can do that at all.

Maybe a little hard with SDL_Terminal. Because we 
can set colors perhaps choosing better ones would help.

 - a slightly bigger font size

too hard now, but I am checking how to do that.
 
 - a way to set the terminal location/rect
to match other keyboard layouts
 
 - a way to use a vertical layout instead.
that makes more sense to me, but also,
SHR-U crashes when resuming from deep sleep
in landscape mode, making ffshell
unusable for now :-(

Aha!, so your problem is landscape ffs with SHR-U :)
I think that is not a ffs problem. SHR-U should reume ok 
if it is in landscape, so we would need check why
SHR-U crashes in that state. After, we can talk if
vertical layout is easy to do or not ;)

 - arrows on the keyboard layout
to use your history.

I use bash -o vi if I remember well, so you can press ESC, and 
use K / J for history :)

 - removing the -d option, focusing on
'selecting' a layout instead. there
might be more then 2 options; and
it could be as simple as copying the
right files to the right place.

Good. I will add that in my current TODO.

 - additional layouts. i'm playing with
those :-)

Let me know if you need help or if I can use those as well :)

 - a 3rd keyboard for special chars
(1 is keys, 2 is numbers, 3 is *) -
I'm short on screen estate already :-)

I think that I added all the good keys. Which special
chars you need?

 *for the package
 
 - a suite of bash scripts to do things,
like send sms's and make calls. these
are around, and i'm playing with them.

That is essential I guess, to do ffs the only tool that we need.
 
 - smart bash tab completion for these
bash scripts, to do them fast. sending
an sms to john could be as quick as
typing s[tab] @j[tab].
no gui is ever going to beat that :-)

Maybe the scripts for those bash scripts could have short short
names, like s for sms, c for call, a for answer, etc.
If the script names are longer, then put them unique names since
the second letter and put them in $PATH, so we would only need
to press two chars+TAB.
 
 - a nice opk package :-)

On its way..

THANKS a lot for all above Pike, I will try to do my best.

Regards.

--
Rafael Ignacio Zurita
Buenos Aires, Argentina

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


Re: fatfingershell ?

2009-09-23 Thread pike
Hi

 I just *love* the fatfingershell
 http://www.youtube.com/watch?v=DV4p414_VJM
 http://fz.hobby-site.org/om/fatfingershell/

 .. and i'm really curious if there's been
 any update since april 1 ?
 
 Yes and no. I have almost ready a new version

That's very cool. I have been playing with the
idea on and off. The suite of bash scripts to
do calls etc is actually ofcourse indepent
from the actual terminal used - in my eyes,
fatfingershell is rather a type of terminal
than a shell. it's bash in a fancy terminal.

So, I've been playing on an adapted/finetuned
bash - where for example autocompletion also
takes your call history and addressbook into
account :-) c[tab] pi[tab] would call pike.
It would work in vala-terminal just as well.
But still, just playing.

I'm not in favor of one char commands - i
like the fact that the terminal would
literally type out call if you type c[tab].
This way, getting familiar with the available
commands is really easy. Ofcourse, it implies
there should be no other commands with a c
on your path.

Anyway - looking forward to the improvements !

thanks,
*-pike

PS. Some ideas here:
http://wiki.openmoko.org/wiki/User:Pike/FFShell





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


fatfingershell ?

2009-09-14 Thread pike
Hi

I just *love* the fatfingershell
http://www.youtube.com/watch?v=DV4p414_VJM
http://fz.hobby-site.org/om/fatfingershell/

.. and i'm really curious if there's been
any update since april 1 ?

If I think real hard, there's a number of
things that come to mind to make it fully
functional. Some of them I'm puzzling on,
others are beyond me, but perhaps people
on this list have suggestions ?

Here's a list I wrote:

*to handle incoming signals from the dbus:

- handlers to send dbus signals to the
   running bash shell. it could be as simple
   as a wall message - incoming call from xxx.
   I *imagine* thats just a matter of changing
   yaml files, but that would break your
   'default' phone functionality forever ? You'd
   want to temporarily disable some default
   handlers while fatfingershell is running.
   I wouldnt know how to do that.
   Perhaps Siglaunchd can help  ?
   http://wiki.openmoko.org/wiki/Siglaunchd

- Non-keyboard handlers to reply to such signals.
   E.g. when the phone rings, you may be in the
   middle of typing some text, or maybe not using
   the keyboard at all (f.e. looking at tangogps).
   So you can't type yes to answer the phone;
   instead, pressing a button should answer
   or cancel the call (and perhaps switch to bash
   to start some interactive app, if you werent
   already doing something else there ...)

*for the fatfingershell c app itself:

- a separate middle layer, so the transparency
   of the middle layer doesnt affect the
   transparency of the font
   I'm afraid this depends on SDL_Terminal ..
   not sure if it can do that at all.

- a slightly bigger font size

- a way to set the terminal location/rect
   to match other keyboard layouts

- a way to use a vertical layout instead.
   that makes more sense to me, but also,
   SHR-U crashes when resuming from deep sleep
   in landscape mode, making ffshell
   unusable for now :-(

- arrows on the keyboard layout
   to use your history.

- removing the -d option, focusing on
   'selecting' a layout instead. there
   might be more then 2 options; and
   it could be as simple as copying the
   right files to the right place.

- additional layouts. i'm playing with
   those :-)

- a 3rd keyboard for special chars
   (1 is keys, 2 is numbers, 3 is *) -
   I'm short on screen estate already :-)

*for the package

- a suite of bash scripts to do things,
   like send sms's and make calls. these
   are around, and i'm playing with them.

- smart bash tab completion for these
   bash scripts, to do them fast. sending
   an sms to john could be as quick as
   typing s[tab] @j[tab].
   no gui is ever going to beat that :-)

- a nice opk package :-)


just playing,
*-pike













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


Re: FatFingerShell vt with fullscreen keyboard

2009-04-01 Thread Werner Almesberger
Helge Hafting wrote:
 Hm. But the glamo supports _some_ format. Will X11 be able to take
 advantage of that, if the app is smart and request exactly the subsets 
 of blending operations/dataformats that the glamo can do?

That would be a question for the X11 gurus.

 I have such a script for sms, but not for calls. I can send a message 
 like this:
 
   # sms 123456789 Short message text

Great ! So all we need is a dialer, a contacts database (just
use something like $HOME/contacts/$name with maybe a
^key\s+value\s$ structure inside ?), and an SMS reader.
April 1 is not over yet ;-)

- Werner

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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-31 Thread Lothar Behrens
Hi,

nice idea. Is it coupled only with a shell or could I use it for other  
applications?

And do activation of it with the accelerometers. Also the idea with  
the overlay would
be great. Still see what the application behint shows while entering  
commands.

So for any applications, if the focus is on a control that requires  
the keyboard, shaking
the neo would activate the overlay keyboard at the actual control...

Then each application could benefit from it.

Thanks and I'll try it if I have time.

Lothar

Am 27.03.2009 um 08:03 schrieb Rafael Ignacio Zurita:

 Hello people,

  it is a new virtual terminal for Openmoko, with a complete  
 fullscreen keyboard
 and sound.

 You can set the colors and the transparency, set new keyboard  
 layouts (hard yet)
 and replace the sounds.

 This terminal should be useful for bash/vi and other common console  
 tools. The
 fullscreen keyboard should be comfortable for fat fingers.

 Check the videos to know the idea :

 http://www.youtube.com/watch?v=9qR4FETGzkA
 http://www.youtube.com/watch?v=f67HKAkx61w

 How to test:
 

 - download the package:
  http://fz.hobby-site.org/om/fatfingershell/fatfingershell_0.1.tar.gz
 - install libsdl, libsdl_mixer, libsdl_ttf packages
 - add export TERM=vt100 into ~/.bashrc
 - you need installed bash

 tar xvzf fatfingershell_0.1.tar.gz
 cd fatfingershell/
 ./fatfingershell.sh

 If you have problems check fatfingershell.sh script to realize out  
 how to run
 this version manually.


 The package is an alpha version to check how well the ideas work.
 There are bugs, and lot of problems surely. The package and the  
 source code
 have a README file with known problems, TODO list and other  
 instructions.

 Other files:
 README: http://fz.hobby-site.org/om/fatfingershell/README.txt
 source code: 
 http://fz.hobby-site.org/om/fatfingershell/fatfingershell-src_0.1.tar.gz

 Feedback, suggestions and ideas are welcome.

 Saludos!,
 Rafa


 --
 Rafael Ignacio Zurita
 Buenos Aires, Argentina

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


-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen









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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-30 Thread Helge Hafting
Werner Almesberger wrote:
 Rafael Ignacio Zurita wrote:
   it is a new virtual terminal for Openmoko, with a complete fullscreen
 keyboard and sound.
 
 Wow, I love this idea ! Alas, it looks a little slow. (Haven't tried to
 run it yet, just looked at the videos.)
 
 Here's an idea how you could perhaps make it much faster:
 
 A long time ago, I discussed with Carsten about what the Glamo could
 do for us. Predictably, this quickly turned into some rather extensive
 bashing of this ill-fated chip. On item that came up is the lack of
 proper support for a feature X11 calls compositing:
 
 http://en.wikipedia.org/wiki/Compositing_window_manager
 
 The Glamo hardware has the ability to blend images, but, if I recall
 our discussion correctly, X11 expects the blending operation to support
 certain formats which the Glamo doesn't. So the conclusion was that it
 wouldn't be possible to accelerate full X11 compositing with the Glamo.
 

Hm. But the glamo supports _some_ format. Will X11 be able to take
advantage of that, if the app is smart and request exactly the subsets 
of blending operations/dataformats that the glamo can do?

[...]
 Oh, and where are the applications ? :-) When Openmoko first announced
 the Linux-based GTA01, I read a lot of jokes about the kind of user
 interface a Linux phone would have. Usually they were of the kind
 making a phone call is easy and intuitive:
 
 # phone dial -d /dev/ttySAC0 --number=+123456789 --voice
 
 But I wonder if something that would make a call with simply
 
 # call foobar
 
 wouldn't be about as convenient to use as a GUI. Hang up with ^C,
 background and do something else with ^Z, etc. :-)
 
I have such a script for sms, but not for calls. I can send a message 
like this:

  # sms 123456789 Short message text

The script works with SHR, and probably FSO:
#!/bin/sh
mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device 
org.freesmartphone.GSM.SMS.SendMessage u\$1\ $2 {}

That is supposed to be 2 lines, but thunderbird tends to wrap.

Helge Hafting

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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-30 Thread Rafael Ignacio Zurita

Hello Aapo and Marco,

--- On Fri, 3/27/09, Aapo Rantalainen aapo.rantalai...@gmail.com wrote:
 How about vibration feedback? Because I do not want use sound-feedback
 in bus/train. And maybe somebody else can't use visual-feedback for
 some reason. So there could be three different (selectable)
 feedback.

--- On Sat, 3/28/09, Marco Trevisan (Treviño) m...@3v1n0.net wrote:
 Cool... What about adding the support for using the vibrator as feedback
 system instead of the sound? Somethimes I've to use the terminal in
 places where I can't emit noises... :P

Thanks for your ideas. I am trying to add that feature, so it will
be ready in the next days I think, in a new version with other
features/improvements more (like scroll, 80x24 or 90x30 sizes,
better performance, etc).

I would like to have a useful full featured vt to do everything easy
and fast from a shell, so if you have more ideas or fixes please suggest/advise 
me, I am all ears :-).

Thanks,
Rafael


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


FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread Rafael Ignacio Zurita
Hello people,

  it is a new virtual terminal for Openmoko, with a complete fullscreen keyboard
and sound.

You can set the colors and the transparency, set new keyboard layouts (hard yet)
and replace the sounds.

This terminal should be useful for bash/vi and other common console tools. The
fullscreen keyboard should be comfortable for fat fingers.

Check the videos to know the idea :

http://www.youtube.com/watch?v=9qR4FETGzkA
http://www.youtube.com/watch?v=f67HKAkx61w

How to test:


- download the package: 
  http://fz.hobby-site.org/om/fatfingershell/fatfingershell_0.1.tar.gz
- install libsdl, libsdl_mixer, libsdl_ttf packages
- add export TERM=vt100 into ~/.bashrc
- you need installed bash

tar xvzf fatfingershell_0.1.tar.gz
cd fatfingershell/
./fatfingershell.sh

If you have problems check fatfingershell.sh script to realize out how to run
this version manually.


The package is an alpha version to check how well the ideas work.
There are bugs, and lot of problems surely. The package and the source code
have a README file with known problems, TODO list and other instructions.

Other files:
README: http://fz.hobby-site.org/om/fatfingershell/README.txt
source code: 
http://fz.hobby-site.org/om/fatfingershell/fatfingershell-src_0.1.tar.gz

Feedback, suggestions and ideas are welcome.

Saludos!,
Rafa


--
Rafael Ignacio Zurita
Buenos Aires, Argentina

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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread gt
Hi,

On Fri, Mar 27, 2009 at 04:03:29AM -0300, Rafael Ignacio Zurita wrote:
 Hello people,
 
   it is a new virtual terminal for Openmoko, with a complete fullscreen 
 keyboard
 and sound.
 
 How to test:
 
 
 - download the package: 
   http://fz.hobby-site.org/om/fatfingershell/fatfingershell_0.1.tar.gz
 - install libsdl, libsdl_mixer, libsdl_ttf packages
 - add export TERM=vt100 into ~/.bashrc
 - you need installed bash
 
 tar xvzf fatfingershell_0.1.tar.gz
 cd fatfingershell/
 ./fatfingershell.sh
 
 If you have problems check fatfingershell.sh script to realize out how to run
 this version manually.

I like shell :-)

After following the instructions, I tried:

debian-gta02:/usr/local/src/fatfingershell# ./fatfingershell.sh
snd_pcm_oss45352  0
snd_mixer_oss  15080  1 snd_pcm_oss
snd_pcm75084  3 snd_soc_s3c24xx,snd_soc_core,snd_pcm_oss
snd49988  9
snd_soc_neo1973_gta02_wm8753,snd_soc_wm8753,snd_soc_core,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
dark1!=3
./fatfingershell: invalid option -- 'e'
0-0-73-124-w-w-1
75-1-125-123-q-Q-2
129-0-180-123-w-W-1
[...]
422-381-476-479-.--4
478-381-561-478-b-b-3
563-381-638-479-f-f-4
No se pudo iniciar el modo grafico No video mode large enough for 640x480
debian-gta02:/usr/local/src/fatfingershell#

I am running Debian with Xglamo and xfce4.

Hmm, xrandr doesn't want to change the display, exits with 0 though. It
used to work - will get back to you.

Gyelt

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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread Werner Almesberger
Rafael Ignacio Zurita wrote:
   it is a new virtual terminal for Openmoko, with a complete fullscreen
 keyboard and sound.

Wow, I love this idea ! Alas, it looks a little slow. (Haven't tried to
run it yet, just looked at the videos.)

Here's an idea how you could perhaps make it much faster:

A long time ago, I discussed with Carsten about what the Glamo could
do for us. Predictably, this quickly turned into some rather extensive
bashing of this ill-fated chip. On item that came up is the lack of
proper support for a feature X11 calls compositing:

http://en.wikipedia.org/wiki/Compositing_window_manager

The Glamo hardware has the ability to blend images, but, if I recall
our discussion correctly, X11 expects the blending operation to support
certain formats which the Glamo doesn't. So the conclusion was that it
wouldn't be possible to accelerate full X11 compositing with the Glamo.

However, perhaps what the Glamo can do is enough for your full-screen
overlay. So you would put the X11 framebuffer in one (off-screen)
memory area A, draw the keyboard in an area B, and whenever X11 or
keyboard manager have updated their screen content, the Glamo would be
told to merge screens A and B into the real frame buffer.

This may also make it easy to do things like dynamically changing the
respective brightness of the keyboard overlay and the background with
the actual content. (*)

Now, having said all this, I have to admit that making the Glamo do
anything is rather hard, and I've heard that X11 isn't trivial either.
But several people have started to work on even more complicated things
(DRM, GL, ...), so maybe there's someone who could help making an X
server with such functionality.

(*) For this, you would have to have a means to turn on the keyboard.
This could be done by tapping an area where there's no key or where
there's a key that doesn't do anything unpleasant (Shift or so), by
just absorbing the first tap if the keyboard is dimmed, or perhaps
by distinguishing a light touch of the screen from a tap.

Oh, and where are the applications ? :-) When Openmoko first announced
the Linux-based GTA01, I read a lot of jokes about the kind of user
interface a Linux phone would have. Usually they were of the kind
making a phone call is easy and intuitive:

# phone dial -d /dev/ttySAC0 --number=+123456789 --voice

But I wonder if something that would make a call with simply

# call foobar

wouldn't be about as convenient to use as a GUI. Hang up with ^C,
background and do something else with ^Z, etc. :-)

- Werner

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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread The Digital Pioneer
Hey, this is great! Best FR terminal I've seen. I do have a question
though... In the output, it says ./fatfingershell: can't access font 8x13,
trying fixed just before creating its GUI. That doesn't seem to be a
problem, but I don't like rogue error messages, so where can I get that
font?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread ezuall

Rafa,

This looks great, I'm looking forward to trying it out.

Cheers
ezuall
-- 
View this message in context: 
http://n2.nabble.com/FatFingerShell-vt-with-fullscreen-keyboard-tp2542865p2544371.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread Rafael Ignacio Zurita

Hello,

--- On Fri, 3/27/09, The Digital Pioneer digitalpion...@gmail.com wrote:
 Hey, this is great! Best FR terminal I've seen. I do have a question
 though... In the output, it says ./fatfingershell:
 can't access font 8x13, 
 trying fixed just before creating its GUI. That doesn't seem to be a
 problem, but I don't like rogue error messages, so where can I get that
 font?

that is okey, I will remove that message soon. So you don't need that
font to use FatFingerShell ;-) (that message is from xvt, but
xvt does not need to show anything, so no worries). 

Thanks for your feedback, and one more question: In which Openmoko
distribution are you testing?

Regards

--
Rafael Ignacio Zurita
Buenos Aires, Argentina


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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread DJDAS
The Digital Pioneer ha scritto:
 Hey, this is great! Best FR terminal I've seen. I do have a question 
 though... In the output, it says ./fatfingershell: can't access font 
 8x13, trying fixed just before creating its GUI. That doesn't seem to 
 be a problem, but I don't like rogue error messages, so where can I 
 get that font?
Hi,
I get the previous error and then this message, after GUI creation, and 
the program quits:

./fatfingershell: select failed

Using Om2008.9+FDOM, any suggestion?

Thank you very much for this great idea! :)
Bye

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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread Rafael Ignacio Zurita

Hello,

--- On Fri, 3/27/09, DJDAS dj...@djdas.net wrote:
 Hi,
 I get the previous error and then this message, after GUI
 creation, and 
 the program quits:
 
 ./fatfingershell: select failed
 
 Using Om2008.9+FDOM, any suggestion?

No idea, could you trace the fatfingershell binary with strace -f?
If so, send me the output so I can check a bit more..

Thanks

--
Rafael Ignacio Zurita
Buenos Aires, Argentina


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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread The Digital Pioneer

 Thanks for your feedback, and one more question: In which Openmoko
 distribution are you testing?


I use SHR-Unstable.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread DJDAS
Rafael Ignacio Zurita ha scritto:
 Hello,

 --- On Fri, 3/27/09, DJDAS dj...@djdas.net wrote:
   
 Hi,
 I get the previous error and then this message, after GUI
 creation, and 
 the program quits:

 ./fatfingershell: select failed

 Using Om2008.9+FDOM, any suggestion?
 

 No idea, could you trace the fatfingershell binary with strace -f?
 If so, send me the output so I can check a bit more..

 Thanks

   

Hi,
these are the last lines printed by strace (didn't know I had it 
installed :P):

gettimeofday({1238166214, 933399}, NULL) = 0
ioctl(255, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbed86a9c) = -1 EIO 
(Input/output error)
rt_sigaction(SIGINT, {0x4bc18, [], 0x400 /* SA_??? */}, {0x4bc18, 
[], 0x400 /* SA_??? */}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
ioctl(255, TIOCSPGRP, [3249])   = -1 ENOTTY (Inappropriate ioctl 
for device)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
setpgid(0, 3249)= -1 EPERM (Operation not permitted)
rt_sigaction(SIGHUP, {SIG_DFL}, {0x4b9dc, [HUP INT ILL TRAP ABRT BUS FPE 
USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], 0x400 /* SA_??? 
*/}, 8) = 0
kill(3249, SIGHUP)  = 0
--- SIGHUP (Hangup) @ 0 (0) ---
Process 3249 detached

If you would like to have the complete trace, I'll send you privately as 
I think list people don't want to download/read kilobytes of stuff :P
If it could help you, as tracing slows the execution, I saw the image 
showing the keyboard and the transparent panel, but it seems to stop and 
quit before getting the bash prompt.
Thank you in advance, bye.


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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread Rafael Ignacio Zurita
Hello Werner, 

On Fri, Mar 27, 2009 at 10:34:31AM -0300, Werner Almesberger wrote:
 Rafael Ignacio Zurita wrote:
it is a new virtual terminal for Openmoko, with a complete fullscreen
  keyboard and sound.
 
 Wow, I love this idea ! Alas, it looks a little slow. (Haven't tried to
 run it yet, just looked at the videos.)

  the tar.gz package is faster than videos ;-) because I recorded those before
a few good changes in the code for perfomance. Anyway,

 
 Here's an idea how you could perhaps make it much faster:
 
 A long time ago, I discussed with Carsten about what the Glamo could
 do for us. Predictably, this quickly turned into some rather extensive
 bashing of this ill-fated chip. On item that came up is the lack of
 proper support for a feature X11 calls compositing:
 
 http://en.wikipedia.org/wiki/Compositing_window_manager
 
 The Glamo hardware has the ability to blend images, but, if I recall
 our discussion correctly, X11 expects the blending operation to support
 certain formats which the Glamo doesn't. So the conclusion was that it
 wouldn't be possible to accelerate full X11 compositing with the Glamo.
 
 However, perhaps what the Glamo can do is enough for your full-screen
 overlay. So you would put the X11 framebuffer in one (off-screen)
 memory area A, draw the keyboard in an area B, and whenever X11 or
 keyboard manager have updated their screen content, the Glamo would be
 told to merge screens A and B into the real frame buffer.

I would definitely like to use this idea. But, I don't know anything 
about glamo and if somebody is working in such features.

 
 This may also make it easy to do things like dynamically changing the
 respective brightness of the keyboard overlay and the background with
 the actual content. (*)

Ha!, good item for the TODO list. I will add this idea soon in the
current implementation :-)

 
 Now, having said all this, I have to admit that making the Glamo do
 anything is rather hard, and I've heard that X11 isn't trivial either.
 But several people have started to work on even more complicated things
 (DRM, GL, ...), so maybe there's someone who could help making an X
 server with such functionality.

Yes, I will stay tuned in this list. Maybe I would try to help if
that were possible (but I have read that it is either pretty hard
or not very useful at the end).


 (*) For this, you would have to have a means to turn on the keyboard.
 This could be done by tapping an area where there's no key or where
 there's a key that doesn't do anything unpleasant (Shift or so), by
 just absorbing the first tap if the keyboard is dimmed, or perhaps
 by distinguishing a light touch of the screen from a tap.
 
 Oh, and where are the applications ? :-) When Openmoko first announced
 the Linux-based GTA01, I read a lot of jokes about the kind of user
 interface a Linux phone would have. Usually they were of the kind
 making a phone call is easy and intuitive:
 
 # phone dial -d /dev/ttySAC0 --number=+123456789 --voice
 
 But I wonder if something that would make a call with simply
 
 # call foobar
 
 wouldn't be about as convenient to use as a GUI. Hang up with ^C,
 background and do something else with ^Z, etc. :-)

Well, the FatFingerShell has all the useful keys already there (ESC, Tab for
auto-completion, CTRL+whatever.. etc). So yes, I need easy-to-use
scripts to do everything from shell, like a real geek does :-)

--
Rafael Ignacio Zurita
Buenos Aires, Argentina

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


Re: FatFingerShell vt with fullscreen keyboard

2009-03-27 Thread Rafael Ignacio Zurita
On Fri, Mar 27, 2009 at 04:10:20PM +0100, DJDAS wrote:
 Rafael Ignacio Zurita ha scritto:
  Hello,
 
  --- On Fri, 3/27/09, DJDAS dj...@djdas.net wrote:

  Hi,
  I get the previous error and then this message, after GUI
  creation, and 
  the program quits:
 
  ./fatfingershell: select failed
 
  Using Om2008.9+FDOM, any suggestion?
  
 
  No idea, could you trace the fatfingershell binary with strace -f?
  If so, send me the output so I can check a bit more..
 

 
 Hi,
 these are the last lines printed by strace (didn't know I had it 
 installed :P):
 
 gettimeofday({1238166214, 933399}, NULL) = 0
 ioctl(255, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbed86a9c) = -1 EIO 
 (Input/output error)
 rt_sigaction(SIGINT, {0x4bc18, [], 0x400 /* SA_??? */}, {0x4bc18, 
 [], 0x400 /* SA_??? */}, 8) = 0
 rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
 ioctl(255, TIOCSPGRP, [3249])   = -1 ENOTTY (Inappropriate ioctl 
 for device)
 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
 setpgid(0, 3249)= -1 EPERM (Operation not permitted)
 rt_sigaction(SIGHUP, {SIG_DFL}, {0x4b9dc, [HUP INT ILL TRAP ABRT BUS FPE 
 USR1 SEGV USR2 PIPE ALRM TERM XCPU XFSZ VTALRM SYS], 0x400 /* SA_??? 
 */}, 8) = 0
 kill(3249, SIGHUP)  = 0
 --- SIGHUP (Hangup) @ 0 (0) ---
 Process 3249 detached

I don't see the problem here. 

 If you would like to have the complete trace, I'll send you privately as 
 I think list people don't want to download/read kilobytes of stuff :P

Yes, of course, send me privately the complete output please.

 If it could help you, as tracing slows the execution, I saw the image 
 showing the keyboard and the transparent panel, but it seems to stop and 
 quit before getting the bash prompt.

It looks like a problem of stdio for xvt (FatFingerShell has xvt code inside),
but we will see.. 

--
Rafael Ignacio Zurita
Buenos Aires, Argentina

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