Sponsored Content
Full Discussion: IBM Code Page 437...
Operating Systems Linux IBM Code Page 437... Post 303037281 by Neo on Monday 29th of July 2019 05:27:25 AM
Old 07-29-2019
Everyone appreciates these kinds of excellent and informative posts.

Thanks for this post for both the topic at hand (in the referenced link) and for future users who may run across a similar issue.

On behalf of our users, thank you wisecracker!

Your post in is the same spirit was what made the site great a decade ago.

Thank you again.

Neo
This User Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Code page in Unix

Hi, Can someone tell me how do I find the list of comptabile codepages on Linux(suse) , Is it /usr/lib/locale or somewhere else ? I was wandering if someone has expereince in using cycrillic chars (russian) in unix / linux ? Thanks (2 Replies)
Discussion started by: braindrain
2 Replies

2. High Performance Computing

IBM Scheduler for High Throughput Computing on IBM Blue Gene P

A lightweight scheduler that supports high-throughput computing (HTC) applications on Blue Gene/P. (NEW: 06/12/2008 in grid) More... (0 Replies)
Discussion started by: Linux Bot
0 Replies

3. Shell Programming and Scripting

Getting source code of a page

I want to download a particular page from the internet and get the source code of the page in html format. I want to parse the source code to find a specific parameters using grep command. could someone tell me the linux command to download a specific page and parse the source code of it. ... (1 Reply)
Discussion started by: ahamed
1 Replies

4. AIX

IBM AIX on IBM Eseries & x series server

Hi, I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware? Thanks & Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

5. Hardware

IBM 3583 Tape Drive License Feature Code

Team , currently I am doing some inventory on our hardware. I know that the old school IBM 3583 tape drive has some license feature enable but I dont know where can I check If the feature currently enable or not on our drive... Ive checked trough Web Base and Panel base but nowhere I... (0 Replies)
Discussion started by: thermometer
0 Replies

6. AIX

Code Page IBM-860

Helo all, I' trying to print Portuguese special characters like ç, ã, º, º . I already set my print queue for CODE PAGE of printer ibm.860 but every time i send a print test i receive the following error: 0782-059 Attribute name passed to subroutine piocmdout by program... (2 Replies)
Discussion started by: marques_rmc
2 Replies

7. UNIX for Dummies Questions & Answers

Difference between code page used with grep and vi

Not certain the title is phrased correctly but here's the issue: I need to scrape data out of a pdf file. I ftp the file from windows to unix(solaris 10) as a binary file. Open the file in vi and search for a string, Matrix, but no joy. Then I cat the same file, pipe it to grep 'Matrix' and the... (3 Replies)
Discussion started by: rj0
3 Replies

8. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies
Pcap(3pm)						User Contributed Perl Documentation						 Pcap(3pm)

  ## Need an IO::Handle to $kernel->select_read() upon
  $heap->{fdh} = IO::Handle->new_from_fd( $heap->{fd}, "r" )
    or die "Can't create IO::Handle from pcap fd: $!
";

NAME
POE::Component::Pcap - POE Interface to Net::Pcap SYNOPSIS
use POE::Component::Pcap; POE::Component::Pcap->spawn( Alias => 'pcap', Device => 'eth0', Filter => 'host fooble or host blort', Dispatch => 'got_packet', Session => $my_session_id, ); $poe_kernel->post( pcap => open_live => 'eth0', 80, 1, 100 ); $poe_kernel->post( pcap => set_filter => 'arp or host zooble' ); $poe_kernel->post( pcap => set_dispatch => 'target_state' ); $poe_kernel->post( pcap => 'run' ); $poe_kernel->post( pcap => 'shutdown' ); DESCRIPTION
POE::Component::Pcap provides a wrapper for using the Net::Pcap module from POE programs. The component creates a separate session which posts events to a specified session and state when packets are available. ARGUMENTS Alias The alias for the Pcap session. Used to post events such as "run" and "shutdown" to control the component. Defaults to "pcap" if not specified. Device As a shortcut, the device for Net::Pcap to watch may be specified when creating the component. If this argument is used, Net::Pcap::open_live will be called with a snaplen of 80 octets, a timeout of 100ms, and the interface will be put in promiscuous mode. If these values are not suitable, post an "open_live" event instead. Filter Another shortcut, calls Net::Pcap::compile and Net::Pcap::setfilter to set a packet filter. This can only be used if the Device argument is also given; otherwise a "set_filter" event should be posted after an "open_live" event (since Net::Pcap must have a "pcap_t" descriptor to work with). Dispatch Session These specify the session and state to which events should be posted when packets are received. EVENTS The following examples assume that the component's alias has been set to the default value of pcap. open_live $_[KERNEL]->post( pcap => open_live => 'device', [snaplen], [promsic?], [timeout] ); Calls Net::Pcap::open_live. The device name must be specified. The snaplen, promiscuous, and timeout parameters default to 80, 1, and 100 respectively. This event must be posted (or the Device argument must have been passed to spawn()) before anything else can be done with the component. set_filter $_[KERNEL]->post( pcap => set_filter => 'host fooble or host blort' ) Sets the Net::Pcap capture filter. See tcpdump(8) for details on the filter language used by pcap(3). set_dispatch $_[KERNEL]->post( pcap => set_dispatch => 'target_state', 'target_session' ); Sets the state and session to which events are sent when packets are recevied. The target session will default to the sender of the event if not specified. The event posted will have a single argument (available as ARG0) which will be an array reference containing the $hdr and $pkt parameters from Net::Pcap. See the Net::Pcap(3) documentation for more details. run $_[KERNEL]->post( pcap => 'run' ); Causes the component to register a select_read and start watching for packets. shutdown $_[KERNEL]->post( pcap => 'shutdown' ); Shuts the component down. Causes Net::Pcap::close to be called. SEE ALSO
Net::Pcap(3), pcap(3), tcpdump(8), POE(3), POE::Component(3) AUTHOR
Mike Fletcher, <fletch@phydeaux.org> COPYRIGHT
Copyright 2000-2001, Mike Fletcher. All Rights Reserved. This is free software; you may redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2008-01-28 Pcap(3pm)
All times are GMT -4. The time now is 10:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy