IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.85 MB
Powered by
Channel Info
Network: freenodeChannel: #netbsd |
Search in www.irclog.org
Log from #netbsd at freenode 2006-06-21
[00:42]<ljugeeee>-'nuit
[00:49]<asjpv>+Anyone know why sftp-server requires /dev/null when I run it in a chroot with execve?
[01:16]<mjjmlgzsjg>+guys, ru encoding is working :) , but keyboard ZDTHNS not QWERTY :(
[01:41]<rrmyf>+dmesg, what happened to #sgi?
[01:44]<rrmyf>+any Lussumo Vanilla forum owners in here?
[01:44]<ddnsr>+aadil * Cannot join #sgi (Channel is invite only).
[01:44]<drffn>+anyone know why this doesnt work in shell scripting? -- if [ $VAR==NotSet || $VAR2==NotSet]; then
[01:44]<rrmyf>+dmesg, i know its invite only
[01:44]<rrmyf>+but why?
[01:44]<drffn>+i get NotSet==NotSet: not found
[01:44]<ddnsr>+aadil i dont know are u there?
[01:45]<rrmyf>+dmesg, i am not
[01:45]<rrmyf>+are u?
[01:45]<ddnsr>+nop
[01:45]<ddnsr>+:/
[01:45]<dyszpyz_>+why does xine-lib depend on qt?
[01:47]<drffn>+misafir_, do make show-options in xine-lib
[01:47]<dyszpyz_>+thank you
[01:50]<dyszpyz_>+This package does not use the options framework.
[01:51]<dyszpyz_>+i guess i'd better install pre-compiled
[01:51]<dyszpyz_>+because c++ compiles soo slowly
[01:59]<zvxyffw>-maple try 'if [ "$VAR" = "NotSet" -o "$VAR2" = "NotSet" ]; then'
[01:59]<drffn>+rthill1, should it be == instead of = though?
[01:59]<zvxyffw>-no. try 'man test'
[02:00]<zvxyffw>-'[' is really /bin/[ which is hardlinked to /bin/test
[02:13]<dyszpyz_>+i figured out the problem
[02:13]<dyszpyz_>+it's SDL who wants arts who wants qt
[02:13]<dyszpyz_>+i disabled arts in SDL and it's solved
[02:14]<dyszpyz_>+thank you for the hint
[02:25]<drffn_>-rthill1, no shit?! i never knew that. that makes alot more sense of my error message. hahah. damn im an idiot.
[02:26]<zvxyffw>-sh (shell) is hell to program in. Start thing about the wacky contents $VAR can have (including single or double quotes) and you'll see the pain I've been in writing installer scripts in shell in the past :-(
[02:31]<slwnw>-rthill1: what do you mean?
[02:31]<slwnw>-rthill1: if you quote a variation substitution, the content doesn't matter.
[02:34]<zvxyffw>-yeah, I guess you're right. It was awhile ago and I'm guessing some of the code I inherited didn't have all the variables quoted in the tests...
[02:34]<zvxyffw>-man
[02:35]<zvxyffw>-I do seem to remember being able to confuse test with quoted arguments, but I can't reproduce it now (on linux, the work was on Solaris)
[02:35]<slwnw>-rthill1: bourne shells are pretty neat but they ARE little weird of a language. and not designed to manipulate data themselves too; so they mostly have flow control stuff.
[02:36]<zvxyffw>-yeah, and if you take data from a user, you have to be _very_ careful how you use it.
[02:37]<slwnw>-rthill1: `test =` will fail, but `test "" = ""` shouldn't, AFAIK. not sure if all test(1) on all systems will though.
[02:37]<slwnw>-maybe some will discard empty arguments and fail anyway
[02:38]<slwnw>-and if you say test $a = $b, then it'll fail if either one var is empty or contains space. so always do test "$a" = "$b" and it should be fine AFAIK.
[02:38]<zvxyffw>-I remember spending a whole lot of time trying to get the quoting right when args were passed to sub shells and making sure variables got expanded, but not filename-glob'd
[02:39]<slwnw>-should have been embeeded in double quotes I guess. it gets real hard once you have multiple levels of quoting. better to avoid that all together if possible.
[02:41]<slwnw>-that is, within double quotes, variables are substituted, but filenames expansion doesn't happen. and "field splitting" (ie, yielding multiple arguments when there are spaces) isn't done for the substituted content from variables.
[02:43]<slwnw>-rthill1: anyways, something nice about bourne shell is the "everything's a command" thing. so you can nest an if in an if condition if you want. ex: if if something; then blah; true; else false; fi; then bleh; fi;
[02:43]<slwnw>-it can do that but it doesn't have lists. go figure.
[02:54]<fysx>+good bye
[06:15]<cprprpumr>+hey all
[07:06]<rffrr>-hello. What's the equivalent on netbsd for /proc/cpuinfo and /proc/meminfo (on linux)
[07:07]<asjpv>+aFlag: *shrug* I thought netbsd had a /proc filesystem?
[07:07]<asjpv>+dmesg | more to get the same info
[07:07]<rraffsax>+well, in a different format
[07:07]<asjpv>+Dunno
[07:09]<rffrr>-hum, i couldn't find that information on netbsd's /proc
[07:09]<rffrr>-but i'll look at dmesg
[07:10]<rffrr>-yeah, it's all there, thanks
[09:42]<agjjg>+i would like to install netbsd-current over the network. usually there is a boot.iso or similar in order to do so. i gave a lookover on the netbsd site but didnt see anything obvious. could somone help point me to what im looking for? id appreciate it!
[09:51]<tnllyax>+jnoon: there is plenty documentation
[09:53]<tnllyax>+jnoon: http://www.netbsd.org/Documentation/network/netboot/ - you also have to put the install.tar.gz into the nfs-root, that kicks of the installation after booting via net
[09:54]<tnllyax>+at least that's the way I managed to boot my system via net and install ist
[09:54]<tnllyax>+s/ist/it/
[09:56]<drffn>+jnoon, ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200606080000Z/<arch>
[09:58]<drffn>+jnoon, under the installation/cdrom folder you can get the iso's your looking for.
[09:58]<drffn>+then under the binary/sets folder you can snag the tgz
[10:11]<rmr>+'morning
[10:13]<rrmyf>+morning adrien
[10:37]<nac>+hi maple
[10:47]<svzzdzw>-hello
[10:55]<sgzmnz_lb>+hello
[10:57]<sgzmnz_lb>+can't pkg_info handle .. or . in paths?
[10:58]<sgzmnz_lb>+for example, with /usr/pkgsrc as pwd:
[10:58]<sgzmnz_lb>+pkg_info -F ../pkg/bin/mformat
[10:58]<sgzmnz_lb>+pkg_info: No matching pkg for ../pkg/bin/mformat.
[10:58]<sgzmnz_lb>+whereas /usr/pkg/bin/mformat works as expected
[11:01]<rjmmjmn0>+v
[11:02]<svzzdzw>-sjamaan> !!
[11:03]<srrdrrg>+hai
[11:04]<svzzdzw>-hey!
[11:08]<yreey>+m.o0O°
[11:08]<srrdrrg>+moo
[11:09]<srrdrrg>+hey claudio`
[11:09]<vxnrfrss>-hi claudio`
[11:09]<zczusx>+Are there any good light-weight editors with emacs bindings I can use without configuration as root to edit files quickly? I'm currently using vim, but it takes too much to make it work right.
[11:10]<njmsu>+"work right"?
[11:10]<njmsu>+as in do emacs keybindings? :P
[11:10]<vxnrfrss>-nedit?
[11:10]<srrdrrg>+rkrush: There are things like microemacs and joe
[11:11]<srrdrrg>+But imho the vi that's in base is good enough
[11:11]<vxnrfrss>-i've started a mini-project in c
[11:11]<srrdrrg>+nedit is graphical
[11:12]<zczusx>+Hmm, maybe I should give that a try. I like vi[m], but I hate when I need extra configuraiton to make cursor keys work right or backspace work or whateer :\
[11:12]<srrdrrg>+I don't think that's light-weight :)
[11:12]<zczusx>+I suppose that's not really vi[m]'s fault :P







