Archive for October, 2007

something happens when a post a new content on joomla 15 the content appear like undefined anyones know how to

hi does anyone knows good images pack for joomla article publishing
the default clock, asterisk etc are not so apealing
so i was looking for some good collection of images

hello, something happens when a post a new content on Joomla Services 1.5, the content appear like "undefined" anyones know how to fix ?

joomla 1.5 … is there any particular reason not to use it on a live site?
huh?
is there?

can I use joomla on googlepages?

n, u need php and mysql

ok

how do i make it so regular users can submit news, it says they are not authorized.
still want it to require approval before it goes on site tho

yes, for example that it hasnt received a security audit yet

i want it so that, anyone who decides to register can submit news.
how do i change the properties for groups?

http://cobweblive.com
my left menu does not get completed..it stops to only the number of modules i have and remaining part it shows me the background of the body
what should i do?

search forums for "create users as authors" or look into addons JA-submit or http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,2587/Itemid,35/

thank you

also i have specified table.moduletable td ul{
list-style-image:url(../images/main_button.jpg);
}
i cannot figure why it's not showing an image on the left of the main menu
supergreg..could you please check in to see what's wrong

table sux
:Z

then what should i do?
also the site http://cobweblive.com appears bad in IE…can someone tell me why? I have validated the css and xhtml
i am badly stuck with these two things
noone? :/

man this is gettin under my skin, i want to do a very simple thing and this shit is making it way too complex.
they want $ for JA-submit, and the other one i have to set permissions for my entire site all over. wont even let you log in as a user.
i just want users to be able to submit news, i don't want to have to set perms on my entire site.
on every single page.
man fuck this

supergreg, oh, right, well, too late now
coo, ech0ish was way, WAY confused!!

does any good newsletter script exist for joomla? I want users to register with their e-mail and then to be able to send them monthly e-mails
I want to use my own mailserver

CyberCr33p, check this http://extensions.joomla.org/index.php?option=com_mtree&task=listcats&cat_id=1792&Itemid=35

most of them use a 3rd party service. I want to use my mail server
I think I will use a seperate program
and wrap it on joomla

CyberCr33p, if so….make it available in Joomla dev center , so that..
those who want, they can use that code…

it will be external program
I will just use a wrapper
to include it to my webpage
when I have more time I am gonna to write a small component
for joomla

anyone here own a pda cell?

can someone check this cobweblive.org
in IE6

NiaM_, can't it work in firefox…getting 404

it works properly on firefox at my end
http://cobweblive.com/
pratyush..here is the url
that was incorrect sorry

NiaM_, i was about to say that only..check the URL d00d

:P

ive got a att/cingular cell phone for work and a verizon as my personal cell, wanting to get a pda with the att phone

DrDigital, apple Iphone…..
NiaM_, gotcha….but font's…not that much good bro

Which font looks the best?
i think i am using Times roman now

make some thing , some curved fonts,rather than using boxed
*use something

umm…did not really get you
font-family:"Times New Roman", Times, serif; this is what it is right now

NiaM_, any one can register in your site?

nope
actually ya
i don't really know
not much of a designer
just learning…more of a php services person
just learning…more of a http://www.oxxus.net">php services person
:P

what is the font size?
can you make it a bit -1

as in decrease the size?

NiaM_, the menu items are very big…
NiaM_, yes

also in my menu the upload your images online is not appearing
table.moduletable td ul{
list-style-image:url(../images/main_button.jpg);
}

oh!…

can you tell me why?

NiaM_, well not so sure…

heheh
k

im thinking of canceling my phone and dsl and getting comcast instead
for just internet, i already have skype
and get this in august
http://news.com.com/HP+device+marries+Wi-Fi+and+cellular/2100-1041_3-5282083.html

NiaM_, make the it as background rather the list-style-image
may be it will work…
url(../images/arrow-off.gif) no-repeat 5px 4px;

tried
did not work

hmm

does it have to be a .gif?

NiaM_, no need

hello
whats going on here?
is there a bot for automatic thumbnail generations?
no gallery or anything like that
just somethingn lke {thumbnail}path/to/file.jpg{/thumbnail}

you know in an article where is has "written by administrator" and the various mailto/pdf etc icons?
how can I get rif of all that?
s/rif/rid/g

robin_sz, remove the author info..at the time of publishing or editing the content

found something on jed
never mind

and the mailto/pdf icons?

danZenie, http://extensions.joomla.org/component/option,com_mtree/task,search/Itemid,35/searchword,thumbnail/cat_id,0/
robin_sz, at the editing there are options for the global icons..like pdf/mailto etc

ah,
ok.

robin_sz, un select them…

so somewhere I can change the global defautl to be not there?

robin_sz, yes..

one day I'll figure out wht the difference between a section and a category is
im sure I knew once, but tis gone now.
hmm
well, it doesnt seem to be in the global {site|system|server} config

robin_sz, hmm

preferecned

preferences even
sigh … set author/created/modified etc all to hide, article is set to "use global defaults" and .. they still appear

yes. its a beta.

hmmm …
and the top menu … when you select a menu item to have another item as its parent .. it doesnt seem to have any effect, it just appears as a top-level item anyway
hmm maybe I'll go back to 1.05 or whatver the release version is
that or stick with my TT2 powered site for now, wait until 1.5 comes out of beta

so
has anyone here had any luck finding joomla-friendly themes for simple machines forum?
because I'm sick of trying to hack this template to work
I'd try phpbb but I don't even want to go there
I don't trust it
oh ffs… it broke fireboard on me
white page of death ftl
oh it was the JSMF index patch
fucking stupid assed bridge
I take it everyone's out partying? :p

I am in austin tx and it is raining so I am around
anyone else out there

yeah

algum brazuca?

what are some good module content listers
Im finding limitations like not being able to turn off titles or displaying bullets too far indented to the right on the two I have tested already

hi. I've installed joomla on my ubuntu OS, with Dyndns. I've got a problem with the contact, when i try to compile the form it pop up me "make sure the form is compiled correctly" and it is!!!
somebody can help me please?
do I have to impost the firewall for php mail function work?

Help please I have $db = mysql_connect("localhost", "user", "passwd"); in a homegrownphp file under joomla which works but when i try
$db = mysql_connect("localhost", $mosConfig_user, $mosConfig_password);
then i wont
and if I echo $mosConfig_user just a line above it will print the value of it correctly?
mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /opt/lampp/htdocs/mosaddphp/invoice.php on line 12
is what it says
msg nickserv help identify

hello

hey, i have a question about paypal… does anyone have a paypal account here
do you only pay a percent on the transactions..
or is there a monthy charge

only a percent
of the transactions

ok so …
i can sign up for a merchant
and if i dont sell anything

yeah tis cool

i dont have to worry about charges.. correct?

i dont know
i sell stuff on ebay
so i have the mechant account

yeah
i want to sign up for that but
was wondering if it charged anytying
or just percent

hi all
I got a question, how can I make it so that someone can post something to the frontpage w/out using the 'frontpage manager'
I was thinking it would be something like changing the blog section to be part of the frontpage but not sure how to do that..

what do u mean chun

I wanted to make it so that I could submit news to the front page
instead of using the 'front page manager'

explain more…
u want users/guest to submit to the front page?

a publisher user
w/out needing to use the frontpage manager

i thought that when a publish submits.they have the option to put on front page
right?

I know there is a 'submit news' link on the front page, and as a publisher when you use 'submit news', type something, and click apply or save it will put items in the news section, but not on the front page
i can't find that option to put on the front page nix
the only way I do it right now, is i use the 'submit news' link, and then log into the administrator interface, find the content item, and then click on the frontpage button

Good night. What is the problem in http://lvxnox.org/teste/ ?
Table 'lvxnox_wp1.jos_session' doesn't exist SQL=SELECT * FROM jos_session WHERE session_id = 'a934e318efb0b0b3fdae4cd2f1240a71'

confirma que a tabela jos_session existe!

no phpmyadmin?

atraves do phpmyadmin, pode ser

bye

whats up everyone
everyone sleeping ? :O
bleh ;/
has anyone here messed with flash for a joomla banner?
alguem ta aqui?
:/
jeez 73 people afk :P
sup samorph
and incubus

shaiz yes ?

just saying hello

sorry, heyyo

howdy!
can i somewhere set my "Page Title" = hide by default?

in the general config spiekey

in the global configuration? Are you sure?

What language is Joomla built with ?

yes i am sure

Its not in "content" or "site"

what version of Joomla! are you referring to spiekey

Comments

ok i have something that is confusing me big time I have the following arguments in a file that is being read

mmap can fail you know

it works for now because after the end, memory is filled with zeroes, but i'm not sure if it will always be

yes that too

that question is probably offtopic here

you can invent any buzz word/term you like.. politicans are famous for it.

know any more approporiate channels for that?

you can write bad code anywhere - we'll let you.

umm, what's wrong with mmap here?

told you - you ignored him

except for the end of file, of course

huh?

"mmap can fail…."

but malloc can fail too

certainly - so what?

and…?

so looks like there's nothing bad in using mmap
or is it?

anything can fail, and even report the fail - we all these 'returns"

so two wrongs *do* make a right, whew, glad we figured that out

hehehehahahA!
all [call] these

malloc()'s return value should be checked as well

damned right

aah, i get it

As a virgin, you check EVERY RETURN - once you get some experience you learn how many you can ignore/trust until later.

well, i do check the value, just omitted it to fit it all in one line and make readable
uwell, i do check the value, just omitted it to fit it all in one line and make readable/u

good luck.. Stay well

I need to replace every instance of FOO in a file with a string that is longer and then ship the result to another function. Should I scan the file for the number of FOO instances first so I know how much space the changed version will take? or should I realloc as needed?

hey guys

functions don't use macros. They are already compiled - try again

where do i find what each DT_* constant means? .. i dont know what FIFO and CHR and DIR and BLK and so on is.. (maybe I know DIR :-p)

this isn't a C macro. It is a "macro" for the text I'm processing.

then you are interpreting - do what you need to do what want.

that depends on the situation; one possible solution is to assume that the file is comprised of nothing but FOO and so you allocate the largest possible result and avoid any realloc()ing or checking

pizza_ FOO will be uncommon and the files are a bit big
interesting idea though

it's too hard to help folks that ain't even sure what they are thinking they are doing to tell us what they expect to happen w/ insuffcient info

I'm sure what I want to do
I need a string that is the same as the contents of the file but with FOO replaced with something longer

fine, then you know what to do/output.. What's the fiven/input? In between is a function.

then in that case you may want to do realloc() as you go; more complicated but faster alternative is to realloc() extra room at the end every time you run out, so instead of N realloc()s you do N/M realloc()s

fiven/given

Careful with realloc()s, this operation has a cost.

pizza_ so M is the size of the blocks I'm alloc

is that statement correct ? "plans on studyng C++ hardly"

That's why I'm thinking I could scan the file first to know how much space to alloc

is it just me, or has ##c really gone to hell these days?

the umpty O() realloc shit doesn't interest me.. Folks better grasp wtf they expect and output and write what's in the middle

M in that example would be the difference between the lengths of FOO and what replaces FOO

I suspect it's summer-school

sorry, actually, that would be backwards. oh well, i screwed that up

pizza_ I get the drift

basically, say you need an extra 5 bytes per replacement, give yourself an extra 500 every time and you only need to realloc() every 100th occurence

dude, if I read that - you'd find the bit-bucket.. So, go edit and ask after a day or seven of editing

ill be there on monday eahaeheha
i calling F7 on it now.

where do i find what each DT_* constant means? .. i dont know what FIFO and CHR and DIR and BLK and so on is.. (maybe I know DIR :-p)

What's up?

well, I am here every day - but my interpreters and patience is limited.. Imagine the idiots in Personnel.

i allocate one more byte so there is always some space for a

some told you about mmap - and you have no damned idea what yer doing.
some/someONE

Some people learn by trying to accomplish a goal

so what?

You could specify a constant for a SIZE, when you read your file, when you reach that SIZE you realloc()

They bug the channel for weeks doing that and still never read or test?

i don't get it. i check the return value, what's wrong now?

what is your motivation to be here?

t? a Toaster
goddamnit

Are you bugged when I ask how you do?

don't do that when I am typing - ask first - and no, not today.

oh ok, sorry

foo-nix: I am fine. I am tired. I am trying to help others and cogitate my own code. No, I was not upset

well its only one page with font 14, cant you have a little look ?

Ah, good, computer says NOoOOOOooOOooOOoOoooOOOOooOooOO?

apparently, it lost a full line of post to ##C to prompt a dcc and then I could not recover. !@#(*&!@#(*^Y!! Besides, it;ll take you a few days and I'd recommend writing text or html anyway
the damned client basically said"
"line? what line?"
remember - this "resume" is going to need to be stored, edited and printed for years to come.. ASCII or html works ;-)

true, ive allways had a swx and a pdf

KISS principle
Some places, you can email a resume

well i think its "ok"

Anyone sends me FLUFF "documents" gets junked

i was afraid of writing a resumé that would look as a sysadmin profile

begin with a simple 1 page print. If you can't say it in one page, you better have extraneous info or be an old fart with a doctorate
folks want yer entire history in one page

well its everything in one page, ill pass it to html and post

are dynamic libraries required for running the software if software compiled using static libraries? (openssl)

you can even secure email server me.. My head isn't there today anyway.

Hey [M]Fox are you there?

if you run a static hosting program, then dynamic code isn't a real issue - pretend the system has died.

Hey Arpa121

what is a nice word to replace "very good"

Com to IM [M]Fox
come*

i mean, im putting stuff like, good knowledge of xxx,

you need a thesaurus.. excellence/excellent/exceeding-expectations/etc

Yahoo! ? well, you're already being in my ignore list

:-l why?

I think it is considered better to say things like "I developed…" then "I know…"

the thing is that i didnt developed :/, i mean ive learned 99% of stuff on home, i have little proof of knowledge.

ahh ok

i dunno, upon a time i've seen you ignored

my only "proof" is my unfinished and abandoned msn client

experience/exposure/practice - again see a thesaurus. Every programmer needs a thesaurus

pls forget the Yahoo!, it sucks

any programmer w/o a thesaurus makes my skin crawl

heh, i use my thesaurus everyday.

folks should - as usful as a dictionary

how can i decifer what is causing a bus error? i am using truss in solaris
i am using the "truss" command in solaris

I don't wwar a truss, and truss was easy from linux - once I learned the "rules" of the game.

and i have the dict client for my dictionary :P , my vocabulary has declined after graduating highschool. It's rather sad

yes, thesauruses are very… "good"

good!

not really "decline" - more like… I don't need to screw around, I have the basics… BIG, /huge/ diff
when someone has a dictionary and a thesaurus, all you need is "in context"

hi everyone…. i want to know, what would be better to use when coding an SDL game… c or c++?

A lot of my own "english" was from reading novels as a kid.. For years I'd asked Mom-the-English-Major.. Then I got the books and learned to work out "in context" - it matters, folks.

someone told me to use native c, but i can imagine of an advantage using classes from c++

wow.

dude, yer welcome to code C++ - over in ##C++

PoppaVic, :-)

years of reading books and saying "Ma, what does "…." mean?"

PoppaVic, then perhaps you can tell me the advantages of c against c++

in ##C??? Get real

use whatever you feel the most comfortable with

pizza_, k, then i think i would prefer c++

can i use inline functions inside for loop conditions?

there is no harm, as a child, asking folks/friends what something means.. It's like asking "Why?" all the time. Meanwhile, learning to view it and use tools isn't bad either.

I'd hate to ask questions constantly.
Why is that?

iota, because of the classes.

isn't Einstein being quoted for saying something like "It is important to never stop asking"?

great. off you go then..

As a child, I always asked "how", "why", people began to give answers that didn't answer the question.

as a kid, that is what parents/grandparents/uncles-aunts are for.

I stopped asking, and began searching.

not remotely bad

I never really got my questions answered..

kothog, very kind of you

I became lazy to ask, thereafter.

plus, it's not the answer that counts, most of the time, it's the ability to find the answer yourself. asking questions should be tempered with the realisation that the answer is likely to be incorrect.

imagine any kid old enough to understand privacy/shame asking "Ma? WHat does 'Suck it up, you bitch!' mean." (etc

if you kept being curious, that's fine I guess ;-)

kothog, am i disturbing you?

the answer always matters, but learning to learn seems to escape many, many folks

I usually asked questions about creation; I was very interested, in knowing how the world was formed, religion didn't provide the understanding I required.

what, by telling us all you have a preference for c++?

kothog, i told it to iota because he asked me and not to all

I don't do religion, and I had the bible AND time/life books. So, it's just another "why?"

there is no harm, as a child, asking folks/friends what something means.. It's like asking "Why?" all the time.' well now back a few hours when i asked a question i got my answer and then you give me the impression i never should have asked. why are you thinking about it differently
now?

he's a man of many contradictions…?

Programming, (in my point of view) is a world on it's own, which is mastered by the languages ruleset. You are lord, and master of your own code.

mastered by knowledge of syntax?
yikes.

Yes, or language syntax.
Ruleset, etc.
I've read the bible, quran, torah, anything I could get my hands on.

religion is a seriously PERSONAL view and mindset.. No one is ever going to try to answer the questions (GODS do not care) - you can ask others. shrug

Nothing answered my questions, and people whom I find to be religiously.. religious, seem to think me insane for being agnostic

beg to differ there dude. syntax enables expression. what makes mastery of programming is the science behind it, not the grammar. anyone can learn the grammar.

ok i have something that is confusing me big time…… I have the following arguments in a file that is being read into my program….. ^.*\.txt txt files/txt Text Files what a place a slash before files so ^.*\.txt txt /files/txt Text Files … I get a bus error… if i remove the "/" and
leave the like so ^.*\.txt txt files/txt Text Files. the program works fine… what is causing the bus error?

Yes, but you're drifting to other affairs
The mastery of programming is the science of knowing.
Defining a goal.

Last I saw, he never hurt others intentionally.

no
programming is getting shit done, as portable as possible.

I just wanted to point out that I think your definition of programming is too narrow and implies cubicle-monkey cobol maintainer guy. I understand what you're saying, and a mastery of a language allows fuller and more meaningful expression. But mastery just of grammar does not a programmer
make. that just makes a good reference book.

so anyone can help me figure out my problem please?

programming is more like cooking (and vice-versa) than anyone ever wants to teach.

just wondering what support channel this is when you come in for help after you have tried everything you can do (well ok i didn't have much that could help, i was unexperienced of segfaults and kinda am still.) and get sayed that you should have tried more? i'm still learning, and the term
"segmentation fault" is new for me, debugger i have never heard of.

yea.. cooking!

My ambition in life is to know.
I want to know
To develop, create and sometimes destroy.
Yes, defining a goal.
And working towards it

a cook can damned well learn to program; a programmer worth shit can cook.
ouchies - too many choppy lines

i've heard that analogy before. and the syntax of cooking is a kind of sub-branch of chemistry.

"to KNOW" is not to _do_
yeah, I've heard chem/cook related - they tend to forget someone has to taste/eat/experience it.

alton brown is a good cook.

I _know_ how to make rabit-joints/joining.. I Lack the tools and patience for much of cabinetry.

I never claimed knowing was doing. But knowing, enables you to do, whether or not you choose to. Understand, if you can, that without knowing there would be no doing, I program because I enjoy knowing that the capability of creating "my own" is in "my hands" I am lord and master over my
code.
And if you execute my code, you are subject to my creation.

no
See, yer still confused

the *expression* of cooking is the presentation, the audience, the interface between food and gourmet.

and now when i have got into a dead end again with sprintf i am doubting should i ask at all, in the doubt i would be called a lamer and would be mowed down :/

yes, expressing this is where iota is screwing up

i gotta figure out a clearer way of explaining it in the future..

- officially - is not what you _do_

_-_

learning to speak of it, and do something closely akin IS akin

Incurred fault #5, FLTACCESS why does placing the "/" in a text file cause this much problems?

well… like "the five mother sauces"
I can't remember half of them, and almost all are just a baseline to reach some other place
programming is the same idea of learning about basics to reach a place.

:-) yes.. I'm trying to push my wife to go to get her chef accreditation. would be *sooo* cool.
b:-) yes.. I'm trying to push my wife to go to get her chef accreditation. would be *sooo* cool./b

dude, don't noodge her.. I helped sis thru the courses.. Just invest in the hardcover "joy of cooking", maybe a few more books, and _practice_
it's almost 100% the same as programming, really

Am I on ignore or something?

I can see you

she's already way past that. when she makes chocolate-covered coffee beans, she uses my roasted beans, and individually paints them with flavours of chocolate. she has a half dozen hard-core cookbooks and can do things with food that I dream about.

worse, she could end up like I am.. I can cook shitloads for all sorts of folks… But wtf for? they don't care or pay shit.

lol, ok, its just i asked quite a few questions and none even a peep or a doc to read lol

ah, but if she has her chef accreditation, she isn't going to be forced out to work. she doesn't need to. she is free to experiment, and I'll buy her the kitchen she wants.

yeah, I've too little experience with baking/coating - although I've eaten coffee-beans before.

she individually selects the chocolates.. has the forms prepped.. man you should taste the truffles she makes.. aw yea..
ushe individually selects the chocolates.. has the forms prepped.. man you should taste the truffles she makes.. aw yea../u

yeah… Part of the issue is experience/organization/speed (sounds like C, eh?;-) and the other is - why bother? Watch that "Hells Kitchen" crap - I'd kill that mutha'-fucker - but meanwhile, his bleeping makes "good tv"

that guy's very amusing, I don't watch that show enough..
haha I totally just drooled on my desk.
doh

I find it "amusing" only in that I'd kill him very, very dead. And - frankly - I might kill my coworkers.. This makes me a "homicidal-maniac" - but I don't trat folks this way and I refuse to treat them that way.

hmm

yea you don't wanna be going around in irc saying stuff like that. :-) so you're a cook now? sous-chef maybe or..?

trat/allof folks to treat me

is there any way of adding a character into a string else than sprintf()? i think i use it right but it causes the segfault :/

I've been as high as chef, and hated every moment - it tended to mean "don't rock the boat, but yer responsible - now give me a menu"

too bad. yea there's a spot I go to that's a chain restaurant, and the kitchen manager there tells me he's thrilled when I show up because he makes these insane hot wings with this sauce he developed and won contests for, but isn't allowed to cook normally because it's not on the official
menu.

I've no interest in ever again getting hired as a programmer, or a "chef" or "shift-leader". Fuck 'em all.. Just pay me to show, do the job, and go home.

and basically I have my own pot, own spoon, own section of the kitchen there cordoned off because they can't be used to make any of the normal fare.
totally rules. I love that guy.

Learning to cook is like learning to program or read. Enjoying sharing talents with folks that care is also nice.

what is a good debugger?

he wanders out of the kitchen and delivers the wings personally, with a flourish and everything. big, sadistic grin, but honestly even though they're at my heat threshold, the flavour is the best I've ever had the pleasure of tasting. after three years he even gave me the recipe!! has like 15
ingredients dude!

sure

even parmesian cheese, of all things. that one surprised the heck outa me.

e's HAPPY because someone cares and listens and enjoys
he's
he's "sharing"

he knows I appreciate it, and it gives him a break from the same items day in and day out. I don't go up there enough I think.

chances are, his _cooks_ and /dishdogs/ do _not_ enjoy, and that most waitstaff never thought of those two.

but the drive is like.. two hours just to get there, and the gas I go through is pretty expensive.

btdt

they all get in on it, come over and chat with me, I talk them up everywhere, and they give me free 2-for-1 coupons and stuff. pretty much the whole staff knows me there and cheers when I wander in the front door. :-) Big place, too.. I guess I'm just appreciative of their efforts and they
tend to respond to that.

bthey all get in on it, come over and chat with me, I talk them up everywhere, and they give me free 2-for-1 coupons and stuff. pretty much the whole staff knows me there and cheers when I wander in the front door. :-) Big place, too.. I guess I'm just appreciative of their efforts and they tend to
respond to that./b
bthey all get in on it, come over and chat with me, I talk them up everywhere, and they give me free 2-for-1 coupons and stuff. pretty much the whole staff knows me there and cheers when I wander in the front door. :-) Big place, too.. I guess I'm just appreciative of their efforts and they tend
to respond to that./b

must be an unusual place. Usually, only the manager, waitstaff, chef - hear dick, and the majority of the work devolves on the cook-drones and dishdogs
stay well
heh.. still sounds like programming to me

so anyone willing to help me a bit please? I would honestly appreciate it


now i replaced sprintf with strcat and it still doesn't work

no idea - never listened
strcat tells me you are quite likely skullfucked

ok, would you mind if i re-explaned it ?

big, since I'd need to read my raw-log, go for it
worst case is the bots punt you

ok it will take a bit bare with me

well what else could i use? sprintf causes segfault, strcat causes segfault.. *sigh*

show what you're doing and what you want to happen

maybe you want to rafb one single GIVEN, have, EXPECT url

almost certainly you're making a mistake you don't realize.
!testcase

A testcase is a minimal compilable example exhibiting your symptoms. Please paste a testcase at http://rafb.net/paste to help us assist you.

sprintf works exactly as advertised. snprintf lets weenies feel they wear a diaper.

I wrote a program that grabs args from a conf file using regex and such…. in any event this is an example of one of the lines .. ^.*\.txt txt files/txt info of txt files … (not including dots and such) I have about 30 or so of those lines… they work fine… when i place a "/" prior to
the dir files /files/txt it errors out after reading all 30 lines and gives me buserror

what can i do to figure out the problem?

if it is that same code same, it is not because of sprintf, it is because of you passing it an char * to unitialized memory for the destination strnig.

yer wrong at least three times

yeah, except i changed sprintf to strcat
hmm

PoppaVic, explain?

co now you are cattin onto an point to char that doesn't point to any allocated memory. If I were strcat, I'd segfault to

so, rethink the issues and post a GIVEN, OUTPUT, solution,

let me try that agin. what bed typing on my part!

hmm

there are still books that advocate strcat - worse, there are classes.

So now you are strcat()-ing onto a pointer to char that doesn't point to any allocated memory. If I were strcat, I'd segfault too.

strcat is no more useful than strlen

sprintf is scary

so should i first strcpy "" in there first?

sprintf is simple

not if you understand how it works.

"scary" is folks w/o a clue wtf a "string" means

understanding how it works doesn't help the thousands of examples of bad sprintf code all over the place. it's scary not because I might use it incorrectly, but because lots of people tend to.

no, first your char *res; should have a res=malloc( somelength );
then you actually have some meory associated with it.

oh, well - "bad examples" - sheesh.. Don't blame K&R or C

or be declares char res[100]; or something

ah

oh, no certainly not.

so it's not got anything to do with sprintf

what book are you using that negleted to tell you this?
no, it doesn't

folks suffering head-up-ass Syndromes are why examples and tests and docs all tend to blow - and I include the C-std commies

but it crashes there because you told sprintf to write into a random place in memory you didn't own in your process.

hmm
i kinda get it
yay it works

that is good. I'm actually surpirsed I remembered enough about your code this AM to say all that.

yeah, so am i

sprintf wants a buffer of a proper size. And it wants fmt-string to tell it what to send there; and it wants vars to fill those fmts. That's it. Period.
all snprintf() does is allow a programmer to get stupid/sloppy and decide the size at the beginning.
…and folks will STILL nuke themselves
brb - lemme recycle

snprintf is perfectly useful. (shrugs)

hmm "connecting" scrolled over "disconnecting" over "authorizing" - weird
goddamned keyboard

can you share FDs between a parent and a child?

using usocks, yes

what is usocks?

otherwise - rethink the issues right NOW
if you need to ask, start thinking it over

unix sockets?

yep

okay
well you didn't say unix sockets
you said usocks

I sure did

like its some alient piece of software
then you expected me to know what you were talking about

usocks/isocks
yer going to do the same with a handle
there have been really, really few demo-programs I've sone that need/do that. And, usually some idiot wants more info. it's scarey
sone/seen

well I'm not some idiot
I know why I want to do it

cool! ;-)

some people just can't be expected that they know everything about everything

What's fun is watching "some idiot" get defensive! ;-)

so i'm "some idiot" eh?

I hate it when you answer questions

hehehe
well, yer welcome to ignore me and watch for others ;-)

But somehow, most people who do know what they are talking about say something like "you should listen to PoppaVic"
Odd, itsn't it?

it is possible to recover from SIGBUS?

the fun part is - you can know all you want, but you stil need to express it and ask that question to other folks.

I asked the right question
"How do I do X"
"this is how you do X"
very simple

and apparently you got the right answer

only you answered the question in a profoundly stupid way

otherwise, you expected too much shrug
ahh.. OK, so it's my fault.
Silly me

0 and I'm
I'm going to leave this until monday

big deal

it would have been smarter perhaps to goole 'usocks' and realizes it is a common abbreviation that to complain about someone using a common abbreviation.

I googled it
that's how I figured out you were talkning about "unix sockets"

then there's no need for all this unrest

he asked me, and that's fine - I always feel I use that term "special"

if you can't be bothered to type out the additional 7 characters I'd hate to see what ANY of your code looks like

so why did you ask "what is usocks?"

C is the product of someone who couldn't be bothered to type out those seven extra characters
look up B :P

I didn't type it, don't continue getting all passive-agressive on me.

- why not just ANSWER me"

peapicker; do you really want me to walk you through the timeline?

I read the whole backlog

I figured you did ;-)

"what is usocks"
….. no answer

product placement ^_^

google
answer
"you mean hosting on unix based servers sockets?"

is foo++ or ++foo approximately atomic?

can you please -o? you're scaring me…

I've no prob with folks that don't like me.. I *do* have issues with them not liking me because they just {want,deserve} and "answer"

(where by "atomic", I mean "thread-safe without locking)

she's explicit, and simple-minded

if foo is a shared member in different thread, no.

I don't feel entitled to an answer, but I feel if you're going to sit here and try and help people don't do a half assed job

threadS

ok

} and/} an/

abbriviating something to save yourself 7 whole keystrokes is a half-assed approach

yeah, single minded with the +o, i don't like when people are +o

unless you hunt and peck at your keyboard…

put a lock around it. on a multiprocessor machine, you can simultaneuosly access x with both processor, conceivably

it brings back memories of getting kickbanned

I suppose I should type Internet Relay Chat instead of IRC too?

PoppaVic's keyboard only types 10 characters a second

or Inter0Process Communication instead of IPC?

most people know what the hell you're talking about when you say "IRC"

has anyone here used llappend?

a hell of a lot of people here know what you're talking about when you say usocks.

I've never heard the term "usocks" before

well, I'm very slowly hunting down a race, and if there's a quick fix for making something more threadsafe, I'll do it (I don't really think this is hte culprit, though)

acronyms remain acronyms.. programmers, buearecrats, politicians and milspec love them

hohum, all people - most people = people left in the dark, you don't want that now do you?

and you point is?

pop mostly sight-types, this dinky powerbook keyboard screws me up enough
"Columbus MethodL find it and land on it"
L/:/

I run into acronyms/abbreviations I don't know all the time. in this business, get used to it. (I mean computing in general). don't get pissed when you don't know one.

my point? you involve yourself in something that has nothing to do with you and you ask others to state a point?
bmy point? you involve yourself in something that has nothing to do with you and you ask others to state a point?/b

yer trying to save folks that don't care - again

/ignore hohum
"oops"

i think most of us are getting sick of hohum's yap :P
amateur error :P

nah I did it on purpose.
hence the scare quotes

I won't lose any sleep

worse: they take it all personal… I don't know who yanked out his nutfuzz or killed his kitten, but it is personal. Fuck it: we ain't in his room - or we'd demand coffee, munchies, beer or booze.
see above ;-)

I would quit working in this field a long time ago if I took things personally.

we can always just demand beer anyway
no munchies though, i had a kebab before i came home

coffee is mandatory, beer they want to pretend we don't need - and they LOVE to pretend "well, you did not satisfy the issues"

kebab and beer. this sounds like a brilliant plan.

amen

lmao, more like a night on the lash than a night on vi

well, I gotta' be careful - we gota Ma' thru AA and I only cook with booze near here anymore
here/her

Hi guys, im afraid I have a bit of newb-esque question and I'm hoping this is the right place for it, if not tell me to bugger off :-) I'm trying to write a bit of c# that takes the last x lines of a string 30 lines long and I can't for the life of me figure it out..

makes sense. I have a couple firends the same situ.
try ##csharp

it's a very newb-esque question

this is the C group

dudes, you do NOT want to go thru that whole mother/AA thing… It'll make you cry in frustration

ahh! my bad.

and we will tell you to bugger off, because this is the wrong channel

ill go bug the folks over there

damn
my sentence construction looked better

sorry for intruding :-)

cheer, bro.
cheers

it's not a problem

no sweat - live well

toodles! /quit
doh

some people could learn from pagangeek's good attitude

will they though?

no idea

probably not

ain't no fuss with folks that rtfm and topic, and ask and are polite and then realize they are in the wrong place.
I'm a rotten, rude mofo… But, I have great respect for folks that read and ask and reply - polite.

you sound like the mafia lol

manners are never wasted

"the most important thing is manners! hold on, i've gotta saw this guy's leg off"
true

yes, yer into "context" ;-)

(laughing) a don in the chicago C mafia?

lol
if that's the case, i must be one of those young punks that dreams of making it big
and then gets shot down in the end, like in scarface or something

i predict you will make it big

signal BUS (invalid address alignment) the address assigned in mem is 0×2a830…. what could be causing that problem

but, meanwhile - polite never hurts.. Snuffing the folks you tried to commo politely with and ignored you is STILL "polite"

as long as you don't swear in front of their children

that is using the dbx debugger

no, in back of them

and spend time with your family!

what bugs most folks is "rude" because "we bad/k00l" - and ignoring what yer yer told.

when the krays ran the london underground you could leave your back door open
… not that you'd want to with that pair of nutters running around

sometimes it slips out, and guilt is usual. What's wrong is expecting them to all be snow-queen-virgins forever, or getting bent when they use it. Tell them the where/why.
negative-reinforcement is evolutionary.. Overuse is just plain stupid.

Do you spend time with your family? Good. Because a man that doesn't spend time with his family can never be a real man.

what if you can't have a "family"? What is a "man"?

I assume someone gave birth to you.

are static libs always smaller than their dynamic counter-parts?

I realize that question is a real mind-fuck

Sorry to touch sore spot. didn't think about that

yer talking about lemons and legumes

thats what i figured….. thought they would be pretty much the same size

dude, I've never had a "sore-spot" with you.

"I spent my whole life trying not to be careless. Women and children can be careless. But not men."

brb

so what does a static have thats its dynamic doesnt?
library that is

static-libs are "object archives" that are simply extracted at need to generate the end-product. Dynamic libs are almost as bad as dlopen/plugins

With that in mind, i think I'll shove off. See you gents later!

stay well

thanks.

with interfaces pretty much dependent on shlibs/dynamic code.

I shit you not: the concepts are nontrivial and worthy of weeks of tests

so if i link ncurses, do both the static library and dynamic libray get compiled into my program?

it might well help to realize that any 'script' - be it text or binary - is "interpreted" (see !file) such that the data is either literal or interpreted, loaded, dynamic, static, etc
ok, NOW yer beginning to consider console(s) vs presentations, etc

Meat Loaf ^_^

Don't listen just to me - start doing some research.. Otherwise you too will become an outcast/ignored: I am NOT "popular"

can i send you an email with the resume ?

eh, whatever

danke

don't expect an answer today - I'm ready for a nap

i aint afeared or readin

well, that "whatever" itself will poins yer input here; and everyone needs to be paranoid to some point.

0 in

poins/poison

i dont :P . its party day today.

PoppaVic:L i'll be paranoid in a sec

dude, I'm in MI - I forgive you ;-)

we do things latter -here-

please don't push… I'm getting tired.. We can talk again tomorow, based on the email

i've asked this before but no one answered, are there any open mailing lists for c programmers?

latter is last/later - watch yer ass

hi

anybody ever make a goatsex error function?

what does it do? display the error in the guys wide open ass?

as a rule, and based on my own experience, eerything about C can be done with K&R and manpages.

yeah, in ascii

neat

eery/every

it wouldn't be very hard, just disturbing

reading man open(2) it comes out that no locks are acquired by default and multiple processes could even open in write mode the same file. fcntl must be used in order to get a lock. this whole thing seems to be a posix requirement. would anybody care to confirm and explain why this
choice?

why is ASCII bother you?
is/does

thinking of red for the anus, gotta figure out the different different color brightening first though
so it looks real angry like

goatse ASCII already exists
Just google it up

there are no file-locks as you believe for the OS

yes, but an error function that incoraporates the ascii

yer strike 2 on the posts

Ah, I thought you were still looking for the ASCII itself.

/usr/lib/libgoatsex.so?

I think that's a fine idea, as long as you plan on keeping your employment (assuming this is for work).
don't plan on*

it would be sweet in a presentation though
explain that one :-)

I just figured out my error in my C program. I forgot to allocate memory for the function pointers when I called them. I was getting a SIGSEGV in ?? ().

stop nudging - yer talking locale and presentation.

PoppaVic, what does a SIGSEGV in ?? () mean anyway?

it means bluescreen fuck-up, so do the debugging and fix it

yeah, i think i'll just chill for a bit

I did fix it. I just wondered what it generally meant?
PoppaVic, does one have to allocate memory for function pointers before using them?

the prob I have with everyone on the planet and their particular "locale" is that everyone seems to believe it all 100% translates - not presentations, _meanings_
I have no idea what you think are doing, doing, or expecting.. Too old to much care.

i think an ascii goatsex_error would make people get the -meaning-

PoppaVic has got one foot in the grave already

what do you mean?
For some reason I was receiving a SIGSEGV when calling a function through a function pointer. I allocated memory the function pointer, and the error went away.

i'll just check if comp.lang.c is free, i've never used usenet and was under the impression that all of it cost money to use but someone said some groups are free
ui'll just check if comp.lang.c is free, i've never used usenet and was under the impression that all of it cost money to use but someone said some groups are free/u

it's not groups you pay for

gotta go make me some shapes for that plotter, ttl man

it's access to servers

stay well

there's free servers
some are better than others

usenet is free. providers charge. your ISP may well provide usenet for you

no.. You are triggering_

PoppaVic, for some reason the memory address of the function pointer and the funtion were different after I called another function pointer from the struct and that was the cause of the error.

_triggering_ SEGV

how?

not my problem - yer the one learning C

yeah actually usenet was included in my isp deal but they never sent me any info, i think i called them about it and they had no idea what i was talking about, typical

heh

may you help me learn it better?

news.myisp.com

learn about those signals and where they occur, use gdb and BT on it

i just want a mailing list for c programming because i prefer e-mail over irc, doesn't matter if it's usenet or regular mailing list

What is "BT"?

british telecom

Post the source (rafb.net/paste). Let's see what you have.

frankly, while I try to be "nice" (and I am a real fucker) - folks that don't TRY and TEST and READ are right on the bottom the list of my interest and one notch above /ignore - Just like if you were in a classroom. I ain't getting paid to salvage yer hull or payload.

I concur on the fucker part

I can't figure a better, more diplomatic/lying way to express this
One solution insults you; another insults me; another burdens "the class" or "myself"

http://rafb.net/p/QgpGzx42.html

Honestly, I can't - in good conscience - save you. You seem to be too fucked.

thats honest

I say.. this is a good time to talk about religion

god thats so weird :/

well, I try - and I _try_ not to insult folks that _trying_

that's the spirit, cartucho

it's always a good time to start a religious flamewar
at least that's what al qaeda think

:P
they want a more open debate, scott_w

lmao
hey, that glasgow car bomber wanted to just flame people
he didn't count on that baggage handler though lol

religion is an open-ended clusterfuck of "belief" anyway

thats what you believe

:P

I'm easy.. Everyone I know or have ever seen has a "belief0system" - question is: will they hurt folks they don't even know, or hurt themselves to MAYBE hurt those others? I'm not into hurting folks.

neither am i

Respond, if you're interested.

but theirs nothing wrong with belief

If someone is BAD, I try to avoid them. Worst case is "remove them and hide them"

here.

lol
whos bad?

I have to leave soon in a minute…

This isn't compilable. I don't see how you could possibly get a runtime error, like SIGSEGV.

sure. Folks dan believe what they like, as long as they harm no one else - if your personal web host belief harms me - stay low ;-)
dan/can

the memory address of the toArray func* changed.

sorry to interrupt, my 2 cents, its not the religion which is bad, it is the ppl who use religion who make it bad, for that matter humans can mannipulate anything for power and control

Have a good evening. I don't think we have time to go through this. Pretty simple, but you're leaving.

can you now envision why I prefer programming C to people?

yea that makes since
programming people is tough

I know, and folks can be weak or strong; and if they HEAR "the law" - they already shark-bait. Read it or don't; agree or don't. Stop using yer illiteracy to bother the rest of the world

If you take the closes group of 10 ppl, same race, religion, country, financial status, culture and leave them isolated for cpl of yrs, when you see them after cpl of yrs, they will have made groups within them
PoppaVic, stop using my illiteracy ?

Next time post a complete testcase, compilable, linkable and runnable.

great flame wars.
bring on the KV-II

anyone making any money programming c?

Try not to waste the time of experts, once you get their attention.

actually (I hate to admit this) Programming people is easy - but parents have rights, society has rights, local/state/federal goc all have "rights" - I don't always agree with it all, and wish every single person would learn to research and THINK!

yes, my time is precious (im kiddin')

PoppaVic, I think in any given group, some ppl are bound to be dumb, shallow, easy to flow with the wind

yea but programming the good things into people is a good right, right?

That's one issue. But the other is he's unlikely to get this chance again. he should make the best hosting of it.

no, it's true - time is precious. To someone, somehow.

PoppaVic, I hope I am not that illiterate by world standards

i know, im just kidding cause im no expert :P

This is why folks developed writing.

and then when they've learned the good things they canthik about them and come up with more good things right?
can think*****

I was making money programming c

for who nande

some local company

politicians make fortunes programming ppl
fortune*

oh no wait… these days I can still make money programming c

really?
were did you learn the language?

yeah and this time it's even better
I don't have to program win32 c

i think its easier to switch to C++ if you want money.

aye I prefer c++ for corporate projects

programming what "good things"? Every child is programmed, some good and some bad - it depends. What is acceptable/tolerable? What is not? What makes a child able/willing to learn - instead of lay there and cry/scream for attention?

well actually prototyping in python and extending with c++
that's still my fav

money is a gotta have. the knowledge to do it is a want, for me

babies are just selfish. self-centered little beasts.

still on regilion, PoppaVic ?
protestant programming

forget "me" for now.. Look around it

hi

hi fax

hi guys

hey Poppa

how can I get maps in C ?

have you ever watched Dr.House on universal channel ?

hi fax

na im still listening to you vic

i got a stupid doubt

write one. i can send you mine.

yo phax

I've watched the House series on 35, and he's more often right than not: everyone is a liar
45/46

imagination, sometimes creates great things

i knew you would like him, i watch it too, very nice.

35/36

hm maybe but, that's weird, I've the feeling the map implementation itself would be longer than the program
I'm still interested though

drugs stimulate your imagination

common, it needs some code hacking, but it should work with some effort.

Thats not true in general

nothings even remotely suggests "imagination" means "rude little fuckwads"

oh wait.. I had my serious button on right there

how i pronounce "POSIX" ?

a book or paper can be "rude" - in that the characters can be.

ok

pos icks

post pics

heh

that's what it means on the internet

p o six

what is BOTHERSOME is that kids believe they don't need to read, write a sentence, or even remotely try to be polite.

is it correct?

no. POZ ICKS

its hard to say that vic, because alot is known to people that others might not know

a lot whom/whee nopt to whom/where?

lol

whee/where

it should be quite fast, although the foreach function is not well suited for hashtables, i have plans on expanding it and having a separate list of struct pointer to enhance efficiency in a foreach function.

we also see this a HUGE amount in hearing about "ascii is evil" and "well, gee - why would I use escaped C-strings?"

hm ok

strings are evil!

unicode is evil

bytes are evil!
PoppaVic is evil!
oh wait…

no no you were spot on

unicde

All I can say is - there are certain polite basics. Period. And, if I know the culture of an object, it can belch at my table to express OK.
farting and shitting on my table is "Just not on, lad"
comin g into my home to reach-for/grope my youngest sibs is "Fuck you, I can wax yer ass"

ok now you talking

lol

These are pretty simple "rules"

lol

been one of those days

I slept through the bloody day

has this happened in the past?

ah well

the former? yes. That's fine, we's "tolerant" - the latter? Ain't ever going to happen twice. If I don't wax the fucker, a sib would - and the body would likely disappear.

are you having fun yet?

this is called "interpreteration"
not really, my BP raised really high and I was counting ammo in my head

IDKFA

take it easy pops

ok why didnt you go to the police?

yeah.. it's droping
the cops? Are you nuts?? Involve _government_ and the shark-bait _lawyers_??

ok

why not just stab someone and give the cops a body, tool, prints and confession?

why?

same deal

in case when realloc was called to grow an existing memory block and no more free memory is available directly after that memory block, a new block is allocated and realloc returns the pointer to that new block. does realloc copy the old too small block into the new larger one and free the
old ?

cops are a (bad) layer around a (omg) layer around "courts" - yer talking trust.
as a rule, realloc() tells me that you are fucked - do it right the first time
realloc() is well documented - the use of it and the how of it is not. Rethink the issue.

PoppaVic, you ever used llappend?

Yes. The man page and the C standard describe the behavior of realloc.

isn't it faster trying to enlarge an existing memory block (if possible) instead of allocating a new block, copy the old into new and free the old? what's wrong about realloc?

ok, that's yer first prob
stop optimizing early

Your question says it all when you ask what happens when realloc needs to move the block of data.
If it didn't need to move teh block of data, you wouldn't be asking the question.

fanti, it's fine to use realloc when you understand how to use it, and the subtleties

realloc does about 3 things to retuen one. Stop folding issues together early

If it doesn't need to move the block of data, it won't.

Why I cant change the const value with pointer? http://rafb.net/p/qqMVBn96.html

realloc() is one of those funcs you need to test the fuck outta' in a really small testbed that doesn't matter. I usally manage to live w/o it at all.
stop dicking const

INT main should return INT
fffs

hey PoppaVic

and STILL stop trying to dick FOO when FOO is a const.
hi IRBMe

It's been a busy week! But I've been busy doing a whole lot'a nothing.

(and channel) - const on a param means "no touchie!" - const elsewhere is going to mean that and WHERE it is stored - just…. Don't
blowing off the family and talking.. Code is still pseudo and nearly ready for a solution.

bu I could change constant with "pascal". I think I can change constant value with "C" too… I know constant is constant. But I want to learn to change them any way.

as far as locals and globals and "const" and pointer mixes, well - fine: see cdecl
NO, nonononono
now yer talking about "calling conventions" and who does what to whom
forget "pascal"
as a rule, if you can't write a C function as an interface - yer gefuckt
for the love of Pete - weigh in here…

woo! i finally finished a function that should switch data from one endianness to another
should

hi

more likely i'll use it and it won't work

if you need to learn about C and pascal calling-conventions, fine - go somewhere else and suffer

and if i use it on OS9 i'll see my kernel disappear

theoretically speaking.. is it possible to write a program that gains roots access and breaks out of any chroot it is in?

never done that - I'd be afraid of it

using OS9?

yeah

lol, same

well, shit.. I prolly need a book and to heat dinner
last I read, os9 and osX was an issue.

you use OS9 where ?

i don
't
i was making a joke referring to the fact that OS9 has little-to-no memory protection

with osx, I don't much care - I don't need issue under my issues under..
ahhhhhhhh
Stay well, folks… It's been a looog day.

OS9 has memory protection.
the rom memory is protected hehehe

ROFL
even then i'd be wary
i'd be roared if someone overwrote the ROM and caused it to be unbootable or something
on a serious note, how would i test my function?
lol, i wrote it with no real experience in endianness, and no idea how i plan to test it

try it out?
or somthing

seriously though, i have no idea what output i'd be looking for

good way to learn

78563412"

well like
fucking
what code did you write

your computer is big-endian or little-endian ?

the one i'm using right now is little-endian
the one i plan to use the function on it big-endian

cant you just flick the endian switch on your CPU to test it?

does x86 have an endian switch?

little-endian evil computers need these functions because all networks are big-endian.

heh

damn lilliputians

i'm gonna try what you suggested _3dfx
two mins
no, didn't work
just stuck a load of 0s in lol

hehehe

ok, try again

re

#define swap32(X) ((X24)|(X24)|((X8)&0xFF0000)|((X8)&0xFF00))

78563412"

a bit scrambled? middle endian?

endian conversion.

almost got it
and no, that's just bloody ugly lol
done it
not the most efficient, but it'll do

unsigned swap32(unsigned i) { char *p=(char *)&i; p[0]^=p[3]^=p[0]^=p[3]; p[1]^=p[2]^=p[1]^=p[2]; return i; }

improved it even more by getting rid of a redundant
hold on, i'll post

(char *)&i o.o

http://rafb.net/p/t6xkJT37.html
and it doesn't depend on the size of a variable being a certain size
and it's not a macro
:P

it should be

:O

unsigned long switch_ul_endian(unsigned long nts)
instead of int switch_endian(unsigned long nts)

true
one sec
my bad lol
amateur error

the xor version looks better :~

C99 has inline, so no need for macros if you are using it

short swap16(short i) { char *p=(char *)&i; p[0]^=p[1]^=p[0]^=p[1]; return i; }

but yours assumes that it will be a certain size

that may look cool, but it lacks the clarity of the "boring" way ;-)

and it isn't portable :P

let the compiler worry about optimization. make your code as clear as possible

i once read about someone who spent hours optimizing code, only to compile it and find out they broke it
amateur error lol

hehe

hehehe

why so complicated, as you access the bytes anyway?!

I/O warning : failed to load external entity "NULL" - ? (libxml2)

your version works with any variable size ?

it should
cause i use sizeof(long) and a loop to perform the switch

hmm

so it goes through every byte, rather than relying on it being a certain size
that's the theory anyway :P

i will try with unsigned long long

you might have to change it to sizeof(long long) in that case
to accommodate for the fact that you're using a different data type

ok.

5634127856341200

hmm

not good :P
i've found another problem
could be related, i'll look at it

hi

i have a litle problem char nick[30]; sprintf(nick, "%s", "test"); with this test.c:21: warning: incompatible implicit declaration of built-in function sprintf

you should include stdio.h

+1

:o works now tnx
i didn't see

you should also compile host with warnings: "-Wall -W"

replace int temp with unsigned long temp
sorry, that might be the cause of your problem
s

efcdab9078563412

i enhanced your code hehehe

i guessed :P
two minutes, i know where this bug is, i just want a relatively optimised solution

no no no
stop this Right now

http://rafb.net/p/aQmqWr31.html

sorted it out
i was doing a redundant action
nice
http://rafb.net/p/Gcbg4J50.html

#define make_endian_swapper(function_name, type) \

stop what?

"optimize"

well, the "optimised" solution was simply the best solution
i would have been doing certain things for no reason at all
like clearing the last 8 bits when i was going to shift it along (thereby "clearing" them anyway)

http://rafb.net/p/aQmqWr31.html looks better and use only 3 variables :~

yeah, i saw
Bon Jovi - Living on a Prayer
how class is that song though

old man ;p

lol, it's a classic

I can't define a macro within another macro, can I?

yes you can
no, wait
you can't DEFINE one
you can "call" one
but not define
but the thought of that is quite perverse

Thanks I've found another way to achieve the same.

could i create a macro that does #define switch_endian_ul(var) switch_endian_ul(var) ?
i think i saw something similar in glibc, but i'm not 100%

what's the point to do that?

Was the way to concatenate a string with a parameter inserting a dummy comment?
#define foo(a) blah/**/a .. ?

#define foo(a) bla##a
I think

he's asking for something else, i think, but he needs to clarify

http://rafb.net/p/WfoZy974.html

how can i see with the gdb what has caused a memory access error ?
i don't know the english word
here it is "speicherzugriffsfehler"

Thanks. That's what I was looking for

Segmentation fault - h
this is the english word

that's perverse
:P

lol
use english locales

usually Segmentation Faults are because a loop didn't behave properly
that's my experience anyway

Christian_IS, name key words.

hm yes, the german locales are good in guis, but for compiler errors it's shit xD

country boss; or something.

imho they are always shit

Ah, I think I misunderstood :P

the translations are often crappy and I prefer english anyway
segfaults because of a loop?

English has the rare advantage of being short

elemento_de_la_lista

Spanish

I'm assuming scott_w means loops that go out of bounds on an array due to improper termination conditions

http://rafb.net/p/qMnSAO80.html - in macro form, works with u16, u32 and u64

in my experience segfaults mostly occur of improper use of pointers

the fact that you put it in a macro makes me sick

I usually get my segfaults in C++, when I forget to initialize members and then the destructor thinks they're valid memory regions and deletes them

I want to learn C# I heard it is 1 of the more easy ones to learn. I was wondering anyone know a good tutorial or book or PDF I can get for begineers?

*p=(char *)&X is improper use of pointers ? :~

wouldn't that be #C#?

I joined there
Thanks

can anyone tell i don't like C#?
i had to spend a year doing .NET
not even .NET
VB6!!
it made me cry… regularly
my college is full of numpties…

one
time
at band
camp

i guarantee if i'd have been able to write my project in C it would have been 300x more stable and i'd have gotten a MUCH higher grade
as it stands, i got a C and i was lucky she didn't notice the bug that wipes out half your data

C# is just C with macros (only macros)

i found it on the last day and couldn't be arsed to fix it rofl
ergo, C# is perverse
all right, i'm off to bed
later all

If you don't mind my asking, where in Germany are you from?

north-rhine-westfalia
middle-west

ah, I work for a company HQed in Munich. Germany is really nice, but I've only been to Bavaria.

how are the pubs?

hi

hi room

hi int

sup

char *genick() { struct utsname info; if (uname(&info) != -1); return ("%s\n", info.sysname); } is this good ? becouse on some distros works and on other don't work

do you know what return ("%s\n", info.sysname); is doing?

=-o

on some distros it works?!

it shoud return uname

yes, of course
Yes, and are you aware that the "%s\n", bit is redundant?

in that case, i don't know what that does

fax i do not understend

do you know what x is after int x = (1, 2, 3); ?

no

what happens is it evaluates, 1 thdn 2 then 3 and results in 3
setting x to 3
the same thing happens in your code
return is not a function

:o

and it does not format uname with "%s\n", it simply returns the uname itself

C functions are like mathematical functions, meaning they only have on output for a given set of inputs
s/on/one

so i give return info.sysname; ? :s

yes
No thats totally false
C "functions" are like computational procedures

if (uname(&info) != -1); /* do you know what this does? */

what are you talking about? computation procedures don't necessarily have single outputs
take for instance x86 instructions that change multiple registers or registers + flags

oops I didn't spot that
good point, thats -another- mistake
computation procedures as in they perform some computation in sequence and quite probably have side effects

printf("lol\n");

ah

hmm

printf("I guess everyones busy coding…lol\n");

eating
(pasta)

hi. is there an equivalent of php to use C code in html files?

only if you find a module that would interpret it.

printf("%X\n", 257);

no except your httpd has a module for that
you can use cgi

thats a terrible idea

fax why

thats like all the disadvantages of PHP combined with all the problems of C

damn, this FBL and the CAN stack from vector are driving me nuts

fax can you elaborate

php sucks, C sucks for writing we apps
when you add it together you get somthing even worse
its called synergy

i need something faster, thought I'd use C instead

faster than what

php

what is it that you are doing that needs to be faster?

creating thunbnails, resizing photos etc

you are usibng gd or somthin gin php to resize images?

there are many of them, few hundred to a thosand on each upload. I want to create the thumbnails on the run
I'm using this phpthumb library
http://phpthumb.sourceforge.net/

it seems to work via via GD or ImageMagick
which are both implemented in C
so I suggest that you get more faster computers

so i wouldn't be faster if i did it in C
it*

it would be unnoticable
image resizing is done in C anyway

you would reimplement something that's already implemented in c

the only things you would speed up probably take user 1% of the running time of yor program

char *p[2]; p[0] = "hello"; p[1] = "world"; how can i, using printf, print the second letter of the second string, i.e., the 'o'?

ok thanks

do you know how to get the second character
p[1] is "world", p[1][1] is 'o'… so printf("%c", p[1][1]);

thanks. is there any other way?

yeah

1[p][1]

i was thinking to get there by incrementing p or p[1], but i think that's utter stupid

yes it is

you can't increment an array

steved-: *(a+1) is legal
int a[30]

it's not incrementing a. and it's exactly the same as a[1]

it is equivalent
it is clearly not exactly the same

fax how so?

definition://exact

visually it's not the same. the meaning is

the meanings are equivalent but not exactly the same

how are they different?
*(a + 1) = a[1] = *(1 + a) = 1[a]. all four are exactly the same

they have the same values
but they are obviously not exactly the same

they do the same thing

use your eyes

they obviously are

look at what you have written

you were talking about meaning

four different expressions which evaluate to the same thing

how is the meaning not the same?

you are claiming that some different things are exactly the same
this is false

apparently fax is an editor, not a compiler.

how are they different? they all add 1 to the pointer a decays to, and then they dereference the resulting pointer

my compiler is accepting *(p+1) but not *(p++)
is there any diference?

p++ is trying to change p's value

for starters, int y, x = 4; y = x++; … what is y and what is x
and what if you replaced y = x++; with y = x+1;, what are x and y

in what way is it failing to accept it?

you mean what am i trying to do?

Do you know the answers?
if not you should write a test program to fin dout

no, i mean "what leads you to believe your compiler is not accepting that expression?"

because it gives me an error
yes i know, that's pretty obvious

so you see how x+1 and x++ are different?

the first doesn't change x and the second does

right, but the value of y aftewards its pretty important as well

good thing you understand it completely, because by itself the expression looks valid.

twkm p is array
in his example

exactly

ahh.
p for an array. yuck.

this whole pointer shit blows my mind

char *p[2];

he probably doesn't realize it's an array

Comments

someone may help me i was tring ti find the word hello in a string i use strstrmessagehello but it not filter

i'm looking for a way to find out how many cpu cycles a specific code take? or what are the real costs of a function / assignment / etc…

You can use a profiler.
But if you're careful you can produce pretty accurate results using your hardware clock.
and perform the measurements over large samples of data.
See also gprof.

anyone here good at winapi threading? im having a problem trying to get multiple threads to access a common varible concurrently; with mutex and volatile

hi

testing concept with a simple ++ in a loop

did ansi C have enum ??

and dont get the value i should when both threads exit

yes
it does

most likely you fail to use the mutex properly.

in C 80 or 99 ??

you must use it for both reading and writing.

C90 and C99

but it's not form KeyWord in my book

your book is perhaps pre-ANSI
buy a newer book

i will

i just have a simple increment, with a mutex before it, and releasing after

Chris, thanks for help

Amr, no problem

WaitForSingleObject(pos, INFINITE); x++; ReleaseMutex(pos);
full concept is 19 lines if i should post it
i jsut really dont' see what im doing wrong here
having two threads incrementing in a loop 200 times each, never end up with 400 when both threads exit

that's the increment. when you read it do you also use the mutex?

im not reading until after other threads have exited
waiting for all of them to exit with waitformultipleobjects
that seems to be working
but the mutex doesn't seem to be working
i can put in an invalid mutex name and it will not stall, it will jsut go right on through

are there any man pages for C standard functions?

lots
section 3, usually

how do i access them?

other than not checking the return values so missing any errors it looks like it should work.

try man 3 printf

k

i know, last error was 0 unfortunatly…

if it can't find them, install your development manpages package

what about the return value from the call to WaitForSingleObject?

well maybe not..
i put the getlasterror in the wrong place
stupid me
this is what happens after you've been coding for 10 hrs

heh

ERROR_BAD_DEV_TYPE 66
network error..
not very helpful
wtf does a mutex have to do with a network error heh

did the CreateMutex return an error?

nope, still trying to find exactly whats triggering it
heh, i got a dif network error for the open though
with 16000 error codes you'd think they'd be somewhat on target

Hello all
Anyone here know any 2D game engines for C not C++ on linux
I'm thinking to create a mario like game for my C program projecty

SDL
not a game engine

scummvm
*duck*

Allegro.
Or you can use OpenGL directly, not too scary.

true
can opengl handle physics

Mornin

docmur, lol?
opengl is graphics only

Oh, you want a physics engine?

I knew that
lol
well physics / game engine

Well, you should have said so!

I didn't know they were different, the ones I've looked at combune them

http://google.com/search?q=c+physics+engine

opengl for a mario game?

docmur, don't you want an already made game?

that would suck

it would be easier

no I want to program the game I just need the game / physics engine for improvement

you will program almost nothing if you already have all done

where does uname -o get its output from?

The uname() syscall I would imagine. Depends on the OS though

nope, not uname()

Does Mario even need physics?

lol lets say yes

It's all sprites and collision…

exactly
you just need to do simple collision

open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
^– is a significant line I get from 'strace uname -o'

Unless you want to remake Mario like what these did with Lode Runner… http://harveycartel.org/metanet/n.html

yeah, but that one's called on uname -r too, which calls uname()

Collisions between rectangular sprites !=, and I mean !=, physics engine.

lol okay well I'll use not phsyics engine

this isn't it

Hrm…

uname -r does a uname() call
uname -o does not

what are you using uname for

If I have allocated some memory for a pointer to int but don't know how much memory. How can I find out?

meh

you can't

you don't, you keep track of it when you malloc()'d

you can't

check the coreutils code

but that's just silly

I have to disconnect
will do

you don't need to
you know how much mem you request when you call malloc

int *p; p = malloc(n * sizeof *p); // you can now use p[0] to p[n-1]

So, for a pointer to char the termination character is '', but ther is no such thing for int, right?

'' determins when strings end, not when char pointer allocation ends.
s/mins/mines/
whether it's char or int, you need to keep track of how much you've malloc()'d

Use your own allocator.

Yeah, but what do I do if I don't know what n is.

you're stuffed. know what n is.
why would you not know?

I have got an array of pointers to int and each pointers has differnt amount of memory. I just want to print it out and if I don't know how much each pointer holds it screws me up.

how did you allocate the memory for the array of pointers to int?

WoodyWoodpecker, as Jafet said, you can write your own allocator and determine how much memory your object consumes
something like.. my_malloc( "tree1", nodea ); my_malloc( "tree1", nodeb )

What exactly do you mean with allocator?

and then print_alloc("tree1");

can you answer my question, please?

oh I see, a malloc-wrapper function.
Yeah, sorry.

Whatever you do, you need to keep track of what you malloc.

it's not optimal for runtime though

thanks for help , I mast go but i will be back

I explizitly told and pointer to hold less memory than others. I assumed later on I don't know which one holds less then the others.
s/and/a/

bye bye

well, whatever you do, you must keep track of the sizes somehow

I got confused about the real difference between a pointer to pointer and a array of pointers.

this could be as simple as storing it in the first int

WoodyWoodpecker, there's no difference really

sure there is

Chris, what is it then?

yes, there are some (too I don't undestand enought about it yet).

well, it affects sizeof, and arrays can't be assigned.

Chris, that's assuming that by array you mean stack allocated array

psykon, by array, I mean an array, in C
stack is irrelevant
C doesn't need a stack

Here is my problem. I have n amount of numbers and for each n I have to save them together (that is why I choose to save the numbers in an array).

is it a dynamic list ?

Chris, what is a C array then?

So I have an array of pointers to int. Theoretical each array-index holds an array of int which different lengths.
Sorry, what do you mean?

WoodyWoodpecker, you have to keep track of the size of each

you might want a linked list instead

I need it to grow dynamical, if you meant that.

easy as that

it's a contiguously allocated non-empty set of objects with a particular member object type.

So how could I do that best?

Chris, cool, and if i have a pointer to the first one, why is that not an array?

ahh, yeah, that soudns good.

WoodyWoodpecker, learn more about what pointers are and what malloc does

s/soudns/sounds/

then maybe you can proceed on what you want to do

because it's a pointer it just points to memory

int a[600]; int *b = a; what is sizeof a, what is sizeof b?

WoodyWoodpecker, have an integer
and increment it every time you add one
Chris, that's what i said

I know

what? I am demonstrating a clear difference between a pointer and an array.
you said there is no difference.

siezof(a) is 600*sizeof(int); siezof(b) is sizeof(int*);

correct.

Chris, not a difference that matters

int a[600], int *b = malloc( sizeof(int) * 600 )
:P

of course it matters.

Ok, thanks guys, I will try rewriting it in a linked list.

of course what matters?

Chris, you know what i mean
i could give you an array or a pointer pointing to an array and you could treat them the same

except for free()

psyche_, hmm, I'm not sure about that

WoodyWoodpecker, decide carefully. You should choose based on your requirement.

psykon, I'm not sure about that

unless you don't free() stuff then you're right.

snhmib, that's obvious….

psykon, did you mean to say "pointer or array", because you actually said "pointer or pointer to array", and a "pointer to array" is a distinct type that is different from "pointer"

that's the difference, an obvious difference !

there are similarities in that arr[i] == p[i] if the pointer p == arr;

I know, but I don't have the years of experience you may have.

but that is where the similarities end.
so you do not tell people "there is no difference between points and arrays"

yea but so is your discussion.. a pointer just points, it's not an array :P
byea but so is your discussion.. a pointer just points, it's not an array :P /b
bbyea but so is your discussion.. a pointer just points, it's not an array :P /b/b

My problem is hard to explain in englisch. I will just try it with linked list first.

rutski, i mean a pointer pointing to an addr which has an array of the pointer's type

doh .

psykon, so would the function arg list for what you're thinking of look like "void f(int* p)" or "void f(int (*p)[])"?

first one

ah, ok; so then it's a "pointer" not a "pointer to an array"

rutski, i explained that

A pointer is a pointer. An array is an array.

it's not a pointer to an array as far as the compiler is concerned

a reference to an array is a pointer

C does not have references.

i see

c++ police

When passed to a function, arrays decay to pointers.

psykon, not fully, you said "addr which has an array of the pointer's type". Both my function prototype examples fit that description. so there was still an ambiguity

thats what i mean

Then phrase it correctly jedi06.

rutski, yes, at the address to which the pointer is pointing

internally, they are all memory addresses

there is an array

ok Jafet will do

psykon, yes, and again, both prototype examples fit that description. They both "have an array there", but in the first case dereferencing p will give you an int type, and in the second one you will get an array type.

how can i make an autoconf script tell me exactly what its doing at a certain point
i keep failing a dependancy check, but i cant figure out how its determining it

read config.log

did.

if it isn't a c program you would probably do better in ##workingset, for general autocrap help.

ok, thats what the autotools are from?
thanks

and what did it show? (the last thing, mostly)

configure:19076: $PKG_CONFIG –exists –print-errors "glib-2.0 = 2.0 gtk+-2.0 $
Requested 'pidgin = 2.0' but version of Gaim is 1.5.1-1.el4
i cant figure out where its pulling that from, since i have no include files or anything else in /usr it could look at to determine that

seems pretty clear.

you have gaim installed but you need pidgin (which is the next generation of gaim)

pkg-config tells it.

where is pkg-config getting that from

from .pc files somewhere it normally looks.

man pkg-config, search for the paths

ah ok

or locate ".pc"

aye, the man page should say.

still, it's off topic here

aye, support of a package you didn't write. try ##workingset.

which distro? each has a support channel

or a channel specifically for the package you are trying to compile.

sweet, thanks. that worked
ive never used pkg-config, so figuring out when its stupid never really seems to be very easy for me

''man pkg-config'', also ##workingset, and ##$package

(don't join the channel ##$package but replace $package with the name of the package you are looking for )

he's in #bash — i think he'll get it.

ne1 recommend a good refresher tutorial for bind that has long forgone coding?

User "ne1" not found. Sorry.

ne1="Has any one"
shiet and my bind has blown

Can't even spell an expletive properly.

!beej

beej is http://www.ecst.csuchico.edu/~beej/guide/net/ ; http://www-db.stanford.edu/~cho/programming/network.html

:|

can anyone help me with a raw sockets problem, please…?

just ask your question

can you ask a more perinent quetsion?
err, pertinent.
some people like beej. i prefer a book. links to each sort of thing are available from the home page.

i'm tring to send a raw packet trough the lo interface.. but the server i'm sending syn to isn't responding…

p-p-pleeeeze eddie, you gotta hide me!

ta

the application works if i send syn to another computer trough eth0 or other interface…

I believe it was more like "pbbbbbl-leese", wasn't it?

yeah

It's a sad comment on Hollywood that I actually sorta' enjoyed that silly film.

i hear pleas for help in the roger voice

I dunno', of late I know there is an angry little person behind the pleas.

why do you feel transmitting via lo should works as you desire?

….looks good, now to find a synapse still functioning….

what?

have you tried running traceroute on lo?

yes…
no
i just ran ethereal..

and…

the packet is sent
but the tomcat server hosting doesn't reply

and to where does lo lead?

huh?

?

*shrug*

where do you expect it to lead?

i'm tring to send a raw packet trough the lo interface.. but the server i'm sending syn to isn't responding…

excactly. outside of the machine is not one such place.
err, exactly.

to make thinks clear.. the server runs on 127.0.0.1
^things
….?

hey

so if you send it through eth0 it works, but lo doesn't. sounds like an issue configuring the network interfaces, not the program.

no]
if i send it trough eth0 and to another computer
it works
if i send it trough eth0 or lo to the same computer i get no response…

I wonder.. Does POSIX allow for non-flat memory..? I.e could it be possible to make a i386-segmented Linux architecture?

It started like that! :0

Hmmmmm….

most ways posix doesn't care. mmap'd objects must appear to be linear, though whether you play with segmentation in the impementation doesn't matter so long as it doesn't have to be noticed at the user level.

It would lead to interesting issues at the C layer though…

the c standard is written to allow segmentation.

E.g. half of my motivation would be to allow things like realloc() to work nicely…

Why? Ever seen DOS code?
yum NEAR and FAR pointers.

So I think you'd have to have a seg_malloc(int seg; size_t size) and similar
The point would be you could have large arrays etc.. allocated to their own segment, so realloc can resize them without caring
Sortof like LVM really

you might want such for trickery — there is such a malloc for linux based hosting services that uses page flipping i think — but then it wouldn't be standard so doesn't have to obey any rules from the standard.

Right, so
You know one of the cool things about having a page table, right
is you could, in theory, have the OS fiddle with your page tables
to give you the concept of totally linear memory, overlapping on non-linear memory

though that implies allocating on page boundaries, which ruins small object efficiency.

You can treat your virtual memory space as sparse, and just map in pages as you needed memory

I'd prefer if we had a way to "scroll" the mmap to other sections on requests that triggered it.

Its actually quite cute an idea.
mm slab allocation.

I also want non-flat so that the stack isn't executable
Bang goes most of the common-but-boring security holes

hey, just write a new OS that doesn't suck

not boring "tedious" ;-)

Writing an OS isn't hard. Just grab all the Minix^WLinux boot code, and do stuff righter this time

Well, that's half why I wondered if it'd be OK by POSIX
That way, if it is POSIXable, I'd already have a nice base of applications that can run on it

You haven't thought that perhaps POSIX isn't partly to blame?
And maybe thinking through POSIX wouldn't bea bad idea?
And really, you can think of "processes" as virtual machines..
… so you could always have POSIX processes and non-busted-ass better ones..

yeppers

anyway. back to hackery.

posix doesn't care about it. it has some rules about what stuff is part of a process, but cares little about how it is organized, and leaves things like segmentation as a possibility.

posix is eviiiil
:3

w/o posix, we'd be fucked for file/dir/etc
damned systems vary too much

we'd be at FAT32? xD

what?

yes, probably evil, that's true, but it isn't an impediment for LeoNerd.

pish
bugger off mmap and character based read/write plz, and use proper messages and ring buffer type types plz.

spell "please". plz

Heh.
Sorry, been dealing with idiots all day here.

and there is no reason to pitch mmap, (which I rarely use), or char r/w
Actually, prolly easier to simple add what you want, then subtract _and_ change
simple/simply

oh, of course.

does anyone know if MSVC (vs 2005) supports IEEE-754/IEC 559 ?

Does snprintf put '' and the end of the buffer?

man 3 snprintf

:|

don't man him

yeah, it's always depressing to get caught and told to rtfm

woman 3 snprintf

I'm sure he knows about man pages
he's just not feeling like searching for himself

Feel free to pamper him.

he could also write a throwaway-test

yea. im doing a testcase

I didn't say "testcase"

good boy pejo_
he's trying to do something here

a testbed, a simple do-and-print/dump test for a few variants. Learn and pitch it

k, can u do an example for me first?
so i have something to learn from

int main() { …. exit(0); }

is anyone in here experienced in winapi thread synchronization
im trying to figure out how to access common data between threads, but im not getting the result i expect
void test(HANDLE h)
{
for (int i = 0; i 200; i++)
{
EnterCriticalSection(&CriticalSection);

oops , indeed

poppabebe
'' is inserted
gcc and man told me so

excellent. So, it's properly truncated (unlike str*cat variants)
Nothing like the pride in learning these simple, irritating little thingies ;-)

when i use mysql i get row[1] for example
how i can find out what is the first latter
row[1] in this case come as string

Offtopic, my007ms.
Unless you make it a C question.

Jafet, how i can know the first latter from the string

What's a "string"?
What is the type of row[1]?

MYSQL_ROW row;

Nope, not a C question.

i am still very new

then stop using shit beyond your skills

I have a struct that is 2 bytes big. when i do sizeof() it, it returns 3. Why? http://paste.cplusplus.se/paste.php?id=6382

how can you find the first letter of "hello"?

Padding.

luck?

struct padding serp_

look at the paste please

for starters, this is ##C - ##C++ is down the hall.

that is C

it's not a byte OR 3 bytes

but I use bitfields to make it 2 bytes
5+6+5 = 16

http://rafb.net/p/uAdqK934.html

you can believe what you want, but you did it wrong and posted silliness

Oh noes, cplupluc invaders.
Feces.

what am I doing wrong?

s/cplupluc/cplusplus/

bitfields are either really handy, or really horrendous. Depends on your viewpoint and use. Further, there is no 'u8' type.

typedef unsigned char u8;
i thought that was implied

no, it wasn't

okay.
what am I doing wrong?

too many space-cadets to assume.
how big is it supposed to be? Why and what is it?

it's supposed to be 2 bytes big, as the bits in the bitfield add up to 16

well, for starters - it's not automagically packed.

I thought that's what a bitfield does…

If you want a pair of bytes, then use a pair of bytes.

okay

the primary thing you are doing wrong is not learning c, but guessing it.

No. There is no automagical packing of structs.
stop guessing and start learning.

compiler?

gcc

also, remember structs get aligned and padded

try __attribute__ ((packed));

bitfields *may* pack together… Sometimes. If they are consecutive and the sizes play-well-with-others.
otoh, you can't & (address) a bitfield, either

u8 r : 5 __attribute__ ((packed)); etc..
5 __attribute__ ((packed)); etc..

okay thanks

He can't write C, so teach him packed.. Good deal. He's yours.

I'm a bad influence , I know

that's all i needed though
now i'm all set
cheerio

set for disaster

haha

he'll be back… and we can let CoreEvil save him. shrug

why are you so mean.. :/

just honest.

i know tons of c
but there are some bits and pieces i don't know

You think you know tons of C.

i do

int a[6]; what type is a?

int[]

sorry.

if we have int a[6]; what are the types of following expressions: a) &a b) (a + 0)

is a pointer to the first location of the array ?

no

your main problem will be when other compilers are used. or if gcc decides to remove the packet attribute thingy, or if they change how it works — either of which is possible since they have no standard to which they must conform, only their own notions of what to do today.

#pragma pack is better supported
but still it's not standard

it's actually more fun when they use that [] and [6] stuff as a param/arg

have to start simple.

they were doing that [] crap again today.. It's depressing to watch.
even more depressing to watch them toss a few parens at the arg/param and act like it's not a pointer.
brb - lemme' cycle

the first would be int*[6] and the second would be int*
i think
but none of this is relevant

close

that's only relevant if you're writing a book or learning the standard just because

aren't you planning to learn the standard ?

I am content if I can use a language

i like using [] in functions args by the way

Dude, I give the standards lip-service and listen when folks speak of it. I also been programming long enough to see several neices and nephews into college.

I don't need to know every little thing about them

i use [] when i pass a pointer to a first element of an array, and * if i pass a pointer to a single element

Internally, I might.. Exposing that to idiots that pretend to have a clue is just cruel ;-)

serp_, then don't come to use when something is not working

so everybody has to read the standard to be allowed to answer things?
ask*

well, you need to show effort
we are not your books

someone may help me, i was tring ti find the word hello in a string, i use strstr(message,"hello"), but it not filter HELLO when it wrote in cap, someoen could help me figure out all word hello ?

Lowercase message.

Absolutely not. The "standard" is just another Guideline - and there are multiple. But guessing and faking shit is downright stupid unless you are doing both in small tests to LEARN the limits/behaviors.

You could also try stristr, but I doubt it's standard.

jafet Oh

Deep breaths!

how to convert into lowercase ?

Note that lowercasing has its own caveats, but generally good enough for normal usage.

I be cool, mon.. Not my prob if folks _like_ running headfirst into concrete.

lowercase function seem eating lot of memory..

Jafet, your line is wrapped too much. it's only 2 lines here.

i have to go trough all caracter to conver iit cahar per char ?

Erm?

Vanpriest, don't worry about memory.

It seems so.

fix yer client

Alternatively, write your own stristr. Will be fun.

it's thousand times more than what "hello" will occupy

everything is written somewhere… why does this channel exist and why are you here?

Hello, http://iso-9899.info/wiki/Snippets#gets_is_not_safe

serp_, to torment you.

shouldn't you have if( NULL != (f)gets(… instead of 0

we are NOT here to save yer lame-ass from the blood and pain of learning.

sigh

if i have a long text, and i try to find hello worrds in it, it kinda a crazy thing.. and lot of mory used
memory used

I think NULL is defined to be 0, if that's what you mean.

if so, you probably want to look into regular expression libraries (like PCRE)

guess what, something like that already exists.

Jafet no its not

gets is a whore, and fgets returns a code or a count - don't screw with it, respect it.

respect a whore ?

read it again

read, man

ahh ok

fgets is one of the nicest, most useful funcs in the spectrum

thetre no function tat look into the string with ignore case ?

it does what it sez, and it documents what, where, and how. Folks assume on their own.

Vanpriest, it is not hard to make one

simular as strstr but with ignore case

stricmp/strcasecmp

Vanpriest, this is not php

Vanpriest, there's the fast way and the memory way
which do you prefer

i read much & ask little, haven't formed an intelligent question yet

you?

what the way you suggest me? using regular epression ?

yes, it is the newbie way

what do regular expressions have to do with this

or should be

wsomeone suggest me tat few line before

oh, you mean your behavior - I was context-lost for a sec
regex has no bearing here - geezus, fucking script-kiddies

Vanpriest, okay suppose you want to locate "hello" in "123 hELlO 123"
you can either dup 123 hELlo 123

he is too lazy and not going to implement his own, I think.

and turn it all to lowercase

I agree

or just check with lowercase

i know
the think when you turn the stirng into lower case it

every method has pros and cons

anyway.. it's late

both* methods*

night folks

you have to do a for(x from 0 to the string length)

Vanpriest if the string is all lowercase, you can use strstr()

which kill a lot of memmory i was trying to avoid all for tha why

dude, yer freaking my screen out with scrolling - relax a bit or right longer sentences.
write

huh?

to convert a string into all lower case, can i convert a string directly or. i have to convert character per character
that what i read in google :s

yes.

if you are short of mem, yer already hurt. If you ain't even got anything to work and are freaking over mem, you are just wrong.

google gave me a samples to convert char per char, which is eating a lot of moemry

:o)

character per character obviously. http://iso-9899.info/wiki/Snippets#the_.3Cctype.h.3E_is.2A_and_to.2A_functions_require_an_unsigned_char_or_EOF

ok.. X(
i will do it

Vanpriest it does not eat memory, duplicatng the string will

Stop screwing around "optimizing" until everything works for at _least_ a goddamned module, if not the program.

jIj oh ok.

well, you get it right back again and now know an offset, which means the dup is disposable.

a
sorry
sorry got disconnect

similar occurs when you use a local/automatic char-buff and work within it to learn something, and then return: it hogs a bit of mem for a moment, and then returns it for reuse.

PoppaVic i am aware of that

i am aavoiding to modify the string, so converting to lowercase force me to copy into a new string

Vanpriest you can alternatively write your own strstr() function.

what are you trying to accomplish?

if you look around first, you might find it's already there.

shut up, omnipresent crazy man.

i recieve a string message from server, i am makng a quick chat filter

overall, all I can presume is that you are playing fuck-around and pretending to "optimize" for stupid reasons, at the wrong time.

"ass" in the message string
but i recieve over 1000+ message per second

ass is just three letters, not a "word"

Vanpriest over 1000 per second? whoa.

for you, it's a way of life

PoppaVic its a samples

pmk lol

i can filter b@tch or whatever
that why i do not want to create a string everytime
it eat a lot of momory

“lot'' ?

I know what it was, and I know you are filtering/censoring as well. Doesn't matter, you need a more clear idea of what, when, why and how.

i am just wanna check in the message string directly and figure out the word, it
i am trying to figure out a command like in Java or Php to do a find in the string with ignore case sensitive

Vanpriest you either go with the memory way (which i think is the best) or with the speed– way

15 minutes after you get it to work, some little weasel will bypass your shit shrug

wihtout having to cop y the message into a new string, convert it into lower case, and check it

Best approach is a NFA. Build one with flex.

Vanpriest it does not eat as much memory as you think it does
that is, if you free() the memory you're using each time

yer talking about in-place, r/o tests

ok jIj .

Vanpriest and if it is a server/client issue, the checks should be done client-side to reduce the memory/resource usage

FOr starters, you need to declare what "a word" is. You can't do dick without rules for yourself

for(i=0;i(strlen(x)-strlen("HELLO"));i++) { if(x[i] == 'H' && x[i+1] == 'E' && x[i+2] == 'L' && x[i+3] == 'L' && x[i+4] == 'O') {x[i] = 'h';x[i+1]='e';x[i+2]='l';x[i+3]='l';x[i+4]='o';}}

they are not importand checks, so it does not matter if someone REs your client

or something

i suppose you don't have any security anyway

censors and editing other folks is a pita

"I will not spew unintelligible non sequiturs on ##c every single goddam day." It'll work wonders for you, pops.

you can't do it well w/o context. And I don't like folks screwing with my context.
editing someone that wrote "asset" or "assume" is just stupid, and if they want to be real dicks they would embed it in other symbolics anyway

your task is doomed to failure, though, since you'll never catch all appearances of words unless you are also aware of Úñ¡¢ó¬

heh

I'm serious.
  take notice

I do agree, content is usually an issue for clients. otoh, I've always felt a human auditor at the server helps to reduce the multi-client "spew" of twits.. Not fair to the network or users to _force_ them to accept a packet of racist/sexist/whatever crap to filter it there.
I do agree, content is usually an issue for clients. otoh, I've always felt a human auditor at the java server hosting helps to reduce the multi-client "spew" of twits.. Not fair to the network or users to _force_ them to accept a packet of racist/sexist/whatever crap to filter it there.
pmk is right, there

thing is

I'm always right, crazy man.

Vanpriest did not ask how he can filter (bad) words from a buffer
what he asked first was for a case-insensitive strstr()
it's teh XY problem
candide, xy

You want to do X, but don't know how. You think you can solve it using Y, but don't know how to do that, either. You ask about Y, which is a strange thing to want to do. Just ask about X.

learn to write a line, man ;-) No, I agree - he has issues on his issues because he is playing at "optimize" before he has it all nailed to the floor.

why can't he use strcasestr(3)?

It's like using 'find' on a 2gig document - you already _know_ you want a finger on the 'next' key..
same reasons as usual: he doesn't understand and isn't clear what he wants in any given case
This explains why he starting mumbling about using regex, too
started

hi

lo

Hy'

ok i found the command to ignore case sensitive. its stristr…
it was pretty simple -_- dont need to convert anything
lol

“command'' ?

i mean the function in C

stri* and strcase* are neither universal. May have one, the other, or none.

i see…

this code
char c; while((c = getc(stdin)) 20); will run for ever even if EOF is reached only if c is type of signed?
and char being signed or unsigned is compile hosting dependant right?
(if not specified)

wrong return type

PoppaVic, i know, my question is differend

by itself 'char' is sign-controlled by the CLI of the compiler

do you want an answer from somebody that knows C?

so i cannot know if my program will run forever or stop if EOF is reached in that snippet correct?

it's an irritating oddity, and EOF is not a char, is it?

pmk what about your answer
PoppaVic i know what EOF is

oh, goodie.. What is it? Pmk is more than welcome to save you, btw

PoppaVic have you understood what i am questioning?

well, for starters your use of getc() was bad; and you stuck it in a while-test as well, you asked about char-signing by the compiler, and then pmk shot off his uber-mouth. So.. Good luck.

i'll try to ask again, char c = -1; if(c 0) { printf("yes\n"); }
if my program prints yes depends from the compiler, correct?

Ask pmk.

The signedness of plain char is implementation-dependent, and on some compilers it's adjustable. On x86, for bad historic reasons, plain char is signed.
So plain char works like unsigned char or signed char. This is somewhat different from plain int, which is always the same as signed int, except for one implementation-dependent context.

thanks pmk, and to be honest i don't see how the latter question differs from the former

what is that context?

Extra points will be awarded to the student who knows when a plain int might not be signed.
an implementation is permitted to treat a plain int bitfield as unsigned.

iow, there is Yet Another CLI option.

so never declare a bitfield as plain int, always use an explicit signed or unsigned, whichever it is that you want.

lo draic

i have to go.

hello
I'll be back in a minute

wb

Thanks
How's it going?

oh, it goes.. A few more notes, a few more chores, a few more ignores - you know

i think i've found a tautology
if you've been staring at a piece of c code

taut is nice
oh.

for more than 3 times as long as you normally would
and you still don't understand it

heh

it's probably a hashing algorithm

well, I'd not think "hash", but I _would_ think "unclear"
I've never been overly interested in hashing.
My universe is usually ruled by a chronological or an alpha-based search, if not a simple index.

hash functions seem to usually be a combination of random arithmetic combined with random bitwise ops

It's more a search-order than a storage-method.

A long, long time ago - around the time of dbIII - I really started to realize that data is data, but keys and searchs are another whole mess.
actually, it even matters HOW to access what you keyed and want to r/w/x
so, the key and it's result should deliver that info. And maybe do it, or you need to explicitly schedule it.
But, I agree.. "hashing" is a nifty idea for folks that might use trees or lists.. But when, HOW and why is a realy kick in the nuts
/realy/real/
near as I can tell, hashing implies "you tell me how, I am too stupid" and "buckets"

the more he raves at the emptiness, the less sense he makes.

again: "go fuck yerself in the corner"

as far as i'm concerned hash functions are shrouded in mystery

I can't recall the last time I bothered with them

hashtables are quite common

I know Z uses them often
I'd rather use a tree, a list, or something else.

faster than a tree

not always. it depends.

can use a tree

that's fine.. Then tell me why it's "better" or "applicable"

implemented correctly, true balanced trees (not AVL or red-black) can do better than an expensive hash function.

faster is nice. So is apropos. So is who does what to whom and why.. You already said the latter eludes you.

and hash tables are hell if you need to be able to delete items.

keeping trees balanced is a pain in the arse though

iirc, hashes are best for r/o
balanced trees are just one form

Hrm…. I don't suppose anyone here knows how I'd get an X11 connection into a GIO source..?

au contraire, true balanced trees are easy.

I am positive there are folks that use unbalanced trees
hehehehe - Yer the glib guru, dude ;-)

AVL and red-black trees are only height-imbalance-limited.

Sure, I know GLib. I've never done raw X11 lib before

my sympathies.. I've avoided it since my days of editing an object via X11.. I just don't want to know.

heh what for

true balanced trees also support a fast "find the Nth item" function, which a hash table can't do. handy if you need to iterate over your key set in order.

It seems Xlib wraps too much stuff - I can't seem to get a nice easy filehandle out of it, that I'd inform it to look for more events

that is true
why don't you just use xlib directly

and the overhead of a true balanced tree is just a single bit per node. yet data structure texts spend way more time on AVL and rb trees. don't know why anyone uses them.

XWaitForEvents or whatever it is

Hmmm?
Because XWaitForEvents will block. I need it async. because X11 is just one-among-many things my program will be doing

char *uid = ""; and I'm getting this: warning: initialization discards qualifiers from pointer target type. why?

i see
i don't think it will block
i have written code that doesn't block
i think you wrap it in an XPending or something

i

Well, in any case, I need to get Xlib to tell me the fd of the connection to the X server, so I can add that to the select() loop
(well, poll() since it's GLib)

mm
there's probably a system-dependent way of doing that
maybe you could nick something from the x11 port of gdk

I was pondering on that

well, it's still going to predicate on Xlib on an X11 box.
I recall a project where I was dipping into each to deal with gtk++

LeoNerd, what are you working at?

it's unusual for someone to want to connect to X in glib, why not just use gtk?

A much more generic version of xbindkeys or imwheel
I want a program that has a big config mapping of "When event X happens under conditions Y, do Z"

so just for Xlib?

X11 keys/mouse presses might be events. Which window has focus can be conditions. Actions might be exec()ing something
Nooo.. way more
Other input devices, perhaps a joystick
Other output actions, such as mpd control

I see

cron is "bind [time] to [exec]"

goddamned isp

Hello

i want to call an external program with execl. How can i read the output?

"read the output"?

you'd pipe and fork - and it's obtuse.
consider popen/pclose instead

if you have a chance to read the output, the program didn't run
which is to say, you don't want exec*

hehe ok
so i want fopen ?
i'll try that

see what PoppaVic said

thanks a lot

!book cmichael

(popen != fopen)

candide, in front of me with open site about exec*

a site is not a book, you putz

book page
i'm sorry

no. It is _not_ remotely the same.. What you are implying is "save me, I am too fucking cheap to buy a book and toolazy to read it or do the exercises"
lo, peapicker
Folks here cannot save the lazy from death. And, we tend to applaud suicide.

Hi

lo..
I'm thinking of vaccuming the house - what's new?

My uncle stepped into my house; 30 minutes ago, saying "I need to learn how to write computer programs"
uMy uncle stepped into my house; 30 minutes ago, saying "I need to learn how to write computer programs"/u
I have a horrid hangover; and I'm going through this book (Chapter one, for the third time) with my uncle.

why does he need to learn how to write computer programs

I hate going over books multiple times.

hey there, PoppaVic

hi peapicker

sorry for the delay. busy day

dude, you know my feelings on "programming" - I suspect he has no idea what he asks, but has something he wants

I think he found a girl who digs guys who are into coding or something.

hahahaha

lol

Yes, well; I don't mind it, being as I'm getting paid.
But going over this book again.. not something I fancy.

/bAD/ llama! you can't leap to conclusions w/o experience ;-)

;p

maybe he wants the code to tell him WHOM to lay ;-)

so he comes to you i need to program what the hell does he think hes going to program

bonsoir ou re !

virtual is ignored, because of his away/back crap

Perhaps he saw that die hard 4 movie.

haven't seen it

It's pathetic, they attempt to hack all the online IPs, and own traffic lights, etc.

well, it's family.. so yer fucked right there. Telling them how and coaxing them means you really teach them and the listen, or it's all moot - and they want a "tool"

I could care less about the 'family' factor.

yeah, but I am old enough to make that call - don't let emotions control you. Interest is interest.. Let them learn or die well.

"I think with my brain, I could program very well in a month"
u"I think with my brain, I could program very well in a month"/u

"Let them learn or die hard"

Cool, "Show me"
I miss a local box that was NOT my endian or OS.. I'm damned tired of x86 assumptions.

sorry, that's an allusion to the name of the die hard movie draic was talking about :o )

I need to set archlinux up on my other laptop; slackware is irritable.
So brb

is it possible to hack into street lights
from online

btw, I love the look and price of the new iMacs

i doubt very much

there may be monitoring/control infrastructure

I don't think so. It's an automated system which triggers the traffic lights at sequential moments.

if there is a control remotely then maybe
im sure it is

you could proably turn it off

there is certainly a network of controls/controllers: stop thinking of yourself as a hacqueer

it might be a local control not connected to the internet though
and it may not accept inputs to control them

if you think you are "kewl" then goto #asm and just bother them.

what's wrong with asm

you can definitely manually override any stoplight if you have physical access to the control box

do we really need to rehash it?

yes manually i'm talking remotely

yeah

unless they designed it to remotely access them then its impossible

talking with other systems means access and agreements.

i mean remotely control them

I don't give a flying fuck if you mean humping them remotely.

crazy man always starts to lose it badly about this time of the day

here is local and here; there is remote and there

see? not an atom of intelligible sense remains in his ravings.

again "fuck yerself in the corner"

time to start gnawing the leather straps again, crazy man.

you seem to be very interested in traffic light hacking
I'm sure there's a paper somewhere.

not really draic's uncle is
i was just wondering if its even possible like they say in the movies

bbiab

fine.. Then you tell the wannabe all your wannabe secrets that somehow sneak into their machine and execute what you think they don't protect and really allow. shrug
I'm sure they are all just panting to hack cray's

preprocessor help anyone ? I want a macro MACRO(test) to expand to "/path/test" with /path being defined by another macro

the wiki, loke we've mentioned for years
like

#define PREFIX /tmp
#define MEDIA(x) PREFIX/x

greetings all

MEDIA(test) — this works, but I'd also need double quotes around the result (currently /tmp/test)

I told you where to look. Die well.

talking to me ?

Just expand to "/path""/test" and let automatic string concatenation do the work for you.

yeah, listen to pmk

and ignore poppavic, he's literally crazy and just raves in ##c all day long, unintelligibly.

;o

I must be wrong all the time, 'cuz Z and twkm spend their lives telling folks all about it.
wb

;
;]

I can't rely on automatic string concatenation, as cpp output is not sent to a C compiler
"/path""/test" — this is not understood by it

then pipe it through sed 's/""//g'

nah, too complex, no way to add quotes at beginning and end of the expansion from the macro itself ?

so, I am wrong - he is wrong - and there is no solution?
tsk.

raving looney, go back to gnawing on your leather straps.

yeah, interesting headspace you have.

http://rafb.net/p/zezmPK79.html — how come that segfaults on runtime?

take the asterisk off the assignment

alright, I found out I didn't need those quotes after all. Thanks pmk !

and also off the argument to printf

look at the arg to the printf

aha that worked

which C book are you using to study the language?

I'm looking at some tutorials online and I've also got a for dummies book

get Kernighan and Ritchie right now; anything else is a waste of your time and ours.

coal mine accident here in town, three people dead

http://cm.bell-labs.com/cm/cs/cbook/ ?

bingo

a BOOK is dead-trees. trust me

dead trees?

oh, just shut up for christ's sake, crazy man
ignore the crazy man

doesn't mean dead treas aren't what you're looking for

I guess C hasn't changed a whole ot since 1988? :-p

it has, but right now you need the learn the fundamentals of ANS C, and they haven't changed since then.

He's yours.

dead-trees are pulp-paper - die well

Hello Airer-girl.

come on now, you saw "girl" and went nuts ;-)

hello Airer-girl

lol

If you think so

a real live gire?
girl*

well, I based that on yer post and "her" nick ;-)

you go girl…

amen

i thought they wen't extinct

gals and guys… Let's not get too wild over sex, kids ;-)

like the dolfins of xangxai in china

Christ; Alright, i'm going to go over this chapter with my uncle; he's back now. Hopefully I can go through three or four chapters with him today, and he'd give up his attempt.

you know it gets down to about 5% women/minorities at the earth science graduate level

airer-girl what do you do?

it's more useful and interesting to help folks until they step on their weenie - and THEN tell them they need experience.

it just takes time
Airer-GIRL!

well, it also depends on wtf they do and where.. Doze and dos will let you crash the entire box.

I'll call back in a little while; I need a new pack of cigarettes anyway.
Hah ;[

good luck

cigarettes cost you lots of money don't they

yes, we smokers are getting raped - we are !pc and we get damned tired of it

companys are going to start docking your pay too
well your putting quite a strain on the health system also

not mine they won't, and I suspect there is a huge court-case in the works

not really, jedi06. if people are stupid enough to smoke, they often kill themselves earlier, and end up costing less in total.

i doubt it i'm sure there are some statistics that back me up.

just search "smoking costs" on google

stats and "emotions" have no bearing on "rights" - Folks can believe what they like shrug

well some companies will pay you more if you don't smoke

pay you? please.

yup

I think he means health insurance

i mean the companies you work for

oh

same for low cholesterol, eating healthy, excersizing

I've worked places that absolutely expect you to "clock out" - be unpaid - for "half-hour-lunches", but tried to mandate what you did for that 1/2 hour. Good luck.

becuase they pay for your health insurance

right

health insurance don't care if you smoke they just will deny you health care

so they say.
Wear a seatbelt and a helmet, too

hi everyone

Hu
hi

I was cooking earlier sorry

Airer-girl: howdy.. Whats the issue (I know from cooking)

um to answer your questions 1- I don't program, just learning, 2- thanks nm
um nothing just got done eating

Airer-girl: well, yer in ##C, so you must care and be interested in C.

are you in school

no not in school and I want to learn C yep

ok, fine - dump the "girl" suffix, and watch, test, and ask

test what?

whatever code you care about

why do you want to learn c

oh
because it's fun I just got into linux and using a computer so I'm learning quick

the sexist suffix will ruin yer day.
code and coding is sexless.

airer-girl did you happen to see die hard 4

why would it ruin my day?
jedi06, no

Hi! I need to go through all files in a folder. How to do that?
(Using CRT)

crt?

I could use Windows' FindFirstFile() but I want the code be platform portable

Airer-girl: do you have big tits? a perfect complextion and are shaped perfectly? (hint hint)

CRT = C Runtime Library

You have to use an OS/platform specific set of APIs for that.

You're vile, PoppaVic.

yer in the wrong place
!win32

win32 is try #winprog on EFnet

PoppaVic, I see what you mean, I don't have big "tits" but I'm tanned and fit for love making

Airer-girl: ^^

no, I am too old to care - but watching either side bait or pant is really depressing.

airer-girl how old are you

20

mr_science, especially now that it's totally broken.
i like crux a bit better.

CRT cannot do that?

Airer-girl: that's TMI for ##C and we don't care.. The only time sex matters is when you make a comment or joke and you are afraid it might bother some twat.

It depends on what you mean by CRT.

hey, i'm running a couple gentoo boxen on 5 kinds hardware

MartinVavra, windows has posix opendir/readdir/closedir.

only one or two break at any given time…

The *standard* C library does not have APIs for reading file names from a directory.

PoppaVic, was just answering your questions

*dozen

so just use that. not as exciting. but if you write for windows & unix you have most OSes covered.

Airer-girl: Did you ever figure out how to use arrays?

Airer-girl where do you live

draic, no
jedi06, …

Amazing.

But *your* CRT is likely to have *extra* APIs, such as _findfirstfile() and _findnextfile().
uBut *your* CRT is likely to have *extra* APIs, such as _findfirstfile() and _findnextfile()./u

SEE!?

CRT is C RunTime Library and findfirsfile() is a Windows API call

hi there

godddamnit.. /sigh folks: Programming is neuter.

so i can't know that

wtf? Does this look like #hottub to you? Take your flirting to privmsg.

MartinVavra, and opendir is posix and seems to be on windows and unix. although it might be renamed _opendir on MSVC crap

I will try to use the POSIX functions! Thank you very much.

the force is bloody weak in this one.

The POSIX functions are likely not available on Windows.

yea. you're welcome

I've one notch above zero-tolerance for newbies that think sex doesn't matter

Teckla, windows has some of the simplier posix functions

Airer-girl: as you progress, notice the geek cultural differences between language channels on freenode…

i had opendir/readdir on Turbo C++ .. and that was DOS

as spock would say, fascinating…

Lo friend.

cultural differences…? I am just interested in C what will knowing it help me on?

Auris-: hehehe - too busy primping ;-)

draic, hi

I see…. So what to do about it?

I don't think opendir/readdir/closedir are among them.
But maybe.

Teckla, it might be a borland thing.

yoda would sigh too.

Airer-girl: What confuses you in regard to arrays?

Auris-: yoda was very old, and tired.. Btdthts.

Teckla, i've used opendir/readdir on windows without cygwin. and i've used it on DOS before too. the semantics are slightly different than the true posix versions. but it was good enough.

I still have a hard time understanding C as a whole sorry

Airer-girl: What confuses you.

it's pretty trivial to write readdir using findfirst/findnext api.

you should start with a book airer-girl

We'll probably find out soon if MartinVavra can't find those functions.

PoppaVic, true, but he knew his stuff.

I would expect Airer-girl has a book.
The C Primer Plus is relatively nice.

Teckla, well he might have to switch compilers.

I am reading Practical C by Reily Publishing (I forgot the author)

I see.
I need to finish this archlinux install, hold.

how'd you get that to work? I was looking for something like that the other day but all I could find was a little wrapper library

Auris-: or at least LEAD folks to learn.. THere is nothing wrong with leading someone to think/learn and become _better_

Airer-girl : real girls don't use C anymore they tend to use languages like java

java is an offshoot of cpp.. and cpp is an "upgrade" of c..

or maybe C is old enough to be retro-cute and a chick magnet

that's what the bokos ays
book says
wow

It tells me you and then are stupid.

then/they

can you just be nice to people

am I? I haven't said anything

not my issue.

matt___, hrm. i could probably write a wrapper library for findfirstfile in about 15 minutes. i don't see why it would be hard.

Airer-girl: not remotely possible - too much testosterone. I don't much care, but the kids do

matt___, and borland and mingw32 seem to already have those wrappers

how come the scanf function here segfaults the program?
http://rafb.net/p/tOLK1890.html

scanf is a whore, you segfault - not the func.

PoppaVic, you've been playing the sex card yourself by talking about it and you care, otherwise you would be a nicer person
again, I have said nothing, put me on ignore if this bothers you so much

Airer-girl: I as never a "nice person" - so that card fails.

explain?

as/was

ahh ok, mingw32.. I was trying to find them the other day using MS' compiler
ahh ok, mingw32.. I was trying to find them the other day using MS' compiler

you want pmk - feel free.

oh ok, good to know 'I as never a "nice person"'

I tried.

Airer-girl: are you really a girl?

um okay..

yep

doesn't really answer my original question though

##C doesn't care - /msg them

Airer-girl: then how come you say you "`as never a nice person"

"nice person" is just laughable. Because it's subjective AND contextual.

Airer-girl: I as never a "nice person" - so that card fails.

ah aight…

my bad: I am not "nice" - I never said I was.

Where's an op when you need one to stop this f-ing stupid conversation?

nice as in what? any meaning of it?

PoppaVic is like the big sassy lady working at the DMV

*lol*

why? no one is flooding or harming anyone - start a goddamned conver-fuckin-sation and STOP CARING

PoppaVic flood is detected, try flood again !!! ;D

People have been TRYING to talk around this stupidity.

noooo.. you mean Zhivago .. I am sorta' helpful and polite.

ther's no talking around it
there's talking through it though

really? where?
wussy ;-)

exactly, the dmv lady is the same way

Teckla sounds like Tequila btw

PoppaVic can say whatever he wants. He's been around for ages. He has diplomatic immunity.

occasionally

no
I can be wrong, and I can be mean/rude - and I don't much mind being called on it. maybe that is a diff

I wish to use 'diff' to detect only new lines added to a file. what arguments do i use ?

As I come to think about it, "poppa" is kind of sexist too.
….for anyone who considers "girl" to be sexist.

think phonetic-alphabet, but male/female boils down to "neuter"

hypocrisy
- they always trip on their own feet

if fems, (which outnumber mels allll over), want to propose and pass bills, publish books or whatever and teach "it", I can deal with it: All of you are just grey text on my screen.

I don't know if your blurred phonetic nick makes in less sexist.

Poppa Victor - if you have issues, they are YOUR issues

PoppaVic, are you an op?

didge, is it a C file?

yeah honey, don't be coming in here

hehehe

woah!
who left these lying around?

underscroll?

you have no idea how many years I;ve said that w/o meaning to insult someone.

Auris; no it's a directory structure generated with tree

honey, dude, yo, bitch! - etc..

Yo.

are we speaking again? I got the feeling I really pissed you off the other day.

didge, we try to focus on C matters here. did you read diff's manpage? it takes two files and reports their difference. an unified diff might prepend new lines with a + which you can grep for.

Auris-: you may know them as "that line"

I find it amusing that *girl left

cin, I just noticed that I don't think I've ever thought what _'s name in english might be. is "underscroll" official?

she may not come back too

Nah, you didn't piss me off.

Auris-: it's common where I come from

whew.. I really got the feeling we got into it, and I was sad over it.

Because of your AOL-ish "age/sex/language?" response to her, or because of the inane "conversation" which took place?

why would either matter in ##C?

i think its age sex location

Sad over your sociopathic unintelligible incessant ravings? I don't believe it.

jedi06, I though jedi were supposed to not get too involved with any sex.
+t

I do maintain that ##C is usually sex and color-blind, and I can understand jokes that sorta' bleed.

Auris; thanks

you're wrong how would we make more jedis

Auris-: alternative (and probably used more commonly) is 'underscore', http://en.wikipedia.org/wiki/Underscore

ah, underscore. yes, rings bells.

jedi06 heh

C is really blind of all things that do not constitute it. :P

Reading the backlog, I think I'll go do other stuff and remain 'away' B

jedi06, you don't. that's the point. the force makes them.

really old farts like pmk often call it "underbar", too. and "@" is "masterspace", but that one's really died out.

not really… ##C will absolutely debate how to do what to whom "in terms of C"
…not remotely a _BAD_ thing.

What does that even *mean*, crazy man?

pmk, where does masterspace come from?

we missed a chance to get a 20yo tanned & fit girl into k&r

And, sure… I know a few fems in ##C such that I avoid a few jokes. Folks do this all the time at parties.

The @ character had a code of 0 in a couple of ancient six-bit encodings.

what kinda geeks ar we?

Auris what do you think the force is…

interesting are the many names given to #
has, mesh, number sign, octalthorpe, sharp

the world needs less bubbleheads & more codemonkeys

namely, Univac's Fieldata and CDC's six-bit Display Code.

jedi06, there's a pile of movies that describes it quite well.

LOW LINE¨

why would I bother to bait and trap a fem that had no interest?

I've never heard that before tho

  Unicode is wonderful.

bait & trap her into doing something intelligent

thats in the movies not real life i'm talking about the real jedis

pmk, so was it used as a separator?

then it had no issue with sex.

Indeed, every Univac Exec 8 command began with @.

i think she came here for c programming & the geeks panted all over her

it flaunted "*_girl" 0 I no longer gice a shit

no she'll be back

give

pmk, ok. interesting tidbits. :-)

why do i think of homosexuals when somebody says geeks

do homosexuals bite the heads off chickens?

maybe yer a latent?

I can't imagine a more enticing experience for a young lady than chatting with 473 virgins, including a weird old crazy man.

well , maybe your mom can tell

lol

fatsheep, your segfault came from you not allocating any memory for the string you wanted to get with scanf. read your book about arrays and memory allocation.

Do you have a web site?

I always find it amusing that folks _always_ decide it's the "other persons fault"
no, I use an ISP and rarely ref the url

I faintly remember you showing me some cool project you'd done, over the web… dunno, maybe it was someone else.
Ooh, no, it was another ##C regular that I haven't seen around in a while. His nick started with an 'a', forgot the rest. :P

cool is subjective ;-) W/O a clear plan and warm bodies, it's just more noise.

sometimes I wonder if I should at least once check the email account that came with the adsl-connection.

Yeah, well, it was 'cool' even by the introducer's perspective.

no
'cool' is like "he/she is HOT" or "nice tits" or "nice dick", etc - it's all subjective and there is no way in hell that everyone cares or agrees

pops, please call the doctor, and say "the meds stopped working, come pick me up"

it's clear that it was Capso who thought the project was cool.

I just love that you keep caring

time for your nice white canvas jacket, crazy man.

assuredly, and that's "cool" for him/it
a bit is still a bit, and yer into the garbage-bin ;-/

Which A levels do I need to get admission in a computer science education in UK, USA or CA?

C doesn't have A levels.

C is for Cookie!

it is.

ahmad, please check each school's admission information at their respectively website.

matt___, yea. i don't use MS's compiler. only mingw32 and borland.

Comments

can someone help me figure out why gdb is telling me No stack when I try to debug glxinfo even though it is compiled

can someone help me figure out why gdb is telling me "No stack." when I try to debug glxinfo even though it is compiled with debugging information?

do `file executable` to make sure it has debugging symbols
binaries are sometimes implicitly stripped when you don't expect it.

it's binary only… and has no debugging symbols. However I'm trying to debug a mesa bug caused by this program
and messa has debugging symbols
mesa*

binary only?

well, it's epsxe… not sure if it's truly binary only… I just can't get my hands on the source

Would IDE hard drives appear as /dev/hd**/ devices when livebooting gNewSense?

hd unless you have SCSI or SATA.

nope
speaking of which, the kernel in ubuntu fiesty uses the SCSI driver for IDE HDDs now

same for Fedora 7

Both are bad distros IMO
maybe i have the wrong file type
why cant it just try all filetypes until it gets the right one?

what's bad about ubuntu? and about fedora?

lol
esr badmouthed fedora. go shoot him

esr turned into a troll a long time ago. but that's not what I asked — I asked what makes Ubuntu and Fedora bad

non-free binary blobs in their kernels

that's a lot of non-free binary blob on the internet. stop using internet!

I'm not running that software on *my* PC though.

you do not have those "blobs" executing on your cpu, not even being mapped to your address space in case you don't have crappy hardware

proprietary software anyway :/

thanks for clarification

eh?

why Fedora and Ubuntu are BAD and using internet is not
btw. does your computer have BIOS?
I just thanked for the explanation

OF course my computer has a BIOS
Yes, I know that it isn't free.

your computer is BAD
you don't run the "blobs
" that lie on your harddrive
but you _do_ run BIOS, so it's even worse!

Does this conversation have a point that hasn't already been covered?

just today browsed linuxbios webpages

lindi-: No linuxBIOS notebooks yet, except for the OLPC

even olpc seems to ship with proprietary bios by default?

0_o

or have they fixed that?

It does?
No idea.

wiki.laptop.org/go/Upgrading_to_LinuxBIOS talks about upgrading from "Insyde BIOS" to linuxbios

Oh OK

the olpc bios isn't really proprietary, though it isn't open either

What is it then?

what does that mean?

lindi-: they require signed bioses (or did when I last read about it), but you could get keys to sign a new bios for your machine

where does it fit in http://www.gnu.org/philosophy/category.png
"olpc bios" == linuxbios or insyde?

"bitfrost" iirc

is that based on linuxbios?
"We would like everyone to move to LinuxBIOS, along with:" from 2006
http://64.233.183.104/search?q=cache:4qt20pddnnkJ:www.mail-archive.com/devel%40laptop.org/msg00856.html+olpc+linuxbios+insyde&hl=fi&ct=clnk&cd=10&gl=fi&ie=UTF-8

lindi-: yeah, I think so

Haven't the OLPC's already been handed out though?

i think i read about their signature scheme and it did sound ok at that time

lindi-: yeah, it's basically just a per-laptop anti-theft mechanism

yep, any child can get keys to his/her own laptop

How do I add eg. ffmpeg or SDL to my project using autoconf and automake?
that is, link against it

is this channel full of morons?! if glibc is not on-topic here, what is??

How do I use .m4 files with configure.ac ? eg. do I put my .m4 files at ./m4/ and then just use them or.. ?

if anyone says this is some kind of developement channel i'm gonna slap him in the face :-)
ok, now here's the question
what speech recognition apps do you know that are free?
*free software
(all 74 users sleeping)

well, it's meant to be both a user and developer channel, though developer questions seldom get an answer here :-(
did you try the free software directory?

:-) that's why I'm asking an "user" question now :-)

Where do the development question get an answer?

everywhere else

you can also try freshmeat, but there you always have to check licenses; there are some (though not many) non-free programs there as well
sadly, I'm not aware of any channel where autotools question get an answer :-( there are many people with questions about autotools here, but people who would be able to answer don't hang around here…

what is autotools?

(maybe because of the frequent political rants, off-topic discussions and other noise :-( )
autoconf, automake, libtool

Anyone here from the north of England?

yes?

Do you fancy joining us (Defective By Design) in Manchester tomorrow for a protest outside the BBC's offices against the DRM crippled iPlayer?
so_solid_moo, are you still there?

ah, I'm _from_ the north of england, not _in_ the north of england
and no, I don't fancy bumping into mattl, i hear he's dangerous
(I _might_ go to white city)

mattl is in the channel! Heh, why is he dangerous?

have you seen him??

Nope.

ah, well then.

Not sure what that's meant to mean…

You going tomorrow?

Yeah, totalz.

Well, you'll see, then.
eek!

http://mattl.co.uk/img/ccc-me-and-foz-mlc-small.jpg
Left or right?

both.

right.

I looked very similar until I had a shave last night…

there's probably a "rawwr!" sound effect going on there.

actually, i was describing the role of Linux in the GNU system

http://allaboutmatt.com/drm.jpg - What you up to here?

he's sucking on a DRM mint

selling FSF stuff at LUGradio live and keeping an eye out for known hippies such as so_solid_moo

Freedom fresh, minty.

so_solid_moo is the reason why the Hurd isn't finished.

I also propped up the SCO lawsuit and am keeping the metric system out of use in the states.

Heh.

why do you hate freedom?

because the baddie is always cool.

would it be misrepresentative to claim that http://images.stockxpert.com/pic/m/r/ru/russian/79456_67960999.jpg is a who you speak to when you book for me for a speaking gig?
in reality, http://mattl.co.uk/benjamin-seidenberg.jpg is more like it.

http://www.detectiveboogaloo.com/images/BBWW/worselyfatww.jpg

does anyone know if there is a GNU dns client stub resolver that isn't glibc?

hi gnudists

not sure how to ask this concisely but i am building a secure linux web hosting system ala "Linux From Scratch" on an AMD64. I am having a bit of trouble with the /usr/lib vs /usr/lib64 directories
which in fact was my motivation to build my own linux distro since all of the other distros seem to have this problem too when building on AMD64

can someone tell me how to turn off RCS on a file?

but it seems that some packages like bin utils want to put everything in /lib and some like gcc put some stuff in /lib and some in /lib64
anybody know how to tell gcc and binutils and glibc to get on the same page re 64 bit library locations?
turn OFF RCS for a file? you mean revision control system?

yes

what do you mean by "Turn it off" ?
really isn't a switchable file feature you know

well, RCS watches a file for edits

no it doesn't :-)

is it only "watched" when the file is written to?

you are thinking of something else, CrackZmoQ something that probably sits ontop of RCS and watches for edits
no CrackZmoQ, you have to manually check files into and out of RCS
there is no "file watching" built into RCS afaik

right
ci, co

right CrackZmoQ

ok

so what are you trying to do?
check out the latest revision of a file from RCS and you can do whatever you want with it

well, i am watching a log fill with debug and info lines that only relate to the ,v file that was ci,co'ed

ok so you are watching a log

and im not sure why it is filling this log with this information

neither am i and since you have specified where and what the log is, i doubt i will ever know based on the info you have provided :-)
what exactly is it that you are trying to do, CrackZmoQ?
s/you have/you have NOT/

im having difficulty with nagiosgraph and have set the log level to debug to figure out what is going on, however, i ci, co'ed insert.pl just to managed changes
insert.pl,v $ $Revision: 1.1

i dunno what nagiosgraph is or if knowing what it is important to helping you CrackZmoQ

ok

but you are gonna have to be alot more specific to get any help i am afraid CrackZmoQ

ill do that if you give me time

ok CrackZmoQ :-)

thanks
the lines in the log are written every 30 seconds and do not change http://pastebin.org/495
ive removed the insert.pl,v file but i still see these lines, so i guess what i really want is for these lines to simply not appear

er what is that log, where is it located and who is generating it?
the log itself looks like what RCS inserts in a file that has been checked into it

sorry, this log is nagiosgraph.log in a /usr/local/nagios subdirectory and i believe nagios is generating it

ok so your question is really about nagiosgraph not RCS

i suppose, yet how is it that, as you say, it looks like what RCS inserts in a file

because obviously something is calling RCS
RCS looks for certain tags in files when those files are ci/co'd and replaces those tags with revision control information

i suppose so, however nothing in nagios or nagiosgraph uses RCS

so nagios is just feeding the proper tags to rcs to get that information back from RCS
if you say so, i haven't the foggiest clue what nagios even is CrackZmoQ

nagios is a network monitoring tool

however RCS is not a bot. Something has to be calling RCS
or it is also possible that it is not even RCS but just uses RCS format tags to be consistent with a popular revision control info format

RCS is not used by nagios… damn

anychance of their being a nagios forum that could help you?
for that matter is someone/something else checking insert.pl in/out over a network connection and nagios is simply logging that?

i hope not, but ill try #nagios as well to see what they think
although nagiosgraph is not as widely implemented
oh well
thanks for trying crazy_pete

well i am sorry CrackZmoQ

dont worry about it, ill figure something out

Anyone want to correct http://www.conservapedia.com/Free_software?

I really wouldn't bother trying.
you'll wake the "editors" up.

*shrug*
Maybe some people enjoy that

seriously, why don't you 'correct' it?

Because I'm doing a few other things, and their editing policy might say that I shouldn't edit it

naw i prefer to let conservatives sink on their own ship of dreams, why should i patch it for them when i enjoy watching them sink?

their policy is that people should edit stuff; however, from what I've seen, they generate nothing except extreme arguments

or to quote Napoleon 'Never stop your enemy when he is making a mistake"

But in this case, the article is correct other than that.

other than what?

referring to the operating system as Linux

so you want them to refer to it as "Gnu-Linux"?

it's a copy from Wikipedia.

GNU/Linux, yes

why not just paste the link to http://www.gnu.org/philosophy/philosophy.html

gotta run, bbiab

so nobody has any idea how to deal with this /lib64 vs /lib conflict generated on AMD64 machines by glibc/gcc/binutils?
or even if there is a more approp room in which to discuss it?
ever try to build binutils, gcc or glibc on a 64 bit machine, jrydberg? :-)

hello, is it possiable to make cpio pipe the data through an externel command before its finally written ?
i want to use cpio for backups and i like the fact that it will say when the medium is full for a /dev device
but i also want to pipe this data through openssl to encrypt it before its written to tape

matt_, I'm not sure whether you can do this for individual files in an archive, but you can certainly have cpio direct its archive output to stdout, in which case you can pipe it through openssl for encryption.

umm

micahcowan, the only trouble with that is if an archive is created that is larger than a single tape

it would make more sense to have cpio reading from stdin

it wont stop and ask for a new tape it will just stop

tape

i would like to encrypt everything that is backed up, encrypting files will be hassel
it really needs to go cpio openssl tape
is there any app that you can pipe data into and give it a device and it will ask for a new tape or floppy or whatever it the /dev device has run out of space but data is still being piped into it
?

matt_, well… if you create it first to a device that you're sure will have enough space, then you could use split… otherwise, I'm not sure

oh

lc2, I presume you mean to use cpio in append mode, then, running that pipeline once per file?

something!

i think that would be a really useful app to have
and also have it support the other way around, reading and asking for additional tapes if it gets to the end of the block device but not the data stream

is there anyway to make automake have nicer output? so its easier to spot warnings and stuff

Can you browse http://gnuherds.org from your PC? I am updating the DNS server. It has been out of line for several weeks.

seems to work

does it have to be https - I can't compress ssl on my network

http://finance.yahoo.com/q/bc?s=SCOX&t=5d
^ = makes me happy

, (* 45000000 .48)

21600000.0 ..(float)

cost to buy SCO

thanks Gothi[c]
cpc26, it is https to avoid the cookie of the PHP session being stolen. It is a security measure. Any suggestion is welcome
ucpc26, it is https to avoid the cookie of the Hosting with php support session being stolen. It is a security measure. Any suggestion is welcome/u

don't track user information and use OpenID

let me google for it

umm
one way or the other, session data is being stored

lc2 lc2 lc2 lc2 lc2 lc2

tech tech tech tech tech

why does the site require that session and identity has to be so secure?

cpc26, to avoid the PHP cookie session be stolen by a man-in-the-midle attack
cpc26, The gnuherds project has taken note about the OpenID previously. It is an open task to analyze. https://savannah.nongnu.org/task/?6782

davi, yeah I get that but what would they do - modify my resume?

cpc26, log in and do anything with your resume, etc. For example, add a job offer with your account/name, subscribe to others people job offers, etc.
The JavaScript removal task is the priority now, and then ask to RMS to try to move the hosting to FSF hosts
The analysis and design of such task is 100% done, and the development at 75%

javascript removal?
make it so it doesn't *need* it, don't remove it altogether

I meant "JavaScript requirement removal". javascript host browser support is required at the JobOffer and Qualifications forms

ah

Howto switch the SCIM language by changing the env variable or shell commands?

davi, why is this using the old collect my email central storage model - why not a decentralized model? You could have it post to distributed sites, the users could keep their own identity and resume. You could even use GNUnet and advertised namespaces. Just throwing it out there…

cpc26, The "central storage model" is used to enforce the Free Software rules, as do not post joboffers which promote proprietary tools. With the current design, the joboffer will not be blocked, just the proprietary tips will not be showed in the post. Her ouwner can see and edit it, but is is not shown at the public post. That is a RMS requirement.
cpc26, About the "collect my email", it is the easier way to be do an identity. Anyway, comment are welcome. Maybe OpenID will be right, but now there is not developers to analyze it
bye, Anyway I will read your comments at here or at http://lists.nongnu.org/mailman/listinfo/gnuherds-app-dev

ok thanks later

hi gnudists

ña jemarch

Comments

Can someone explain to me why emerge –oneshot =media-libs-sdl-image-125-r1 =dev-games-clanlib-078-r2 =media-libs-sdl-sound-101-r2

there's no errors there except for xfce4-session segfaulting

OK, show me /etc/xdg/xfce4/xinitrc. We need to know what's being run on line 77.

ishino, everyone has to be a gentoo ricer once… otherwise they wont learn

how i can set crontab to run my app one time for hour all days

DrChandra:
http://rafb.net/p/GuM2zL98.html

its okay, I consider the source

BTW, the EE line is any line in xorg output or logs that starts with "(EE)". It's an error.

I consider the source with alot of people anyways, as they probably do as well, I'm not sure what that rsync issue could be
maybe I should try another rsync for now

Hey. I'm trying to compile a 2.6.20 kernel, but I can't seem to be able to find the IOMMU setting, I've looked everywhere in processor type and features, the search function says it should be there, but it isn't

Hello! I'm having problems installing 2007.0 amd64 version in my system, it doesn't extract perl, can someone tell me where can I get another stage tarball?

WHat does `which xfce4-session` say?

Zoo-, what are you trying to do and whats happening?

Zoo-: I'd avoid setting specific mirrors unless you know they are really trustworthy. a safer option is probably to set it so that you make use of a regional pool of servers such as rsync://rsync.namerica.gentoo.org/gentoo-portage
(for North America)

gentoo, are you trying to untar the stage3 package?

I'm using livecd

burkhardth@localhost ~ $ which xfce4-session
/usr/bin/xfce4-session

It stops in perl

gentoo, are you using the GFX installer or the text based installer?

OK, run /usr/bin/xfce4-session

Both have the same problem

Segfault?

Zoo-: they're listed in make.conf.example

yes
burkhardth@localhost ~ $ /usr/bin/xfce4-session
Segmentation fault

gentoo, http://www.gentoo.org/doc/en/handbook/index.xml follow the guide… the installers are broken

Hmmm. Well, we could just re-emerge it, or try to debug it.

gentoo, think of it as your white rabbit

SwiftJim? If I get another stage tarball, I think the problem is fixed

i did both
i didn't compile with debug

I searched in mirrors but I can't find

and it would be futile to

We don't need debug code.

Or try with a new user to eliminate possibility your user settings (~/.config, ~/.cache) are causing it..

and the re-emerge didn't work

Emerge strace, and run "strace /usr/bin/xfce4-session"

gentoo, nope the installer are _BROKEN_ they will _NOT_ work ever no matter what you try

I"m gettin these dang.. rsync error: recieved SIGINT, SIGTERM, or SIGHUP and erroring

nope

dang it, my luck go figure

You said root can run this OK?

gentoo, sorry the hand book is the only/best way to install gentoo

different user didn't help
aye

But the graphical one gives me the option of selecting a stage from the internet

yeah, thats what I been reading SwiftJim

Is there a ~/.gtkrc-2.0 file in your homedir?

Root isn't running some other environment than xfcs4, is it?

I tried once reading that manual with minimalist install but I had problems

I'm about ready to say hell with it

gentoo, it will not work.. trust me i've tried to get it working

just better stick with my mixing and stuff

Allright, thanks

Please don't spread such FUD. While the installer has its problems, I've heard of cases where it does work, so it can't be totally broken.

Zoo-, can you ping www.google.com ?

I've been able to get good installs from the GUI. I had to be careful, though.

hey all; does anybody have an idea why mplayer ignores my font settings? (-font argument)
it used to work, no it does not

yes I can ping google

AllenJB, really? who? when? I havent heard of any one competing an install with the GUI. if you know someone id love to talk to them.

*now

burkhardth@localhost ~ $ nopaste ,,strace-xfce4-session.out
http://rafb.net/p/71kBIo85.html

Zoo-: did you see what I said about setting mirrors?

YOU're looking at one.

I still find the handbook the best way but I have had successful GUI installs

aye there is

I downloaded the stage, and portage and everything, I don't know what the hell is up with this. and I think I"m wasting my time

does removing it help?

don't tink so

nope

Line 412. /dev/zero is not writeable.

um?

oh this? Zoo-: they're listed in make.conf.example
wheres that located

chmod 666 /dev/zero

hrr

Zoo-, probably near make.conf in /etc

done

Then try /usr/bin/xfce4-session again.

Zoo-, do u have /proc and /dev mounted?

burkhardth@localhost ~ $ /usr/bin/xfce4-session
(xfce4-session:8963): Gtk-WARNING **: cannot open display:
well blimey
brb

PLease don't paste here.

startxfce4 now..

Now you know why strace is one of my favorite tools.

okay I got it working now

well i'll be blown

I went ahead and used this 1, SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"

/dev/zero … whoda thunk it

I just said heck with it, use what farrioth gave me

thankyou, i love you :p

I've seen it a couple of times.

now its working nice
and now its deleting stuff

but it's insane!

of course I have them mounted lol

Next time you see a segfault from anything, put strace on it.

wow, its going through and deleting a bunch fo stuff
is it suppose to do that? o.O

Zoo-, yea it deletes the old versions of packages

oh okay
now its updating portage, ^_^

where are you in the install?

it tells me that there is an update to portage, etc etc, please run ' emerge portage', I'm going to go ahead and do that eh?
but then it tells me, and then update all your configuration files

You'd think /usr/bin/xfce4-session could do something other than segfault when it finds it can't write to /dev/zero. Like print a message?

what a biatch :P

How do you run openoffice? _

Zoo-: Yes, go ahead.

I just got done emerging it

Zoo-, go and get a hotdrink and carefully update the files

It should have added some items to your program menu

I do not have to include the " ' " do I like ' emerge portage '
no ' right

right

oh yeah it did… how do you like I use gnome?

what you talkin about, I feel like opening 1 of my Corona's
anyone want 1, ^_^

I don't use gnome.

Zoo-, slower is better..it might not be that important during the install but once u have a running system you can brake alot of stuff by rushing etc-config

doing emerge portage
well thats done

omg the new openoffice is ill

no outdated packages were found etc etc

it needs hospitalization

Zoo-: Save the Coronas for yourself. You'll have more reasons to celebrate, soon.

told me though, Important, 2 config files in ' /etc ' need updating , type emerge –help config to learn how to update config files

hi

Zoo-: man etc-update

ah hee :- )
I got plenty of them
24 Case, at Sams for only $23

Don't save Coronas, send me some!

^_^

Dos Cervezas, Un Dolore!

hello

have smirnoff Raz in there as well

hi

help

The cry of the drunk person in Tijuana

how is gnash working? Can I watch youtube?

lol

humenity, use flash

I know some spanish, but can't really write it

I need help with wy external hd

rofl gnash
download flash for linux from adboe.com

I have youtube working with mozilla-firefox

I am still studying as well, learned how to count to 1,000 in no time. its pretty cool, know the days of the week, months etc..

adobe.com*

or just emerge -av net-www/netscape-flash

gnash is for like poor FreeBSD users

you have YouTube working with Gnash?

No that's not good

thanks for that btw, MilhousePunkRock

no ?
hmm

That'd dependant on OSS

my ***

that's so anti-GPL, I am hardcore orthodox extremist open source insurgent. What you just said can't do it here

The linux flash player from adobe.com uses ALSA

hehh
dikk
i tought this is from adobe.com
http://www.adobe.com/

It's probably too old kexman

Zoo-: Be careful though, the first time I used that after the initial setup, all bash colors were gone, among other things

barnaba, its flash 9

ah dang..

It is flash 9… but OSS dependant flash 9… no good!

mysql doesn write to the logfile

barnaba, i dont have oss … maybe alsa oss emulation

go go humenity !!

what to do?

as Linus and the looney said, war against Flash

not if they come here first and learn not to rice

ehh im fine with it
have other thgins to attend too then watch flash

I am pretty sure every single Gentoo dev is ricer, you konw in the downlow ;-)

there is a newish (few weeks old) flash 9 beta with alsa support, looking for a link now

ishino, lol even if you tell them they will still go and do it until there system wont boot and there disk borked and there is no easy way out but reinstalling… then they will understand the importance of not ricing

there are awsome instructionals in youtube too

I doubt it. They don't have time for it.

is not all webcamwhores doing the booty dance

esd's a b**** ;/

youtube is the reason why people that can't even spell linux have to get beryl

hehehe )

YOu don't need berly to watch youtube.

mehh i installed beryl for couple days

Or beryl

that'd happen to those who don't want to take advice from others and don't want to listen to someone with potentially more experience in the field…you can't teach those anything, agreed

Youtube is freakin' great!

Yeah, but those kids see it on youtube and want to have it…

I watch all the old stuff on it

doesn't mean one shouldn't try to convince them…

old music videos, old TV shows…

Ah, ok.

barque, and that is related to the topic how?

bit`: they were bashing it

ishino, lol true… i read a great thing the otherday about how the devs are not trying to make u run a slow system when they filter cflags but they are trying to help you… it was very funny

Everyone has to start ot somewhere. When the adrenaline wears off, they move on to greater things.

and besides, what's bad about Linux and Beryl becoming popular?

Ever been to #beryl? 9/10 people seeking for help in there have no idea about linux

okay, I copied and wrote all of etc-update down in my gentoo notes

flash 9 update 3 http://labs.adobe.com/technologies/flashplayer9/

geez…you're one of them too?
the ricers?

ishino, no i _was_

look, there's no reason to use weird CFLAGS in order to speed up anything, unless you really know it gives you an advantage

where'd you read this story?

what do you mean ricer?
are you stereotyping people by saying that?

ishino, im happy with '-march=k8 -O2 -pipe'

guys

and it's very rare that "overoptimizing" really does speed things up, you might even get the exact opposite effect (including breakage, instability and all that)

Maybe I'm missing something, but I don't go for the eye-candy items like beryl. I'd rather focus on the contents of the windows, the source code. That where the Linux is.

have you looked to that netscape-flash ebuild ?

Zoo-, http://en.wikipedia.org/wiki/Rice_burner

it downloads the latest from macromedia.com

USE flags are the key, not CFLAGS

so what is the problem with that ?

some well-placed eye-candy can make things easier to use, but I tend to agree with ya

beryll only made my work slower
to much eyecandy

ishino, yea i go with that after reading the articles done by the dude who wrote accona I dont think im smart enough to try and optimise my system

do you think I should run etc-update SwiftJim, or take a look at /etc/etc-update.conf , and /etc/dispatch-conf.conf and take a look at my make.conf before I do a etc-update?
or don't do 1 at all for right now

To me, Beryl is just a good demo of the technology, not actually usable.

Zoo-: A ricer was originally someone who would buy a cheap car from Japan or Korea, and spend years and 1000s adding useless modifications to it. Lately the term is being used to describe people who do the same to their computers. Gentoo is often said to be their OS of choice.

"ricer distro"

hays, to me Beryl kicks ass! and I can't use it because of my graphics chip :'(

that Dodge Neon has a 2.0 Liter DOHC in it..
I am getting ready to hook up this 1995 Eclipse

Zoo-, the key with etc-update is to keep the files that you have changed and replace the ones you haven't changed. the hardpart is when there is a big change to a file you have changed
uZoo-, the key with etc-update is to keep the files that you have changed and replace the ones you haven't changed. the hardpart is when there is a big change to a file you have changed/u

and that's exactly where the problem starts…Gentoo has this image, because of the few advocating it based on false claims

http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz this is what that ebuild downloads guys

has a Chrysler engine in it
the neon, and the eclipse

so dont argue with me that net-www/netscape-flash != adobe.com flash
grrr

and even the Evenger and so on

I think the advantage of Gentoo is a high degree of configurability built into the distro

usa cars hehe -)

humenity, barque im talking to you two

I beg to differ and question your statement. Have you seen Minority Report? That's where standard GUI is heading to. And this is innevitable/unstopabble technology.

brb

hays, meta distro
you add what you need
you dont have a bunch of useless crap on your server if you dont need it !
its simple

you are kidding right?

Right, which is why I don't care for the term "ricer", and I try to get people to see past the eye-candy, speed freak, overclocking stuff. It's not valuable.

kexman, I emerged it and sound didn't work
then I dl'ed it off their site manually

what is the difference between RSYNC and SYNC int make.conf?

http://s115.photobucket.com/albums/n312/clintsnet/?action=view&current=1995EclipseMidRightCornerViewBefore.jpg

and it worked!

hehh
barque, so stange since you downloaded what the emerge downloads !!!

people choose to do what they want to do,

take a look

everybody emerge now glib and gcc is so fast .

But allowing people to start out with that, and then helping them grow into developers … THat's something worth doing.

second that

kexman, I refuse to believe you, must keep head in ass! _

barque, dont say bad words please

sovopero, ok sorry

I wonder what 2 files were changed

I started out with a soldering iron, and grew.

http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash go there ! you downloaded the same tar.gz file that the emerge download

barque flash uses oss emulation under alsa, as long as that works, then the ebuild should work.

Hmm I'm not sure if I have OSS emulation on
I do have ALSA

* instead of that word

let me check distfiles
yep, it'd got the same one
my whole world of flash knowledge has no collapsed X{

i repeat everybody now emerge Gcc and Glibc )) is soo incredible fast

now*
does emerge normally keep the unpacked source files?

yes

emerge –clean?
or something?

do it in make.conf

barque, not the unpacked ones

rm -R /var/tmp/portage/*

and find the Auto clean parameter

yeah, it does.. take a look at eclean if you want to clean up the distfiles

/etc/make.conf

I removed all the distfiles

yes that

gotta love this USE flag in xpdf "-nodrm"

I'm looking for 'work' directories

/etc/make.conf

ok kexman, how do I deal with it now
emerge clean ?

yeip
or do a emerge world

it won't recompile or anything … will it ? :/

what do you need to delete ?

its more sexy too^^!! u do 2 things in one

use -a (ask) if not sure

kexman, I emerged openoffice

and ?

by default, /var/tmp/portage/*package*/

lol
the source is like 120 megs

waited 1 day

packed

what ta fu..??? like 1000 hours compiling glibc im go to die

cruft is left behind there where i wrote it to you and where xsappyx wrote
in /var/tmp/portage

what is the difference between RSYNC and SYNC in make.conf? thanks.

man make.conf may help

umm /var/tmp/portage and its contents look rather tiny

hi wondering if gentoo offers support for amd64?and what problems might be encountered?

so I probably DID install 6.9 gigs worth of programs (and growing)

WaxyFresh, check out #gentoo-amd64… has a faq IN THE /TOPIC

lol never mind found #gentoo64

opps, caps

What CPU do you have?

or maybe not…^^

man this installation takes forever lol

gentoo-amd64

going through the handbook..

I am doing such an installations

Zoo-: The first install takes a long time, but once it's done, adding other small things doesn't take so long.

barque, try emerge -p –depclean

DrChandra, pD 9xxx 3.0gh

but be carefull

do I need to change my profile?

DrChandra, im been sarcastic this package take a while in all machines

installing gentoo though, is so overwhelming

openoffice is great but waiting 1 day just for a wordprocessor -(

Zoo-: Think of it as building a house. Yes it takes a long time, but there is an end to it.

yeah, I been lookin at it like that

DrChandra, more like a castle

but theere is the bin

/etc/make.profile , do I need to change anything?

and abiword

yes

Zoo-: YOu could use eselect to do that.

Zoo- whats the output or readlink /etc/make.profile say?

Zoo-: And don't choose 2007.0, but 2007.0/desktop instead.

i know before how i can grap and awk things in one awk command.. does somebody know how to do that?

is grep
HyperDevil, grep?

jepp grep

use |

its, ../usr/portage/profiles/default-linux/x86/2007.0/

Yes, use pipes

command | grep xxxx |

how do i get ndiswrapper automatically loaded in gentoo?

but awk can also grep… i dont remember how

Zoo-: Did you set that?

HyperDevil, use pipes but dont smoke it

nto sure
not*

#awk might know

Add it to /etc/modules.autoload.d/kernel-2.6

lol ok ill try

Zoo-: OK, a lot of poeple have problems with that profile, and I was wondering if the default install chooses that or something. YOU need to change it to 2007.0/desktop

path/service.log). Is there a way to send output to a file when using –background?

ah

its been a long time since i dont update on tts systems… is festival still the best, what do you guys recomend?

Zoo-: cd /etc ; ln -s /usr/portage/profiles/default-linux/x86/2007.0/desktop make.profile

done, creating symbolic link ' make.profile/desktop' : File exists

Zoo-: use eselect profile

redirect in there?

I need to take a break :- )

thanks it works!

I'll try that, thanks

Zoo-: OK, but this needs to be fixed before you compile anything else.

Hey. Is it possible to get kernel 2.6.22 through portage?

I typed what you said

hello, as we are speaking, i am loading gentoo 2007.0 livecd, sync normal. approx, how long does this take? AMD64/300+)

ls -hal /usr/portage/sys-kernel/vanilla-sources

Zoo-: Are you in /etc?

No, doesn't like it. I have a few arguments I need to pass in and start-stop-daemon complains about them being there.
start-stop-daemon only likes then when I specify them after the trailing '– '

sorry, can't help.

ok, thanks

look in masterdriverz dev overlay

"loading" has a lot of meanings. Are you booting it? Downloading the image? Loading a tarball from it?

AMD64/3000+ w/1.5GB RAM

Anyone else?

Is there a way using Portage's Python modules to get a list of installed packages?

emerge -ep world

No, I mean within a python script.

check out gentoolkit and then equery -l

i downloaded the stage3.bz2 on a CD earlier and am using it, sync/portage normal was chsen

I need to separate the category/package part from the version part.

#gentoo-portage

Python can't spawn processes and parse the output? Oh dear.

yes i'm in /etc
but I really feel like taking a break, and relieving myself

Well, it can, but I don't want to spawn two Pythons that each have to parse the Portage modules.

this makes me feel like going on a break from computers, for 6 months

Zoo-: We'll be here when you get back.

and yes i'm in /etc
I was getting some food

2.6.22 is in vanilla-sources
up to rc7

what are you trying to do

xsappyx, DrChandra, thanx, I've found it, installing it now.

i normally use slackware but, have decided to use gentoo amd64

I'm trying to make an app that will create a list of all the packages on a system and send it to a server.

its just way too much stuff

Either for people with lots of Gentoo boxes, or for users who want to share the list.

you should like equery then

Well, I need some way to split the versions off.
And preferably sort them.
Hmm, maybe I can do that on the server.

I think I was better using debian. because gentoo, you need to be super xprt

Is there any package with Gentoo's portage python modules available outside of Gentoo, so I can use them to parse package names on a BSD server?

according to the system's monitor, i am download and syncing the portage tree

I'm going to something more i can do

im not sure, the python scripts should work everywhere, but they will complain when they find missing files / logs / etc

I'm just using the portage_versions part to compare and split up things.

I am trying to set up X on my 1024×768 laptop screen but it will only go up to 800×600 - the log says "insufficient memory for mode" but I know it has enough because I've run X on live CDs
the chipset is "Chips and Technologies" so I've used the "chips" driver in xorg.conf

is there any difference between RSYNC and SYNC (make.conf) ?
aren't they the same thing ?
I can't find anything about it when searching.

i dont see an RSYNC option in man 5 make.conf or in make.conf.example /shrug

R is for race
jk

So it is possible that RSYNC doesn't exist simply.

indeed, for make.conf you use SYNC

seems to look like it

Maybe your xorg.conf specifies the wrong amount of video card memory.

OK, Thank you xsappyx and yngwin

according to the system's monitor, i am download and syncing the portage tree

What kind of difference would the march= do if it was set at i686 for a Pentium2 laptop rather than set to pentium2 ??

they are not being helpful in ##hardware please someone what brand/which one do you reccomend me from this page? http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=2010190020%201309822582&bop=And&Pagesize=100

DrChandra, that was my first suspicion too, but I've never had to specify videoram on any other system to get it working - at any rate I tried several different values to no avail

I sweart to god I will use it with Gentoo

Probably not a major difference. The code just won't take advantage of CPU specific optimisations

is there a RAT dvd player available for linux?

Is your network slow?

is it possible to setup personnal permissions for users home directory just after you create the user ?

There is a "VideoRam" setting in xorg.conf. CHeck that.

cable modem/386kb

thanks. I've been running Gentoo in CLI only for … 85 days straigh on this laptop (I PuTTY to it) and just realized the march was set to i686 rather than pentium2. Compiling anything though… takes a while. glibc for instance… about 10 hours.

will xorg.conf not autodetect this vidram?
or xorg

Did you go through the mirror selection steps? Maybe you're trying to use a slow mirror.

DrChandra, that is the setting I tried different values for - too high a value caused a garbled screen, too little seemed to make no difference

Happy 4th!

what are you trying to do?

I believe i did, that is when I chose the stage3.bz2 that I downloaded earlier on CD, hoping it would help.

lshw might tell you. Look for a "*-display" entry.

bvq, I just instaled gentoo on a pentium2 laptop as well, but intentionally left march=i686 to more easily use distcc and have my others boxes compile for it - do you think changing to pentium2 would give a noticeable speedup?

what livecd works? boot that back up and look at the xorg.conf that gets created on the livecd and copy it somewhere? just a thought

is a p2 a 686 then

lspci -v will probably tell you more.

I've no idea. All I know is this P2 is bloody slow haha. I dont even want to try to get X on it

i think not

I think a P2 falls under 586

ok

no, p2 is 686

T'is?

pentium-pro and higher are all 686

DrChandra, lspci told me the video card has 16MB ram which is surprising, but I tried it anyway (didn't work)

thanks.
Does this mean only the original P falls under 586?

OK, maybe the vesa driver is being used instead of the one for your card?

on the "sunc with portage tree" page, i chose normal. I am asking because i am used to slackware. A firend told me he started his and went to bed…

yes
bvq, yes

Cheers mate.

/etc/make.conf.example in the -march section

p pro , its sounds so fast, but its so old -)

what about?

I don't know what to say. If you're just doing an emerge –sync, it should take just a few minutes.

just pointing to a place where there is more info for the different march types and what what they mean

ah

ok, thanks! This is a different way of doing things but, i heard that it is well woth it in the end

hey can anyone talk me through accessing shared documents ok my other windows pc from here, ive got samba, butthats about as much as i know

butthats..

you want to run samba on windows? whatever for?

nono
i have samba on this pc

you are trying to access your windows pc from gentoo?

tehdavid either nautilus or konqueror should let you do it in a gui

Windows already has what Samba does.

yes

yeah

Can someone explain to me why `emerge –oneshot =media-libs/sdl-image-1.2.5-r1 =dev-games/clanlib-0.7.8-r2 =media-libs/sdl-sound-1.0.1-r2 =media-gfx/gphoto2-2.3.1 =media-plugins/gst-plugins-musepack-0.10.4 =media-sound/lilypond-2.10.25-r1 =gnome-extra/gtkhtml-3.6.2
=media-video/mplayer-1.0.20070622-r1 =app-office/abiword-2.4.6' starts off emerging emacs?

please 2 use pastebin

Hmmm, lemme look

Does anyone know how can I force gnome-mixer applet to show up ?

you should be able to just as tdr says..
do you have the windows partitions shared out?

DAudioLink lilypond has an emacs flag

Sorry. .

im not sure what u mean

env USE="-emacs" emerge blah

in windows in order to access the files from another computer.. you need to have them shared out.

… That'd be a good reason to emerge emacs…

DAudioLink if you dont use emacs, just add -emacs to the USE line in make.conf

that will only do it one time. I'd set the flag either in make.conf or in packages.use

yeah i hve them shared so that i can acces them from other windows pc's e.g a laptop

yes

tehdavid do you have either kde or gnome?

in those browsers we mentioned you can type out the ip addy
and it should work

kde

tehdavid, ok, in konqueror, smb://ip.of.winows.machine
tehdavid, you probably need cifs support in your kernel config for it to work tho

it says protocol not supported smb

a new kernel it is then

tehdavid, did you genkernel or did you config thekenrel by hand?

genkernel but checked some stuff with the –menuconfig flag

just do genkernel –xconfig

Any ideas why the new kernels are all keyworded?

or make xconfig

Sorry, lost my connection for a sec. Did anyone respond to me?

where is the option for cifs?

network file systems

when in doubt, just search with /

Sorry, I see you getting disconnected about an hour ago. YOu didn't say anything before that, going back two hours.

Oh, geez. Let's try again, then:

VLC can't display a .avi, and with totem and I view it, which thing need I to re-emerge ?

Maybe that's why you didn't get an answer.

add "win32codecs" to make.conf

cifs has a circle in it, and cifs extended attributes, and POSIX extensions both have ticks in

How long has autoconf 2.61 been stable for x86?

tehdavid, ok cool

does that mean i have cifs, but the problem is with the smb protocol?

I have alread win32codecs

depends if you compiled and are using the kernel or not

tehdavid, ya, your kernel supports it, the software isn't. looking for a package with a flag you may have missed

oh

I'd look in gentoo CVS, and see when the ebuild file was changed from "~x86" to "x86" in the keywords line. The checkin comment will probably say something about stable on x86.

mb do a equery uses vlc

9 2006 UTC (6 months ago) by

sorry for being a noob but could you please explain a bit more . . .

488397168 sectors and the like, doesn't appear. The drive doesn't get mapped to /dev/sda at all, so when I try mounting /dev/sda4 to /, I kernel panic. Any thoughts on this?

hi, does anyone have a core 2 duo E6250? I'm wondering what march cflag to use

I assume you want CIFS for Samba? DOes samba have a CIFS useflag? Is it enabled?

Mmm. It's not that important, it's just I was trying to run revdep-rebuild last week and emacs-22.1 wants autoconf 2.61 and emerge -pvu autoconf was saying 2.60 was the latest out.

the gentoo wiki says prescott, but i've been told not to,

tehdavid, looks like a package konqueror would use to access windows shares wasn't built with the right support turned on

uses are good

ok..then im out of ideas -)

right, so the package would be samba would it not?

Samba doesn't need CIFS support it *is* CIFS support.

jef`: -march=prescott -mtune=generic

Try this, add cifs to your make.conf and try an world update. See what happens.

will that take a while

Not if you prepend -p to it.

tehdavid, looks like kioslaves has a samba flaf, check the output of emerge -vp kioslaves

no. Just check for updates, dont do any of them unless they soundn useful.

just run vlc in terminal & see what it says

tehdavid, you could also try putting samba in your USE flags and emerge -vpDNu world to see what would change

jef`: http://gentoo-wiki.com/Safe_Cflags#Intel_Core_2_Duo.2FQuad_.2F_Xeon_51xx.2F53xx for more info

-.-… If I do emerge =sys-devel/autoconf-2.61 will that force an emerge of autoconf 2.61?

jef`: mtune generic turns off chip-specific tuning since the prescott tuning is incorrect for the core2duo

DAudioLink yes

Yes

Yes.

can anyone help me make my xorg faster ?
seems slooooow

So thats a no then. ;d

define faster.

paint racing stripes on it and drill holes into the exhaust ;-)

LadyNikon, like it was faster then it is now and i felt it then run glxgears and it told me that its about 2000fps slower ….

x11-base/xorg-server-1.3.0.0 failed.

what has changed?

you'll have to tell us WHY it failed

no idea.

LadyNikon, kernel … xorg settings … beryl installed … then i didnt liked it … wanted to move back and binng … i am here now

gentoo?
ebuild.sh, line 1642: Called dyn_compile

its all in google

Should be a line int he compile processs that sais so

I've noticed having the composite extension loaded makes things slower.

365 packages have come up wanting an emerge

siskmarek, that was i told
so i removed composite extension loading

Damn this typing on irssi on a slow ass P2 through PuTTY is laggy.

/usr/lib/libXfont.so: undefined reference to `ft_isdigit'

http://rafb.net/p/iCPM9T76.html this is my xorg

Gah! It's masked and emacs-22.1 requires it to emerge. Fsck it, I'll just turn off the emacs use flag for lilypond.

ah

ah ?

Thanks to everyone who helped.

oh ?

you can unmask

uh ?
ih ?

there is a guide that tells you how to unmask

I know, there's a bug listed as the reason for the mask and I'd rather not unmask a bugged package

unmask what ?

P2, wow

good call.

hauahuahuahuahuahahuahaXXXXhahauahuahahuauhuahahau
hahauahuahuahuahuahuaXhuXXhuXhahuahuahuahuahuaahua
hauaahuahuahahhauahuaXXXXXXXXhuahuahuahuahauaahaua
hauaahuahuahuhauahuahXhaXXhaXhuahuahuahuahauaahaua
huauhuahahauhahuahauhuaXXXXhuhuhuahuahuahuaahhuaha

wow iq just stopped by like 100 in the channel.

[VASCO]AsTTrO: fag

!op

Please don't feed the trolls

sorry

hmm, dunno.

stoped? You mean dropped?

…is this amateur spam day? :p

googla don't have anyting about /damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../dix/.libs/libxpstubs.a ../../os/.libs/libos.a -ldl /usr/lib/libXfont.so /usr/lib/libXau.so /usr/lib/libfontenc.so
/usr/lib/libXdmcp.so dixmods/.libs/libxorgxkb.a -lm

Heyo all! Another box of mine has suddenly, automagically, stopped responding to keyboard presses. Wtf, mate? Help?

/usr/lib/libXfont.so: undefined reference to `ft_isdigit'

reisio, ya, not even decent script kiddies

ld returned 1 exit status
make[4]: *** [Xorg] Error 1
screen?

pastebin or nopaste that

why do you have a DRI section if you have an nvidia card?

hmm

bvq url?

not sure

ahoi ppl

chovy, What?

of course

so sad :p

i dont need it ?

locally? or over network? X or Terminal? Does it still live?

http://www.rafb.net/paste

how do i pastebin in here?

www.pastebin.com www.pastebin.ca not sure about the nopaste URL though.. raft something

so, does anyone have any ideas about my network problem?

siskmarek, i am 100% sure i had that before and that wasnt the problem … 100%

kexman it may not be a problem, but it isn't needed.

question i installed quake3 and it uses oss yuck i want to simulate /dev/dsp added it to my alsa modules conf file the alias blah to blah thing but still no /dev/dsp and no sound
anybody got a idea ?

quake3 uses alsa by default now

mb allowglxwcomposite

siskmarek, okay

isnt needed

saschahl, Ah! Locally. I'm not sure I ever bothered to set up ssh on it. Testing now. It responds to mouse events. It's in X right now (wdm login screen), but doesn't respond to things like control+alt+backspace

what else can i take out … add ?

& causesprob

w00t :/

do you have /dev/adsp?

http://pastebin.com/942100
there it is

can you control+alt+f1? and you don't have ssh?

wont work on the lapto
laptop
let me look
one sec

are you using screen?

damn how could i be so stupid not to make a backup ?

no dev adsp :/

does alsa work on the notebook? then quake3 should work out of the box, too
if you emerged it

alsa works fine

"When in panic, when in doubt, run in circles, scream and shout!"

are you sure you have the alsa modules with OSS emulation ins talled

can watch movies listen to musc etc
yeah i did

saschahl, Can't control+alt+f1. I think I do have ssh, but I'm not sure of that box's ip address host .

do you think i need to re emerge alsa ?
i mean quake /

chovy, No? : )

Can you start a new session in kde/gdm? That starts another X server. does the keyboard work there?

test it

LadyNikon, any idea about that xorg ?

i have 6600 too & allowglxwcomp has no nee
dd

run Quake3 ?

did you emerge quake3? from source, of the -bin?

quake3-bin

do you have mplayer

saschahl, Can't start up any window managers ’cause the keyboard doesn't work.

yeah that all works mplayer audacios:P

in kde I can choose the start-new-session menu entry with the mouse

try mplayer -ao oss

saschahl, Huh. Doesn't seem like wdm has that sort of option.

maybe you should

maybe quake3-bin does not have alsa support. but the quake3 ebuild has for 100%. no oss required

quake3-bin
cool ill check it

excuse me, can someone help me with a little doubt i have about installing gentoo?

ill try mplayer too quickly

I'm having a problem with nano. Whenever I "nano" something, and I press keys in the editor, it prints the raw keyboard codes like so: http://i17.photobucket.com/albums/b100/photoricon/wtf.gif I'm pretty sure it has nothing
to do with nano…actually, but I would like to know what's up.

just ask …

sure

chovy, How would that be helping? : )

do i need to do anything special to get my new ati card to work?

It's any keys at all on my keyboard.

might keep it from locking up.

is it posible to install gentoo to a hard disk form another OS like hubuntu?
Kubuntu*

are you still logged in?

saschahl, And the keyboard works peachy keen in grub, so it's not likely a hardware issue

yeah, take the quake3 from source, not the -bin version, that's pretty old

echo $TERM

mplayer -ao oss doesnt work

I have this sometimes too, it seems to be an X.org issue

but i didnt install the mplayer with oss i think

chovy, Nope. It's not locked up, either, that's the weird part. It responds to mouse events fine. It just ignores the blooming keyboard.

then you don't have alsa OSS emulation installed properly

is it plugged in?

sometimes switching to a terminal and back to X makes it alive. or waiting. or killing as many apps as possible

saschahl, … Yay : ) I wonder if there's a way to stop xorg from loading as the comp boots.

yes, that is possible

Is it posible?
a ok
well
then one thing

chovy, Yup. And works while I'm in grub, so it's not likely a hardware issue.

i didnt emerge it with oss

that's the "alternative" installation method

mplayer i mean

i see
kde?

if i am in my kubuntu, is it necesary to activate the new swap partition?

oh? and it's always after rebooting? thought it happened suddenly during being up

or its just neede if you are using a gentoo CD?

afaik if you have oss emulation enabled you would see /dev/dsp and I think also /dev/adsp

so it never works in X now, even after reboots?

what is your term set to when you do that?

is it work when you boot up to prompt-only? no gui?
/^is/does/

saschahl, No, it was a reboot thing… But now, after a third reboot, it automagically works.

ill check

s/^is/does/

you usually don't need the swap partition, but you can enable it if you want

xterm?

chovy, It's wdm, my graphical login manager. (Snazzy little thing. Minimalist

How would I set it. I forgot the file…

i don't need it? even though the pc that hdd will be in has only 128MB of RAM?

There should be no need for OSS emulation anymore. Almost all apps can use alsa, including quake3

but if you don't load a gui on boot, can you still use your keyboard? trying to determine if it is your os or your desktop gui.

cat /proc/driver/nvidia/agp/status
Disabled
dikk
found my problem

saschahl, *shrugs* I'll have to tinker with it. Perhaps it's something with wdm… That's the only thing I've changed lately.

i mean, right now i have my swap partition of my kubuntu system

anyone good with asoundrc configuration? I've been trying to use a ladspa plugin as a lowpass filter but I get this error message when I use that pcm: http://rafb.net/p/qsdUOj31.html

its an environment setting, you can do an 'export TERM=xterm' and then try nano again

ill rememrge the masked quake3

I find it handy. for example, I am using it for vmware right now

but i created the one for gentoo

not the quake3 bin

kk, I'll try

whats the difference between dev-python/pykde and kde-base/pykde

doesn't matter then

chovy, Aye. It's working now, I'll have to tinker later: I've got to take a shower now, while I can, eh? : )

do i have to activate it to make it work? or why is this activation needed?

mkswap ?

is there a description?

) I'll remember some of these solutions when next it happens

same description

Nope, it still prints keyboarding codes.

right, vmware is still an oss app. :-/ but to run it with aoss you don't need oss emulation in the kernel.

I apologize for asking this. But,

nop
swapon

how do i unmask a package soz im stil a bit new to this

check bugs.gen2 — seems like a rather ambgiusous situtation

yes ok

GAH!

how do you unmask packges ?

It's a nano error!

one doesn't need to run it with aoss if they have alsa oss emulation in the kernel.. heh

I can vim a file, but nano doesn't interpret the keyboard code problems.

package.unmask?

Does anyone know how often portages tree gets updated (therefore suggesting an ssyncing of it?) I do know, that you folks recommend syncing once a day. I understand that, to avoid overwellming the rotation mirrors.but how often do most of you folks sync anyways?

thanx chovy

can do, doesn't matter

in /etc/portage/ ?

depends. you may need to ~arch it in package.keywords

Keith-BlindUser: before i do an update.

/etc/portage/package.keywords

ok
thanks

Keith-BlindUser: there's no reason to sync if you aren't going to install anything.

thanx saschahl
thanx hays

Keith-BlindUser: i believe the tree is updated continuously.

it is not the same. with the oss emulation the dmix plugin is not used meaning I can only run one oss application and no other oss/alsa applications. with aoss it uses directly alsa

are those just fragments of the term you are using, or are they inserted into the file? ala, nano /tmp/test and type some stuff, then cat it.. could be the term, not nano

I'll try.

I've had no problems piping stuff to /dev/adsp

adsp never worked for me. :-/

Any keys pressed nano on any file under export TERM=xterm prints keyboarding codes. "get_shortcut(): kbinput = 102, meta_key = FALSE, func_key = FALSE"
pressed in nano*

hays : im emerging it now will let you guys know if it works thanx

if you save that file, are those key sequences saved to the file?

USE="debug" — that enables it

I can't save when I do them.
When I nano them…

no idea then, very strange

yes, very much so. :p
vim works though…
hehehe

USE="debug" –

I have debug set by default in /etc/make.conf.

yeah, so that's correct behaviour
:-D
nano gives you *drumroll* debug info

I'm thinking it might be glibc's fault. *somehow*
I just ran emerge -vpDNu world and it popped up in the list.

good evening, does anybody have a clue why emerging libsdl doesn't work? http://pastebin.com/942110 (i cut out some lines in the middle because the log was to long)

Only four packages on the list and the other three don't seem like the problem, if it's tsrarting from bad use flags…
starting*
Or something like that.

hays : Sound now works than you very much guys

LOL, I just found out that my initrd image worked!! If I booted into it it meant that it worked right?
ROFL

as always very good support from this Channel

ahahaha
No, if you booted into it, that means you just killed a kitten….–indirectly.
….somehow.

rolf?

:p

night ppl

I have a wild imagination.

any ideas, please

Ok I checked to see whether I have all the encryption modules for 802.11… and near WEP there was there dashes
what does that mean?

emerge –info on pastebin please
"peel"

I used make menuconfig in /usr/src/linux

means that they are required by something else you selected, so you dont have a choice to build them, they will be built in

hi all, how to cd to the cd drive using terminal?

oh and the rest were 'M' … so I have all 802.11 encryption modules?

you should then but dont quote me on that if something gets missed

KIO Slave sysinfo — is there an ebuild for this ?

I will quote in the congress
quote you*

lol

you are held responsible for my kernel modules -_-
lol

http://pastebin.com/942115

Sorry, just had to reattach a key…
This isn't a bad keyboard, but the little hinge piece on one of the keys popped out and Alt went flying. :p

any one can tell me whatis the ip of http://linuxmafia.no-ip.org?
i am on windows machin

ping is available for windows too

linuxmafia, 74.116.150.58
linuxmafia, ya ping works
or whatismyip.com

tdr, thanks alot

that does not make much sense, I don't understand what could trigger the error

tdr, i am not at home , i am out , i want to remote login
tdr , i am on my brother biox
thanks tdr

hmm. nobody had that error before?

http://pastebin.com/942117 — and I don't have a command called "peel"

it's spelled peel, not peal ;-)

"peel rubber"?

right … what's your exact problem again?

by mistake before which is why I a wrote a script so I haven't done that now.

Whenever I use the keyboard in nano it prints raw keyboarding codes? Like it doesn't assign the letters to those codes.

like … say … USE="debug" enables a debugging feature in nano that prints keypresses?

I'll try…
get_shortcut(): kbinput = 14, meta_key = FALSE, func_key = FALSE

amarok is complaining about libcurl.so.3 missing, so i've been trying to fix it with revdep-rebuild, but it keeps erroring out with this error: http://pastebin.ca/603413 does anyone have any other ideas of how i can fix this?

i tried it with scanelf but couldnt find any errors in libraries

my third mouse button doesn't work — It's when you press the scroll wheel — Very annoying — emulate3buttons is set to false, any other suggusts?
suggustions*

ird mouse button doesn't work — It's when you press the scroll wheel — Very annoying –
emulate3buttons is set to false, any other suggusts?
2 -!- silverpower [n=shrike@atheme/bofh/silverpower] has joined

suggustions*

oops
sorry

pozican, set the protocol to "Auto"

/etc/portage/package.keywords && emerge nano

Whenever i try to start samba via the init.d script it just hangs..

it is currently sat to "auto" — will the capital A matter?
otocol" "Auto"
….
otocol" "Auto"
ok, I think it works

pozican, nope - its not case sensitive

I'll brb

I already emerge nano with the debug flag.

how would i compile smb support as a module

Thanks

with_out_
*thwock*

pozican, np

Hi all. If running Firefox by Shell, I ge the Error: No running windows found
/usr/lib/mozilla-firefox/firefox-bin: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: cairo_xlib_surface_create
firefox-bin exited with non-zero status (127)
someone know whats wrong?

has something changed in the way portage handles package masks?

hi everyone. i can't decide whether i use /usr/local/portage or /usr/portage/local for my overlay, what would you suggest?
NGB5423, tried revdep-rebuild?

Okey dokie.

no, I'll try

Google doesn't seem to have any info for me. Anyone recognize: "Setting up swapspace version 1, size = 2056314 kB

layman uses /usr/portage/local/layman shouldnt be a big deal though.. put it somewhere you want

no label, UUID=5f15f85d-a7aa-4d7f-86d9-7c5e9f45abdc"
I've just booted the livecd, partitioned the disk, and that's what I get from mkswap /dev/hda2

that from dmesg? your /etc/fstab trying to mount with uuid?

^^ in addition, if I try to ignore that, and do swapon /dev/hda2 it says the device is busy.

xsappyx, that's why i'm asking, because all articles say /usr/local/portage, but i would prefer /usr/portage/local because layman is located there too

either will work, /usr/local is just a standard place for installs to go
is fuser on that livecd?

I can't say that I know.

at a terminal try which fuser

You did it! nano with -debug doesn't print the raw keyboard codes.
Thank you so much! 3

/usr/bin/fuser

I hit that "bug" about 2 years ago, so I already knew those symptoms

hehehe
Now I can visudo. I've been having to su to root to do heavy-duty things..

btw does the xeffects overlay still exists?

Yes.
#gentoo-xeffects

Syncing overlay "xeffects" returned status 256!

Try removing it and readding it with layman. It recently changed and you have to remove it and re-add it to update the repo location.

ok, i'll try

doh, never mind, I had a moment of stupidity.

sry, back. try in to particular order 'cat /proc/swaps' (is it mounted as swap already); fuser -v /dev/hda2 (see what process is trying to use it);

Both return nothing.

… 'fdisk -l /dev/hda' and make sure hda2 is id 82 linux host Swap;

It is.
82 Linux swap / Solaris

and mkswap /dev/hda2 comes back 'device is busy', right?

how do i compile something just as a module without recompiling the whole kernel
?

No. It comes back with the message I previously pasted. WHen I try to ignore that message and do swapon /dev/hda2, that's when I get 'device is busy.'

make modules && make modules_install will just build / install the modules

so if i just wanted to compile one module, where would i specify the module i want?

hi anyone know how to up the max number of IPC queues I can have?

no idea, make is pretty smart, it will only build the new ones you need
im still poking here, 2 sec

I'm in no position to be impatient. Take all the time you need.
I just realized I need to hurry up and get to the dojo. I'll come back this evening to work on this again.

Hazard, run top and see if you already have swap … in which case its alread yon

kk, sry i dont have anything.. check out the -v0 -v1 and or -L options to makeswap
the UUID is the new style of labeling disks, looks like a mismatch there, but im not really sure at the moment

I see a kswapd0 in top.
Only swap I see there.
Anyway. I'll ask again this evening.
Thanks anyway.

Hazard … too fare down … swap availabe and in use … about line 3

Negative.

2008104k total, 0k used, 2008104k free, for example
Hazard, its Line 5

i think its recompiling/installing all the modules
lol

free -m
will also show how much swap you have

hi i am facing a new kernel that doesnt boot on remote host, but fallback to a previous kernel… and I don't know the way to get logs

look in /var/log, you should find what you need in there

there is no log

nothing at all?

nothing
I am running a good 2.6.20… i delete /var/log/*
I boot up my new dom0_2.6.18 kernel
grub can fallback to previous 2.6.20

hello

beccasue it is a remote host, so I reboot on 2.6.18…. 5 min later, it is 2.6.20 running

my kde is a mess

with no log about a 2.6.18 kernel boot

i want to update everything to 3.5.7

try to enable RC_BOOTLOG in /etc/conf.d/rc and emerge showconsole
this might help, unless the new kernel just doesn't load at all

i will… THX

but if i do emerge –update –pretend kde, there's a lot of blocked backages
*packages

(which i probably the case)

if i do emerge –update kde-meta, it tries to install looots of stuff

is it possible to face no boot with wrong Xen specific options ?

i have no experience with Xen

because I made an oldconfig to be sure to get all the drivers

any suggestion?

ishino, okay, thx

but there are enough ways to hose a simple kernel, so i guess there are some more with Xen kernels
but there are enough ways to hose a simple kernel, so i guess there are some more with Xen kernels

I am trying a 'RC_BOOTLOG=on' reboot

add -t to the emerge command and identify the blockers

hi

'lo

i have got some CUPS problem, please look that i see, while running SettingPrinter http://rafb.net/p/uVTc4968.html

adf
my mozilla java plugin doesn't load applets when i go to webpages, i've done the handbook instructions and its not working, can someone help me? running java applications works though,

so kde 3.5 is out
cool.

Say No To Microsofts Broken Open Standard http://www.noooxml.org/

when i do the eselect command as shown in the hadnbook, nothing shows up in the list

Which particular eselect command?

one sec i'll copy it

+b mirrakor

# eselect java-nsplugin list [1] sun-jre-bin-1.5 [2] blackdown-jre-1.4.2
but when i do it i get no options

how do i get a module to load on boot?

What platform are you on?

'lo what a meaningfull comment, too

x86

What I'm talking about is a important topic imho

Add it to /etc/modules.autoload.d/kernel-2.6

and you're talking about it in the wrong channel. period.

not amd, i know its problem with amd or at least more difficult

Evening everyone, I'm trying to fix all my little niggles, I have a strange problem with Gaim, Gaim itself is fine but it doesn't detect mouse movement or something and always puts you in away mode after a few minutes even though you are moving the mouse. Anyone experienced something
similar?

not here, i only had problems with pidgin

Have you installed java? What does "emerge -pv sun-java" return?

yes i have done that i'll do it again though if you'd like

Can you run that command and check you have the nsplugin USE flag enabled please
(just re-emerging the package again without changing anything is unlikely to help)

y'know gaim is replaced by pidgin?

yes, but pidgin looks strange, Gaim looks lovely. It normally works fine its something i must have done when setting everything up

they look exactly the same :p

bah actually that command doesn't work

by normally i mean it works on my laptop using sabayon, but not on this pc (gentoo built badly by me). No there are subtle differences like big green circles and weird pidgin icons

you can change that :p

huh? What do you mean by "doesn't work"?

i ran somethihng similar though, should i use java-jre or something different
no packages found that match

it's sun-jdk, not sun-java

no ebuilds rather

or sun-jre

yeah, silly me

im putting of that upgrade till im forced to by big men in black suits

That's my brain rotting =P

off
even

shouldn't take very long for Microsoft or Yahoo! to break the protocol and do that

true

hmm, knewsticker doesn't install an application called knewsticker

Either "sun-jre" or "sun-jdk" should work

untill then i just want it not to make me away when im moving the mouse

[ebuild R ] dev-java/sun-jre-bin-1.6.0.01-r1 USE="X alsa -nsplugin" 0 kB
1 package (1 reinstall), Size of downloads: 0 kB

hi

the boot.msg is not relevant : everything was right…. so I think it reports about fallback boot

that is the response i get when i do emerge -pv sun-jre-bin

ahhhhhh!!! i can't emerge world

i'd say your kernel doesn't even load, if it did there should be at least something in /var/log

ahh - they've switched the package name to -bin

that ok i get what you were trying to make me do i appreciate th help, i've tried for a week to get this, sound, and pidgin to work and i can't
everything else i managed to fumble my way through

You need to enable the nsplugin USE flag - See http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2 for help on USE flags and how to enable them

you cant get pidgin to work?

okay, I am going to build up a no-xen 2.6.18 kernel before, to compare with xen specific options. thx guy

np

What backup open source software would you recommend
sorry for the terrible english

bacula

is glx the x11 opengl driver? or what?

koollman, thx

almost

Until you just admitted it, I couldn't tell English wasn't your native language =P

ok i'll look into it, seems a little deep, i'll try and work through it

as far as I can tell GLX is the extension of the x-server providing gl, but not the driver itself
the driver is contributed either by mesa or the graphics driver

AllenJB, indeed

useflags arelly arent that hard
it just looks like it with all the words on the page heh

arg, completely started over,, and still having problems with my xorg

how can i get the whois command ?

No running windows found
/usr/lib/mozilla-firefox/firefox-bin: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: cairo_xlib_surface_create
firefox-bin exited with non-zero status (127)

/whois

ahh, is there a use flag for the xorg-server i must set for opengl to be used by x11?

LadyNikon, no, in gentoo

oh

LadyNikon, what package is it in

emerge whois

recompile cairo
and gtk

I was wondering if anyone here does any heavy use of audio recording with microphones in gentoo? If so, I was wondering about some good text tools for doing that kind of thing.

or try revdep-rebuild

what ishino says

lol k

packages.gentoo.org is your friend

DrHow to compile those? which command should I use ?

i was expecting some netkit stuff
ishino, cheers

And if possible, could someone name me any spisific applications that are textual that could record files in mp3 form, and the necessary emerge commands for them?

ahh, is there a use flag for the xorg-server i must set for opengl to be used by x11?

I've been looking for an application that can do this kind of thing.
Thanks a lot folks.

heh i found out, now no idea how to kill knewsticker

what cards does the ati (generic ati) definition include?

I don't think so

bleh

NGB5423, what did revdep-rebuild say?

eselect opengl — that should help

hey — is anyone here using a mb with a 'Realtek 8201CL' nic? is it supported by the livecd?

hello, i can't emerge world cuz beryl-core-9999 fail, and i dont want beryl anymore, can someone help?

Keith-BlindUser: lame is top dog as far as mp3 encoders go. if you need a CLI ripping tool that uses lame (and other nice components such as cdparanoia for ripping) then try media-sound/jack.

have you emerge –unmerge'd beryl-core ?

how to list the contents of a certain file using terminal?

Build finished correctly. Removing temporary files. Or do you want to see the whole log?

yes

less, head, tail

Keith-BlindUser: I've just checked the dependency list and it looks ideal.

is it normal in kde that an applet refuses to go away?

what do you see when you 'emerge -pvt world' ? what is trying to bring it back in again?

less outputs the file one page at a time, head and tail just the top and bottom parts

most others have a "quit"

do i need to reboot after eselecting xorg-x11 for it to take effect?

can i paste here?

restart X i meant

nothing is displayed

you should be able to restart the X-server only

NGB5423, no, just like to know if there packages that needed to be rebuilded

I didn't mean for ripping..I'm spisicially talking about plugging in a microphone then thinking.. "I wanna record something with this thing." Well, I hardly use X..I'm still getting used to X, actually…so that's why I was wondering what console command line tools could do this.

i see white lines

what graphics card do you have, and what exactly are you trying to achieve?

no, use rafb.net/paste

Sure, I'll install Lame to be able to decode in Mp3.

bah
there

here: http://rafb.net/p/LghQMR19.html

9/21

nvidia chipset, i have a prog using sdl and opengl, sdl only uses 640×480, while opengl can support better reses for it

ok, i want to emerge kde-3.5.7, but there's a lot of blocking packages

Keith-BlindUser: you just want to record an audio stream to .wav or something? there's an alsa tool for that… 'arecord'

It rebuilded lot of packages at all… Sorry, I'm new at gentoo. I don't know which packages exactly

weird how gnome or xfce4 doesn't require xorg-x11…

Keith-BlindUser: ah! well, if you have alsa working then you should be able to run commands like: arecord -f cd -t raw | lame -x output.mp3

lots of kde…-3.5*

Keith-BlindUser: assuming the presence of alsa-utils and lame

what should i do?

well, how can I compile GTK?

what kind of file is it? (use `file` if you don't know)

.wave has a limit..I need something that can do audio streams..but not impose a limit excepting drive space..Wave files canot be larger then 2GB or maybe 4.

Keith-BlindUser: see above, you can pipe arecord output into lame directly.

And I can easily get into recording 8 GB files..I've done that before.
But that was on Windows :|
heh

eh

Unless arecord can decode in mp3..

i gotta get my sound working on my computer

anyone?

which means turning it on in the bios

btw, you should emerge -C virtual/x11 && emerge –noreplace xorg-x11 ; that'll get rid of your virtual/x11 error. ..As to why beryl's coming in again, i'm not sure yet

Comments

Does someone know what I am doing wrong with gnuplot curve fitting when the curve plotted is always the one of

Parser… configure: error: XML

Comments

Can someone answer me a question I was thinking of using Gentoo instead of Kubuntu which im using at the mo The

huh, can't find it… I guess I'll go file it

good to hear (the filing)

hello?

hi

Okay, I'll try that, thanks.

anyone know how i'm ment to deal with masked packages?

can I ask you for help?

i've done emerge x11 ~amd63

at work i generally have compression on very high and about 14 ciphers at once. but when copying files locally, turning off compression bumps the speed up from about 7MB/s to 25MB/s

*4
no luck

probably better to put your question to the whole channel

someone knows how i can know my hd model on linux ?
have a software to do it?

ok

hdparm

Skunky, uoah
Skunky, its a sata
Skunky, dont have problem?

sdparm can be used on sata

hey, can someone help me, I don't know what I did but i strangely lost sound

Fieldy, whats command to show hd model ;?

i am tring to setup the xinerama .. just wondering how can i test thing ..one monitor works and i did allt he stuff said i in howto but can not get the other monitor working ..how can find out what am i doing wrong is there any logs or something

hdparm has been modified to work w/ drives using libata

O_o okay, not I can't emerge –sync

but alsa seems to be ok

Goens, did you restore your alsa settings?

not sure myself, as i don't have scsi / sata disks. the sdparm man page would say (once you emerge sdparm )

restore?

wait, no, there it goes

hdparm provides a command line interface to various hard disk ioctls supported by the linux hosting SATA/PATA/SAS "libata" subsystem and the older IDE driver subsystem.

what do you mean by restoring leprechau?

Goens, did you ever do alsactl store … alsactl restore ??

oh, no not really

what's your problem, i came in half way through and i think our problems are similar

Goens, after you initially unmuted… or use the alsasound start script?

sdparm is mostly for scsi disks. the options are strictly scsi supported options for the most part

brianw, but how i do to show my hd model ?

Goens, follow the wiki alsa guide..it has it all in there

i just wanna my hd model
without open the notebook

no, but I did put SAVE_ON_STOP=yes

you've been told, several times. if you can't figure out hdparm or sdparm, maybe you should read the man pages.

i have done it about 1000 times

xmetal, use smart tools

hdparm -I /dev/sda
works here

Ouch, all versions of hwinfo are masked by ~x86 ..

xmetal, smart will tell you the model/manufacturer/etc…

ST3160811AS

and alsastart is suposedly running fine
alsasound*

leprechau, looking

curiously, i do get sound in a terminal when I press backspace for example

leprechau, smartmontools?

That beep comes fromt the motherboard

of course I am using the ahci driver. Probably one of the better supported drivers..

/dev/dsp

it does not work
or mpg321

brianw, wokrign ty
brianw, u know how do a 0fill?

leprechau, any idea what it could be?

What happens when you run beep ?

dd if=/dev/zero of=/dev/sda

brianw, what this means ? Model Number: SAMSUNG HM120JI
ops
brianw, 76min for SECURITY ERASE UNIT.

Awww c'mon, lol, why did I just have to emerge beep

hmm

cat to /dev/dsp only works if you 1) have oss support enabled/loaded and 2) unmuted the master and/or pcm channels

Cyde, i don't really have it

emerge it
It's very, very, very tiny.

somebody seems to have fixed the pax-utils thing since last time I synced

Literally, one source code file.

Skunky i suposedly have done both
Cyde beep worked

Sorry for the off topic question, but does anyone know if there's an alias/function in Python for creating symbolic links?

it beeped :P

Try running this shell script to see your frequency range http://www.cydeweys.com/blog/index.php/2007/08/23/write-your-own-alarm-clock/

god that pisses me off, who in their right minds would write such a shitty piece of auto configing software D:

language

You do know that computers contain two separate speaker systems, right? There's the internal PC speaker, which is what makes that stereotypical beep, and then there's the other speakers.
My laptop has both the internal speaker and the external speakers.

huh?

The internal speaker is good for little more than beeping. It can't even play lofi electronica, for instance.

Cyde yes, but I really don-t understand anything further than that

that's odd. You'd think in a laptop, they'd have them mixed together

lol

that's how it was in my old laptop

but my sound card is integrated
does that have anything to do there?

The soundcard needs a driver. the BIOS speaker doesn't

On my old comp, I took the case speaker out cause I was sick of emerge's beeping waking me up

Which is why there's two
also, let's say your computer overheats…
you wouldn't want to have your speakers off when that happens

Sorry, but the beep test is kind of pointless. It should pretty much always work, and it doesn't have anything to do with getting the speakers that you care about working.

many times the bios speaker is routed through the soundcard

That's also true
hm

If your comp overheats, it should shut off, not beep
what if you're gone?
no matter what speakers you are using, you won't hear it

can someone quickly just tell me how to emerge stuff which requires me to do something with a mask
i just want x11 working _
lo

what's your problem with it?

*lol
well
emerge x11

you shouldn't need to mess with masks to get X11

and it says something about masks

put the name on a file /etc/portage/package.unmask

and amd64

you don't emerge x11. you emerge xorg

you need to emerge xorg-x11 I think

i did that too
emerge xorg-x11
and…err…
it did that for an hour

so how do I know if I have the driver for the soundcard loaded?

and then at the end there was some error i think
that was a while ago

and you didn't follow the guide or the handbook, so you don't know what else to do?

not much we can do without the full error

then i tried emergeing xfce

"some error" isn't really fixable

What sound card do you have?

if it was, windows would work

haha
i know :p

please, fix 1 problem at a time.

It's late

and by the way, before I got alsasound to work it didnt beep

maybe you should go to bed.

I've been staring at a black screen for a *long* time before i came on here =P

how can I convert a jpeg to pbm?

I just emerged mozilla-thunderbird-bin. I had gcc 4.2 installed and part of the emerge installed gcc 3.3.6. I try to run thunderbird and get the "/opt/thunderbird/thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory"
error. Any ideas how to fix it?

paste us the error and we can help

ahhh, if i don't get it working i won't be able to sleep =P

f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev

or at least give some sort of description of its nature

The error is on another computer

teach nuzzy gcc-3

Some packages, usually pre-compiled binary packages such as mozilla-firefox-bin, are written in C++ and are only compatible with the C++ runtime library provided by gcc-3.x. If this is the case then you can avoid having to install gcc-3.x entirely by installing libstdc++-v3 beforehand: emerge -1
sys-libs/libstdc++-v3

so i'll have to type it

hi all. is this the place where i can ask a dumb newbie install question?

sure

can someone help me

no, sorry, they already have one newbie to deal with

yeah

hehehe

i placed a package is package.unmas

core2duo have NUMA?

and its still complaing

thanks Skunky

you don't have to type it verbatim, just so we have SOME idea

f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev

how can i find out the xorg verion number ?

most common on lappies. you need ac97 audio codec

what are you unmasking?

mythtv
0.20.2

X -version

why doesn't gentoo have /etc/sysconfig/network to set the hostname? the wiki host only really mentions /etc/hosts for some reason

run alsaconf as root.

it detects my card

[[thufir]]: because, that's not the Gentoo Way. that's the deadrat way.

and says it is configured

….restarting…

what detects your card?

PicCard alsaconf

John?

grep 97 /proc/modules
snd_ac97_codec 75300 1 snd_intel8×0, Live 0xf8bd2000
snd_pcm 47620 3 snd_pcm_oss,snd_intel8×0,snd_ac97_codec, Live 0xf8b97000
snd 33508 9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8×0,snd_ac97_codec,snd_pcm,snd_timer, Live 0xf8ba8000
ac97_bus 5376 1 snd_ac97_codec, Live 0xf8d8a000

ok. Whats the problem then? You seem to have it working

core2duo have NUMA?

no

i'm up to chapter 6 of the "Installing the Gentoo Base System" document and it says to use the emerge portage command if you are warned that a new Portage version is available (and I did get that warning). When I did it though it says "IMPORTANT: 3 files in '/etc' need updating"

but it has SMP

teach am2605 dispatch-conf

dispatch-conf is a configuration file merging utility that keeps track of the changes applied to the configuration files. It also allows automated updates to files that the user has never touched and ignoring plain CVS- or white space useless information. Run "man dispatch-conf" for more
information.

then it says type emerge –help config to learn how to update config files

deadrat = ?

got kicked

[[thufir]]: redhat

teach Goens pastebin

A pastebin is a web site where you can paste many text lines or sometimes files, to avoid flooding a channel. Try to avoid pastebin.com as it is very slow, consider using rafb.net/paste instead. If you don't have a browser you can "emerge nopaste" or "emerge wgetpaste" to send text to
rafb.net/paste from the command line.

etc-update

flood

usually its safe to overwrite the old ones unless they're ones you've changed, then you have to merge them yourself

[[thufir]]: it's a redhat thing, /etc/hosts is standard

ahhh

ok. Whats the problem then? You seem to have it working

thanks.

nevermind

the problem is that it does not work

i used ACCE_T_KEYWOPRDS

everything seems ok but it does not make any sound

[[thufir]]: pre-redhat, all that was needed was to set your hostname in /etc/hostname, then redhat came along and decided that was too simple. gentoo USED to do it the easy way, but as with all linux distros, somebody decided that was too easy, and reinvented the wheel.

I'm assuming you have unmuted the channles in alsamixer?

etc-update? Is that a command?

run alsamixer

Devrethman you assume correctly

turnt eh volume up on the headphone/headset thing?

PicCard ok, but everything is ummuted

take note of Master and PCM volume bar

yes

yeah, it shows you the filles in /etc that need updating, so you won't get that message

Skunky also done

dispatch-conf is superior to etc-update, use it instead.
mute all things that aren't master, pcm, and headphone?

what's the difference?

emerging xorg-x11 (again…i hope that doesn't mess things up)

Skunky no, i unmuted everything

hi people

Skunky is that bad?

your going to die.

i had an error on compiling kde-meta, when it was cimpiling kioslaves

Thanks. ANd then I should just select "u use new" for each of them?

link: `/usr/lib/libfreetype.la' is not a valid libtool archive

no, mute the things you don't need. sometimes they're labeled wrong, and do things like, redirect all output to an alternate port, or enable surround sound output, or…..
fix_libtool_files.sh

no, main volumes are controled by those 2. you can increase and decrease the rest as needed

Skunky thanks, 'ill try

not every card actually uses the master volume, by the way.

I use new unless I changed the file myself.

Skunky so I should leave only master pc and headphone unmuted?

Skunky , can u try to ping a ip for me, btw?

what timmy_boy said… pick use new unless you've changed it yourself. if you've changed it yourself, then you have to look at what it wants to change, to be sure it's not gonna do something stupid.

mess with it a little, figure out what you need and dont need.

master, pcm, headphone, then try doing… aplay blah.wav or something.

thanks all. Appreciate it

I'm about to take my ati card and shoot it with a shotgun

we love you!

I'm so sick of their crap

and do what? replace it with something else that's just as annoying?

Hey! it worked!
Thanks Skunky and PicCard

find a matrox card for laptop.:p

oh i know your pain. got one in my laptop, loading their drivers really destabilizes the system. last ati card i own

i never thought unmuting everything could mess it up

you're welcome. now you get to play with the other ones to figure out WTF they do. (:

test

lol

They have an opengl driver, like old ati cards(=X850)

NP

Can someone answer me a question. I was thinking of using Gentoo (instead of Kubuntu which im using at the mo). The reason I was thinking of gentoo because I was told you can build from source archives you download. Is this true? Can I simple download the source for say Pidgin and get Gentoo
to build it for me? Or am I complety wrong?

i'll do that

98% of everything is built from source in gentoo

setting up an FQDN for leafnode. /etc/conf.d/hostname will keep HOSTNAME="localhost", because some other stuff, phpMyAdmin, use "localhost". two entries in /etc/conf.d/hostname, or what pls?
setting up an FQDN for leafnode. /etc/conf.d/hostname will keep HOSTNAME="localhost", because some other stuff, phpMyAdmin, use "localhost". two entries in /etc/conf.d/hostname, or what pls?

you can do that with debian/ubuntu
you make the .deb and then install it.

gentoo builds EVERYTHING from source, and you don't have to download the sources by hand, you tell emerge to do it for you.

to install pidgin, you would do emerge pidgin and you're done. you can also do emerge -pv pidgin, and see features that you can enable or disable at compile time.

Or you use a source package to build it.

The ./configure;make;make install is automated.

In gentoo it's not you CAN but more you MUST compile host everything

the dependancies are calculated, the sources for all of them are downloaded, configured, compiled, installed.

gentoo will download the source for you. So, say you wanted to install pidgin. You would run `emerge pidgin` and portage (gentoo's package manager) would download the source, apply the necessary patches, compile it, and install it.

to emerge pidgin, though, there is some initial work because it's masked.

yep. that's a one-line step though, easy enough

"emerge pidgin" won't work off the bat

But you would be a little crazy to install pidgin

unless you were running ~x86

Can I download any source and simple tell portage to use that? (say the tar.gz)
bCan I download any source and simple tell portage to use that? (say the tar.gz)/b

stick to gaim beta 6 it's far better, they broke it with the "beta 7/pidgin 2.0"..

what's wrong with pidgin?

I like pidgin

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

What'd they break? It works fine in windoze

Pidgin is just an example lol I mean any source archive

Humm, let's think about it… the them is UGLY, it's far more unstable than the gaim beta6 it evolved from, the "only one tree/account for all even if you don't want to or have an use for distinct accounts" is a pain in the ass
and so on.

well thank you everybody

it is not possible from straight source files.

bye

BTW, how is the masking/unmasking process working?

for almost everything it's "emerge foo"; unless it's not there, then you must use the make command

(didn't put my hand on a good tutorial for that now)

That looks hard and complicated. I was under the impression it was a simple process of telling portage where it is and it installs it.

it'

Most of the time you don't tell portage anything other than : find this package

s actually easier than doing that. All you have to do is run `emerge package`

install this package

emerge is easier than, for instance, yum. my opinion.

config this package:p

that's what the ebuild does

you don't have to tell it where. emerge pidgin does it all.

yum is like all rpm based package managers… and it's not a good thing.:p

Ive got a disk off Linux Format somewhere (dunno where I cant keep track of anything lol) ill overwrite Kubuntu and try it. Thanks for your help

i love emerge

emerge is more like apt(and i like both of them, but i must admit the portage system is quite good)

emerge is easier in my opinion

it's what made me convert to lin
i can manually unzip, config, make, make install

I love paludis, it is fine too

but emerge is SO much easier

You should put the emerge –help –verbose out into a file to read it more easily when needed
(specially the flags:p)

and 9/10 it just works automatically

Can I just point out that most people usually want to have the gtk USE flag enabled for pidgin, otherwise you won't get a GUI.

It's a bit worrying from a security point of view though

I think I actually like apt better, but I've been using gentoo since 1.4, so I know how to do everything with emerge

Ah now im confused by the torrent downloads lol, im not off to a good start.

Is that normal than the APACHE2_OPTS line that should be in httpd.conf according to emerge after php5 emerge is not here?

I'm configuring leafnode, which needs an FQDN. However, I still want to be able to point my browser to http://localhost/myphpadmin . what do I want the /etc/conf.d/hostname file to look like, pls

and I like ricing out my system, so I can say "HAHA, I'M ON TEH BLEEDING EDGE!"

lol

ricing?

Honestly i'm not yet at a point where i like one more than the other.
uHonestly i'm not yet at a point where i like one more than the other./u
Both are good.

funroll-loops.org

(unlike the rpm ones….)

I downloaded the live cd, clicked on "install networkless" and it worked mostly flawlessly.

But i start to like both of them.

what the…
funroll-loops.org is gone

I have no idea which one is the live CD. So many names is confusing.

so sad, that site was funny

ads
hehe
oh oh oh

annoying ads.

xorg-x11 has finally finished emergeing
i've got the error now

ricing = using stupid use flags/cflags/options to make your system faster
in reality, it just makes it more unstable

sounds like a good thing :]
oh
lol
maybe not then…

….and contributes to Gentoo stereotypes

Shall i paste my error?

BUT FFAST MATH MAKES IT GO FASTER! IT EVEN HAS "FAST" IN THE FLAG!

lol

i bet i know what the other f stands for

wb Devrethman.

O_. capslocking is a kickable offence?

you made me lol.

on occasion :P

but caps lock is cruise control for awesome

haha

lol.

funroll-loops.org is cached on archive.org

Hi. Where can I find a list of the available MARCH settings?

Slow loading, but still a funny read

man gcc

what's your CPU?

when I try to modprobe fglrx it tells me that the opperation is not permitted

i dont have a capslock key for 6 month or more… i mapped it to esc. easier to type.

man gcc is like the berlin wall of text

you need to be root.

anyone know what causes this?
I am root
wait
:x

baxter_kylie, http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options

how do i set the chain INPUT to the policy ACCEPT on iptables?

mzbot, wiki baxter_kylie safe cflags

http://gentoo-wiki.com/Safe_Cflags

input -P ACCEPT INPUT

iptable -P INPUT ACCEPT afaik.
ehh.
yes.

woops

astinus is right.

iptables -P ACCEPT INPUT

eASy astinus thanks i'll try

!!! Cannot write to '/usr/share/X11/xkb/compiled'.
!!! Please check permissions and directories for broken symlinks.
!!! You may start the merge process again by using ebuilds:
!!! ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.2.0-r4.ebuild merge
env-update

heh

nope, still wont let me

baxter_kylie, my link is to the relevant section of the GCC 4.2.1 manual - if you're using an older version some of those might not be available

ta daa~
oh

teach john searching for bugs

If you run into a problem, the best thing you can do is to search http://bugs.gentoo.org/ . If you don't find a match there, consider filing a bug. You might also want to try http://forums.gentoo.org/ , but bugs is the
fastest way to get ahold of somone who best knows your issue.

i got banned

Another Question, Can I do all the admin tasks through a GUI like Kubuntu? Or must it be command line. I like Command Line but I cant be bothered to do it all the time.

howmuch of that did it paste?

no

kicked John

you got kicked, not banned

are you emerging as root?

yar

and do not paste, use a pastebin

bah, anything else that would prevent modprobe fglrx?

core 2 duo 7100 (socket p)

Hyperion|Laptop, usually modprobe failures show up in dmesg - anything good in there?

Kubuntu looks good.

mzbot, teach John paste

Use http://rafb.net/paste or emerge wgetpaste. Pasting in #gentoo itself clutters the chat and will get you kicked by Naamah. Use the aforementioned site and hand us the URL so we can check it out.

one sec lemmi check

huh?

march=nocona

I use the shell all the time in Gentoo.

http://rafb.net/p/NDkqTR27.html
is that right?

baxter_kylie, are you building a 32 or 64-bit system?

fglrx subregister failed
is what it says

64

the shell? you mean the command line stuff?

I am afraid so.

the shell is 1337

Sometimes i don't really understand it all….

basically nothing, it says PAT disabled
too
but thats it

eASy astinus thanks, worked fine

apache is running with the options but i didn't set them…
(and don't find where they are defined)

baxter_kylie, you probably want -march=nocona -mtune=nocona

So Gentoo dosent use a GUI often?

it's even more 1337 if you set it to green on black
Yeah it does, but it breaks the gui occasionally
so knowing your way around the shell helps

Any ideas?

out of disk space? df -h

"firegl stub register failed"

Was that not enough info?

but then I use ~amd64 systemwide, so mine breaks more often than your should

the shell you typed the modprobe in, the error message you got back, and your whole dmesg

You can sometimes paste from guides.

Gratz. I assume both of those in addition to -msse3

duran, can I do that in links

There I was 100% into Gentoo lol, ill have to mess around with a liveCD and see how it goes.

actaully scratct that
waht is the propper way to screen

loads of space it seems

and then access that screen over ssh?

about the only way to do that is using nx / freend / nx-feeedition

are there any apps that play well with iTunes libraries and data files?
uare there any apps that play well with iTunes libraries and data files?/u

I think amarok does, but I haven't tried

net-misc/nxserver-freeedition rather
bit tedious to set up. though.

8% used

Just to know, does gentoo moved the /etc/apache2 conf directory to /usr/lib/apache2/ recently??

but then I worship amarok, so take my advice with a grain of salt

baxter_kylie, i would avoid -msse3 ; iirc that is an option that is best left to application makefiles to enable and disable as needed. march=nocona should tell gcc to use sse3 instructions when necessary

another good one for #gentoo-apache

I think march=nocona implies msse3…

Ahh, i don't understand _
I'm root

then I need to see *more* of that error output. Pastebin the last 100 lines

why can't i write to xyq

thanks again.

sorry kojiro, it's on a diffent computer and i can't scroll up

mzbot, teach John nopaste

nopaste is a tool written in ruby, which allows you to specify a file or pipe stuff at, and it gives you a URL at rafb.net with the text that it got. Examples: 1) nopaste /var/log/portage/somelog.log 2) dmesg | grep -i network | nopaste or) Alternatively you can use wgetpaste, which does not
depend on ruby.

that error was only 5 lines long

how does one set a screen so that one can attach to it over ssh?

/var/tmp/portage/cat-egory/app/temp/build.log or whatever

Hyperion|Laptop, i assume you want me to join a screen session on your box? if you have an ssh server started (/etc/init.d/sshd start), all you need to do is start a screen session with "screen" and send me login information (username, password, ip address
host
address)

:/

hm

more for me, but that will help, atm its been so long I cant even remember :x

If i emerge nopaste
i'd have to emerge xorg-x11 again anyway
~_~

emerge wgetpaste

I think i'll ust re-install tomorrow
okay, emerging
wgetpaste
done

have you created the appropriate VIDEO_CARDS entry in make.conf?

lol
haha

emerge xorg-x11 really shouldn't take that long, since it's modular

no :P

Hyperion|Laptop, then just start a screen session with "screen" - from there, Ctrl+A C will add a new shell, and Ctrl+A N and Ctrl+A P will cycle through your shells (or other apps)

thanks

mzbot, gentoo John xorg-config

http://www.gentoo.org/doc/en/xorg-config.xml

I wouldn't know where to start with that friendly12345

gentoo John xorg configuration

http://www.gentoo.org/doc/en/xorg-config.xml

"where to start with that" ^^

mzbot, wiki John xorg configuration

http://gentoo-wiki.com/HOWTO_X.org

faq wiki

Wikis can be edited by anyone, including the uninformed and malicious. http://www.gentoo-wiki.com is a great resource, but is not endorsed or supported by us so we may ask you to go read the official documentation. (http://www.gentoo.org/doc/en/list.xml) (deface is usually online and can be poked for help if the wiki goes down)
Wikis can be edited by anyone, including the uninformed and malicious. a href="http://www.gentoo-wiki.com"http://www.gentoo-wiki.com/a is a great resource, but is not endorsed or supported by us so we may ask you to go read the official documentation. (a
href="http://www.gentoo.org/doc/en/list.xml"http://www.gentoo.org/doc/en/list.xml/a) (deface is usually online and can be poked for help if the wiki goes down)

mzbot, teach kojiro about today

Expat hates you.

forget today
unlearn today

done

forget how to make mzbot forget stuff

next question…if I want to install gnome do I have to specify this in the USE setting at the moment, or can i just use the defaults for now?

neato.. got 3 nodes running distcc

You probably want the desktop profile.

PII@350Mhz PIII@700Mhz and a PIV@2.4Ghz

am2605, id say go ahead and put it in now, save you some recompiles later

i wanna install openmosix

ok, I'm going to deal with this later, I've had it, I need a break

that sounds like it might be right, how do you choose this one?

I think eselect profile list
http://www.gentoo.org/doc/en/gentoo-upgrading.xml

lawl. I need to remember not to open VLC in wine again lol

timmy_boy eselect:command not found. Do I just run emerge eselect to get this?

hey. whenever I close a window or open one up from the "taskbar" there's this annoying sound. what's that called in Control Center's Audio Notifcations

gentoo is really slow if you are weak at typing

well there is tab completion, that's what it's there for

I hit the tab too slow lol

o.O
back away from the keyboard

that and up arrow down arrow
and the shell edit commands if I ever remember theme
see "e's" just jump out on the ends of words without me thinking about it

I just upgraded to mplayer-1.0.20070824 and now all videos cause mplayer to hang with 100% cpu, but playing mp3's is fine… anyone else get this?

I haven't install mplayer yet
installing a window manager now lol

Is there a way to mount afp (OS X file sharing) shares in gentoo?

but I think I'll have to use the mplayer-bin to play wmv files
I am 64 bit

so am i, and i can play every video file i wanted to.. until now

so….

mplayer itself is a 64 bit version.. mplayer-bin is compiled for 32 bit
so I was told

to get a GUI for linux
you need xorg?

david34, correct

John, more or less, unless you like ncurses

we all like ncurses

pretty much every Window Manager runs on top of an X server

is it open source?

Has to have X for graphics

x

if you've compiled your kernel, that uses ncurses

what's 'the' torrent client for linux?

you think stuff will compile quicker if I download everything with –fetch-only and then have it install it?

eix torrent

bobber205, rtorrent.

azureus?

deluge
is good

guess there is no "the"

I don't like azerues

why not?

if a system was compiled to arch "pentium4" is it likely not to run on a pentium 3?

Don't make fun of me.. lol typing is my handicap in life

hi people

Try it, you could make it work.

it's up to you. On a new build, I usually just use parallel-fetch when bringing the fresh install up to date

The major difference is the ssex set of command i think

Ashareth, well I did, and it mostly worked, but X doesnt run for example, it dumps a backtrace

Inssomniak, -march=pentium4 may emit SSE2 instructions, which will not work on pentium 3s.

Inssomniak, no it probably won't, i don't p3 doesn't have sse2 i think

(and ht too for latest P4)

I understand it is up to me… I just don't know if it is quicker
I guess I'll have to try

somebody knows why udev don't load my harddisks sata? I use kernel 2.6.20 and with a /dev static my hard disks works fine but if I use udev… don't work… why?

Probably cause it's compiled with sse2 and i don't think p3 support it.

Is there a small utility that will visually show me if my computer is making sound output?

gentooer - I'm updating it as we speak… once it finishes i can tell you if it worked.

twodogs, cool thanks

ugh udev rules.. never understood them well

if you want faster compilations I recommend tmpfs compilation + ccache —ccache may be a bit slower first time

akahn, set your soundcard to record all output, then run a recording program.

twodogs, i'm downgrading at the moment to see if something else caused it

I think i stumbled on a soft that made graphical representation of audio output(to use with a player for "beauty") but don't remember the name.;

Uh one thing at a time…
I aint a programmer lol

mzbot, wiki david34 tmpfs

http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

I have a day job and all this reading…

david34, udev don't work fine for me

I'll make a note of it

I don't understand

nevermind, this computer has a built-in speaker to my surprise!

don't bother with tmpfs, it's not much difference

The official Gentoo Handbook and unofficial Gentoo wiki are your friend

I know
I read them constantly, and screw things up constantly
lol
I'll partimage this install though

one of my terminal windows just went crazy, what happened? it looks like:
i can't copy it :/

sometimes I skim cause my patience is thin lol

all the characters are weird symbols now

Big no no with gentoo I suppose

close it, and open a new one

how i remove all partitions including mbr?

what is the general cuase of alsa not detecting sound card on boot

akahn - You probably viewed binary data… you can sometimes type "reset" to fix that

thank you that did it!
i was actually just using mplayer, maybe i pressed the wrong key

I just run cfdisk or fdisk again, xmetal

i always why binary data did that to terminals, anyone know?
*wondered why

david34, but dont remove mbr
i wanna clean hd

just dd /dev/random or /dev/null on the first 512 kbs of the hd
or dd the whole hard drive
with /dev/urandom or /dev/null
wipes it

er, /dev/null won't work.

ooops
forgive me

You probably meant /dev/zero.

/dev/zero I
yeah

I've rewritten the partition tabe. How can I reload with out rebooting?

I just dont reboot

hm
I'm screwed

and like soemtimes it works

i don't know what is up

but I wouldn't suggest it

somebody knows why udev don't load my harddisks sata? I use kernel 2.6.20 and with a /dev static hosting my hard disks works fine but if I use udev… don't work… why?

is handbrake available in Gentoo? Perhaps it's under a different name…

but for some reason emerge can't write something to /usr/share/X11/xkb/compiled

No I dont sec

What is the general cause of alsa not detecting sound card at boot

download, when you quit cfdisk, it will force a re-read of the partition table, and either tell you you need to reboot, or it will work. If you modified the partition table in some other way, I don't know how to force it.

The general cause, s not having a sound card

the module not loaded wisp
oops
John

is there a way to redirect a output to a file and keep receiving it on the stdout?

tired lol

hehe

compiled into kernel

snagnever, man tee

you where right-er :P

you have alsa installed
can you open a mixer?

well i did a emerge alsa
rather or not its installed any way to tell
?

Gentooer - 1.0.20070824 just finished compiling and all plays well.

alsa usually isn't configured properly

rc-update add alsa boot?

No excessive cpu usage or anything

did you read the gentoo alsa howto?

yea i figured that but i cant find a way to configure or i missed some thing

Draconx, didnt get it ;X

Draconx I used test disk to recovery the table. Formating gives device doesn't exist.

Yippy!

didnt even knwo there was a how to for alsa

yet there's a howto for it
on the gentoo site somewheres

There is a LOT of thing in the doc part of the official site and on wiki.gentoo.org(from memory)

yeah there is. and it's easy to follow, and gets your sound card working properly.

And the official forum too.

twodogs, thanks.. i just downgraded and it's still broken, so must be something else

download, simply running the write command in fdisk might force the re-read.

Draconx, I'll try that thanks.

looking around, my issue was reported before

openoffice should comile fine on 64 bit right?

and some guy said "try using equery belongs /var/lib/xkb"

david34, on amd64, yep.

Draconx Worked. Thank you very much.

but my system doesn't recognize equery
What gives?

you need the gentoolkit I think

$"&^£
why do i always need to download something to fix something

I donno

bad luck i guess
emerge gentoolkit -_-;

what's the big deal? if you want to use a particular program, you need to install that program!

I stall them right off the bat.. and all goes well

well, i just wanted to install x

I just installed X

not nopaste and this toolkit as well

worked well

hehe
worked well for me too in the past

how many time a dd =/dev/zero of=/dev/sda can take on 120gb hd sata 5400?

Ich me do math?
It's gonna take awhile
anyways

by the way
thank you everyone for being so helpful
not only to me
but to everyone else :]
I need to go to bed soon too, so this is my final time emerging x tonight _

Is there a command line program that can tell me my 'outside' IP a la whatismyip.com?

else my eyes will bleed
ipconfig in win

a good 60-90 minutes

astinus, omg are u serious?
take 5 minutes to create filesystem
and 60 for remove?
omb
omg

depends on a lot of things, but you're probably only going to get 20-30MB/second from /dev/zero ..
and you don't need to dd over the whole drive just to remove a filesystem

astinus, i need remove all lnx
=x

A command line webbrowser to a site giving your ip somewhere?:p

anyone heard of Economise?

erm, well, a single pass of /dev/zero isn't going to slow down anyone who knows what they're doing.

sure, but i imagined something simpler. kind of a pointless task i guess
sure, but i imagined something simpler. kind of a pointless task i guess

astinus, if i have lnx installed and wanna install windows…
astinus, the install broken

Er, just dd over the first 512 bytes (partition table)

so i found on internet thats i need remove all lnx (like 0fill) to install windows after install windows
astinus, 512bytes dont will make minor time will ?
now im started over 10 minutes
=x

It'll take about 0.01 seconds.

euaheuoae

The problem is you need to ask an external entity what is the ip adress you use to reach it

astinus, i think its better wait

and i don't really see how to do that without an external server.
You can use something loke dynds or dynip service too
with the updater and/or pingin it should work.

or quiery your router
or cable modem

To install linux on a disk with linux before a simple format followed by suppressing/recreating partitions is enough most of the time

yeah, i used to use dyndns in the past when i had a filesharing server

Ashareth, windows after linux
=x

and netgear routers (maybe others) have a built-in dyndns dedicated ip hosting updater

unless you had a boot loader in the mbr that needs to be erased.

always install lin first
then win

wget -O - http://whatismyip.org

So try to ping the dyndns adress from your comp
i don't know if it works.

then remove/replace NTLDR that win puts in

ah, nice

tbh, if you dual boot you shout use bootstar

I'm getting my external adress when pinging my dyndns adress.

actually, wget -q -O - …

lilo, grub, bootmagic, etc

i like bootstar the best web hosting though

you can even configure ntdlr to be the default bootloader even for linux.

personaly
really?
heheh

Everyone have his favorite, don't know this one.
Yup, but you gotta find the syntax somewhere.

It's a shame. It's a german company that went bust

just don't issue more than 4 requests within a single minute otherwise you'll get a scolding message in return (rather than your IP).

BootStar bootmanager
very flexible

how do i get to have a clear-screen after login out on the terminal?

loads of 'free' versions out on the interwebs

wow, moc is an awesome program!

has anyone been able to compile Handbrake after the 0.7.5 release?

AhahahaRHgagrGArgagra :O
didn't work again
i give up =P
going to bed

Ice_Wewe, presumably it would not have been released if not one person was able to compile it.

lol

Sleep does the body good

it's not in portage, so I imagine not many people would know

david34, sometimes

sleep is for the weak

david34, but lost time on google
on gentoo.wiki
u know

lol

Then I must be weak, I go to bed when I want to….

huhu

i want to

np man
hei

but i know if i do i'll cry myself to sleep
lol

John, david34 if sleep its good kde dont will have ktimmercoffe
or something like this

I just want to be in a graphical mode soon hehe

david34, what time its it?

i get an XML file when I try to view any gnome apps help and i get some XML errors on the terminal output… has anyone heard/seen this?

http://forums.gentoo.org/viewtopic-t-578301.html

and nice, the source tarball for 0.9.0 is a 404…

73/132 of KDE

uoah
david34, meta?

nah

monolithc?

no, the rotation script is on the fritz, try it again

emerge kde that one
monolithic is too big of a word for me

david34, u know about monolithc, spli and meta packages?

Yeah

ok
XD

I just dont do it

hwo i know whats the hdd read now?
without gkrellm
on lcd

htop tells cpu usage I think

david34, but i wanna sda XD
david34, just top shows

I have no clue what you are trying to tell me

david34, have u used gkrellm sometime ?

Yeah

know that appears the stat of read/write disks?
like writing 820mb
reading 10mb
in the graph

http://forums.gentoo.org/viewtopic-t-578301.html I'm having problems with my dual booting….

AH

i wanna see this on livecd

hmm, looks ugly, downloads its own local copies of a54dec and ffmpeg atleast
*a52dec

looks ugly, but works like nothing else

:'(

I dont run windows anymore SeanInSeattle

there r programs that r moving from other os to linux based hosting services - if there are any petitions or something?

I bought a wacom tablet and never use it

is it possible to start iceweasel without it asking to restore the session

after I found out how un artist I am

I'll let you know if it compiles fine after it goes through the trouble of recompiling a bunch of stuff I already have :P

iceweasel firefox?

make sure you have nasm and yasm installed or the x264 compile will fail
iceweasel is unbranded firefox

not really, it's a fork of ff

Okay
seriously

mesof try to find in what files all the info of the ssesions

i'm giving up trying to install this =P

"Bon Echo" is the unbranded ff

ffmpeg?

can i emere nvida drivers?

ah, ok

(or Gran Paradiso with 3.0)

lost context…

okay…no
how do you get drivers?

Gentoo rocks!

emerge nvidia-drivers should install them fine

HandBrake compiles on my gentoo machine… just not on my Ubuntu machine

(then you have to change your xorg.conf to use them of course)

drivers for what? Most of what ya need is in the kernel

anyway, it's late and I'm working tomorrow
night!

heh, why ask here then?

cheers TFKyle

because my Gentoo box is an 850 PIII and it take forever

where is rtorrent in the menu once installed?

internet prob

it isn't added to any menus, it's a commandline app (well, ncurses)

okay

ah dang
deluge is gui right?

drover install failed

bobber205 =CK

i'm really getting pissed at gentoo now

sorry
yes

dunno, havn't used it myself

bobber205 use ktorrent

unable to calculate kernal versiopn

Is vikoden supposed to be some strong stuff

bobber205 or azureus

??
John breathe

couldn't find useable .config in kernel dir
hehe

John re look at the ahndbook

yeah, heh, yeah yeah
i think i'll install again

ok I'll use Ktorrent

i installed witout x and without gnome this time

genkernel works lol

so i could install x and xfce later
but no joy

bobber205 i use azuresus but want to move to ktorrent till mutorrent in linux

worked before with gnome

It's only painful once John

so atleast i got to see it working a little bit
haha, true
i have a BSD machine to set up after this
tomorrow.

I never got to liking unix

John xfce4 is great

hehe, cool ^_^
It better be worth it
haha

Depends on point of view
some people are gluttons for punishment

I'm used to playing with fluxbox and litestep in windows

fluxbox is cool

so i like my desktop as non-defualt as poss
ible

John, dont take typing lessons from me

heheh =P
your better than me
anyway
bed for me
dieing
niiiiiiiiiiiiiiiiiiight~
Thank you to everyone who helped me!

bb
gn

And thenk you to everyone who helped other people!!!
night!

where he is from?
*where is he from?

I donno
Never asked

or he tierd or not english-speaking like me
david34 do u know how can i fight to get some windows program in linux?

wine
crossover

nope

win4lin

email them?

virtualbox

i pissed off mplayer
bsplayer is the best

There is a bsplayer for linux
google it

david34 ???

yeah
I dont know if it is in portage
but I compiled it on kubuntu once
But why is mplayer giving you probs?
86/132 almost there lol
actually I was trying to get the vids to work in Never Winter Nights and you needed bsplayer

david34 didn't find anything

I want to make the current directory I am (a music directory is my windows partition) to be /music

I just had a genuine "ah-ha!" moment. I copied over a VMware virtual machine, which was suspended, from a Windows computer to my new Gentoo laptop, and I resumed it … and it was like the virtual machine had never stopped.

david34 playlist,hotkeys,used for bs,setting,subs

how do I make that symbolic link?
I tried ln -s . //music and that didn't work

whats the name of that package that you emerge with the offensive use flag and it says offensive things back to yo uwhen you type a certian command lol?

Cool Cyde
huh?
man ln
ln -s from to
if that dont work to from

is my command wrong?

yeah
.. is the current dir

switch the args?
I want the //music to link to the current dir

//music is the same as /music
what are teh full path to the dir you want to link?

there's lots of spaces
one sec

vikoden is weak
my tooth still hurts

try whiskey

so there is a dir music on the / right?

no not yet

Hey Anyone here know about mySQL or vBulltain?

so I guess I have to make it first huh?

yes, you can do all sorts of cool things with virtual machines

you want to link your current dir to /music?

yeah

I'm just used to nothing working when copied over from Windows to Linux, let alone an entire operating system.

prolly best to use full paths

It's like a paradigm shift.

will copying the result from pwd cut it?

in lieu of relative

all full paths start with /

the vmware-server package on linux is in badly in need of an upgrade however
(Of course, VMWare Workstation gets priority)

I am noticing that it takes significantly longer to pause and resume virtual machines on the exact same hardware.
(In Linux versus in Windows)

whoa. this is weird. I tried ln -s /mnt/windows/Documents and Settings/Alex Wait/My Documents/iTunes/iTunes Music /music and got lots of directories made in music lol

it should be a bit faster in VMWare player

You didn't escape the spaces.

d'oh!

seriously, does anyone here know anything about forums / how to fix them?

whats the name of that package that you emerge with the offensive use flag and it says offensive things back to yo uwhen you type a certian command lol?

use quotes.

I really didn't know you could make a symlink to a windows drive… But why not

Hence why we GNU/Linux people almost never use spaces in filenames … they get you into trouble.

gentoodude - fortune

quse offensive

Or just backslashes to escape the spaces.

quotes are good

I mounted the drive with ntfs-3g

Cyde, backslashes are a *lot* harder to get right.

In my shell, tab completion inserts spaces into paths and filenames.

Cyde, miss one, and you end up with the original problem.
Cyde, well sure, completion also works.

So I rarely use quotes since the shell does the escaping for me.

how do I remove a directory with stuff in it?

You think spaces are bad.. I accidentally put a $ and a # in a file name

tab completion inserting spaces for you isn't benefitial at all

rm -rf

unless it escapes them

But be careful!

I will ^_^

man rm

It does escape them.

its still better to quote

Yeah if you aint careful, you'll remove some stuff ya dont want

You mean some stuff he did want

lol
I've learned my lesson on deleting things. once at work I tar'd over the main drive
lmfao

Running an rm -rf would be a spectacularly bad time to forget to escape spaces, for instance.
I overwrote a disk with zeros once, that count?

So use quotes and dont have to esc seq…..

Until it overwrote the part of the disk holding dd ..

Hello there!!! I have solved most of the problems with the expat update issue, but one funny thing happens with Kile, it runs on xfce4 but on kde gives me the libexpar library missing error, any ideas ??

Well unless there is a $ in a filename.. but

Do you mean libexpat?

how do you emerge it with the offensive use flag

euse -E offensive
or add it to the package.use

or USE="offensive" emerge -v fortune-mod

yes I mean libextap, well something funnier just happened it runs as root in kde trough a terminal but not as a regular user

or yeah the package.use

how should I delete a symbolic link?

I maintained a Nethack fortune file at one point.

rm

libextap? Sure you don't mean libexpat?
Or unlink

is a directory

Cyde, libexpat, I mistyped it

just remove the link

will rm -rf a directory that has a link in it destrot the data the link points?
nvm I'm fine with my link

rm path to link
it's a link not a dir

Idid mkdir music
so it placed the link inside but that's ok

a soft link aint a dir
its like just a pointer

yeah the softlink in IN the dir I made

bobber205, by default, recursive rm will not follow symbolic links.

hey uhhm how can I get divx support in firefox? o.O

xvid
mplayerplugin

how do you make fortune say just offensive sayings?

fortune -o
I think

no fortunes found

after turning on the offensive use flag
I imagine you had the offensive use flag turned off

theyre just boring quotes :/

if you have it installed right.. The quotes are random…
some are going to be lame… Need to do it more than once
you can set it up so you get a quote each time you open a shell or xterm ( the .profile and .bashrc )
seems like qt3 takes forever
Anyone from Germany?

david34, no, nobody is from Germany. The country is void of people.

Just wondering how the weather has been over there

can someone tell to which package the tool rdev belongs?

somebody knows why in 2.6.18 works fine NFS-SERVER and with =2.6.20 don't work nfs-server? nfs-utils, portmap is updated

sec, works for me.

you configure your kernel correctly? MOdules or built in

built in

I dont nfs anyhow

Does anyone know why wine would tell me no OpenGL library found even after I emerged OpenGL?

I just sshfs
opengl is a use flag..

It's in my make.conf

it'll install Mesa

goyle ~ # qfile rdev
sys-apps/util-linux (/usr/sbin/rdev)

WHat exactly are you trying to do?

Draconx, how is you config file?

]Dark-Angel[: ^^

what vid card?

Draconx, of the kernel

| 143684 00 ] == ;-( =

does anyone know how i can get sound from counter strike and amarok at the same time? im using alsa-oss emulation in wine and alsa for amarok

install wine, basically. I have a GeForce 7600 GS, nvidia drivers installed

sec, it has nfs server support enabled.

searching google i've found it's very hard to accomplish
many scripts so to say

hmmm

hmm i tried to search google with no dice, let me know if you find something

I think there is a how to
I never wine

weird thing is one time i was able to use alsa for wine and counter strike ran at full speed and I used amarok at the same time too
but now if i choose alsa cs will run too slow

try #winehq, they would know

how to get java working on firefox?

k

Draconx, http://rafb.net/p/DibQbB75.html ???

I could never figure out if you actually needed Windows installed to run wine

no, you do not

sec, looks good.

I just never had any luck with it….

it's very complex code
almost like a rendition of windows

I don't understand

how do I get quicktime support in firefox?

virtualbox and a windows install works lol

i definitely cannot run yahoo voice programs through wine

Draconx, and your /etc/exports file?

mplayer plugin with mplayer having quicktime support

is that a use flag? the mplayer plugin?

I just find it easier to download the vid and watch it in mplayer
Maybe.. I use xine

mplayerplug-in works quite nicely

just google use flags

I have mplayer compiled with quicktime support

so check the use flags of mplayerplug-in

ah net-www/mplayerplug-in ftw

I'm trying to install gentoo on a laptop with very little memory (128m). The live cd won't even boot because tmpfs runs out of space. Is there a "leaner" way to install?

your laptop must be crap lol

It is!

isn't there a minimal or network install cd?

yep

are you using the minimal cd?

Hmm, let me check. Thanks.

but in all reality
you'll want to kill yourself after trying to compiel on a box with only 128mb of ram

woah [R] is a actual nick
took me awhile to see that

haha…I know

might want to try ubuntu or a variant thereof
memory is cheap why not get some more?

it's an ancient laptop
Nor is it mine…just doing a favor for a friend

Theoretically Gentoo Linux will work on 486s, so it should work on the laptop. It will just, you know, take awhile, and the end result won't be so good.

Dont put kde on that thing lol

Unless your friend doesn't mind not running X11

It'll be headless.

And if he really does want a GUI, go with twm or windowmaker or something lightweight.
A headless laptop? Interesting.
Presumably it'll be non-mobile as well?

what does that mean headless?

No GUI at all, and no monitor attached.

AH

Well, I guess he will have a monitor attached, but it will only be displaying terminals.

what's the point…

A server!!!
I run multiple headless GNU/Linux boxes.

Yeah

It's just going to receive faxes.

Laptops actually make decent servers. Low power consumption + built-in UPS.

I just got one computer and a f'ed up laptop.. The laptop came back fromt the desert with me

If you have an old laptop sitting around not being used for anything else, you might as well.

linux from scratch maybe?
I dont know if there livecd will work

any idea how to activate the s-video output on an S3 proavage?

nope I have a nvidia card

if it would be anywhere, it would be in the X driver

[R]: the X *driver*, not xorg.conf??

JeffATL, X driver options go in xorg.conf.

well you configure the x driver iwth the xorg.conf

somebody knows why in 2.6.18 works fine NFS-SERVER and with =2.6.20 don't work nfs-server? nfs-utils, portmap is updated

prolly a option
why wouldnt it?

i kind of gathered that, thanks

any idea about ati-drivers kernel crash on 2.6.22?

should cover the various options.

113/132 hehe

thx

JeffATL, or man 4x drivername, even

I cant get ati-driver works for my IBm T60 with X1300
it'll crash after using a while
any idea?

yeah, thats what the ati driver does generally

what version is the driver?

I'm going to try the minimal cd. Thanks all.

8.39.x & 9.40.x
8.40.x

8.40 is out and works for now
I just have a x300 on a laptop

I tried 8.40.4,kernel panic .

seems to work

X will start,but it just work for about 20mins around

portages version or downloaded from the ati website?

portages

I used the websites…
But that's like a no no or something

If you have an x300, you should try the radeon driver - that will allow you to use aiglx

jmbsvicetto, how about the x1300?

david34, I don't understand, I use 2.6.18 and work fine but with 2.6.22 don't work my nfs-server
my conf kernel is correct

I aint to worried about it. I learned a long time ago ATI sucks

It won't work. AFAIK, the x1XXX cards require ati-drivers

Generally, but not for political reasons - circumventing portage tends to make your system harder to maintain. It'd be preferable to write an ebuild (or talk a dev into doing so via bugzilla) for what you want.

you are good at repeating yourself…
that ebuild stuff is like jargon

how do i set it so that I don't need to be root to play media on another hard disk?

permissions

how?

set the permissions so a normal user can read
man chmod

anyone know why when running kile as normal user I get the libexpat dependency problem, but not when I run as root ?

aja / david34: Some upstream packages also do weird things or install in wrong places. The ebuilds fix these. So if you install the upstream package you're "polluting" or "damaging" your system

when i try it, it says operation no supported

jmbsvicetto, i got this in dmesg
Uhhuh. NMI received for unknown reason b1 on CPU 0.
You have some hardware problem, likely on the PCI bus.
Dazed and confused, but trying to continue

By upstream do you mean non-Gentoo?

..
flood

That doesn't make sense. Unless you have two versions installed and you have different paths for root and your user

Just use fewer newlines.

you can only change the permissions of a file if you are the owner

Uhhuh. NMI received for unknown reason b1 on CPU 0.
I got this in dmesg

Use chown for that.

when X starts

so if root owns theses files.. yeah chown works too

and after a while ,kernel panic.

Yes, the upstream provider of the package

So I got most of the things working on that laptop I was working on last night.

but I am root
it wont let me se set permissions

good to hear

I know it does not make sense, that is why I am trying to solve the problem, it runs as normal user on xfce4 but not on kde, on kde runs as root only

I'll aggree to polluting to a point but damage nah…. aint like I am building the whole system

What filesystem?

ntfs

one wont kill ya….

That's a different thing. xfce might have been rebuilt, whilst kde hasn't

may not be politically correct, but the easier way

I never said damage. I said "harder to maintain"

Sound isn't working yet, but I'll fix that tomorrow. I even solved a problem on my own … http://www.cydeweys.com/blog/index.php/2007/08/26/dell-laptop-hwclock-incompatibilities-in-gentoo-gnulinux/

You can set permissions on files/dirs on ntfs partitions. You only set the permissions on the mount

And, if you amortize the work you'll end up doing in maintenance of non-portage packages, probably not easier either.

I never noticed at this point, but maybe one day it'll bite me in the ass

I said damage

Ah. And yeah, I guess that's possible, too.

so i only set permissions when it mounts?
how do i do that?

Are you using hald?

jmbsvicetto, but on kde runs as root with no problem, so if it was kde, which I rebuilt, it should not work for any user, or am I wrong??

no

It would make sense. Anyway, does revdep-rebuild -p want to rebuild any package?
So you're mounting the partition directly? Are you using ntfs or ntfs3g?

Wow I'll have a window manager soon

ntfs i htink

just openoffice now, I already rebuilt all of the other packages

somebody knows any "howto" for configure NFS-SERVER in gentoo with =2.6.20 kernel?

i dualboot windows and i have it so both OSs can use it

and what was it all along?
a busted evdev setup
some days I am just an idiot

and umask=mask

ok
Then upload your error and put a link here

Are you so sure it is a kernel issue?

im trying to set up python-setuptools with emerge
i type emerge setuptools, tells me something about masked package
Calculating dependencies
!!! All ebuilds that could satisfy "setuptools" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/setuptools-0.6_alpha5 (masked by: package.mask)

(14 Oct 2005)

# Masked for testing

what do i set for umask?

when I try to run kile as a regular user I only get: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

sorry about that
pasted by accident

I have rebuilt kile several times, but the problem has not been solved

topic

Who do you want to read(write?) it? Just user or group too?

why would emerge tell me that all ebuilds that could satisfy setuptools have been masked ??

For user - 0700 or 0722 should do it. For group as well, 0770 or 0772
It just told you the package is hard masked

what can I do to fix it? im a debian head :x

Look at /usr/portage/profiles/package.mask to find out why

just working on a gentoo box atm

need to read up on masked packages

oh

teach kripton1x package mask

No such faq, did you mean one of 'package.mask', 'package.unmask'?

The package has been masked by a developer because it hasn't been adequately tested. You can install masked packages by following the instructions you'd find in `man portage` or at the other end of a Google Search. Beware - involves using an untested ebuild, YMMV.

teach kripton1x masked packages

No such faq

oh
hm.

gentoo.org has info on masked packages soemwhere

teach kripton1x mixing software

No such faq

teach kripton1x mixing branches

No such faq

teach kripton1x package masks

No such faq

anyone ever got easy_install installed on gentoo?
maybe theres another way cause this is holding up on a wget

what is easy_install

its used with python-setuptools

what is python-setuptools

a python module to find packages easier

packages?

yeah
like frameworks
stuff in python written mostly

mzbot, teach kripton1x mixing software branches

No such faq

gentoo mixing branches

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3

Comments

« Previous entries · Next entries »