Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : mrxvt ported to iLiad


scotty1024
11-12-2006, 01:08 PM
I've ported mrxvt to the iLiad and I will be using it as a training tool to help other developers learn what it takes to port X11 applications to run on the iLiad.

First off, mrxvt is a tabbed version of rxvt. And rxvt is a small terminal program that doesn't try to do too much so it stays small in size. A terminal program allows you to execute commands under Linix on the iLiad. You can use it to examine the contents of memory cards, move files to and from memory cards. Set the time zone, set the time... In general it is your swiss army knife of tools that iRex has so far failed to provide.

I'll be using mrxvt to document some of the more useful features such as setting the timezone so your notes have the correct date and time on them (unless of course you already live and work in UTC).

I've bundled this tool up in a manner similar to that I developed for gnuchess. It is a zip file that you need to extract onto a MMC/CF card or onto the iLiad's own internal memory drive.

You will then need to have the [SHELL] hack installed. Navigate to where you extracted the zip and click into the "mrxvt" directory created, then click on the "run.sh" file.

You should see a window pop up like that shown in the picture below.

If you are not an experienced Linux command shell user (and if you don't know what that means: you aren't :)) then do try not to brick your iLiad by typing in random things you find to try via Google. I'll be posting articles, please be patient.

The features of this program that I will be sharing via postings shortly are:

1. It knows how to label itself so Matchbox Window Manager lets it decide its window size.
2. It knows how to coax the keyboard into automatically popping up: the right way.
3. It knows how to put away the keyboard on exit.
4. It knows how to invoke a light weight screen refresh so it won't risk triggering epileptic seizures amongst the users.
5. It knows how to turn off the busy LED.
6. It defaults to using one of the few X11 fonts provided "out of the box".
7. It uses nothing but "out of the box" shared libraries, so it is a very tiny program.

For the advanced I'll share how to make an on screen button for it using Matchbox so you can pop it up and then put it away whilst in the middle of other things.

b_k
11-12-2006, 01:23 PM
still busy scotty?
Anyway, looks promising. Now i should finally install the [SHELL] patch. :wink:

jęd
11-12-2006, 02:00 PM
I've ported mrxvt to the iLiad and I will be using it as a training tool to help other developers learn what it takes to port X11 applications to run on the iLiad.


Are you going to be posting source code to this (potentially) useful tool...? :D

scotty1024
11-12-2006, 03:31 PM
You need the following includes:

#include <liberdm/erdm.h>
#include <liberipc/eripcviewer.h>
#include <liberipc/eripctoolbar.h>
#include <liberipc/eripcbusyd.h>

The following globals

erClientChannel_t erbusyChannel;
erClientChannel_t ertoolbarChannel;

This bit of code turns off the LED.

// Turn off busy LED if we were invoked via [SHELL]
erIpcStartClient(ER_BUSYD_CHANNEL, &erbusyChannel);
busySetBusy(erbusyChannel, ccBusyState_Off);

This bit of code enables and then pops up the keyboard.

erIpcStartClient(ER_TOOLBAR_CHANNEL, &ertoolbarChannel);
tbSelectIconSet(ertoolbarChannel, ER_PDF_VIEWER_UA_ID);
tbClearIconSet(ertoolbarChannel, ER_PDF_VIEWER_UA_ID);

// Turn off trashcan
tbAppendPlatformIcon( ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_trashcan, -1);
tbSetStatePlatformIcon(ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_trashcan, iconState_grey );

// Enable then pop up keyboard
tbAppendPlatformIcon( ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_keyboard, -1);
tbSetStatePlatformIcon(ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_keyboard, iconState_selected);

This bit of code labels the main window so Matchbox treats it as a Dialog and lets it set its own size (and brings it to front).

Atom window_type = XInternAtom(r->Xdisplay,
"_NET_WM_WINDOW_TYPE_DIALOG",
False);
XChangeProperty(r->Xdisplay,
r->TermWin.parent,
XInternAtom(r->Xdisplay, "_NET_WM_WINDOW_TYPE", False),
XA_ATOM,
32,
PropModeReplace,
(unsigned char*)&window_type, 1);

This bit of code flashes the screen black to do as ghost-less a refresh as possible

// Full Refresh, chase off all the ghosts
dmDisplay(dmCmdPriorUrgent, dmQFull);

This bit of code refreshes the screen without the black flash. It works much better for UI work such as that in mrxvt.

dmDisplay(dmCmdPriorUrgent, dmQTyping);

To make the keyboard go away when you are done with it (or exiting mrxvt).

extern erClientChannel_t ertoolbarChannel;

// close keyboard
tbSetStatePlatformIcon(ertoolbarChannel, ER_PDF_VIEWER_UA_ID, iconID_keyboard, iconState_normal);

And to link you need the following libraries.

-lerdm -leripc

arivero
11-13-2006, 06:11 AM
I remember time ago I had some trouble about the appropiate font to use for xrvt.

Scotty, the centered Dialog idea is BRILLIANT. And I regret do not have greater/bigger uppercasses. Er, wait a moment, I have...
BRILLIANT.

It is real hack, to have remembered that dialog windows indeed appear and of course to know that they can be asked to show.

scotty1024
11-13-2006, 06:32 AM
It is real hack, to have remembered that dialog windows indeed appear and of course to know that they can be asked to show.

Thanks!

I think the next item out of my porting pipeline will really put the heat to iRex from the 2.7.1 user community.

CommanderROR
11-13-2006, 06:54 AM
well, i'm certainly looking forward to that then...:-)

arivero
11-13-2006, 06:58 AM
I think the next item out of my porting pipeline will really put the heat to iRex from the 2.7.1 user community.

So you are porting Basilisk :D ?

EDITED: well, or any vmac fork (http://minivmac.sourceforge.net/screens/index.html)

scotty1024
11-13-2006, 10:23 AM
I said heat, not something to make iRex laugh their asses off. :)

NatCh
11-13-2006, 10:27 AM
Hmm, might do them some good to laugh a bit. :grin:

yokos
11-14-2006, 08:22 AM
Thanks, scotty, brilliant as usual.
No we have a real shell terminal.
I copied some files from CF to /mnt/free wo help of a PC. uhh! nice! :crowngrin

arivero
11-14-2006, 08:23 AM
Thanks, scotty, brilliant as usual.
No we have a real shell terminal.
I copied some files from CF to /mnt/free wo help of a PC. uhh! nice! :crowngrin

yeah, that is really useful: to be able to move files and folders between devices!

Plus, wget.

scotty1024
11-15-2006, 04:38 AM
Thanks, scotty, brilliant as usual.
No we have a real shell terminal.
I copied some files from CF to /mnt/free wo help of a PC. uhh! nice! :crowngrin

After your excellent piece of work on the [SHELL] hack I was wondering if you were thinking about doing a similar posting documenting how to move files around?

I think there has been a bit of pent up demand for this simple capability. :)

yokos
11-15-2006, 06:12 AM
STICKY [This is a first draft, this message says to you: post isn't finished right now]

step-to-step-guide How to copy directories from CF/MMC to iLiad's USB drive without a PC
What you need to know
How you can start mrxvt

What you want
copy a directory from media card to iLiad. Wouldn't it be nice to do this without a PC? at the beach, in subway, you understand?

Steps
# run mrxvt via run.sh
# what you get is a terminal window, where you can run shell comands
# my terminal says /mnt/free/newpapers/Apps/mrxvt/ #
What does this mean? It shows you in which directory your mrxvt application lies. So this depends, where you copied the binary file [application] mrxvt.
# using mrxvt works this way:
1- you enter a command,
2- then you press enter,
3- mrxvt executes your command & creates a new line,
4- where can enter the next command.
# This will we do. Ok, first we need to change the directory first
type cd /mnt/cf or cd /mnt/mmc [if you use a MMC card], then press "enter" button on keyboard.
terminal gets a new line, which lists the address you typed in. You are now at the lowest dir level [root] of you memory card.
cd stands for [I]change directory, /mnt/cf is the address of root directory of CF card
# you can type ls -l if you want, a contents list of your memory card is shown, this may helps to choose the directory you want to copy.
sample output:
dr-xr-xr-x 3 root root 4096 Nov 3 11:45 Kryptologie
drwxr-xr-x 4 root root 4096 Nov 11 17:18 LaTex
drwxr-xr-x 4 root root 4096 Nov 6 13:28 Linux
drwxr-xr-x 6 root root 4096 Sep 2 17:43 My Notes
-rwxr-xr-x 1 root root 23558 Mar 19 2004 pdf.ico
Reading the sample output above, We get following information:
sample root directory of memory card has got 4 dirs [Do you see the d in front of line? It's says, it's a dir]
What the hack is the rwx stuff?
r=read right, w=write right,x=execute right. In sample you have as user/root all rights.
# You can switch with cd command between levels of directories.
like
cd Linux ,
cd directoryname
with this command you change the current working directory to subdictionary directoryname.
with cd .. you can jump from your current directory a level up again.
# I decide to copy the directory "Kryptologie" with all subdirectories to the iLiad's Books USB drive.
How to do this. We can you use the copy command.
We type cp -r Kryptologie /mnt/free/books/Kryptologie
This copies the directory Kryptologie to the iLiad's book directory. It takes a while to copy, depending how large your files are, when the copy process is done, mrxvt creates a new line & is waiting for a new command.
general command is
cp -r /directory/to/copy/from /directory/to/copy/to

How can I exit mrxvt?
# press cross [top right of window] or
# type the command exit

a one-step-copy-process in mrxvt could be:
cp -r /mnt/cf/directory/subdirectory /mnt/free/books/subdirectory
This copies the directory "subdirectory" with all it's subsubdirectories from CF to iLiad's book directory. This is quite handy. This command uses the absolute path address.

[I]note to myself: I need to install fbshot. Some screenshots would be nice.

Q: Can you follow the instructions? Or did you found any mistakes?

a tip: with the up-arrow key on keyboard you can switch between commands you already used.

more information about shell commands:
# Linux man pages online (http://man.he.net/)
# linuxmanpages.com (http://www.linuxmanpages.com/)
# cp @wikipedia (http://en.wikipedia.org/wiki/Cp_%28Unix%29).

vranghel
11-15-2006, 12:19 PM
Thanks!

I think the next item out of my porting pipeline will really put the heat to iRex from the 2.7.1 user community.


So i'm assuming that your next(current) project is so awesome that the 2.7.1 ppl will be so jelaous that they will 'scream' at iRex to push their releases faster.

Can't wait! :D

jęd
11-15-2006, 12:35 PM
# You can switch with ch command between levels of directories...


Or perhaps using "cd"...? :D

arivero
11-15-2006, 08:40 PM
Could people report on working console apps? Someone had already a version of fritz working in console mode, I believe. Zork in a real ebook :-)

Also someone got to run a console-based mp3 player time ago. Here: http://www.mobileread.com/forums/showpost.php?p=33713&postcount=2

yokos
11-16-2006, 05:26 AM
Also someone got to run a console-based mp3 player time ago. Here: http://www.mobileread.com/forums/showpost.php?p=33713&postcount=2
Thank you, arivero. I wanted to search for this thread today. :happy2:

@ jęd,thanks for "ch". Sometimes I'm so blind!

arivero
11-16-2006, 06:00 AM
Thank you, arivero. I wanted to search for this thread today. :happy2:

@ jęd,thanks for "ch". Sometimes I'm so blind!

By the way, I am afraid that Kristoffer, the guy that reported this mp3 thing, is bound by some stronger confidentiality agreement; we have not got news from him since the 2.5 update, and his last report was that, strangely, the update he had was not using the new ipdf (he could be wrong in that report, of course). Actually some people could have been misled into 2.5 because of that report.

tribble
11-16-2006, 07:35 AM
OH MY GOD, this is awesome.

scotty1024
11-16-2006, 12:06 PM
The .2 version comes with an icon and "hides" everything in ContentLister.

Basically it has a PNG and a manifest.xml added to the .1 package.

Enjoy.

El Chupacabra
11-16-2006, 12:39 PM
Wow Scotty, I never imagined myself handwriting on a shell. This rocks!

scotty1024
11-16-2006, 01:10 PM
Wait until you hand write an email. :D

Of course the novelty wears off and then a bluetooth keyboard looks real attractive...

Enjoy, and remember: be careful with what you write into that command shell.

yokos
11-20-2006, 04:31 AM
With vi filename you can start the text editor vi to edit the file filename.
I have a problem: Typing a I start the text mode Insert. But I have no way to get back to command mode, because keyboard has no Esc key. Does anybody know a way back to command mode?

jęd
11-20-2006, 04:50 AM
Does anybody know a way back to command mode?

Ctrl-C...? :blink:

mtas
11-20-2006, 05:09 AM
Well, instead if ESC you can use Ctrl-[ but since there are no Ctrl "key" on the virtual keyboard....

You can of course use sed for editing and create new files as "here" documents.

BTW, has anybody else noted that the mrxvt window doesn't get correctly updated? I noticed this while doing a substitution in vi.

yokos
11-20-2006, 05:12 AM
Ctrl-C...? :blink:
I started vi with mrxvt on iLiad. :happy2: [No Esc or Ctrl on "software" keyboard]

@ mtas. thanks so far

arivero
11-20-2006, 06:09 AM
I think is is posible to disable the enhanced keyboard and go back to the old one, but that is mayor surgery. Could be better to find a way to define a pen-stroke for the scape.

Also, xmodmap should work

tribble
11-23-2006, 12:59 PM
Scotty, could you do a little update on the terminal, so the screen gets updated when you move the scrollbar? If possible.

Thanks

henkvdg
11-23-2006, 03:51 PM
Scotty, could you do a little update on the terminal, so the screen gets updated when you move the scrollbar? If possible.

Thanks

I change from keyboard to writepad (and back) to force a screen update.

(Another way would be for the software to monitor if something has changed and then force the update.)

tribble
11-23-2006, 03:55 PM
I change from keyboard to writepad (and back) to force a screen update.

(Another way would be for the software to monitor if something has changed and then force the update.)

Its even easier to click on the page number to get a screen update, but i am lazy :D

k2r
11-28-2006, 03:11 AM
I found some time to start tampering with my iLiads guts and changed scotty's mrxvt-bundle a little to pass the first line of the description-field as argument(s) to mrxvt. It might be of use for somebody else, so here it is.

Two more things: 1) There are no sanity-checks. 2) The second line of the description-field has to be empty.

#!chris

narve
11-28-2006, 04:53 PM
Cool! Are there any cool apps to launch? ;)

sodb
04-21-2007, 10:08 AM
Just press <End> button on keyboard

drazvan
04-21-2007, 12:24 PM
BTW, I couldn't find an answer to this: how the <beep> do I press CTRL on the iLiad keyboard? I need to press CTRL-C and stuff like that. Is that doable?

wallcraft
09-21-2007, 10:02 PM
Mrxvt would be so much better if the font were larger. Has anyone got a larger font working? If there was a <ctrl> key, then perhaps <ctrl>= or <ctrl>+ would increase the font. For details of mrxvt, see the materm HomePage (http://materm.sourceforge.net/wiki/Main/HomePage).

wallcraft
10-20-2007, 08:03 AM
I attach a version based on the 0.2 but repackaged with a selection of X11 fonts to allow a larger font. This technique was suggested by Antartica in Bigger Font for mrxvt? (http://www.mobileread.com/forums/showthread.php?t=15145).

Unzip on your desktop and copy the directory to (say) your CF card. I put it in Programs and rename the directory mrxvt. Then select it from the contentLister.

The run.sh script contains examples of using 3 fonts (two commented out). Edit run.sh if you prefer one of the other fonts, or to remove "-sr" if you prefer the srollbar on the left. Note that run.err will contain stderr from running ./mrxvt in the most recent invokation of run.sh.

The screenshots show three fonts. The first is 20x10, which only allows 72 characters per line. The 2nd is 15x9, which allows 80 characters per line, but is harder to read. The 3rd is 15x9bold, which I find easier to read than 15x9 and is currently selected in run.sh. As usual, depending on your browser setup, you may initially get a scaled down snapshot but clicking on it should display the full sized image.

Version 0.4 is described in post 42 (http://www.mobileread.com/forums/showpost.php?p=109702&postcount=42). Only run.sh and the new file mrxvtrc have changed.

Replaced by version 0.5.0 (xshell) or later, from post 53 (http://www.mobileread.com/forums/showpost.php?p=199547&postcount=53).

o_parallos
10-22-2007, 04:54 PM
one question, the answer could be obvious though :D . How do I ctrl-C in mrxvt, or, for that matter, any control sequence?

wallcraft
10-22-2007, 10:19 PM
The only "modifier" that the on-screen keyboard has by default is "shift". It might be possible to map one of the existing keys (perhaps "select") to the "control" modifier using xmodmap, but that would apply to all applications.

An alternative for mrxvt only might be to use its "macro" capability to remap the hardware keys. With this scheme, F1-F6 would potentially be available for particular control sequences (although F5, short stairstep, would typically be mapped to close all). However, currently the hardware keys don't work at all with mrxvt.

nekokami
10-23-2007, 09:22 AM
Is the source for the on-screen keyboard proprietary, or could it conceivably be modified to include the ctrl key?

Adam B.
10-23-2007, 09:27 AM
Is the source for the on-screen keyboard proprietary, or could it conceivably be modified to include the ctrl key?

It's proprietary software written by Vision Objects licensed to iRex. No source is available.

wallcraft
10-25-2007, 09:52 PM
How do I ctrl-C in mrxvt, or, for that matter, any control sequence? On-screen keyboards don't have the "modifier" keys available on hardware keyboards. On a real keyboard holding the shift key and pressing a returns <shift>a, which X11 interprets (by default) as "A". On an on-screen keyboard, there is no way to hold one key while tapping another and instead tapping <shift> brings up essentially a different keyboard and then tapping A returns "A" directly (not <shift>a).

The same thing is the case for other modifiers, including <ctrl>, but the iLiad keyboard does not have <ctrl>.

The only alternative is remapping individual keys. This could be done (for all apps) at the X11 level, but mrxvt has its own shortcuts/macros capability which allows keys to be remapped just for mrxvt. There are several keys (EURO, <shift>EURO, <shift>2, and many <aeu> and <aeu><shift> keys) that have no effect in mrxvt. However, I have not been able to work out how to identify these for mrxvt macros. The only other "unused" keys are SELECT, DELETE, HOME, END (by default: SELECT is <ctrl>A, and END is <end> but works as ESCAPE). Version 4 of mrxvt (in post #37) remaps these four keys to <ctrl>C, <ctrl>Z, QUIT, and <escape>. Edit the file mrxvtrc to change these mappings. I am not sure that ^C and ^Z are working, and QUIT is perhaps too close to the relatively widely used END for comfort, so let me know if you have a better layout.

If the hardware keys were associated with mrxvt, then all their long keypresses would be available as mrxvt macros and the up key could be mapped to QUIT as usual.

Antartica
10-26-2007, 03:17 AM
On-screen keyboards don't have the "modifier" keys available on hardware keyboards.

Not really.

xvkbd has them (I've used it quite extensively on a compaq/hp tc1000 tablet pc running Debian Sarge).

What I don't know is if the virtual keyboard provided by iRex can be replaced, or if xvkbd can be launched along with the current user application, i.e. mrxvt.

wallcraft
10-26-2007, 10:01 AM
My point about modifier keys is that they work differently on virtual keyboards than on real keyboards. On virtual keyboards, it is the keyboard that assigns a new character to the <modifier><letter> combination. This means that xmodmap is less useful for customizing virtual keyboards than physical keyboards.

The iLiad keyboard is a replacement for matchbox-keyboard (http://matchbox-project.org/?p=1) which I understand used to be provided with the iLiad. As the attached image shows, it has control keys. xvkbd (http://homepage3.nifty.com/tsato/Xvkbd/) looks even better, but matchbox-keyboard may be good enough.

Flow
05-28-2008, 08:44 AM
does the terminal come with nano? MOC would be cool also.
Input in terminal is really slow. Am I the only one with this problem?

wallcraft
05-28-2008, 11:24 PM
Have you tried forcing a screen refresh? Tribble suggested clicking on the page number to do this. When I use a USB keyboard, I still hit return on the on-screen keyboard to force a refresh.

The iliad_refresh.conf file controls automatic screen refreshes, Antartica has a good explaination (http://www.mobileread.com/forums/showpost.php?p=168697&postcount=13) of this file. However, I think the on-screen keyboard might be buffering some requests because automatic updates don't seem reliable in mrxvt.

Flow
06-02-2008, 05:48 PM
Ah, thanks. Just got my iLiad and I love it!
Is it possible to use a bluetooth keyboard with the iLiad?
I'm thinking of the Dinovo Mini.

I took a quick look at the filesystem and couldn't find the xorg.conf. Or the X11 folder for that matter. Does the iLiad use the framebuffer?

wallcraft
06-02-2008, 06:21 PM
A USB Bluetooth dongle might be made to work, see Bluetooth connection... (http://www.mobileread.com/forums/showthread.php?t=23146). However, it may be simpler to get a standard USB keyboard or a "wireless" keyboard with (driverless?) USB dongle.

Antartica
06-03-2008, 02:51 PM
Ah, thanks. Just got my iLiad and I love it!
Is it possible to use a bluetooth keyboard with the iLiad?
I'm thinking of the Dinovo Mini.

I took a quick look at the filesystem and couldn't find the xorg.conf. Or the X11 folder for that matter. Does the iLiad use the framebuffer?

Instead of the full fledged Xorg server, the iliad uses the kdrive/tinyx server, that is, Xfbdev. Xfbdev doesn't use a configuration file, but command line arguments. AFAIK there are no keyboard options, see:

http://www.x-oz.com/TinyX.1.html (http://www.x-oz.com/TinyX.1.html)

bobj
06-04-2008, 10:36 PM
iliad_refresh.conf doesn't seem to work in any of the versions which "support" it. (mrxvt_iliad_0.3.zip and mrxvt_iliad_0.4.zip)

I kept experiencing delayed screen refreshes: the screen was usually one step behind. When I pressed a key, the screen would display the prior, but not current, keypress.

I fixed it by linking to Antartica's hacked libX11.so.6, which is what provides iliad_refresh.conf (http://wiki.mobileread.com/wiki/Iliad_refresh.conf). I've attached below what's currently the most widely distributed version of Antartica's hack.

If mrxvt is the first application you've installed, then you'll probably want to download and copy it to /path/to/mrxvt/lib.

Note: /usr/lib/libX11.so.6.2.1 is the (unhacked) iRex version. You don't want to overwrite this file, or its symbolic link /usr/lib/libX11.so.6.
iRex: -- size: 948556, md5sum: 8f988f4326487826d73abae202672b35
Antartica -- size: 989488, md5sum: 05b04c59a886cc3722f064b740b538ee
There are also several other versions of Antartica's hack having various sizes.

Optional:
If other applications are installed, there's a good chance you already have the hacked libX11.so.6 already. If you want to avoid duplication of libraries, just edit mrxvt/run.sh and change
LD_LIBRARY_PATH=$scriptdir/lib
to
LD_LIBRARY_PATH=$scriptdir/lib:/usr/local/private/lib


If the experts could confirm all this, I'd be happy to upload mrxvt_iliad_0.5.zip containing Antartica's hack. :2thumbsup

Antartica
06-05-2008, 02:40 PM
If the experts could confirm all this, I'd be happy to upload mrxvt_iliad_0.5.zip containing Antartica's hack. :2thumbsup

Confirmed. I had installed the 0.4 version and it doesn't have the hacked libX11 included despite having a config file for it, so it would not do any automatic refreshes.

And now that you're at it, modify the iliad_refresh.conf config file so it says

Typing 250

instead of the "Typing 100" that the current version has (to be in the safe side, as I suppose that the stealth refresh takes a lot more than 100ms to be finished and we can be enqueuing double or triple refreshes without noticing it... and that could tax unnecessarily the CPU).

So, please, post the new version :thumbsup:

bobj
06-05-2008, 03:04 PM
Thanks! I'm going to add some fancy new functionality. Hopefully I'll be finished later tonight.

bobj
06-16-2008, 03:34 AM
Here is the updated mrxvt package, plus some extras.

I wrote scripts, which I call xshell. Basically they let you launch a terminal window for any text-based application directly from the contentLister. To demonstrate, I'm simultaneously releasing the elinks text-based browser.

These are my first shell scripts, so hopefully they aren't too buggy. I added an extra digit to the version in anticipation of releasing some patches.

I hope xshell will lead to more interactivity using text-based applications, utilities like ifconfig, installers, etc.

daudi
06-16-2008, 06:06 AM
Very nice piece of work. And very, very good documentation. Awesome!

wallcraft
06-16-2008, 08:55 PM
I can't get xshell to work. I unzipped it on a Windows XP Desktop and then copied the directory xshell-050-install to iLiad's internal memory (I also tried my CF card) via USB. When I click on any of the menu items there is an almost immediate return with no changes to the contentlister display.

Usually, files are in UNIX format but these seem to be Windows files. All I did was unzip mrxvt_iliad_xshell_0.5.0.zip, and I tried using both JustZIPit and WinRAR with the same result. This is the way I have installed several other applications. Do the contents of mrxvt_iliad_xshell_0.5.0.zip have the right line terminators?

bobj
06-16-2008, 09:12 PM
Wow, I'm sorry, you're right. I don't know how that happened. One moment...

bobj
06-16-2008, 09:33 PM
Okay, I repaired it. Looks like my SFTP program did a little involuntary conversion without my knowledge. :( Please download from the same link above.

wallcraft
06-16-2008, 09:48 PM
Okay, I repaired it. Looks like my SFTP program did a little involuntary conversion without my knowledge. :( Please download from the same link above. It works now. I have edited post #37 (v0.4) to indicate that it is replaced by this version.

Dabon
06-17-2008, 08:02 PM
Dear Bobj and Wallcraft,

thank you very much for all your work. I have a few "white collar" questions. Please excuse my ignorance in advance as i am not really very knowledge able in applications development....I have read the documentation on the xshell, but i have to admit that I am still a little confused as it seems primarily directed to software developers.
1. I do not want to install xshell on my internal memory (do not want to take a chance to brick my iliad, even if iva an unbreakable one...), I have installed it on my CF and I am wondering what I might be missing doing that?
2. with the previous mrxvt software we did not have to install anything, do we have to install the Xshell software before using the software??? what is the instalation really for?? and can I just install on the CF and not the internal memory?? all my other software are installed on the CF?
3. What steps should I take (installation, launching...) before installing the elinks text-based web browser that I want to use so much....

Thank you in advance for your help and my apologies for such long email.

Dabon.

wallcraft
06-17-2008, 08:18 PM
Did you try selecting "Run standalone" (Run without the need for installation) from the menu? This should start up mrxvt without installing it.

axel77
06-18-2008, 05:05 AM
Ah, thanks. Just got my iLiad and I love it!
Is it possible to use a bluetooth keyboard with the iLiad?
I'm thinking of the Dinovo Mini.

I took a quick look at the filesystem and couldn't find the xorg.conf. Or the X11 folder for that matter. Does the iLiad use the framebuffer?

Iliad uses framebuffer.

Iliad has no native bluetooth support. You could add an external bluetooth adapter to the USB port and install the needed drivers. I don't know if anyone has ever really done it.

Iliad can support external USB keyboards, but requires some software hacks, its somewhere on this forum...

bobj
06-18-2008, 11:29 AM
Dabon, thanks for the excellent questions.


1. I do not want to install xshell on my internal memory (do not want to take a chance to brick my iliad, even if iva an unbreakable one...), I have installed it on my CF and I am wondering what I might be missing doing that?


My installer about as safe as you can get, and it modifies no system files. Your concern seems to stem from my ambiguous usage of the term "internal memory." I don't mean the root filesystem where the sensitive files live. Instead I'm referring to a separate internal "storage filesystem" (located at /mnt/free). It behaves like a hardwired 128MB CF card, and functions as such when no external memory is attached. No sensitive files live there.

You use this, and everything else on this forum, at your own risk. For the above reasons, xshell/mrxvt is relatively quite safe.


2. with the previous mrxvt software we did not have to install anything, do we have to install the Xshell software before using the software??? what is the instalation really for?? and can I just install on the CF and not the internal memory?? all my other software are installed on the CF?


You do not have to install to use. As Wallcraft pointed out, "Run standalone" will run mrxvt for you.

The "installation" allows you to easily run text-based programs like elinks from the iLiad's menu system. Otherwise you must perform a more advanced procedure. (I will post to the elinks thread.)

I set the default to "internal storage memory" because I want xshell to be accessible even if the iLiad's CF card reader pins get bent. I anticipate someday soon an interactive version of "unbrickable" that may require xshell on internal memory. For this reason I'm reluctant, but I could easily add an option for installing to the CF card if that makes people feel more comfortable.


3. What steps should I take (installation, launching...) before installing the elinks text-based web browser that I want to use so much....

I will answer this on the elinks thread.

I hope these answers were understandable. If not, please ask more.

Dabon
06-18-2008, 01:34 PM
Dear wallcraft and Bobj,

Thank you for your excellent responses and suggestions. I have responded to you in the elink thread.

Thank you very much,

Take good care!

:thanks::thanks::thanks:
Dabon.