@# 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



Comments:

<Mjolnir> Cisco? Get a REAL networking device. Bah.
<Idle`> haha, I know
<Mjolnir> I'd ***ume a router, but Cisco does make more than that.
<Mjolnir> Is it still true that 40% or so of backbone traffic are Cisco router errors? That was the case some years ago.
<Idle`> no
<Idle`> well
<Idle`> depends on the backbone
<Idle`> the _major_ carriers all use nortel/juniper on their carrier grade stuff
<Idle`> edge stuff is mostly cisco tho
<Mjolnir> That's typical, but I thought the cisco screwups could propigate through the other stuff. Maybe they got enough filters on now....
<jjshoe> thank god for chipotles
<ikush> i know \r \n how can i delete a full line?
<Trey> ikush: do you mean delete the entire line using vt100 control codes?
<ikush> ya.. i want to send it via php command line
<ikush> with echo / printf
<ikush> \r just returns me to the beginning of the line
<Trey> ikush: looks like ^[[1K does it
<ikush> it didnt work for me
<Trey> ikush: ^[ is control-[
<Trey> not ^ and [
<Trey> ikush: also know as escape 033
<ikush> oh.. hummm.. i've tried \00
<ikush> \033*
<ikush> didnt work as well..
<ikush> and its 2k not 1k
<ikush> 1k is one char back
<Trey> hrmm let me test it
<ikush> k, thanks.
<Trey> ikush: echo 'Some text here ^[[1KAnd afterwards
<Trey> it doesn't actually reposition the cursor. it might be better to move the cursor to the beginning of the line and then erase all the text to the end of the line
<ikush> i will try, sec
<ikush> on pico, how do i do escape char?
<ikush> ctrl-[ doesnt work
<Trey> i do control-v then press escape
<ikush> okay and how do i get to the begining of the line?
<DrMitch> Home
<ikush> home ^[H
<ikush> got me to 1x1 px of the screen
<ikush> to the top-left i mean
<DrMitch> Hold in PageUp
<ikush> i mean with escape chars
<Trey> ^[[A
<Trey> ok so ^[[A^[[K should move the cursor to the start of the line and remove everything from the cursor to the end of the line
<Trey> i ***ume thats what you want. right?
<ikush> ^[1K works but ^[A doesnt
<Trey> not ^[A ^[[A
<Trey> escape [ A
<ikush> \033[A
<ikush> ?
<Trey> yes
<ikush> doesnt work.. but the k does..
<Trey> k or K
<ikush> K sorry
<ikush> printf("\033[1A\033[1K");
<ikush> argh discard the 1A
<ikush> i've tried somthing.. its printf("\033[A\033[1K");
<DrMitch> yuck!
<DrMitch> learn ncurses
<DrMitch> sooooo much better
<w0o0o0o> I have a compatibility question.. I have a pentium-d, will kernel 2.6 support that out of the box?
<DrMitch> yes
<Trey> DrMitch: no kidding
<Trey> ikush: ncurses encapsulates all this stuff
<ikush> what do you mean?
<ikush> but i need the client to support ncurses?
<DrMitch> ncurses does all the escaping for you to make colors, special chars and everything
<Trey> ikush: got it
<Trey> echo 'This should disappear^[A^[[Ktest'
<Trey> so printf("\033A\033[K")
<ikush> okay, sec.
<Trey> i mistyped its escape A not escape [ A
<DrMitch> does c++ support ncurses?
<Trey> DrMitch: absolutely
<DrMitch> or do you have to do c?
<ikush> doesnt work for me..
<w0o0o0o> DrMitch; yes to me ?
<DrMitch> reaaaally
<Trey> DrMitch: yes
<Trey> ikush: hrmm the real problem with this sort of stuff is its terminal dependant
<ikush> true..
<laney> can anyone recommend a good t1 pci card?
<Trey> ikush: which is why ncurses is nice since it abstracts all that stuff away. You say, clear to end of line and it does it taking in to account the type of termianl you're using
<Trey> ikush: eg clrtoeol()
<laney> does anyone here have experience setting up a t1 between 2 linux servers?
<Mjolnir> laney You're actually running the T1 into the server and not to an external router...?
<ikush> Trey: but i need to install it on every client
<Trey> ikush: ncurses comes with most modern unixes
<ikush> how can i check if i have it installed?
<laney> Mjolnir: i figured it would be cheaper that way
<Mjolnir> laney I've never done it direct myself, but there are some cards around that'll work. What you'll probably wind up doing is googling for comments about various cards. Just a quick look shows that Sangoma makes something that works with Linux.
<laney> yeah.. i just started finding some documentation
<laney> i think i was using bad keywords
<Mjolnir> Thing is, these interface cards can run like $700-$1000 (maybe there's something cheap out there, but I've not seen it). That's comparable to a basic router setup. Maybe a tad cheaper. Personally, I've got a major preference for a separate router, but that's me.
<ikush> okay Trey: its ^[G
<Trey> weird
<Trey> ikush: and ^[G doesn't work at all on my system
<Trey> but ^[A does
<ikush> weird :)
<Chris--> so if ncurses comes with most unixes, why is it necessary still to manually install libncurses5-dev on a new box?
<ikush> what term?
<Chris--> o_O
<Trey> ikush: gnu screen running on solaris
<Chris--> as ive seen several things that depend on that being there.
<ikush> okay.. im using VT100 and it works.. ah, i wish that there was somthing universal that you dont need to install..
<Trey> Chris--: because you don't have to have it unless you want TUI apps
<Trey> ikush: worrying about having to install ncurses is wasting your time
<ikush> maybe i can set the user's term to VT100 and return it to default when its finished
<Trey> ikush: its readily available and installed on most modern unix systems
<ikush> how can i check if i have it installed
<Trey> ikush: you can use lynx, links, dialog, ncftp, ethereal etc without it
<ikush> if its installed on my machine then its probably on all of our machines, if not then its the same..
<Trey> oops i mean you can't use those
<ikush> oh... but i can...
<ikush> so how do i use the ncurses to remove line?
<Trey> ikush: look for a libncurses in your lib directory
<ikush> got it
<Trey> ikush: well to clrtoeol() is one. i was looking but couldn't find the move to beginning of line
<ikush> how do i use it?
<Trey> you'll have to dig through the docs.
<ikush> through php i mean..
<Trey> its not terribly complicated
<Trey> php has bindings for it
<Trey> but why in the hell are you writing a console app in php?!
<ikush> because i need it to work both on site and cmd perfect
<Idle`> those lying sacks of cisco ****
<Idle`> and people wonder why I ****ing hate cisco
<ikush> Idle`: i hate their support :)
<Idle`> (not to be confused with the wonderful crisco)
<Idle`> ikush: I hate their company
<ikush> but they do have good firewalls..
<Idle`> they are anal about upselling
<Idle`> BWAHAHA
<Idle`> no they dont
<ikush> anything better to offer?
<Idle`> theyre pix's are glorified smoothwalls
<Idle`> iptables
<Idle`> :)
<ikush> hehe :)
<ikush> any good hardware?
<Idle`> baracuda?
<ikush> dont know it..
<Idle`> mcaffee
<mike_> what's some good free first person shooters that run in Linux?
<ikush> they are not well known in israel..
<mike_> with awesome graphics
<graz> hangman
<mike_> gnaw
<Idle`> mike_: its called 'find cisco, grab gun'....
<Idle`> mike_: cube and cube 2 aparently
<mike_> Man, there was a wolfinstein one that I want to try out, but I couldn't get it downloaded
<Qwell[]> quake


Name:

Comments:

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






Return to #linuxhelp
or
Go to some related logs:

#windows
#delphi
#beginner
#beginner
#politics
#freebsd
#gentoo
#politics
enached
#unixhelp



Home  |  disclaimer  |  contact  |  submit quotes