Sponsored Content
Full Discussion: printing trailing dot
Top Forums Shell Programming and Scripting printing trailing dot Post 302354815 by jp2542a on Sunday 20th of September 2009 04:15:26 AM
Old 09-20-2009
Answered this in:

https://www.unix.com/shell-programmin...#post302353830

This uses the concept of a worker script (for you the thing that is doing the install) and a dot maker. The worker can do as much as it want while the dots are being made. The worker/dot pair could be modified so that that the worker could do multiple things and inform the dot maker of its progress. The dot maker could then make more informative displays...
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

2. Shell Programming and Scripting

dot files

Hi, everyone. I'm now using rsync command, and please tell me what is the wildcard for below looks like. I want to chose dotfiles, such as .ipod .apple but i don't want to chose . and .. ------------------ .* doesn't work, of course. Thanks, Euler04 (2 Replies)
Discussion started by: Euler04
2 Replies

3. Linux

Regarding Dot Matrix Printing

Hi all, What I want is that can we manage printing a text file on a Dot Matrix printer installed on a Linux machine and the printer should not take the normal A4 format, but should print only to the extent the text file has text in it. What happen usually is that when we give print comand to any... (0 Replies)
Discussion started by: aman_mlt
0 Replies

4. Shell Programming and Scripting

Remove trailing G

Hello, I am trying to write a script that will calculate the amount of data remaining in a storage volume. I'm running Tru64 Unix version 5.1B patch kit 6. The script is being run against an AdvFS domain. I am programming in Korn Shell version M-11/16/88f. The basic idea is that I want to run df... (3 Replies)
Discussion started by: Heathe_Kyle
3 Replies

5. UNIX for Dummies Questions & Answers

Solaris mail routing to Windows SMTP server (trailing dot)

Hello, Firstly, appologies, i am a windows man but i'm picking things up really quickly.! We have some Unix boxes on our estate that route mail to a Windows SMTP server. This doesn't seem to work and after looking at the message headers it looks like the mail is getting bounced. :( -----... (4 Replies)
Discussion started by: M2TTJ
4 Replies

6. UNIX for Dummies Questions & Answers

variable name with dot(.)

Hi, Is it possible to declare variable with name having dot(.) in it ? something like gs.test='HELLO' Thanks in advance :) (1 Reply)
Discussion started by: gopalss
1 Replies

7. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

8. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

9. Shell Programming and Scripting

Mv or cp with a . (dot)?

How can I rename a file with a . prefix? I actually need to copy the file but the . seems to be very tough to do. mv ./bla ../fa/la/.bla - doesn't work. I've tried all sorts of bracketing and that doesn't work. Maybe the only way to do it would be to name the file _.bla then rename it... (19 Replies)
Discussion started by: scribling
19 Replies
GEARMAN_WORKER_WAIT(3)						     Gearmand						    GEARMAN_WORKER_WAIT(3)

NAME
gearman_worker_wait - Gearmand Documentation, http://gearman.info/ SYNOPSIS
#include <libgearman/gearman.h> gearman_worker_st gearman_worker_set_task_context_free_fn int gearman_worker_timeout(gearman_worker_st *worker) void gearman_worker_set_timeout(gearman_worker_st *worker, int timeout) void *gearman_worker_context(const gearman_worker_st *worker) void gearman_worker_set_context(gearman_worker_st *worker, void *context) void gearman_worker_set_workload_malloc_fn(gearman_worker_st *worker, gearman_malloc_fn *function, void *context) void gearman_worker_set_workload_free_fn(gearman_worker_st *worker, gearman_free_fn *function, void *context) gearman_return_t gearman_worker_wait(gearman_worker_st *worker) gearman_return_t gearman_worker_register(gearman_worker_st *worker, const char *function_name, uint32_t timeout) gearman_return_t gearman_worker_unregister(gearman_worker_st *worker, const char *function_name) gearman_return_t gearman_worker_unregister_all(gearman_worker_st *worker) gearman_job_st *gearman_worker_grab_job(gearman_worker_st *worker, gearman_job_st *job, gearman_return_t *ret_ptr) void gearman_job_free_all(gearman_worker_st *worker) bool gearman_worker_function_exist(gearman_worker_st *worker, const char *function_name, size_t function_length) gearman_return_t gearman_worker_work(gearman_worker_st *worker) Link with -lgearman DESCRIPTION
gearman_worker_st is used for worker communication with the server. gearman_worker_context() and gearman_worker_set_context() can be used to store an arbitrary object for the user. gearman_worker_set_task_context_free_fn() sets a trigger that will be called when a gearman_task_st is released. gearman_worker_timeout() and gearman_worker_set_timeout() get and set the current timeout value, in milliseconds, for the worker. gearman_worker_function_exist() is used to determine if a given worker has a specific function. Normally malloc(3) and free(3) are used for allocation and releasing workloads. gearman_worker_set_workload_malloc_fn() and gearman_worker_set_workload_free_fn() can be used to replace these with custom functions. If you need to remove a function from the server you can call either gearman_worker_unregister_all() to remove all functions that the worker has told the gearmand server about, or you can use gearman_worker_unregister() to remove just a single function. RETURN
Various HOME
To find out more information please check: http://gearman.info/ SEE ALSO
gearmand(8) libgearman(3) AUTHOR
Data Differential http://www.datadifferential.com/ COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/ 0.33 May 04, 2012 GEARMAN_WORKER_WAIT(3)
All times are GMT -4. The time now is 05:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy