![]() |
2008-12-09
, 15:48
|
|
Posts: 794 |
Thanked: 784 times |
Joined on Sep 2007
@ /Canada/Ontario/GTA
|
#42
|
![]() |
2008-12-09
, 17:48
|
|
Posts: 546 |
Thanked: 85 times |
Joined on Feb 2008
@ Winnipeg, Canada
|
#43
|
Thanks for the 'vi' guide, briand. I made the incorrect assumption that using vi was straightforward for most people.
The Following User Says Thank You to grog For This Useful Post: | ||
![]() |
2008-12-09
, 18:16
|
Posts: 42 |
Thanked: 19 times |
Joined on Dec 2007
|
#44
|
![]() |
2008-12-09
, 18:20
|
|
Posts: 211 |
Thanked: 61 times |
Joined on Aug 2007
@ Washington, DC
|
#45
|
Lady_Silence :: Nokia N810 WiMax Edition running OS2008 with XOHM Kenneth Foreman (promethh@xohm.com) foremank@silence's password: Linux Lady_Silence 2.6.21-omap1 #2 Tue Sep 2 10:13:14 EEST 2008 armv6l unknown foremank@Lady_Silence:~ $ df -h Filesystem Size Used Available Use% Mounted on /dev/mtdblock4 4.1M 3.5M 624.0k 85% /mnt/initfs none 512.0k 120.0k 392.0k 23% /mnt/initfs/tmp /dev/mtdblock4 249.4M 192.9M 56.5M 77% / none 512.0k 120.0k 392.0k 23% /tmp none 1.0M 60.0k 964.0k 6% /dev tmpfs 1.0M 0 1.0M 0% /dev/shm /dev/mmcblk0p1 1.8G 1.1G 777.2M 59% /media/mmc2 /dev/mmcblk1p1 7.6G 1.1G 6.5G 14% /media/mmc1
![]() |
2008-12-09
, 18:35
|
Posts: 5,335 |
Thanked: 8,187 times |
Joined on Mar 2007
@ Pennsylvania, USA
|
#46
|
Must be a French thing that : mine are 770FPP, N800FPP, N810FPP and E51FPP.
![]() |
2008-12-09
, 18:56
|
Posts: 452 |
Thanked: 522 times |
Joined on Nov 2007
|
#47
|
![]() |
2008-12-10
, 02:32
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#48
|
![]() |
2008-12-10
, 17:27
|
|
Posts: 3,397 |
Thanked: 1,212 times |
Joined on Jul 2008
@ Netherlands
|
#49
|
Thanks for the 'vi' guide, briand. I made the incorrect assumption that using vi was straightforward for most people.
![]() |
2008-12-28
, 03:32
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2008
|
#50
|
I agree, and would personally use 'vi' as well... but if the user isn't familiar with 'vi' it's like handing the keys to a log chipper to a 5-year old and telling them to figure it out -- they might get the job done, or they might feed their arm into the chipper (or, perhaps, both).
once in the vi editor:
the 'j' key will move the cursor down a line; the 'k' key will move the cursor up a line.
the 'h' key will move the cursor left one character; the 'l' key will move the cursor right one character.
using the 'j','k','h', and 'l' keys, move the cursor to the first letter of the current hostname in that file.
hit the letter 'i' to put vi into "insert mode".
type in the new name (the old name will still be there). when you've finished typing in the new name, hit the <Esc> key to exit "insert mode".
move the cursor to the first letter of the old hostname (after you've hit <Esc> to exit "insert mode", you'll probably only need to hit the 'l' key one time to be in the proper position).
Once you're positioned on the first character of the old hostname, hit the capital letter 'D', and it will delete to the end of the line (thus erasing the old hostname).
Hit the ':' key (not semi-colon, colon!) to put vi into "command mode", and then type 'wq' and hit <Enter>. vi will "write" the changes you've made to the file, and "quit" back to the command prompt.
N800 / OS2008
Now running Canola-free (by invitation) since 2215 UTC 21 May 2008.
Last edited by briand; 2008-12-09 at 15:14.