How did you achieve your sample output? Why don't you do a quick calculation of the base count and then use the remainder for the first record? 225 - 100 = 125, 125 mod 10 = 5:
I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Hi,
I have a problem I don't understand with fuser.
I launch a simple shell script mysleep.sh:
I launch the command fuser -fu mysleep.sh but fuser doesn't return anything excepted:
mysleep:
Then I modify my script switching from #!/bin/sh to #!/bin/ksh
I launch the command fuser -fu... (4 Replies)
Hi all,
I am using Ubuntu 10.04 LTS in Samsung N148. I can't see any option to adjust brightness in System->Preference->monitor. Is there any shell command to adjust brightness ? I have used xgamma -gamma but it change the gamx not brightness.
Cheers (7 Replies)
Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself.
But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
im trying to print all lines in the /var/log/syslog file that contain the pattern CRON. and after all the lines have been printed, i want a total of all the lines that contained "CRON" to be printed at the end.
the below command is printing the correct lines, but it is giving me the sum of all... (1 Reply)
Hello all,
I have a script that currently works very well but I would like to make a change so that I could prompt for user input for a 2 digit numeric field that would represent the month instead of using the system date for the month.
This is my current awk script that Don so graciously... (1 Reply)
Hi,
I am planning to install a version of Informatica on my AIX box. It requires a specific java build in pap6470_27sr2-20141101_01(SR2).
The current link for IBM 64-bit SDK for AIX®, JavaTM Technology Edition, Version 7 Release 1 has a more recent version in j7r164redist.7.1.0.75.bin.
Is... (4 Replies)
Some question about the usage of shell scripts:
1.) Are the commands of the base shell scripts a subset of bash commands?
2.) Assume I got a long, long script WITHOUT the first line.
How can I find out if the script was originally designed für "sh" or "bash"?
3.) How can I check a given... (3 Replies)
Discussion started by: pstein
3 Replies
LEARN ABOUT SUSE
gtk2::layout
Gtk2::Layout(3) User Contributed Perl Documentation Gtk2::Layout(3)NAME
Gtk2::Layout
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Layout
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
METHODS
widget = Gtk2::Layout->new ($hadjustment=undef, $vadjustment=undef)
o $hadjustment (Gtk2::Adjustment or undef)
o $vadjustment (Gtk2::Adjustment or undef)
window or undef = $layout->get_bin_window
$layout->freeze
adjustment = $layout->get_hadjustment
$layout->set_hadjustment ($adjustment)
o $adjustment (Gtk2::Adjustment)
$layout->move ($child_widget, $x, $y)
o $child_widget (Gtk2::Widget)
o $x (integer)
o $y (integer)
$layout->put ($child_widget, $x, $y)
o $child_widget (Gtk2::Widget)
o $x (integer)
o $y (integer)
(width, height) = $layout->get_size
$layout->set_size ($width, $height)
o $width (integer)
o $height (integer)
$layout->thaw
adjustment = $layout->get_vadjustment
$layout->set_vadjustment ($adjustment)
o $adjustment (Gtk2::Adjustment)
PROPERTIES
'hadjustment' (Gtk2::Adjustment : readable / writable / private)
The GtkAdjustment for the horizontal position
'height' (Glib::UInt : readable / writable / private)
The height of the layout
'vadjustment' (Gtk2::Adjustment : readable / writable / private)
The GtkAdjustment for the vertical position
'width' (Glib::UInt : readable / writable / private)
The width of the layout
SIGNALS
set-scroll-adjustments (Gtk2::Layout, Gtk2::Adjustment, Gtk2::Adjustment)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Layout(3)