Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
07-26-2007, 07:26 PM #1
How to make PICO work on your iPhone (TUAW.com)
sorry heres another link from tuaw, via the #iphonedev guys who have been whipping up all kinds of coding mods for the iphone this time they give us pico in our iphone. iam definately gonna try this. original story here
Over on #iphone-shell, user Doggkruse was wondering how to get pico to work on his iPhone. Problem was that the iPhone had no terminal definitions on-board. So every time he ran pico, he got "Unknown termtype vt100" errors. For those of you curious how to fix this problem, here's the solution. On your iPhone, create the folder /usr/share/terminfo/76 and copy /usr/share/terminfo/76/vt100 from your Mac over to the iPhone. Once there, set your term environment variable to vt100. In csh, this is set term=vt100. It varies, obviously, by shell. Once this is done, you should be able to use pico in normal full-screen mode. For those of you full-screen addicts, there's now vim and pico. For the rest of us, there's ed--the editor of kings. User DrunkDwarf was nice enough to put up a copy of vt100 for Windows users here. Thanks DrunkDwarf!
07-27-2007, 12:04 AM #2
Very nice. This is getting more fun every day.
07-27-2007, 09:45 AM #3
Thanks for the link, I am definitely a pico/nano fan, I can't stand archaic vi usage, lol
07-27-2007, 01:39 PM #4
07-27-2007, 01:45 PM #5
Pico is a text editor for Unix computer systems, and is integrated with the Pine email client, designed by the Office of Computing and Communications at the University of Washington.
07-27-2007, 09:50 PM #6
08-09-2007, 11:16 AM #7
Hi, following the steps exactly as described. I downloaded the vt100 files to my pc, created the directory and running pico I still get errors. vt100 not found in termcap or garbage in my terminal.app.