00:22.04 | Clyphox | Moo |
00:22.40 | Leeds | Woof! |
00:23.02 | Clyphox | Hi Leeds :-) |
00:27.04 | pawelsz | . |
00:27.50 | gregj | .. |
00:28.31 | Clyphox | indeedy |
00:28.38 | gregj | :] |
00:29.58 | mozrat | what does cd / && rm -rf * do again |
00:30.24 | gregj | try |
00:30.29 | Clyphox | mozrat: it just speeds up your boot time |
00:30.32 | mozrat | OK hang on..... |
00:30.42 | Clyphox | can make the system boot in seconds |
00:30.44 | gregj | Clyphox: ;] |
00:30.48 | gregj | mozrat: ;) |
00:30.53 | mozrat | Oh yeah! |
00:31.49 | gregj | kernel panic, init not found on 03:00:01 |
00:32.16 | Leeds | bah, that's not a real panic |
00:33.04 | Leeds | real panic is a null pointer dereference somewhere deep within :-) or scrabbling on random RAM... |
00:33.53 | gregj | no |
00:33.58 | gregj | this is not Solaris |
00:34.10 | gregj | (even not the Lem's one) |
00:34.13 | Leeds | or for real excitement, scribbling straight from /dev/random onto disk :-) |
00:35.25 | Leeds | bye... |
00:35.31 | gregj | read another page of book |
00:35.41 | gregj | with another bunch of words on it :-) |
00:36.29 | gregj | "OOps Brain panic, reference to unknown page in dictionary on page 34523 of Enigma" |
00:37.12 | Clyphox | dead tree format? |
00:37.17 | Leeds | yeah |
00:37.26 | Leeds | hardback no less :-) |
00:37.52 | Leeds | as it happens, I also recommend the ancient town... worth a visit - in fact, worth visiting it before reading the book... made it easier to follow the book |
00:38.08 | Clyphox | easy if you have a brittish passport |
00:38.11 | gregj | maybe tommorow ;] |
00:38.19 | gregj | Clyphox: indeed |
00:38.23 | gregj | is it in america ? |
00:38.49 | Leeds | Clyphox: you don't have a UK passport? |
00:38.53 | mozrat | I thought is was Portsmouth -- oh thats pompey |
00:39.24 | Clyphox | Leeds: no.. |
00:39.31 | gregj | hmm |
00:39.37 | Leeds | hmm... are you not British? I thought you were... |
00:39.56 | gregj | we are all bloody foreginers, zzZzzZzzzz |
00:40.07 | Clyphox | I'm South African... |
00:40.24 | Leeds | hmm... why didn't I notice... |
00:40.38 | Clyphox | it takes 4/5 years to get brittish residency status |
00:41.14 | Clyphox | then I can apply for a passport.. in the mean time I have to work, claim no benefiets and not get a record |
00:41.27 | Leeds | did you have to get a work visa? |
00:41.50 | Clyphox | if I did I would never be allowed back into this country.. hell no.. |
00:42.01 | Clyphox | they are only valid for 2 years too |
00:42.56 | Leeds | no need for a visa to visit most countries - and a formality for most others... |
00:43.07 | Leeds | can work anywhere in EU... |
00:43.22 | Clyphox | :-( |
00:44.26 | Clyphox | isn't the 1st world great |
00:45.35 | Leeds | yup |
00:46.36 | Leeds | still get the 3rd degree going to the US... |
00:46.51 | Leeds | oh, and I get the bonus Israeli thing... |
01:19.06 | Leeds | great... just when I need to fill up /home |
01:55.01 | mozrat | anyone still up? |
01:56.04 | mozrat | nope... didn't think so :-( |
01:56.15 | Clyphox | I'm up |
01:56.46 | mozrat | hello... |
01:58.44 | Clyphox | howzit? |
01:59.05 | mozrat | Not too good. banging head off wall with authentication problems |
01:59.22 | Clyphox | what problems? |
01:59.50 | mozrat | I'm using TikiWiki as a intranet application. trying to get it to talk to OpenLDAP |
01:59.50 | *** join/#gllug nasr_zZz (~paul@66.98.134.43) |
02:00.06 | mozrat | everything is working when I look at a network trace |
02:00.15 | mozrat | but the user still gets denied a logon. |
02:00.27 | Clyphox | Ahh.. not a fan of either of those progams |
02:00.42 | mozrat | I was. but.... not tonight |
02:01.36 | Clyphox | hehe |
02:01.52 | Clyphox | I'm an old fashioned.. write/hack-it-myself type |
02:02.15 | mozrat | Thats the way to be. I dabble a little in Perl/Python but not much |
02:04.06 | Clyphox | problem is I'm lazy and never finish anything hehe |
02:04.31 | mozrat | :-) theres the problem with being an old-fashioned write it hack it type |
02:10.33 | *** join/#gllug Clyphox (~clyphox@82-35-127-97.cable.ubr01.enfi.blueyonder.co.uk) |
02:11.54 | mozrat | night leeds |
02:12.00 | Clyphox | bed is important |
02:12.03 | Clyphox | I want a bed |
02:12.07 | mozrat | bed is good |
02:12.22 | mozrat | bed doesn't refuse authentication like tikiwiki |
02:12.33 | Leeds | EBADBED |
02:13.26 | mozrat | You can both sleep sound in the knowledge that upgrading tikiwiki solved my problems :-) |
02:13.39 | Leeds | mozrat: good stuff :-) |
02:13.48 | mozrat | cheers! |
02:16.11 | *** join/#gllug mozrat (~simonmorr@host81-130-55-97.in-addr.btopenworld.com) |
02:17.44 | Leeds | whoa... this data takes about 80Mb in Word format, just over a meg in Excel (saved from OpenOffice.org 1.1), just under 500Kb in .csv and 77Kb in csv.bz2 |
02:17.51 | Leeds | how bloody inefficient can you get???? |
02:18.14 | Leeds | that's a factor of 1000! |
02:18.46 | mozrat | what is the data... just text or images as well |
02:19.03 | Leeds | text |
02:19.09 | Leeds | Hebrew and English text |
02:19.13 | mozrat | yikes |
02:19.14 | Leeds | and some numbers |
02:19.35 | mozrat | Word goes a little OTT with meta-data |
02:20.08 | Leeds | there are something over 4000 records... my conversion has worked on 3446 of them... Word uses about 20Kb for each record |
02:20.22 | Leeds | to be fair, there's layout and font stuff and so on in the Word format |
02:21.00 | mozrat | but even so... |
02:21.05 | Leeds | yes |
02:22.48 | mozrat | http://gllug.org.uk/images/Gallery/Leeds.png |
02:22.56 | mozrat | i hope that expression isn't permanent |
02:23.25 | Leeds | only when drinking :-) |
02:25.24 | mozrat | To quote popeye "I can't stands no more" |
02:25.29 | mozrat | catch you later |
02:25.35 | Leeds | me too... g'night |
02:25.40 | mozrat | night |
02:25.58 | mozrat | zzzzzzzzzz |
02:26.13 | Leeds | oops... sent-mail folder on remote server means effectively sending the mail twice :-) |
02:26.46 | Leeds | and zzz time for me now |
07:47.56 | Tarragon | Moin |
08:03.35 | murble | moin moin |
08:41.14 | Clyphox | Hola |
08:41.23 | murble | hi Clyphox |
08:41.52 | Clyphox | howzit? |
09:02.47 | *** join/#gllug mozrat (~mozrat@194.203.40.207) |
09:03.47 | mozrat | Morning folks. |
09:07.14 | Clyphox | moin |
09:12.11 | mozrat | I'm using mozilla on my system here, and the fonts seem really small. Not so much the webpage but the menu items favourites etc. The window manager is fine though |
09:13.12 | mozrat | also in Lotus Notes running over wine the fonts are really small :-( |
09:15.52 | Clyphox | :-( |
09:20.44 | mozrat | There was a post on mailing list recently about that but I can't seem to find it in the archives. |
09:31.36 | Tarragon | Yes |
09:31.43 | JD | hi |
09:31.48 | Tarragon | Hi |
09:32.09 | JD | I got a strange letter today saying that you couldn;t get money out of my bank account for linux mag |
09:32.23 | murble | did you subscribe to linux mag? |
09:32.37 | JD | possibly related to the fact that don't seem to be able to read my writing |
09:32.43 | JD | murble: of course I did |
09:33.06 | Tarragon | lex? |
09:33.14 | JD | aye |
09:35.17 | murble | JD: so you didn't win a free subscription at fosdem?!# |
09:35.26 | Tarragon | OK I have emailed the chap who deals with it |
09:40.52 | Tarragon | Is there a Mango.deb package? I am after a recipe management frontend for food recipes. |
09:47.32 | JD | Tarragon: I suspect the account is wrong as well |
09:47.43 | Tarragon | :-) |
09:48.09 | JD | if I just forget about it, will they just cancel my subscription? |
09:48.17 | JD | or will they chase me for 6GBP? |
09:48.28 | Tarragon | Yes, they will forget |
09:48.34 | JD | w00t |
09:48.42 | JD | saves me having to remember to cancelk |
09:49.19 | JD | at the show |
09:54.37 | Tarragon | Hmmm found a rootkit on a site. Anyone need a rootkit? |
09:57.15 | murble | on a site? |
09:58.12 | Tarragon | website |
10:09.17 | JD | Tarragon: like a hole in the head? |
10:10.53 | Tarragon | No I meant to look at not to use. |
10:11.34 | murble | I've got a caught in the wild one tared up sojmewhere.. |
10:13.39 | Tarragon | I assume people write them so the spammer scum can carry on living. |
10:14.12 | murble | nah, so they can keep control of there 0wn0red boxes |
10:16.49 | Tarragon | murble: Are you planning to go to Fosdem? |
10:16.55 | murble | Tarragon: yes |
10:23.51 | *** join/#gllug irvined (~irvined@adsl-239-121.as15758.net) |
10:24.16 | pawelsz | . |
10:29.34 | murble | eurostaring it? |
10:30.06 | JD | yep |
10:30.30 | Tarragon | Richard Ibbotson is planning to, but I tried to book on Sunday and it said not return available |
10:30.57 | murble | oh do you have the dates? |
10:31.05 | murble | I've noticed no traffic to the fosdem list about next year. |
10:31.30 | Tarragon | 20 - 22 Feb |
10:31.59 | Tarragon | Leeds is one of the organisers and told us a few weeks ago. |
10:32.34 | irvined | Richard Ibbotson, I know that name.... |
10:32.36 | murble | does that mean he is on their organisation list? |
10:32.39 | irvined | Sheflug? |
10:32.47 | Tarragon | irvined: Yes |
10:32.50 | JD | irvined: yep |
10:32.51 | Tarragon | murble: yes |
10:32.53 | irvined | ahah. |
10:32.55 | murble | irvined: the annoying one who refuseds to go into pubs incase someeone smokes near him |
10:33.00 | murble | (i think) |
10:33.03 | irvined | Yes, thats him. |
10:33.11 | JD | murble: he was there on the Friday night |
10:33.27 | murble | JD: i just rember him being very aquaward |
10:33.41 | JD | Tarragon: nnnnnopooooooooooooooooooooooo |
10:33.46 | JD | you'll be like Jenson |
10:33.55 | Clyphox | awe... |
10:34.00 | murble | JD: if it is to troll somone it must be a good reason. |
10:34.00 | Tarragon | Only near RI |
10:35.54 | Tarragon | There was a Garfield cartoon decades ago where the cat ties a piece of meat to a lorry and says Trolling for puppies |
10:37.16 | irvined | lol |
10:37.59 | murble | Tarragon: i can find that journey for 59 quid return |
10:38.28 | murble | out on the 20th reutrn evening 22nd |
10:39.46 | Tarragon | That's the one but when I tried to book it just kept returning an error. |
10:40.11 | murble | If i book it now i'll probably find myself working for an eivl company tath won't let me go. |
10:44.59 | pawelsz | Clyphox: hi. :-) |
10:59.56 | Clyphox | Hiya pawelsz |
11:16.32 | *** join/#gllug zachary (~zachary@host81-128-237-47.in-addr.btopenworld.com) |
12:12.35 | murble | you'd better hurry up before they change name again! |
12:15.20 | JD | I'm sure you've missed at least one name out |
12:19.49 | murble | I'm sure he has missed more than that |
12:20.20 | murble | he hwasn't even got Xara |
12:21.23 | JD | I'm sure thee was something with "one" in |
12:41.20 | Xiaoqi | hihi |
12:56.54 | JD | hi |
13:10.00 | *** join/#gllug Leeds (~rc112576@beryllium.eu.sun.com) |
13:10.44 | pawelsz | lidz. |
13:10.48 | pawelsz | :-) |
13:25.36 | Leeds | shalom |
13:27.14 | JD | isn;t that a small onion? |
13:27.58 | Leeds | ?? |
14:52.44 | *** join/#gllug highbury (~steve@81-1-74-183.homechoice.co.uk) |
15:06.48 | *** join/#gllug armijn (~armijn@losser.labs.cs.uu.nl) |
15:06.55 | armijn | 'lo. |
15:14.48 | Leeds | hey |
15:16.04 | armijn | heh |
15:16.10 | armijn | I will be in Berlin next week |
15:17.45 | armijn | also for about 48 hours :) |
15:21.27 | Leeds | I'll be there for about 76 hours |
15:21.38 | armijn | ah ok, I misread |
15:35.51 | Leeds | I arrive on Thursday afternoon |
15:37.21 | armijn | but no Berlin for you? |
15:38.31 | Leeds | not so much... never been to Germany |
15:38.34 | armijn | we need to port over some software, make it 64 bit safe... |
15:38.40 | Leeds | good! |
15:38.42 | armijn | Leeds: but sunnetwork 2003 :) |
15:38.52 | Leeds | oh, that... no :-( |
15:39.53 | armijn | bummer |
15:40.07 | armijn | we wanted an interview with scott mcnealy, but no luck |
15:40.42 | Leeds | I've asked him 1 question |
15:40.47 | Leeds | "What about Linux?" :-) |
15:40.55 | Leeds | this was a couple of years ago... |
15:42.28 | armijn | well, there's a lot of stuff we want to ask of course |
15:42.45 | armijn | about the schizophrenic approach Sun has to Linux... |
15:43.01 | armijn | and open source/free software in general... |
15:43.45 | armijn | the whole Java and Apache thing, some clashes with openbsd, sco licenses, java desktop, etc. |
15:43.50 | Leeds | I could try to get someone in the UK to talk to you... |
15:44.04 | Leeds | I can't talk on behalf of Sun in any official way, of course |
15:44.14 | armijn | sure, this is just irc |
15:45.05 | Leeds | right, but I assume you know you can't report anything I say :-) |
15:45.21 | armijn | I'm a pro :) |
15:45.33 | Leeds | that's not an answer :-P |
15:46.22 | armijn | I know I can't report that |
15:46.55 | armijn | we're trying to get some of the big shots at that conference to talk to us for an interview |
15:48.00 | Leeds | we did have the main Solaris x86 marketing guy here the other week... he was doing press stuff |
15:48.21 | armijn | hmm, I write for Linux Magazine, not Solaris Magazine ;-) |
15:49.33 | Leeds | bah - it's all interconnected... |
15:49.56 | armijn | of course it is |
16:26.56 | *** part/#gllug armijn (~armijn@losser.labs.cs.uu.nl) |
16:33.15 | Leeds | foo! |
16:51.14 | *** join/#gllug zachary (~zachary@host81-128-237-47.in-addr.btopenworld.com) |
17:46.13 | *** part/#gllug mozrat (~mozrat@194.203.40.207) |
18:01.12 | *** join/#gllug SpudULike (~colin@82-35-39-221.cable.ubr01.camd.blueyonder.co.uk) |
18:12.01 | *** join/#gllug Marios_ (~mkoumide@24.231.225.197) |
18:12.43 | Marios_ | hello |
18:16.07 | Leeds | evening |
18:19.06 | Marios_ | what's up Leeds? |
18:19.24 | Leeds | the sky! |
18:20.35 | Marios_ | cloudy sky ?? |
18:21.05 | Leeds | yes, as it happens... |
18:27.09 | Jenson | evening guys |
18:27.38 | Marios_ | hello Jens |
18:27.50 | Jenson | heya Marios_ |
18:28.06 | Marios_ | how is it going? |
18:28.26 | JD | hi |
18:28.34 | Jenson | alright thanks |
18:28.36 | Jenson | heya JD |
18:29.42 | Marios_ | how is the weather there? |
18:29.49 | Marios_ | here is freezing |
18:29.56 | Jenson | yeh its rainy |
18:36.33 | Marios_ | at least not snowing |
18:46.12 | Jenson | grrr, fsking orange online billing |
18:46.49 | Marios_ | what is wrong? |
18:48.22 | Jenson | itchanged my card detials from what id written, then it logged me out, it wourked fine for 3 months, then last month it said it worked but it didnt, so i paid by cheque, i'll just wait for my bill then pay by cheque |
18:52.35 | Marios_ | I se |
19:18.52 | *** join/#gllug cozmonort (Costa@82-35-123-220.cable.ubr01.enfi.blueyonder.co.uk) |
19:18.56 | cozmonort | hello |
19:19.06 | cozmonort | Hi Jenson babe |
19:19.33 | cozmonort | hi Marios_ |
19:20.21 | Jenson | heya cozmonort |
19:42.39 | pawelsz | evening. |
19:43.05 | pawelsz | brrr, what a wather now. |
19:43.12 | pawelsz | weather. |
19:43.13 | pawelsz | even. |
19:43.16 | pawelsz | i think. |
19:43.17 | pawelsz | ;-) |
19:43.39 | cozmonort | yeah its starting to get a bit chilli, got use to the rain again though |
19:44.07 | Jenson | cozmonort: chilly darling....chilli is food |
19:44.13 | cozmonort | cold |
19:44.15 | cozmonort | :P |
19:44.18 | Jenson | and i think it might be spelt chili |
19:44.30 | Jenson | but im too lazy to pick up the dictionary |
19:47.08 | cozmonort | yeah ur right just starred at my red hot chili peppers album |
19:47.41 | Jenson | yh, but im not sure thats the right spelling |
19:47.51 | Jenson | i was just going by how they spelt it |
19:48.31 | cozmonort | i ment chilli meaning cold so i dont think it applies |
19:48.31 | pawelsz | oooops. |
19:49.14 | cozmonort | wow, that stuff gets sticky, contains suger |
20:06.56 | *** join/#gllug Marios_ (~mkoumide@24.231.225.197) |
20:09.11 | cozmonort | hello marios |
20:12.10 | Marios_ | hey cozmonort |
20:12.52 | cozmonort | how r u today |
20:12.54 | Marios_ | ohh I just remembered...there MSN for Linux as well |
20:13.03 | Marios_ | I am fine...just had lunch |
20:13.47 | cozmonort | cool, had dinner about an hour ago then went online |
20:14.30 | pawelsz | http://www.sco.com/support/docs/scolinux/adminguide/sco_ul_adminTOC.html :-)) |
20:16.13 | pawelsz | it's stupid, company who with linux community dont move resources from owned webpage. |
20:16.17 | *** join/#gllug Marios_ (~mkoumide@24.231.225.197) |
20:16.39 | Marios_ | please send the URL again...my client crashed |
20:17.15 | pawelsz | http://www.sco.com/support/docs/scolinux/adminguide/sco_ul_adminTOC.html |
20:17.44 | pawelsz | but you can find more linux resources on sco page. |
20:17.45 | Marios_ | cozmonort << what did you have for dinner ? |
20:20.49 | cozmonort | potaotes and chicken sauce |
20:20.58 | cozmonort | arg to many windows |
20:28.12 | Marios_ | cool |
20:28.43 | cozmonort | long delaaaaay |
20:28.44 | cozmonort | :P |
20:29.30 | Marios_ | heheheh |
20:29.35 | Marios_ | I was on the web |
20:29.41 | cozmonort | same here |
20:35.51 | Marios_ | did you take a look on the book? |
20:36.08 | cozmonort | not yet, was working all day |
20:36.09 | Jenson | cozmonort: you know what, why dont you fsck off and fix your mandrake install :P |
20:36.24 | cozmonort | no |
20:37.19 | *** join/#gllug mozrat (~simonmorr@host81-130-55-97.in-addr.btopenworld.com) |
20:38.05 | mozrat | Hello: IPCop question for you all (#ipcop is pretty quiet) |
20:38.32 | mozrat | Do I have to assign all of my public IPs to the red interface or can I assign them to servers in the DMZ |
20:38.44 | mozrat | and bridge between the red and orange interfaces |
20:38.52 | mozrat | ? |
20:45.24 | Jenson | hiya mozrat |
20:45.30 | Jenson | and i dont know anything about that |
20:45.32 | mozrat | hello |
20:45.55 | murble | hi, and no idea how ipcop is supposed to work! |
20:47.13 | mozrat | someone in #ipcop tells me they have to all go on the red interface |
20:47.31 | mozrat | Not a problem :-) |
20:47.58 | *** join/#gllug chrismil (~cmiles@rtr-tetrium.adsl.wizards.co.uk) |
20:48.13 | mozrat | bye!! |
20:48.14 | *** part/#gllug chrismil (~cmiles@rtr-tetrium.adsl.wizards.co.uk) |
20:48.30 | *** part/#gllug mozrat (~simonmorr@host81-130-55-97.in-addr.btopenworld.com) |
20:50.52 | *** join/#gllug chrismil (~cmiles@rtr-tetrium.adsl.wizards.co.uk) |
20:51.37 | Jenson | hi chrismil |
20:51.51 | chrismil | Hi |
20:52.21 | chrismil | I should get busy and sort out why my KDE fonts have gone really small |
20:52.43 | Jenson | chrismil: thats never happened to me, so i cant help |
20:52.45 | chrismil | Thats the trouble with upgrading |
20:53.18 | Jenson | whqat you upgraded to/from? |
20:53.26 | chrismil | I don't understand them anyway, I'm was sure I had something set up wrong, now I know |
20:53.44 | chrismil | Latest XF86 versions in RH9 |
20:53.55 | Jenson | oh, ive never used RH |
20:54.43 | *** join/#gllug multik_ (~multik@80-235-104-58-dsl.kjj.estpak.ee) |
20:55.48 | chrismil | Something to do with overflows in handling of font libraries "CAN-2003-0730" |
20:56.21 | Jenson | well, stephanb is probably the one to ask, but he's not gonna be home til later tonight |
20:56.46 | chrismil | Apparently there are two font systems. Gnome is OK, KDE is now *really* naff |
20:57.01 | chrismil | I'll enjoy the challenge! |
20:57.09 | Jenson | shit ive written my further education qualifications in the wrong order |
20:57.22 | cozmonort | arg |
20:57.35 | Jenson | yeh |
20:57.36 | Jenson | lol |
20:57.39 | Jenson | kinda forgot one |
20:57.46 | Jenson | like the one i was at school for a year doing |
20:58.22 | cozmonort | doh |
20:58.22 | chrismil | Any of you guys on ntl:broadband? |
20:58.28 | Jenson | chrismil: im not |
20:58.32 | cozmonort | nope sorry Telewest |
20:58.36 | Jenson | but i can point you to the channel of ppl who are |
20:58.39 | Jenson | cozmonort: that is ntl |
20:59.23 | cozmonort | same company, different product |
20:59.24 | chrismil | Sounds good - but after you've got that list sorted! |
21:00.22 | chrismil | They've got DNS mess. Have had for several days in Oxford area. |
21:00.36 | Jenson | chrismil: NTL DNS is fscked ATM |
21:00.49 | Jenson | <PROTECTED> |
21:00.49 | Jenson | -!- splat2 [~splat1@cpc4-leic1-5-0-cust146.nott.cable.ntl.com] has joined #incantus |
21:00.52 | Jenson | -!- splat2 is now known as splat1 |
21:00.55 | Jenson | <PROTECTED> |
21:03.21 | Jenson | lol "Are you related to any member of staff? If yes give dates. |
21:03.22 | Jenson | lol |
21:04.57 | chrismil | Dates! Oh, after January I'm no longer a brother. |
21:05.13 | Jenson | lol |
21:05.15 | Jenson | exactly |
21:05.24 | Jenson | or yeh, i slept with so and so on |
21:07.14 | Wethrin | Ho |
21:07.30 | Jenson | Ho to you too |
21:09.58 | Wethrin | Who here knows about C programming? |
21:11.10 | Jenson | well, i thought you do, I think Leeds does but he isnt here |
21:11.32 | Wethrin | I know some bits, but I have a specific question |
21:17.25 | Wethrin | Errrr.......I doubt it |
21:18.36 | Jenson | i have a massive C guide actually |
21:18.42 | Jenson | not that i use it |
21:21.42 | chrismil | Whos asking.. Got the T-shirt. |
21:23.33 | Wethrin | Okay... |
21:23.44 | Wethrin | int main(int argv, char *argc[], char *envp[]) { |
21:23.44 | Wethrin | <PROTECTED> |
21:23.44 | Wethrin | <PROTECTED> |
21:23.44 | Wethrin | <PROTECTED> |
21:23.44 | Wethrin | <PROTECTED> |
21:23.46 | Wethrin | printf("%s\n",envp[i]); |
21:23.49 | Wethrin | char *home="/home/foo"; |
21:24.05 | Wethrin | I get: "syntax error before 'char'" thrown up by the compiler |
21:24.53 | chrismil | Declaration has to be before any statements |
21:25.52 | Wethrin | According to which C definition? :) |
21:26.10 | Wethrin | It works on Linux (gcc 3.2.2) |
21:26.48 | chrismil | So char * home; after init i; then home = "/home/foo". -- Yes some later ones may be OK (or have slack compilers) |
21:28.20 | Wethrin | Right. So it doesn't work under GCC 2.95.3 |
21:28.34 | Wethrin | So I should just have char *home; at the top |
21:28.42 | Wethrin | Then *home="/home/foo"; later on? |
21:29.28 | Wethrin | Without the *, even :) |
21:30.40 | chrismil | If you use *home = "ajshgdfjad" you are asking to redirect the value in home (that you have not set) and use that found loction to store the address of "hasdf" - maybe not what you wanted. |
21:30.56 | Wethrin | Yeh. |
21:31.02 | chrismil | good at crashing early machines! |
21:31.09 | Wethrin | Well, the compile complains about *home="foo", anyway :) |
21:31.53 | chrismil | I suppose *home is a char and "asdgfh" a string |
21:32.45 | Wethrin | Isn't *home a pointer? |
21:34.16 | chrismil | 'char *' is a pointer definition. 'home' is defined as a 'char *' ie a location that can contain the address of a character. So 'home' is the address of a character and *home (or home[0]) is a character. |
21:34.54 | chrismil | So during the declaration you do use *home but when you use it you usually want 'home' |
21:35.06 | Wethrin | Yes |
21:35.08 | Wethrin | :) |
21:35.32 | chrismil | :) |
21:35.44 | chrismil | or ;) |
21:36.45 | JD | hi |
21:37.03 | chrismil | hi |
21:39.08 | Wethrin | Hm. But other things seem to be okay with being declared further down |
21:40.25 | Wethrin | <PROTECTED> |
21:40.25 | Wethrin | <PROTECTED> |
21:40.25 | Wethrin | <PROTECTED> |
21:40.25 | Wethrin | <PROTECTED> |
21:40.25 | Wethrin | <PROTECTED> |
21:40.27 | Wethrin | <PROTECTED> |
21:40.43 | Wethrin | There the compiler doesn't mind me declaring char *arguments[] |
21:41.23 | Wethrin | Or is that because I've declared it at the start of a code block? |
21:46.27 | chrismil | You have it there - start of code block.:) |
21:49.37 | Wethrin | Right :) |
21:49.56 | Wethrin | So....which version breaks teh C standard? |
21:57.10 | *** join/#gllug mozrat (~simonmorr@host81-130-55-97.in-addr.btopenworld.com) |
21:58.55 | chrismil | Perhaps they've updated the C standard to allow - it rather blows the variable scope rules though. Looking for a good definition on the web.. |
22:00.23 | chrismil | http://www.lysator.liu.se/c/ANSI-C-grammar-y.html#compound-statement is quite good but old.. |
22:04.40 | chrismil | I wonder if C++ allow inline definitions.. |
22:09.20 | chrismil | Off to eat.. |
23:00.43 | chrismil | So K&R and the C++ are only available in books or ££s for PDF |
23:02.26 | Wethrin | I have a K&R 1st edition downstairs |
23:03.40 | chrismil | In which function body is compound statement which is {declarations; statements} |
23:03.58 | Wethrin | Right. So GCC 3+ breaks this, then? |
23:04.55 | chrismil | Its probably a C++ compiler (C++ has C as part of its definition) |
23:05.29 | chrismil | Perhaps you can turn off C++ |
23:07.02 | chrismil | You could try the -ansi switch to request standards |
23:08.34 | chrismil | Of even -pedantic :) |
23:10.09 | chrismil | Oh my gawd there are *loads* of flags (see -std=XX) |
23:10.51 | *** join/#gllug stephen_ (stephen@windsor.org.uk) |
23:14.57 | Wethrin | Heh :) |
23:15.43 | Jenson | night guys |
23:15.56 | chrismil | night |
23:16.16 | Jenson | night chrismil |
23:28.53 | *** join/#gllug SpudULike (~colin@82-35-39-221.cable.ubr01.camd.blueyonder.co.uk) |
23:46.08 | *** join/#gllug Cope (~sanelson@wibbleworld.demon.co.uk) |
23:46.12 | Cope | evening |
23:57.18 | murble | outch :( |
23:57.54 | chrismil | outch :( |
23:58.18 | Cope | Woo Clyphox |
23:58.30 | Clyphox | heya |