[10:43] HI all [10:44] Is it a simple process to go from ubuntu to Edubuntu? [10:44] right now, you only need to have the add-on CD to be installed on top of Ubuntu [10:48] so just do "sudo apt-get install edubuntu-desktop" ? [11:09] Afrohealer, yes [11:14] ogra:thanks .. [11:15] ogra: is it possible to have both teh Edubuntu and Ubuntu coincside.. so that the kids get to use Edubuntu .. while the adults can use Ubuntu [11:15] On the same system [11:15] not really [11:15] edubuntu changes system settings and artwork [11:16] k .. [11:18] ogra: hope you're ok now [11:18] jsgotangco, yeah, nobody knows what it was though or why it happened [11:19] i just try to live more healthy [11:19] well yeah things happen just dont overdo it heh [11:19] right [11:19] * jsgotangco shudders the thought of a healthy vegan ogra [11:19] eek [11:19] you wont see me going vegan :) [11:20] i'm cooking since i got home though ... havent seen any deep fried food sice ages :) [11:20] heh that's good I have been monitoring what I take as well lately [11:20] i drink a lot, cut down smokig to a minimum and go cycling once a day ... [11:21] we're not getting any younger hehe [11:21] i wont turn into a health pope :) [11:21] ogra: btw [11:21] these intel classmate PCs [11:21] are so cheap here [11:21] they are under a different brand [11:22] but its the same thing I think [11:22] because its the same casing, etc. [11:22] celeron cpu [11:22] worth getting one for testing in case? [11:22] well, the image is at http://people.ubuntu.com/~ogra/classmate/images/hardy/ [11:23] waiting for one last SRU for the final image [11:23] is it still being actively developed? [11:23] and then i'm out of cmpc development [11:23] ahh [11:23] it will be maintained for the time intel sells that model [11:23] these small laptops have been sprouting out here like mushrooms [11:24] and most sell for like $200 [11:24] have you seen the one for $98 ? [11:24] intel too? [11:25] http://techvideoblog.com/ifa/98-linux-laptop-the-hivision-mininote/ [11:25] better :) [11:25] MIPS [11:25] the intel cmpc here is called neo explorer x1 [11:25] they're like dirt cheap [11:26] they have an updated model with intel atom [11:27] oh a china pc [11:27] they use their own chinese CPU called godson [11:27] yeah [11:27] i currently have an xo-1, an eeePC and an hp mininote [11:31] 98 laptop!! damm that is nice.. [11:31] I coudl build myself a nice DJ system for cheap using two of those [11:31] they are probably as fast as those VIA C7 chips [11:32] if not faster [11:32] i guess faster [11:32] but only 1G local storage [11:33] ive seen those chips sold locally, they are not popular but they would be more sellable if done in a package like a $98 laptop [11:33] yeah [11:33] its a good idea === ogra_ is now known as ogra [12:34] ogra: does 'sudo apt-get install edubuntu-desktop" .. also install all the edubuntu applications? or do i have to do that seperately? [12:34] it pulls in all the edu apps from edubuntu-desktop [12:35] plus the edubuntu handbook and the artwork [13:00] ogra: thanks [13:01] I have just tried my 1st pxe client. No go. [13:02] I installed wireshark & found that [13:02] the client ignores the servers DHCP offer & sends out another DHCP DISCOVER packet. [13:02] Iny ideas? [13:03] PS pxe boot is new area for me [13:04] I have the client connected to the server's 'thin client' NIC with a crossover cable. [13:18] I replaced the x-over cable with a old 10Mbps repeater. same symptom === greeneggsnospam is now known as jsgotangco [13:35] UPDATE: the failing pxe boot box is a Compaq Deskpro. I just plugged in my Dell D830 laptop & did a successfull pxe boot. [13:39] COmpaq .. ws started with the goal of making compatibel computers.. but they seem to have forgottne that a long time ago === calimer- is now known as calimer [17:43] hi HedgeMage [17:43] hi, LaserJock [17:43] long time no see! [17:43] how have you been? [17:43] OK [17:48] just ok? [17:48] I'd say so yes [17:48] could be better, could be worse [17:49] hanging in there anyway :-) [17:49] :) === LaserRock is now known as LaserJock [19:38] hey HedgeMage [19:38] hi, highvoltage [19:38] what's upL [19:39] up? even [19:39] the end of the world! [19:39] Cool! Does that mean we can open a new one now? [19:40] if the LHC can make a big enough big bang, then yes :) [19:40] :D [19:41] * sbalneav crosses fingers and hopes the LHC can pull it off. [19:41] heh [19:42] sbalneav: I think the effects will be smaller, probably [19:42] so how have you all been? [19:42] I've missed you since I've had so little internet access. [19:42] sbalneav: my bets are that it will take us to another dimention, and we'll all turn into walking, talking couches [19:42] (I want to be a blue one) [19:43] Can I be a nice, mellow sage green? [19:43] I sort of picture myself as an ottoman. My wife thinks I'm a lay-z-boy. (badum-bum) [19:43] heh [19:43] Thanks folks, I'll be here all week, don't forget to tip your servers. [19:43] HedgeMage: work has been crazy. I'm working on getting out and starting my own things so that I can work on the things I care about [19:44] HedgeMage: and you? [19:44] sbalneav: btw, going to mountainview? [19:44] sbalneav: heh, that reminds me of http://www.lolbuntu.org/2008/03/30/good-evening/ [19:45] highvoltage: busy with work -- my business is really taking off, but with only dodgy satellite at home, keeping up can be tough. LF started kindergarten, and he's doing great already. And, I've managed to find repeated excuses to indulge my fountain pen obsession this month. Life's good. [19:45] No, I don't think so. [19:47] HedgeMage: pity about the internet though. slow internet is annoying [19:48] yep [19:54] read -sn 1 var1; echo "var1 is <$var1>"; solution; read -sn 1 var2; echo "var2 is <$var2>" -- please test it in bash and press f11: i'm not prompted for the second read! what is the solution()? how do i reset the stdin ("eat" the remainder of the escape) to leave it clean for any next read? can you think of a trick? another command that incidentally eats my stdin? (using another read doesn't work!) or so [19:54] me stty/tput trick? [20:53] linto: f11 to maximise the window? [20:53] here's what I get [20:54] sbalneav@feniks:~$ read -sn 1 var1; echo "var1 is <$var1>"; solution; read -sn 1 var2; echo "var2 is <$var2>" [20:54] var1 is <> [20:54] bash: solution: command not found [20:54] var2 is <> [20:54] sbalneav: use f6 then [20:54] exactly [20:55] so you're not prompted for the second read [20:55] how do you fix this? [20:56] Well, it would help me a bit to know WHAT problem you're trying to solve. [20:56] i.e. what is your expectation? [20:56] sbalneav: f6 is just an example of a wrong key that my users could press accidentally. i have to prevent stupid behaviors like the sequence for f6 ("^[[17~") being interpreted as "1" and then as "7". [20:57] sbalneav: it seems read -n is not designed correctly, it should eat the rest of the escape (or it should even reject the first char in the escape sequence) or it should take the whole escape sequence as a -n 1 (one char) (on some other "--enable-esc-sequences" option). [21:02] Well, -n says: [21:02] read returns after reading nchars characters rather than waiting for a complete line of input [21:03] So, since hitting F6 generates 3 or 4 characters, I'd say it's doing what it's supposed to. [21:03] Are you trying to write something so that users only have to hit "a" instead of "a" to select something? Like I say, without context, it's tough for me to suggest something? [21:13] linto: You could, perhaps do something along the lines of: [21:14] if read -n 1 -s ; then [21:14] KEY=$( echo $KEY | od -t x1 | awk '{ print $2}' ) [21:15] if [ $KEY = '1b' ]; then [21:15] # escape sequence like F6, discard rest of input [21:16] read -t 1 $GARBAGE [21:16] ... [21:16] etc [21:16] then loop back around. [21:16] sorry, first line should be if read -n 1 -s $KEY; then [21:17] sbalneav: i don't understand awk, what does it do in this context? [21:21] sbalneav: you did consider the fact that "read -n 1" reads only one char at a time, not the whole sequence, didn't you? [21:25] right, but when you hit "f6" you generate several characters [21:25] an escape, a right bracket, a couple of numbers, etc. [21:26] if you read only ONE of those characters, the rest of them are still sitting on the input buffer, waiting to be read. [21:27] Depending on what you're doing, and since I don't KNOW what your doing, I may tell you that bash and shell scripting isn't really a good tool to solve the problem. [21:29] sbalneav: is there any way to reset the input buffer? [21:29] sbalneav: i prefer to use another command between the reads [21:29] sbalneav: it can be a perl or python one-liner all right [21:33] Well, the "read -t 1 $GARBAGE" will, after a one second timeout, clear out the input buffer. [21:34] sbalneav: other than read -t 1, that is, as -t 1 slows down my script and -t 0 doesn't work in bash [21:35] I'm not sure. I doubt this would work, but you could try something like 0> /dev/null [21:36] Without knowing what your doing, I can't help much [21:39] sbalneav: it's easy to explain: i have a menu accessible by pressing numbers and i should prevent the function keys from being processed because they include numbers in their escape sequences [21:40] sbalneav: and my menu is in a while loop. and i can't swallow the escape sequences with read -t 1 because this slows down my script. [21:43] There are several curses-based menu applications available, written in C, or alternatively, there are some X based menu creators out there. [21:44] sbalneav: dialog? [21:44] and besides, the read -t 1 will ONLY slow down the script if they press a wrong key, so you might pop up a message saying "please don't press the function keys" or whatever, and the pause will allow them to read it. [21:45] dialog's one of them, yes. [21:45] I beleieve it has a menu option. [21:46] sbalneav: but is there any ncurses application that is installed by default on most distros? [21:48] dialog --menu "foo" 20 20 10 foo1 bar1 foo2 bar2 foo3 bar3 [21:48] seems to work ok for me [21:50] linto: Most distros these days aren't doing too much with ncurses applications, so probably not. [21:51] :( [21:51] but if you're producing a package that can be installed, you can just depend on the dialog package. [21:52] i know [21:52] i didn't want it to get that complicated though :) [21:52] Why not do this? [21:53] if [ -x /path/to/dialog ]; then [21:53] fancy dialog menu [21:53] else [21:53] i don't even know how to create a deb [21:53] i never studied about it but it always looked complicated [21:53] Older way to do a menu, with the one second pause on wrong key entered. [21:54] fi [21:54] thanks for the suggestion though [21:54] Ultimately, if you're doing some kind of interactive program, /bin/sh is going to result in SOME compromises :) [21:55] You may want to look at python or perl, they may have some stuff that can help you [21:55] of course, THEN you have to worry about if they're installed, if the library you're going to use is installed, etc, so you're back to the same problem as with dialog [21:57] heading home for the day. [21:57] Good luck [21:57] thanks a lot