![]() |
2011-11-02
, 06:11
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#2
|
![]() |
2011-11-02
, 18:12
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#3
|
Did you notice that <Enter> doesn't work in vfu? It's not a tragedy if you have lynx-like motion activated but it would be better if it worked.
I had a look at the vfu sources and it sems to me that vfu checks the ASCII code a key generates and if it's 10(d) or 13(d) the Enter routines are executed. For some reason Maemo (hildon?) does not seem to allow/create that ASCII code.
I tried your vfu package, mine and the standard Debian package via debbie. With none of them <Enter> works. But if I run vfu within a fully loaded Easy Debian on the N900 Enter works and according to xev it creates the ASCII code 0d(b) which is 13(d). I ran xev via debbie to see what happens in Maemo but here I get no reasonable output in xev on key press events at all.
Do you have any idea what's going on there?
Edit:I'm aware that the key on the N900 keyboard is <Enter> and not <Return> and that both create different keycodes. But they create the same ASCII codes according to xev on my laptops And the N900 <Enter> works fine fot vfu in Easy Debian so I'm pretty sure this is not the problem.
Did you notice that <Enter> doesn't work in vfu?
![]() |
2011-11-02
, 18:57
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#4
|
On my side I can use <ENTER> key, for example, using <ENTER> from physical keyboard on the highlighted directory, enter properly in it.
Options/Toggles (scroll down, SPACE selects) --screen-------------------------------------- 1 Show Mode field YES 2 Show Owner field YES 3 Show Group field - 4 Show Time field YES 5 Show Size field YES 6 Show Type field - 7 Time Type MODIFY 8 Long name view - TagMark type => Use colors - Use /etc/DIR_COLORS - Lowercase extensions for configs YES . Show hidden files YES --navigation---------------------------------- i Use internal viewer YES I Use internal editor - Use menu borders - --trees/dirs-- ------------------------------- Compact DirTree - CDTree (cdpath) - --troubleshooting----------------------------- Clear screen on shell YES --compatibility------------------------------- Lynx style navigation YES Mask auto expand YES Use CWD as target for COPY/MOVE - --other--------------------------------------- b Allow beep! - s Free space check on copy YES Auto mount on change dir YES Preserve selection (after rescan) YES Preserve ownership/mode on copy? YES Show user's free space YES Calc/Show bytes on copy YES Calc/Show bytes freed on erase YES
![]() |
2011-11-02
, 19:53
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#5
|
I can't. I have to enter directories with <right arrow>. I can't exit the options menu with <Enter> (on the physical N900 keyboard) and I can't view a file by pressing <Enter>.
In mc <Enter> works fine.
Do you happed to have busybox-power [1] installed? I don't. Edit3: I installed busybox-power but that doesn't change anything.
This is my options menu, just in case that makes a difference:My vfu.conf is unchanged except for replacing joe with nano as the default editor.Code:Options/Toggles (scroll down, SPACE selects) --screen-------------------------------------- 1 Show Mode field YES 2 Show Owner field YES 3 Show Group field - 4 Show Time field YES 5 Show Size field YES 6 Show Type field - 7 Time Type MODIFY 8 Long name view - TagMark type => Use colors - Use /etc/DIR_COLORS - Lowercase extensions for configs YES . Show hidden files YES --navigation---------------------------------- i Use internal viewer YES I Use internal editor - Use menu borders - --trees/dirs-- ------------------------------- Compact DirTree - CDTree (cdpath) - --troubleshooting----------------------------- Clear screen on shell YES --compatibility------------------------------- Lynx style navigation YES Mask auto expand YES Use CWD as target for COPY/MOVE - --other--------------------------------------- b Allow beep! - s Free space check on copy YES Auto mount on change dir YES Preserve selection (after rescan) YES Preserve ownership/mode on copy? YES Show user's free space YES Calc/Show bytes on copy YES Calc/Show bytes freed on erase YES
Edit:
When I log into my N900 via ssh both <Enter> and <Return> on my laptop's keyboard work as expected in vfu. It's really only the N900 <Enter> that doesn't work. And even that works fine in vfu started in Easy Debian.
Edit2:
It seems like the problem lies not in vfu itself or its dependencies. I logged into another computer via ssh from my N900 which has vfu installed and there the N900 <Enter> doesn't work either. So it must have something to do with my Maemo/hildon/busybox/locale/whatever...
[1] http://maemo.org/downloads/product/M...busybox-power/
-bash-2.05b# echo $LANG
![]() |
2011-11-02
, 20:01
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#6
|
~ $ echo $LANG de_DE
![]() |
2011-11-02
, 20:07
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#7
|
-bash-2.05b# grep bash /etc/passwd | awk -F: '{print $1":blabla:blabla:blabla:"$NF}' && echo $LANG root:blabla:blabla:blabla:/bin/bash user:blabla:blabla:blabla:/bin/bash fr_FR.UTF8 -bash-2.05b#
![]() |
2011-11-02
, 20:31
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#8
|
![]() |
2011-11-03
, 10:39
|
Posts: 458 |
Thanked: 783 times |
Joined on Jan 2010
@ France
|
#9
|
I've set $LANG to de_DE.UTF8 and even to fr_FR.UTF8 (just in case...) but <Enter> in vfu still doesn't work.
Edit:
It's not the shell either. I started vfu from bash but nothing changed. I'm running out of ideas.
![]() |
2011-11-03
, 11:19
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#10
|
Here is my first attempt to package the latest VFU utilities :
VFU :
Overview :
VFU is console (text mode) file manager for UNIX/Linux.
Download packages from extra-devel :
Activate all repositories following this tutorial : http://thenokiablog.com/2009/10/27/m...-applications/
Then, as usual, as root, install with :
Hope you like it
A++
Last edited by colin.stephane; 2011-10-31 at 18:07. Reason: Typo ...