@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10



Comments:

<0> Is a DNS stub server never authoritative?
<1> anyone see problems with this? http://pastebin.ca/124188
<0> Are you sure you want to use -D instead of -d on that line?
<1> i did man screen and at the time it made sense
<0> The difference is that -D does not fork a new process. Just making sure that is what you intended to do.
<1> -D ties the screen to process
<1> yes
<1> i actually copied it from a script i use for irssi on this ubuntu box
<0> I don't know what you mean "ties the screen to process."
<1> do you see any other errors?
<1> when the screen is closed the process will go with it
<1> thats what i got from the man pages atleast
<0> I would want it to fork. You're using logger to record the PID, right?
<1> i don't know how
<0> ooh
<1> thats the whole script



<1> i would liek to but i;m not that smart yet
<1> so instead, stop calls killall
<0> That's reasonable. That's the way I would do it anyway.
<0> Although I would use -d instead of -D.
<1> ok
<1> this would mean the screen's session could close and airodump would continue, right?
<0> No, it means that the screen session will not stay tied to that terminal/console, but will fork into the background instead.
<0> You can still reconnect your terminal to it with "screen -r dump"
<1> ok
<1> well the problem is once i log in after a reboot
<1> there are no screens running nor airodump
<0> Is there an option to p*** to screen to kill or terminate a session?
<1> p3nguin, i don't think so
<1> i'm in ubuntu and it uses start-stop-daemon for that
<2> p3nguin, Detach the screen session (disconnect it from the terminal and put it into the background)
<2> you mean
<0> No I don't.
<0> I mean terminate the session.
<0> I want to know what option to p*** to kill an existing session by its name or PID.
<1> start-stop-daemon --start -v -b -x /bin/su -p /tmp/irssi.screen.session -m --chdir /home/luser -- - luser -c "screen -D -m -S irssi -- irssi"
<2> To terminate your screen session, simply kill all windows. screen wil die along with the last window, dropping you back to your original shell.
<0> I need to remote kill the screen session.
<0> screen -KILL pid.tty.host
<0> That effect.
<0> http://pastebin.ca/124224
<0> If you look at dump_stop() you'll see why I need that command.
<2> what happens when you type "exit"
<0> It leaves the terminal that I am on.
<2> type exit again
<0> There's no terminal, I would have to login again.
<0> If I type exit again then I would be logging in as a user named "exit."
<0> I need to administratively kill a screen session of a user without being able to get the PID from using `ps'.
<0> I have the screen session's name, but I cannot lookup the PID of it with procps.
<1> its in 'screen -list' is it not?
<2> C-a :quit
<0> vipersniper: You're not paying attention.
<1> that is the pid of the screen/session
<1> not the proc it is runnign though
<0> fearphage: I need to administratively kill a screen session from using the screen command, not the kill command.
<1> i see
<2> http://gentoo-wiki.com/TIP_Using_screen
<2> read the section under exiting screen ;))
<3> *sigh* anybody here use gentoo and can make this bloody emerge thing work??
<0> vipersniper: That still doesn't tell me what I asked.
<2> what error you getting
<2> p3nguin, your just being an *** ;)
<0> No, you just were not paying attention.
<0> I asked for something specific and you started talking about something entirely different.
<2> <0> Is there an option to p*** to screen to kill or terminate a session?
<2> type exit or quit
<0> Nope, once again, not what I asked for.
<4> BrB
<0> I want to kill a session, not exit from inside of one.
<3> trying to emerge pam_pwdfile for usage with vsftpd . keeps complaining that it's masked by missing keyword. How do you solve that?
<0> You cannot exit from a screen session unless you are attached to it.
<0> I did not ask how to exit from inside screen.
<0> I asked how to administratively kill a screen session.
<0> fearphage: http://pastebin.ca/124240 Maybe this will work for you.
<5> sure you can
<5> at least if yo uwant to be technical (which it sounds like you're being)
<0> One cannot exit from inside of screen unless one is actually inside it.



<5> closer, but still not quite right
<0> Is there a way to kill screen without being attached to it and without being able to lookup the PID with ps?
<6> screen -ls; kill $PID
<5> Yup.
<5> kill $PID isn't necessary here.
<5> Oh, I thought you meant starting a screen and exiting it without being in it.
<0> Please share the secret, as it is not in the man page for screen.
<5> You just want to kill screen.
<5> lacroix gave you one. There's another
<2> Boredboy, emerge ACCEPT_KEYWORDS="~x86" pam_pwdfile -->if x86 is your arch
<5> oh, maybe not.
<5> yeah. screen -ls and killing the pid would be the easiest way I see to kill a detached screen.
<0> screen -ls|grep name|cut -d "." -f 1
<0> That will return the PID.
<0> kill `screen -ls|grep name|cut -d "." -f 1`
<5> great. now still that inside kill `HERE`
<0> That works, but looks nasty.
<2> p3nguin, now you everyone else confused ;))
<2> next time say what you mean ;))
<3> vipersniper, now getting this --> emerge: there are no ebuilds to satisfy "ACCEPT_KEYWORDS=~x86"
<0> fearphage: Here's a version with the new kill method implemented: http://pastebin.ca/124244
<1> but with the -d param (instead of -D) p***ed to screen, wouldn't the screen die but not the process?
<0> No.
<0> It's only a matter of forking or not forking.
<0> That is the only difference in -D and -d.
<0> Try it out and see if it works.
<2> try this way ACCEPT_KEYWORDS="~x86" emerge pam_pwdfile
<2> Boredboy,
<7> Hey guys! Here is my first question for the day. I'm writing a console program that doesn't use any special services. It only uses file streams, and Ncurses. How can I compile it to run on a windows system? And once I do, can I test it in Wine?
<7> Sorry... It's C, and I'm using gcc.
<5> You'll need to use mingw, and port curses to windows. or, you can use cygwin
<8> p3nguin: kill `basename /var/run/screen/S-$USER/*.dump .dump`
<8> something like that maybe
<7> jblack: Why do I need to install those things? it's just a simple command line app?
<7> Why is it not portable?
<5> You can't use a library if the library isn't there. :)
<2> Boredboy, is it working
<7> Oh... So the ncurses lib doesn't get compiled into the exe?
<5> Oh. You want to write a program in linux, and statically compile it for windows.
<5> Yeah, take a look at mingw
<5> that's a cross compiler.
<3> vipersniper, no. *sigh* I really don't like gentoo :(
<2> ACCEPT_KEYWORDS="~x86" emerge pam_pwdfile
<1> rebooting to test
<7> jblack: So once I cross compile, it'll work right?
<2> what error now
<5> When we say portable, we mean that the source code is portable. Not the binary.
<5> Different systems have different system libraries.
<5> If your code and curses is both portable to windows, yes.
<5> there's a cross compiler howto out there. I'd have to hunt it down and read it to you as its been a while since i've done it. It would be easier if you read it yourself.
<7> jblack... here is my real challenge. I'm writing an app that has to be portable to windows... but I don't actually have a windows system. The app is so simple, that it shoudl be portable no problem (as long as Ncurses is portable).
<2> Boredboy, pm check
<7> jblack: Thanks for th einfo
<9> DaTa-MaN: you may want to try running windows in a virtual machine
<7> Isaac-Lew: I can if I have to. I'm hoping wine will get it done
<9> would you be able to use something like java?
<9> <--- throwing things out randomly
<10> give me some thing nice
<5> DaTa-MaN: You're going to want windows to test against anyways.
<11> the bacon chewed the timepiece specially, smelling monitors as they galloped by
<11> somewhat more random
<9> whoohoo! my boss got his own office
<9> (which means I can avoid him more)
<5> ahh, but did he get a phone
<3> oh screw this. how to you get emerge to uninstall a package (vsftpd in this case)??
<12> Boredboy, make uninstall?
<3> huh? really?
<12> i dont know, read the man page for emerge
<12> you could make uninstall in freebsd ports though
<10> hey how do i set the path for an application so i can run it from any dir i want
<13> hi all
<13> wanna ask some thing
<10> K_cL0wn: Just ask
<13> how to read sql database via console?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linux
or
Go to some related logs:

#allnitecafe
#vb
tammy sunway
#india
netcafe clips
k.l gril
#india
#chat-world
#india
#india



Home  |  disclaimer  |  contact  |  submit quotes