Thread: Mobile Terminal alpha version!
-
08-09-2007, 05:44 PM #21
The .profile works fine for me however I get:
-sh: : command not found
-sh: : command not found
Why is this? I've played with the file and the file causes this to occur...
My file:
# Aliases
alias ssh='ssh2'
# User specific environment
PATH=$PATH:/sbin:/usr/sbin:/usr/bin
TERM=vt100
export PATH TERM
ok found the problem - I don't have VT100 installed. Where can I get it?Last edited by AustinSTI; 08-09-2007 at 05:47 PM. Reason: Automerged Doublepost
-
08-10-2007, 04:10 PM #22
what is this .profile file youre referring to?
also when I enter some commands the program seems to automatically add a space or sometimes it seems to do some really weird things. i dont know how to explain it, its like it puts the command I'm typing at the end I itself and then let's me continue I type
I can't seem to successfully enter in the alias commands for nes
-
08-10-2007, 06:34 PM #23
^ continuation
everytime i type in the nes sound commands i get part way through and i hit "r" in library and it does this... (see attached image)
is this normal?
-
08-10-2007, 09:39 PM #24
I thought this was my answer to get aliases working for sound and nosound with iPhoneNES, but I can't get it to stick either. "alias" doesn't output anything. Does the .profile file have to be a certain encoding or certain permissions? Is it possible someone could upload a .profile file that is working for them?
Last edited by organik; 08-10-2007 at 09:40 PM. Reason: edit
-
08-10-2007, 10:33 PM #25
I have a .profile working correctly on my iphone for nes sound. I posted the howto in the NES Sound problem thread, so maybe check that, and let me know if its too brief.
-
08-11-2007, 12:29 AM #26
The quoted .profile I posted on page 1 of this thread is the one I am using and it works perfectly fine. permissions are 600 for /var/root/.profile
-
08-11-2007, 01:40 AM #27
It is certainly not working for me. If I copy and paste into textedit to make the file, save it as .profile, give it the proper permissions in var/root and in terminal I'm still not gettting any aliases registering - can you just upload the actual .profile file you are using - then if I put that in var/root with proper permissions and it's STILL not working, I have another problem. Somehow the .profile file I'm creating is not being processed.
-
08-11-2007, 05:14 AM #28Green Apple
- Join Date
- Jul 2007
- Location
- Palm Springs, California
- Posts
- 55
- Thanks
- 4
- Thanked 6 Times in 6 Posts
Yeah same here. the file would be much appreciated.
-
08-11-2007, 10:08 AM #29
edit: n/m...figured it out
Last edited by k0mpresd; 08-11-2007 at 10:50 AM.
-
08-11-2007, 11:45 AM #30
the profile is only being read for my if I do 'source var/root/.profile' first. What's the trick to it being read automatically?
-
08-12-2007, 02:02 PM #31
-
08-12-2007, 09:40 PM #32
If it helps guys here's my .profile with the NES aliases I use... (had to change the filename to upload here, the profile.txt attachment is my .profile) Screen shot attached shows permissions.
Last edited by copland007; 08-12-2007 at 09:41 PM. Reason: add attachments
-
08-12-2007, 10:09 PM #33
nm fixed it. Problem was /bin/login was missing.
-
08-12-2007, 10:20 PM #34
ever since i installed bsd subsystem and the open shh thrugh installer.app my mobile terminal is messed up. when i open it it is just a cursor. so doesnt say the sh-34# thing it use to. and if i hit backspace to delete a character it makes a ^H symbol.. whats going on?
-
08-14-2007, 09:17 AM #35
-
08-14-2007, 09:23 AM #36
-
08-16-2007, 06:10 PM #37
I'm trying to run bash automatically when I open Terminal.
For this I changed my /etc/master.passwd file.
from:
root:XUU7aqfpey51o:0:0::0:0:System Administrator:/var/root:/bin/sh
to:
root:XUU7aqfpey51o:0:0::0:0:System Administrator:/var/root:/bin/bash
The problem is whenever I open Terminal, -bash-3.2# is there, but when I type 3 charcters it suddenly quits!!!
any thoughts?
-
12-06-2007, 08:47 AM #38What's Jailbreak?
- Join Date
- Nov 2007
- Location
- Buenos Aires, Argentina
- Posts
- 19
- Thanks
- 6
- Thanked 1 Time in 1 Post
Same here...The problem is whenever I open Terminal, -bash-3.2# is there, but when I type 3 charcters it suddenly quits!!!
-
12-12-2007, 10:51 PM #39
Can't change root login shell
-
12-13-2007, 12:19 AM #40Owner / Founder - ModMyi
aka poetic_folly
- Join Date
- May 2007
- Location
- Tampa, Florida, United States
- Posts
- 8,144
- Thanks
- 497
- Thanked 4,462 Times in 1,102 Posts
That issue comes from having multiple instances of OpenSSH installed. Delete one and you should be ok.



LinkBack URL
About LinkBacks
Reply With Quote



