Quote:
Originally Posted by ddstc95
Can someone point me to an explanation how to change the Preware feed to the 1.1.3 URL. I mean, having the URL is nice, but knowing to use it... 
|
Follow steps 1-3 and step 5 at this URL:
Portal:Accessing Linux - WebOS Internals
That will get you to a Linux shell prompt. You can edit a file using a program named "vi". (If you are not familiar with vi, the (minimal) instructions below should allow you to make this minimal change. (You can learn more about vi later, or add another editor (like nano, from the optware packages) if you need to regularly edit files on the Pre. Here are the basic cookbook steps for your first use of vi to change the version as Rod suggested:
vi /var/etc/ipkg/webos-patches.conf
- use the "j" (or down arrrow) key to move down one line at a time
- repeatedly press the J key until you get to the line(s) you need to change
- if you go too far, press the "k" (or up arrow key) to move up one line per key press.
- once on the line you want to change, use the "h" (left arrow) or "l" (right arrow) keys to move back and forth across the line to the place on the line that you will need to change.
- Vi operates in two modes and so far you have been operating in "command" mode (which you can think of sort of as "navigate" mode).
- Let's say you need to change text from "1.2.2" to "1.1.3". Navigate across the line until the cursor is on top of the first "2" (using my example above). Now you can press the "x" key once each for every character you want to delete. (In the example I'm using, you'll want to press "x" 3 times.)
- to enter replacement text, you need to enter "insert" mode. This is as easy as pressing the "i" key. Now you can literally type the chars you need and then press the "escape" key (usually labeled "Esc" and in the top-left on most keyboards). This gets you out of insert mode and back into command mode.
- look at the line you changed and make sure you made the change that you wanted. You should scroll up and down through the remainder of the file to see if the OS version needs to be changed in more than one place. (Probably not, but check to be sure.)
- When you are satisfied that you have made all the changes you need, type the following three characters (without the quotes): ":wq". The colon puts you into a real command mode and the "wq" means to write the buffer (your changes) to the current file (the one you specified on the "vi" command line which started vi).
- After entering the wq command, you should now be back at the Linux shell command prompt. Your work is done. You can view your file (without making more changes) with a "less <filename>" command. Now you can use arrow keys to move up and down. When you are satisfied that the file was written as you wanted it, you can press the "q" key to terminate viewing the file as you changed it.
The above steps are a minimal set of instructions to accomplish what Rod suggested. If you want to learn more about vi, you can enter a ":h" command while in command mode (that is, not in insert mode). To terminate the help, you type a ":q" command. I hope these instructions are enough so that you can accomplish the changes. Let me (or others here) know if you get stuck.