10 More Discussions You Might Find Interesting
1. How to Post in the The UNIX and Linux Forums
Hello my dear friends,
Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory.
is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies
2. Shell Programming and Scripting
Team,
Presently I have a script, which i have set up cron on one of my Jump-boxes,and gives me the output on every hourly basis,fetching the data from the remote machine.Basically it gives me the list of all active users logged and its count once we execute the script.Here the count is... (6 Replies)
Discussion started by: whizkidash
6 Replies
3. Red Hat
Hi
I have a linux box and need to access from windows graphically
# uname -a
Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux
What components do I need to install on Linux and windows to do that?
TIA (6 Replies)
Discussion started by: magnus29
6 Replies
4. Web Development
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Discussion started by: Little
1 Replies
5. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
6. Solaris
I need to copy the printers currently installed on a Sol8 box to a Sol10 box. I tried copying the printers.conf file from the Sol8 box and that worked until I went through the file and changed the server name to that of the Sol10 box. Another post on this forum suggested copying the entire... (1 Reply)
Discussion started by: todis
1 Replies
7. Shell Programming and Scripting
Hi All,
I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies
8. UNIX for Advanced & Expert Users
i'm not much of an advanced unix programmer but I'm trying to write a script to access files on box1 after ssh from box 1 to box2. when ssh is invoked in the script i'm getting logged into box2 and losing complete touch with box1 which is normal i guess.
but my main aim with my script is when i... (3 Replies)
Discussion started by: pharos467
3 Replies
9. Shell Programming and Scripting
HI All,
I need a script to reboot a linux box from a windows box.
The script needs to run automatically whenever a sitescope alerts with an error message.
Have searched for this in the forums, but could not get something relative.
Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies
10. UNIX for Advanced & Expert Users
If I want to access unix box via VPN tunnel,from windows box.
What sould I configure on the windows client PC, and what should I enable on the Unix Server box ?
I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
UI::Dialog::Gauged(3pm) User Contributed Perl Documentation UI::Dialog::Gauged(3pm)
NAME
UI::Dialog::Gauged
SYNOPSIS
use UI::Dialog::Gauged;
my $d = new UI::Dialog::Gauged ( title => 'Default title',
height => 20, width => 65 ,
listheight => 5,
order => [ 'zenity', 'xdialog' ] );
# Either a Zenity or Xdialog msgbox widget should popup,
# with a preference for Zenity.
$d->msgbox( title => 'Welcome!', text => 'Welcome one and all!' );
ABSTRACT
UI::Dialog::Gauged is simply another meta-class for UI::Dialog. This class simply has a different order of priority than UI::Dialog and
only uses backends that support a standard set of gauge related functions.
DESCRIPTION
This class is simply a nice way to try and ensure a GNOME based widget set.
EXPORT
None
INHERITS
UI::Dialog
CONSTRUCTOR
new( @options )
EXAMPLE
my $d = new( title => 'Default Title', backtitle => 'Backtitle',
width => 65, height => 20, listheight => 5,
order => [ 'zenity', 'xdialog' ] );
DESCRIPTION
This is the Class Constructor method. It accepts a list of key => value pairs and uses them as the defaults when interacting with
the various widgets.
RETURNS
A blessed object reference of the UI::Dialog::Gauged class.
OPTIONS
The (...)'s after each option indicate the default for the option.
debug = 0,1,2(0)
order = [ zenity, xdialog, cdialog, whiptail ] (as indicated)
PATH = [ /bin, /usr/bin, /usr/local/bin, /opt/bin ] (as indicated)
backtitle = "backtitle" ('')
title = "title" ('')
beepbefore = 0,1(0)
beepafter = 0,1(0)
height = d+(20)
width = d+(65)
listheight = d+(5)
WIDGET METHODS
gauge_start( )
EXAMPLE
$d->gauge_start( text => 'gauge...', percentage => 1 );
DESCRIPTION
Display a meter bar to the user. This get's the widget realized but requires the use of the other gauge_*() methods for function-
ality.
RETURNS
TRUE(1) if the widget loaded fine and FALSE(0) for anything else.
gauge_inc( )
EXAMPLE
$d->gauge_inc( 1 );
DESCRIPTION
Increment the meter by the given amount.
RETURNS
TRUE(1) if the widget incremented fine and FALSE(0) for anything else.
gauge_set( )
EXAMPLE
$d->gauge_set( 99 );
DESCRIPTION
Set the meter bar to the given amount.
RETURNS
TRUE(1) if the widget set fine and FALSE(0) for anything else.
gauge_text( )
EXAMPLE
$d->gauge_text( 'string' );
DESCRIPTION
Set the meter bar message to the given string.
RETURNS
TRUE(1) if the widget set fine and FALSE(0) for anything else.
gauge_stop( )
EXAMPLE
$d->gauge_stop();
DESCRIPTION
End the meter bar widget process. One of the flaws with gdialog is that the gauge widget does not close properly and requies the
end user to close the gauge window when 100% has been reached. This is the second reason why I'm glad gdialog is going the way of
the dodo.
RETURNS
TRUE(1) if the widget closed fine and FALSE(0) for anything else.
SEE ALSO
PERLDOC
UI::Dialog
UI::Dialog::Backend
UI::Dialog::Backend::CDialog
UI::Dialog::Backend::Nautilus
UI::Dialog::Backend::Whiptail
UI::Dialog::Backend::XDialog
UI::Dialog::Backend::XOSD
UI::Dialog::Backend::Zenity
MAN FILES
zenity(1), Xdialog(1), dialog(1), whiptail(1), osd_cat(1) and nautilus(1)
BUGS
Please email the author with any bug reports. Include the name of the module in the subject line.
AUTHOR
Kevin C. Krinke, <kckrinke@opendoorsoftware.com>
COPYRIGHT AND LICENSE
Copyright (C) 2003 Kevin C. Krinke <kckrinke@opendoorsoftware.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
perl v5.8.8 2004-08-01 UI::Dialog::Gauged(3pm)