(apply newLisp Maemo)

 This page is for newLisp on the Nokia N810 internet Tablet running Maemo Linux.

use a manual refresh on this page to update content!

Maemo on the N810 is Armel based so that needs a recompilation. With scratchbox on linux this can be done by crosscompiling Intel/Armel.

newlisp v10.1.0 (source and precompiled utf-8 binary and pdf Doc for the ARMel for Maemo diablo release)

newlisp v10.1.0 (binary only for the ARMel, compiled with readline)

The above package doesnt have guiserver included.. See below. next release will include all!

 

( MAEMO-MENU )

I wanted a newlisp button on Maemo (Diablo/Hildon) menu layout, now that needs a little adjustment and Ill include it in the next release package. First created icons 26x26 40x40 and 64x64 128x128

And a  'newlisp.desktop' file:

[Desktop Entry]
Version=10.1.0
Encoding=UTF-8
Name=newLisp
Exec=osso-xterm -e /usr/bin/newlisp
Icon=newlisp-64x64
StartupWMClass=newlisp
X-Window-Icon=newlisp-64x64
X-HildonDesk-ShowInToolbar=true
X-Window-Icon-Dimmed=newlisp-64x64
X-Osso-Type=application/x-executable
Type=Application

These together will create a newlisp Menu entry on the Maemo desktop. newlisp-postinst.sh

#!/bin/sh

echo "Copying newlisp.desktop"
cp ./newlisp.desktop   /usr/share/applications/hildon/
cp ./newlisp-26x26.png /usr/share/icons/hicolor/26x26/
cp ./newlisp-40x40.png /usr/share/icons/hicolor/40x40/
cp ./newlisp-64x64.png /usr/share/icons/hicolor/scalable/hildon/

echo "Refreshing Icon cache"
gtk-update-icon-cache -f /usr/share/icons/hicolor

echo "Installing newlisp"
maemo-select-menu-location newlisp.desktop


Execute the script as root from an XTerm in the directory where the above files are located, the script will refresh the gtk icon cashe file and ask you "popup" where to install newlisp in the menu structure. Finaly it all looks like this:

These is though 1 backdraw with the use of osso-xterm, you cant assign an icon to the open xterm session. All newlisp sessions will show the Xterm icon. You can ofcourse download the tool "Personal menu" that can create icons on the Personal-Menu's.

 

 


( NEWLISP ON MAEMO )

Running newlisp on the N810 is fun if you like to be portable with a lambda. There are some tweaks to make working on the Xterm and newlisp more confortable.

I use the nano editor with the newlisp highlighting (here a precompipled version 209 with syntax highlighting enabled). Also you could try and use the Termcap settings for your linux prompt so yuo can use pre-defined key combinations inside newlisp. (found here). Rename the inputrc.txt to .inputrc and put it in your home directory. I also use Lynx for the (help ..) command inside the init.lsp of newlisp. A precompiled Lynx.


 above the N810 running newlisp with an adjusted init.lsp script

 

newlisp gui-server on maemo 

 

 

( NEWLISP GUISERVER )

I thought java wasnt available for the N810 but there is a port called Jalimo with goes upto Java 1.5 Swing/AWT and SWT. Now newLisp has the gui-server, a Gui system wrapped around java and I tested it..it works..Above the screenshots halfsized to make a collection.