Reply
Thread Tools
Posts: 24 | Thanked: 2 times | Joined on Feb 2007
#1
Actually i've tried (switch to bash in /etc/passwd) and my n800 fails to boot I do get the progress bar until Id say 3/4 of the sreen and then reboot.

I hate ash !!! Won't even read its own .ashrc file !!!

Thanks for any feedback

P.S. I'm using latest firmware (installed last night...)


EDIT: Is there a way to revert to old passwd file without completely reflashing (i;e; loosing programs installed ?)

Dwardo
 
Posts: 24 | Thanked: 2 times | Joined on Feb 2007
#2
Well I've reinstalled after trying all rd-flags to no avail.

All I really want is ash (or sh) to source .profile on xterm start.
It does source .profile when I ssh into my n800 but it won't on starting xterm (Who knows why ???)

Worse...

ince in xterm under ash

if I
>> bash
then bash reads my .bashrc file

however if I
>>/bin/sh
sh does not read my .profile file.


I've tried the /usr/shar/application/hildon/osso-xterm.desktop hack, but It has 2 drawbacks.
1) If I open a second tab I'm back in ash
2) icon in left application bar is no longer that of a terminal WTF !!!


Thanks for any information/help

dwardo
 
brendan's Avatar
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#3
if you go into red pill mode, the bash environment is listed as available for install...
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
 
Posts: 24 | Thanked: 2 times | Joined on Feb 2007
#4
I allready installed bash-m

using redpill & repos listed on maemo there is no other bash package in my application manager !

I've found that once in osso-xterm doing
>> export ENV=.ashrc
>> ash
will start a new ash that sources my .ashrc file.


LASt step is to find how to have this done directly on osso-xterm startup.
I Tried adding
export ENV=.ashrc
to /etc/profile, but to no avail.

dwardo
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#5
zsh is also listed somewhere.
 
Posts: 150 | Thanked: 3 times | Joined on Jan 2007
#6
Nooo! No zsh! Several users had problems with zsh. Application Manager freezes, the app can't be deinstalled and doesn't work. There was even a user who's apt was that much bricked, that he wasn't able to install or remove any other applications. Maybe it works in new firmware, maybe not, maybe ...
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#7
Zsh didn't work for me and I had trouble uninstalling it too, but I thought that someone would stop offering it if it was like a rabid dog prowling the streets...
 
Posts: 24 | Thanked: 2 times | Joined on Feb 2007
#8
Seems like I'm out of luck...

There is a bug filed (here:
http://maemo-hackers.org/ticket/25?replyto=3#comment ) for osso-xterm because it doesn't start a login shell that will then source the user's .profile file.


Seems to still be a problem in osso-xterm 0.13.mh21bora1 (the one I'm using)

dwardo.
 
Posts: 107 | Thanked: 4 times | Joined on Apr 2007
#9
wait, so is it possible to have my own custom commands in a .profile file?
 
Posts: 2 | Thanked: 0 times | Joined on Sep 2007 @ California
#10
I'm having this same problem, and I can't stand busybox anymore. I also got that nasty reboot cycle too when I changed /etc/passwd. Another thing that might work is to simply change the symlink from /bin/sh > busybox to /bin/sh -> /usr/bin/bash, which would be the cleanest way to change the shell. I'm too afraid to try this because I don't want to brick my 770 again.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:43.