Closed GoogleCodeExporter closed 8 years ago
I have vt-198 installed through the Installer. Same issue. Tried reinstalling
BSD
subsystem and reinstalling vt100 (svn198) also restarting the phone.. but still
no
effect.
Original comment by morp...@gmail.com
on 26 Jan 2008 at 4:53
Similar problem here running on 1.1.1 firmware. After installing BSD subsystem
2.0
(as an installer.app update) Terminal SVN-198 does delete characters, when the
backspace key is pressed, but cursor goes to the right inserting a space. When
the
enter key is pressed it executes the command without the deleted characters, so
it
works, but visual feedback is messed up.
Original comment by charlie....@gmail.com
on 27 Jan 2008 at 6:03
Hey, this seems like an issue with zsh, which probably doesn't see the escape
characters from the iPhone as well
as bash. :)
Make sure you've got the latest terminal and you've got the latest BSD
subsystem, then you should be able to
start bash, and you'll notice that all of the escape characters from the
Terminal are recognized properly. :)
Original comment by fluffyar...@gmail.com
on 27 Jan 2008 at 5:20
This is not a solution.
You can try to see what the "top" command will produce , even with bash.
I will save you some time. The output would be:
Error opening terminal: network
It just does not recognize the terminal.
Original comment by bigt...@gmail.com
on 27 Jan 2008 at 10:56
same thing here. I also get an error trying to use pine in my she'll. "your
terminal of the type "network" is
missing certain functions needed to run pine"
please someone fix this stuff? Does the device team read these comments?
Original comment by m4t...@gmail.com
on 27 Jan 2008 at 11:34
The multiple issues reported here sound like issues with the shell setup. Do
you
have these same issues when you SSH into your iphone? I don't believe these are
issues just with MobileTerminal, but please let me know if that isn't the case.
Also, please see closed issue #37 for the problem related to the "network"
terminal.
Original comment by allen.po...@gmail.com
on 28 Jan 2008 at 3:15
Hi, guys.
I know what's wrong now.
edit /etc/profile
add these lines.
TERM="vt102"
export TERM
this fixes both backspace key and top issue.
try this:)
Original comment by withered...@gmail.com
on 28 Jan 2008 at 4:23
it also works with TERM="vt100". maybe by default, this value is "xterm"??
Original comment by withered...@gmail.com
on 28 Jan 2008 at 4:33
ok. Without these lines,
TERM is "network". i think this is the problem. This should be new bsd system's
issue.
just add "xterm" or "vt100", or some valid term type, then this issue just goes
aways.
Original comment by withered...@gmail.com
on 28 Jan 2008 at 4:40
does anyone have a copy of etc/profile? I think I screwed mine up and I dont
have a
backup.
Original comment by m4t...@gmail.com
on 28 Jan 2008 at 10:20
my etc/profile
Original comment by withered...@gmail.com
on 29 Jan 2008 at 2:25
Attachments:
Terminal.app is already setting up the right TERM=vt100 value in the
environment, the
problem is that it's not passing the -p option to the login program when
starting the
shell subprocess. Without -p (preserve), login will throw away the environment
and
the TERM value will get lost. This can be fixed by changing this line in
SubProcess.m:
char* login_args[] = { "login", "-f", "root", (char*)0, };
to this:
char* login_args[] = { "login", "-fp", "root", (char*)0, };
While at it, I would also recommend changing "root" to "mobile" to wean off
excessive
(ab)use of superuser privileges. Always being logged in as root is rarely a
good
idea. Much better to use "su" whenever needed (once it gets fixed in the BSD
2.0
package).
Original comment by lenn...@gmail.com
on 31 Jan 2008 at 8:32
Thanks lennart. Would you like to submit this fix?
Original comment by allen.po...@gmail.com
on 1 Feb 2008 at 6:00
You can also just use Installer.app to install BSD subsystem 2.0 termfix by Big
Boss
and it works just fine.
Original comment by nbazzeghin
on 1 Feb 2008 at 4:31
Fixed in r207 as described in Comment 12 above.
Original comment by lenn...@gmail.com
on 6 Feb 2008 at 3:02
I upgraded like a food to bsd subsystem 2.1 and now I have the same issue. I
fixed it
by editing the etc/profile again, but this time, I get
"Name collision between vt52 vt52"
"Name collision between wy50 wy50"
and so on, for all the term types. How do I stop this from happening? I know it
hsa
something to do with the termcap file, but I don't know how to edit it. HELP!
Original comment by m4t...@gmail.com
on 12 Feb 2008 at 8:34
I upgraded like a fool to bsd subsystem 2.1 and now I have the same issue. I
fixed it
by editing the etc/profile again, but this time, I get
"Name collision between vt52 vt52"
"Name collision between wy50 wy50"
and so on, for all the term types. How do I stop this from happening? I know it
hsa
something to do with the termcap file, but I don't know how to edit it. HELP!
Original comment by m4t...@gmail.com
on 12 Feb 2008 at 8:34
After upgrade to BSD subsystem 2.1 you can use Installer.app to install
(reinstall?) BSD subsystem 2.0 termfix by
Big Boss and it works just fine again.
Original comment by sattelma...@td.mw.tum.de
on 13 Feb 2008 at 9:33
[deleted comment]
[deleted comment]
To resolve name collision through SSH connection (not in MobileTerminal.app)
open:
/etc/termcap
Search and replace following lines:
vt100|network|vt102|vt100-am|dec vt100 (w/advanced video):\
--> (replace with)
vt100|vt102|vt100-am|dec vt100 (w/advanced video):\
#network|xterm|vs100|xterms|xterm terminal emulator (X Window System):\
# :tc=xterm-r6:
--> (replace with)
network|xterm|vs100|xterms|xterm terminal emulator (X Window System):\
:tc=vt100
There is no export TERM needed in etc/profile and backspace will work OK...
Original comment by drSkoda1@gmail.com
on 13 Jan 2009 at 9:15
Original issue reported on code.google.com by
withered...@gmail.com
on 26 Jan 2008 at 1:11