9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. What is on Your Mind?
We just added a new feature.
When tagging a thread, if you tag the thread "solved" the title of the thread will show up as blue (#0000FF) in various places (forum view, top stats, etc.)
So, if you want to show your thread as "solved" simply add a "solved" tag to the thread taglist.
... (16 Replies)
Discussion started by: Neo
16 Replies
3. Shell Programming and Scripting
I'm using tcl scripts in ns2 ( network simulator) through cygwin. It works fine , however, I downloaded an example when i run it , I got the following syntax error:
syntax error in expression with " *2" : unexpected operator *
while executing :
"expr $bw *2"
invoked from within:
"$ns... (1 Reply)
Discussion started by: ENG_MOHD
1 Replies
4. Red Hat
How can I disable out of office feature on qmail. We don't want to be use this feature by users.
Especially our boss doesn't want because clients have smartphone so they can answer from everywhere! (0 Replies)
Discussion started by: getrue
0 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Programming
I hope this is simple... (I tried looking for help in the Shell Programming and Scripting thread, but got no responses.)
I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes serve as a "select all" and select/deselect all of the other boxes?
Can you... (1 Reply)
Discussion started by: scottwevans
1 Replies
7. Shell Programming and Scripting
OS: HP-UX
Programs I want to install: expect and tcl
I'm lost.
I bought the book.
I began reading the book.
I want to install expect.
I've been able to download the .z, and extract it successfully.
But, of course, it apparently needs tcl and possibly tk also, and ... I... (0 Replies)
Discussion started by: instant000
0 Replies
8. IP Networking
In one of Sun docs I found that a new option, -I, is added to the snoop command.This option specifies for the command to use the new IP layer devices instead of the underlying link-layer device to display traffic data. it is used to enhance IP observability.
But in Solaris 10 with release verstion... (0 Replies)
Discussion started by: anando.1980
0 Replies
9. Post Here to Contact Site Administrators and Moderators
First I would like to say you run an awesome site. I use it pretty much everyday...
I am a member of a local Jeep Club Virtual Jeep Club - Powered by vBulletin and we run vBulletin Version 3.7.0.
You have a feature we would like to add. In "User CP" -> "Edit Options" you have: Exclude... (3 Replies)
Discussion started by: Ikon
3 Replies
Select(3pm) User Contributed Perl Documentation Select(3pm)
NAME
Coro::Select - a (slow but coro-aware) replacement for CORE::select
SYNOPSIS
use Coro::Select; # replace select globally (be careful, see below)
use Core::Select 'select'; # only in this module
use Coro::Select (); # use Coro::Select::select
DESCRIPTION
This module tries to create a fully working replacement for perl's "select" built-in, using "AnyEvent" watchers to do the job, so other
threads can run in parallel to any select user. As many libraries that only have a blocking API do not use global variables and often use
select (or IO::Select), this effectively makes most such libraries "somewhat" non-blocking w.r.t. other threads.
This implementation works fastest when only very few bits are set in the fd set(s).
To be effective globally, this module must be "use"'d before any other module that uses "select", so it should generally be the first
module "use"'d in the main program. Note that overriding "select" globally might actually cause problems, as some "AnyEvent" backends use
"select" themselves, and asking AnyEvent to use Coro::Select, which in turn asks AnyEvent will not quite work.
You can also invoke it from the commandline as "perl -MCoro::Select".
To override select only for a single module (e.g. "Net::DBus::Reactor"), use a code fragment like this to load it:
{
package Net::DBus::Reactor;
use Coro::Select qw(select);
use Net::DBus::Reactor;
}
Some modules (notably POE::Loop::Select) directly call "CORE::select". For these modules, we need to patch the opcode table by sandwiching
it between calls to "Coro::Select::patch_pp_sselect" and "Coro::Select::unpatch_pp_sselect":
BEGIN {
use Coro::Select ();
Coro::Select::patch_pp_sselect;
require evil_poe_module_using_CORE::SELECT;
Coro::Select::unpatch_pp_sselect;
}
BUGS
For performance reasons, Coro::Select's select function might not properly detect bad file descriptors (but relying on EBADF is inherently
non-portable).
SEE ALSO
Coro::LWP.
AUTHOR
Marc Lehmann <schmorp@schmorp.de>
http://home.schmorp.de/
perl v5.14.2 2012-04-13 Select(3pm)