Page 2 of 2 FirstFirst 12
Results 21 to 40 of 40

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Mobile Terminal alpha version!

  1. #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 04:47 PM. Reason: Automerged Doublepost

  2. #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

  3. #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?
    Attached Thumbnails Attached Thumbnails -foo_0.png  

  4. #24
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Location
    Buena Park, California, United States
    Posts
    143
    Thanks
    6
    Thanked 10 Times in 6 Posts

    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 08:40 PM. Reason: edit

  5. #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.

  6. #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

  7. #27
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Location
    Buena Park, California, United States
    Posts
    143
    Thanks
    6
    Thanked 10 Times in 6 Posts

    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.

  8. #28
    Green Apple dmbaird's Avatar
    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.

  9. #29
    edit: n/m...figured it out
    Last edited by k0mpresd; 08-11-2007 at 09:50 AM.

  10. #30
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Location
    Buena Park, California, United States
    Posts
    143
    Thanks
    6
    Thanked 10 Times in 6 Posts

    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?

  11. #31
    Quote Originally Posted by organik View Post
    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?
    I have the same problem, any fix to this?

  12. #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.
    Attached Thumbnails Attached Thumbnails -profile.png  
    Attached Files Attached Files
    Last edited by copland007; 08-12-2007 at 08:41 PM. Reason: add attachments

  13. #33
    nm fixed it. Problem was /bin/login was missing.

  14. #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?

  15. #35
    Quote Originally Posted by Chrysaor View Post
    nm fixed it. Problem was /bin/login was missing.
    could you explain that a bit more?
    thx

  16. #36
    Quote Originally Posted by grimmet View Post
    could you explain that a bit more?
    thx
    get the login binary from binkit, scp to /bin and set it executable (+x).

  17. #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?

  18. #38
    What's Jailbreak?
    Join Date
    Nov 2007
    Location
    Buenos Aires, Argentina
    Posts
    19
    Thanks
    6
    Thanked 1 Time in 1 Post
    The problem is whenever I open Terminal, -bash-3.2# is there, but when I type 3 charcters it suddenly quits!!!
    Same here...

  19. #39
    Default Can't change root login shell
    Quote Originally Posted by baalbeck View Post
    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 characters it suddenly quits!!!

    any thoughts?
    I'm having the same problem, and I see others are too. I added an /etc/shells with /bin/bash as one of the lines, and it still doesn't work. I can't even login to the mobile account when the root account's login shell is changed.

    Any suggestions?

  20. #40
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,481
    Thanks
    569
    Thanked 4,805 Times in 1,226 Posts

    That issue comes from having multiple instances of OpenSSH installed. Delete one and you should be ok.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

Page 2 of 2 FirstFirst 12
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •