Sponsored Content
Operating Systems Solaris rm -r does not disable interactive prompt Post 302262244 by vgersh99 on Wednesday 26th of November 2008 07:07:56 PM
Old 11-26-2008
Quote:
Originally Posted by jlliagre
Or better, remove that alias in the first place which is a "false good idea".
.... not unless you ever attempted to 'rm *' 1 hour before the project deadline (been there... - yes, my nick name is "paranoid" Smilie )
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Interactive Mode?

:confused: Can anyone please tell me how to get into Interactive Mode? (2 Replies)
Discussion started by: Nomad
2 Replies

2. Homework & Coursework Questions

Help with Interactive / Non Interactive Shell script

Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines. It then prompts for deletion of the file. If user supplies arguments with the script , then it works on those files... (1 Reply)
Discussion started by: rits
1 Replies

3. Homework & Coursework Questions

How to write script that behaves both in interactive and non interactive mode

Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines. It then prompts for deletion of the file. If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies

4. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

5. Solaris

New interactive installation

I just took delivery of an Ultra Sparc 60 box. I tried to install Solaris 10 from the cdrom by issuing the following command at ok prompt: ok boot cdrom, and I am getting an error message that says: "Boot device: /pci@1f,4000/scsi@3/disk@6,0:f File and args: can't open boot device. What am I... (2 Replies)
Discussion started by: ijeoma
2 Replies

6. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

7. Solaris

How to disable/bypass passphrase prompt in ssh?

Hi Folks, I have setup a passwordless connection from my Linux ( source) machine toSolaris ( destination ) machine. I have added passphrase while creating the rsa key. Now problem is each time when i make a connection i have to give the passphrase to make connection. How to override this ? I... (4 Replies)
Discussion started by: chidori
4 Replies

8. Shell Programming and Scripting

Nslookup how to remove interactive prompt

I am running this command $ echo -en "set q=any\nwww.google.com\nexit\n" | nslookup | grep AAAA > > > www.google.com has AAAA address 2607:f8b0:400c:c01::93 Can someone help to remove displaying these "> " characters (3 Replies)
Discussion started by: stobo
3 Replies

9. UNIX for Dummies Questions & Answers

How to Change the % prompt to - prompt in UNIX?

how to Change the % prompt to - prompt in unix :wall: ---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ---------- How To display the last modification time of any file in unix ---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies

10. Solaris

Unable to move from rsc prompt to ok prompt

Hi, on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
Glib::ParamSpec(3)					User Contributed Perl Documentation					Glib::ParamSpec(3)

NAME
Glib::ParamSpec DESCRIPTION
Glib::ParamSpec encapsulates the metadata required to specify parameters. You will see these most often when creating new Glib::Object types; see "Glib::Type->register" and Glib::Object::Subclass. Parameter specifications allow you to provide limits for validation as well as nicknames and blurbs to document the parameters. Blurbs show up in reference documentation such as this page or the gtk+ C API reference; i'm not really sure where the nicknames get used. The Perl bindings for the most part ignore the difference between dashes and underscores in the paramspec names, which typically find use as the actual keys for object parameters. It's worth noting that Glib offers various sizes of integer and floating point values, while Perl really only deals with full integers and double precision floating point values. The size distinction is important for the underlying C libraries. HIERARCHY
Glib::ParamSpec METHODS
paramspec = Glib::ParamSpec->IV ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (integer) o $maximum (integer) o $default_value (integer) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->UV ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (unsigned) o $maximum (unsigned) o $default_value (unsigned) o $flags (Glib::ParamFlags) string = $pspec->get_blurb paramspec = Glib::ParamSpec->boolean ($name, $nick, $blurb, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $default_value (boolean) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->boxed ($name, $nick, $blurb, $package, $flags) o $name (string) o $nick (string) o $blurb (string) o $package (string) name of the class, derived from Glib::Boxed, of the objects this property will hold. o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->char ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (integer) o $maximum (integer) o $default_value (integer) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->double ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (double) o $maximum (double) o $default_value (double) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->enum ($name, $nick, $blurb, $enum_type, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $enum_type (string) o $default_value (scalar) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->flags ($name, $nick, $blurb, $flags_type, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $flags_type (string) o $default_value (scalar) o $flags (Glib::ParamFlags) paramflags = $pspec->get_flags paramspec = Glib::ParamSpec->float ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (double) o $maximum (double) o $default_value (double) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->int ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (integer) o $maximum (integer) o $default_value (integer) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->int64 ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (Glib::Int64) o $maximum (Glib::Int64) o $default_value (Glib::Int64) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->long ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (integer) o $maximum (integer) o $default_value (integer) o $flags (Glib::ParamFlags) string = $paramspec->get_name Dashes in the name are converted to underscores. string = $pspec->get_nick paramspec = Glib::ParamSpec->object ($name, $nick, $blurb, $package, $flags) o $name (string) o $nick (string) o $blurb (string) o $package (string) name of the class, derived from Glib::Object, of the objects this property will hold. o $flags (Glib::ParamFlags) string = $pspec->get_owner_type paramspec = Glib::ParamSpec->param_spec ($name, $nick, $blurb, $package, $flags) o $name (string) o $nick (string) o $blurb (string) o $package (string) name of the class, derived from Glib::ParamSpec, of the objects this property will hold. o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->scalar ($name, $nick, $blurb, $flags) o $name (string) o $nick (string) o $blurb (string) o $flags (Glib::ParamFlags) ParamSpec to be used for any generic perl scalar, including references to complex objects. paramspec = Glib::ParamSpec->string ($name, $nick, $blurb, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $default_value (string) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->uchar ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (unsigned) o $maximum (unsigned) o $default_value (unsigned) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->uint ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (unsigned) o $maximum (unsigned) o $default_value (unsigned) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->uint64 ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (Glib::UInt64) o $maximum (Glib::UInt64) o $default_value (Glib::UInt64) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->ulong ($name, $nick, $blurb, $minimum, $maximum, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $minimum (unsigned) o $maximum (unsigned) o $default_value (unsigned) o $flags (Glib::ParamFlags) paramspec = Glib::ParamSpec->unichar ($name, $nick, $blurb, $default_value, $flags) o $name (string) o $nick (string) o $blurb (string) o $default_value (character) o $flags (Glib::ParamFlags) string = $pspec->get_value_type bool = $paramspec->value_validate ($value) (bool, newval) = $paramspec->value_validate ($value) o $value (scalar) In scalar context return true if $value must be modified to be valid for $paramspec, or false if it's valid already. In array context return also a new value which is $value made valid. $value must be the right type for $paramspec (with usual stringizing, numizing, etc). "value_validate" checks the further restrictions such as minimum and maximum for a numeric type or allowed characters in a string. The "made valid" return is then for instance clamped to the min/max, or offending chars replaced by a substitutor. integer = $pspec->values_cmp ($value1, $value2) o $value1 (scalar) o $value2 (scalar) Compares value1 with value2 according to pspec, and returns -1, 0 or +1, if value1 is found to be less than, equal to or greater than value2, respectively. ENUMS AND FLAGS
flags Glib::ParamFlags o 'readable' / 'G_PARAM_READABLE' o 'writable' / 'G_PARAM_WRITABLE' o 'construct' / 'G_PARAM_CONSTRUCT' o 'construct-only' / 'G_PARAM_CONSTRUCT_ONLY' o 'lax-validation' / 'G_PARAM_LAX_VALIDATION' o 'private' / 'G_PARAM_PRIVATE' SEE ALSO
Glib COPYRIGHT
Copyright (C) 2003-2009 by the gtk2-perl team. This software is licensed under the LGPL. See Glib for a full notice. perl v5.12.1 2010-07-05 Glib::ParamSpec(3)
All times are GMT -4. The time now is 10:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy