00:17.33 | *** join/#openzaurus qip|Virus|da (~Thomas@p5091A2A2.dip.t-dialin.net) |
00:22.15 | *** join/#openzaurus synth (~cb@pcp839046pcs.venice01.fl.comcast.net) |
00:39.53 | *** join/#openzaurus synth (~cb@pcp839046pcs.venice01.fl.comcast.net) |
00:51.43 | *** join/#openzaurus HuntsMan (~hunts@CM-lflo2-18-20.cm.vtr.net) |
01:11.39 | *** join/#openzaurus enginuitor (~enginuito@209-128-75-164.BAYAREA.NET) |
01:11.43 | enginuitor | HELP!! |
01:11.51 | kergoth | WHY? |
01:11.55 | kergoth | :P |
01:12.06 | enginuitor | I'm using OZ 3.5.1... and I restarted opie... and now a ton of crap is gone from the todo list |
01:12.22 | enginuitor | Like it restored from about 6 hours ago |
01:12.26 | kergoth | okay... |
01:12.40 | kergoth | #opie |
01:14.46 | enginuitor | dead, as always... |
01:15.12 | kergoth | $HOME/Applications or something like that. |
01:15.17 | kergoth | which is likely in flash. |
01:15.28 | kergoth | so i dont see that behind lost unless the todo app didnt write it to disk at all |
01:15.36 | kergoth | hence the -> #opie thing |
01:16.10 | enginuitor | Hmm, perhaps it never sync'd? |
01:16.26 | enginuitor | But it's not like I rebooted |
01:16.32 | kergoth | jffs2 is journaling. data is rarely if ever lost, even on power loss. |
01:16.41 | kergoth | i find it *highly* unlikely that the problem is there. |
01:17.01 | enginuitor | Great... well, if I can't trust the opie todolist app, I'm kinda out of options |
01:17.08 | kergoth | vim! |
01:17.08 | kergoth | :D |
01:17.18 | enginuitor | kergoth: vi is hell on the Z... |
01:17.29 | kergoth | what do you mean? |
01:17.36 | enginuitor | kergoth: The vi that comes with OE isn't set up right for the Z's keyboard |
01:17.36 | kergoth | i used vim for my todo list on my Z for like a month |
01:17.41 | kergoth | cancel is escape |
01:17.44 | kergoth | dunno what the problem is |
01:17.51 | enginuitor | kergoth: the arrows don't work. |
01:17.58 | kergoth | not a vi problem. |
01:18.05 | kergoth | general keyboard issue |
01:18.18 | enginuitor | kergoth: Perhaps opie-embeddedkonsole is the problem? |
01:18.20 | kergoth | keyboard handling in opie is a mess. |
01:18.23 | kergoth | s/opie/qte/ |
01:19.09 | enginuitor | Perhaps opie-console would have worked fine, but I replaced it with opie-embeddedkonsole because konsole is 5 times better |
01:19.21 | enginuitor | Oh, wait... |
01:19.29 | *** join/#openzaurus _Bala_ (~Bala@hsdbsk142-165-143-134.sasknet.sk.ca) |
01:19.33 | enginuitor | Maybe it was when I was ssh'd into my Fedora machine... |
01:19.58 | enginuitor | I'm not actually sure if I've ever tried vi locally on the Z using the hardware KB... |
01:19.59 | enginuitor | brb |
01:20.40 | enginuitor | Hmm, arrows work OK |
01:20.59 | enginuitor | But backspace prints ^? and del makes the background flash |
01:21.03 | enginuitor | (this is in insert mode) |
01:21.09 | enginuitor | perhaps this is a different version of vi? |
01:21.19 | enginuitor | Must I exit insert mode to delete things? |
01:21.32 | *** join/#openzaurus synth (~cb@pcp839046pcs.venice01.fl.comcast.net) |
01:22.23 | *** join/#openzaurus HOm4r (~hoMer@cpc3-colc3-4-0-cust79.colc.cable.ntl.com) |
01:22.25 | enginuitor | Oookay... outside of insert mode, backspace moves the cursor to the left, and del not only makes the screen flash, but turns the following to characters to uppercase... |
01:22.32 | enginuitor | And prints an error |
01:22.45 | enginuitor | Wow |
01:22.50 | enginuitor | That's a lot of functionality for one key |
01:25.11 | enginuitor | Do cross-device soft links expire permanently when the device is unmounted? |
01:25.25 | enginuitor | 'cause a lot of my symlinks disappear regularly |
01:38.41 | kergoth | symlinks dont "expire" |
01:39.02 | kergoth | but the application may see that its a dead link, and that its unable to write its content out,a nd act appropriately |
01:39.05 | kergoth | dont know |
01:39.09 | enginuitor | kergoth: That's what I thought... |
01:39.47 | enginuitor | kergoth: hmm, well the link I'm having trouble with is a link from a library in the /mnt/card/usr/lib directory to the /usr/lib directory |
01:40.00 | enginuitor | Every time I reboot I have to relink it |
01:40.10 | enginuitor | Actually, ipkg-link mount /mnt/card works fine |
01:40.20 | kergoth | dunno what to tell you. |
01:40.22 | enginuitor | So I made an Opie-SH script to do it conveniently |
01:40.23 | kergoth | symlinks dont remove themselves. |
01:40.34 | enginuitor | kergoth: all right |
01:43.41 | *** join/#openzaurus CoreDump_ (~mhentges@xdsl-213-196-241-34.netcologne.de) |
01:46.34 | enginuitor | Hmm, where's the rc.local equivalent in OpenZaurus? |
01:46.48 | enginuitor | I want to make some crap happen on boot |
01:46.57 | enginuitor | s/on/after/ |
01:47.14 | kergoth | there is no rc.local. rc.local encourages people to drop shit there instead of understanding how the boot process works. |
01:47.31 | enginuitor | kergoth: Damn, I had a feeling something like that was comin |
01:47.35 | enginuitor | coming* |
01:47.41 | kergoth | create a startup script, put it in init.d, and symlink it into the rcX.d dir for the runlevel you want it started in |
01:49.23 | enginuitor | is the # pidfile:... line necessary? |
01:49.44 | kergoth | ? |
01:49.51 | kergoth | no idea what that is. |
01:49.59 | kergoth | it certainly isnt used by any of our boot stuff |
01:50.08 | kergoth | storing metadata in comments is a redhatism |
01:50.16 | enginuitor | ok |
01:50.20 | enginuitor | So I'll leave it out |
01:50.32 | enginuitor | It was in the /etc/init.d/sd file... |
01:50.35 | enginuitor | I'll check some others |
01:51.00 | kergoth | all you need is commands to run, in a case statement to handle the whole "start" vs "stop" thing |
01:51.10 | enginuitor | all right |
01:51.29 | enginuitor | jeez, how does one delete a line in vi? |
01:51.33 | kergoth | even that isnt required, if you're only symlinking it as S##whatever, (start) and arent having it get run on shutdown (K##whatever) |
01:51.36 | kergoth | dd |
01:51.38 | enginuitor | I know it's a one-key command... |
01:51.58 | enginuitor | kergoth: oh |
01:52.09 | enginuitor | kergoth: I thought there was a key that would delete the current line |
01:52.15 | kergoth | i just told you it. |
01:52.18 | kergoth | dd removes the current line |
01:52.27 | enginuitor | kergoth: ':dd' or just press D twice? |
01:52.31 | kergoth | if you want to erase teh contents of the current line without removing the line itself, thats different. |
01:52.37 | kergoth | just dd. |
01:52.40 | enginuitor | ok |