OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Personal Photo
Personal Statement
agraef doesn't have a personal statement currently.
Personal Info
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
No Information
Joined: 28-August 05
Profile Views: 613*
Last Seen: 7th February 2008 - 12:46 AM
Local Time: May 24 2018, 05:10 PM
54 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
Contact Private
* Profile views updated each hour



My Content
28 Dec 2006
First, kudos to the OZ team for this release, it really works great for me except for the "altboot hangs on boot from loopfile" bug and the following minor issue.

I have Oz on a C-1000 installed, altbooted from an SD card (direct install). Network via WLAN works great, but I have troubles with dropbear which regenerates the machine rsa key on every reboot. Of course that means that on my desktop I have to remove the key from .ssh/known_hosts every time I have to reboot the Z. This happens with both Opie and GPE. I don't have this problem with OZ installed in the flash, though.

I took a look at /etc/init.d/dropbear and noticed that on SD I have a dropbear_rsa_host_key file in *both* /etc/dropbear and /var/lib/dropbear. The relevant lines in /etc/init.d/dropbear are:

for flag in `awk '{ if ($2 == "/") { split($4,FLAGS,",") } }; END { for (f in FLAGS) print FLAGS[f] }' </proc/mounts`; do
 case $flag in

if [ $readonly_rootfs = "1" ]; then
 mkdir -p /var/lib/dropbear

So it seems that when booting from SD the startup script is invoked while the rootfs is still mounted readonly, in which case the script generates a new key in /var/lib/dropbear even though there is already one in /etc/dropbear.

Just commenting out the lines which check the rootfs (so that readonly_rootfs is always 0) works around this, but of course this will only work if you're sure that there's already a keyfile. It seems that to really solve that issue the logic in the script which tests for an existing keyfile needs an overhaul, but before I do that I wanted to ask whether anyone else has already noticed this and maybe found a proper fix. (I couldn't find anything in OE bugzilla, so I can also submit a bug report if necessary.)
24 Dec 2006
Q 7.6 has been released a few days ago, and I have set up an OZ feed here.

Q is an interpreted functional programming language with "batteries included". This release includes the POSIX system interface and the curl, gdbm, octave, sqlite3 and xml modules, as well as Q Yacc and Lex and Rob Hubbard's rational and polynomial libraries. On the Z Q is useful as a sophisticated kind of programmable desktop calculator and for scripting purposes. Please note that at this time Q's fancier extensions such as OpenGL graphics and the multimedia+computer music library are not available on OZ, but an SDL interface will probably be provided in the future.

See the README file for information on how to get started with Q on OZ. More information about Q is available at q-lang.sf.net.

The packages in the feed should work with both Opie and GPE, but currently are for the armv5tel architecture (Zaurus clamshell models) only. If there's demand for older Zaurii (Collie etc.) then please let me know.

Have nice holidays and a happy new year,
22 Oct 2005
Q is a modern-style functional programming language based on term rewriting. It is an interpreted language with dynamic typing and fairly good library support. If you are looking for a high-level scripting language for your Z, aside from the usual suspects (Perl/Python/Ruby), then you might wish to give it a whirl. It is also useful as an advanced programmable desktop calculator. Please refer to http://q-lang.sourceforge.net/ for more details.

I've set up a little feed with all the needed bits and pieces here. The binaries are for RC11 or later. The feed also includes additional dependencies which are not currently in the official pdaXrom feeds. All packages install into /usr/local. Here is a quick rundown of the packages which are available right now:

- q_6.2_armv5tel.ipk: The core of the interpreter, also includes the standard library, POSIX system interface, as well as the Curl, GDBM, GGI, ImageMagick, Octave, Tcl/Tk and XML/XSLT modules. (At this time, the ODBC and OpenDX modules are not supported in the pdaXrom version.)

- graph_1.4_armv5tel.ipk: Combinatorial graph library and editor. Requires Tcl/Tk.

- q-opengl_1.1_armv5tel.ipk: Q's OpenGL interface. Requires pdaXrom's mesa3d package.

- swig_1.3.22-q_armv5tel.ipk: A SWIG version which has been patched up to add support for Q. Makes it easy to build interfaces between Q and C/C++ libraries.

Please note that, as far as memory sizes on PDAs go, these packages and the dependencies need quite a bit of storage space, so you'll probably want to install them on a memory card.

Quick startup guide: After installing the q_6.2_armv5tel.ipk package, you should be able to run the Q interpreter in an xterm or on the console by just typing "q" (or "q filename.q" to run the given Q script). A bunch of sample scripts can be found in /usr/local/share/q/examples. Onboard help is available in the interpreter with the "help" command (this fires up the language manual in the GNU info reader); the manual is also available as HTML and PDF from q-lang.sf.net. Start out with Section 2 ("Getting Started"), that should get you started quickly. If you have emacs installed, you might also wish to install q-mode.el in /usr/local/share/q/etc into your emacs site-lisp directory, and enable Q mode in your .emacs file as described at the beginning of q-mode.el.

Please let me know how it works for you and feel free to post bug reports and other comments to this thread (or use the bug tracker and mailing lists at the q-lang.sf.net site). I'm currently working on porting other parts of Q's multimedia library (the audio interface, in particular), and I started working on an SQLite module to make up for the missing ODBC interface. I'll announce new modules in this thread as they become available for the pdaXrom version.

Enjoy! smile.gif
Albert Graef
19 Oct 2005
Some minor corrections for akita.xmodmap:

1. The keycode for the minus key is wrong (given as 66, should be 67 according to xev, at least on this C1000 in my hands).

2. Bindings for the backquote and degree symbols (on the [/] and [?] keys) are missing, at least I couldn't find any. So I mapped these to Fn+Shift+[/] and Fn+Shift+[.], respectively (which in the default akita.xmodmap are redundantly mapped to the same keysyms as with Fn alone). Maybe someone has a better idea?

Edited akita.xmodmap attached to this post (gzipped as the forum didn't let me upload a plain ascii file).
Attached File(s)
Attached File  akita.xmodmap.gz ( 957bytes ) Number of downloads: 76
19 Oct 2005
I built this on a C1000 running RC12, so it should work on RC11 and later (at least). Installs into /usr/local. Zile is a lightweight no-frills emacs clone, i.e. an alternative console editor for those who prefer emacs but don't want to install the real thing. Built from the latest sources available here.
Attached File(s)
Attached File  zile_2.2.8_armv5tel.ipk ( 160.66K ) Number of downloads: 21
Last Visitors
agraef has no visitors to display.

Other users have left no comments for agraef.

There are no friends to display.
RSS Lo-Fi Version Time is now: 24th May 2018 - 08:10 AM