03-22-2009
Sure, it would still work the same. Just a habit of mine to reference programs by their full path.
10 More Discussions You Might Find Interesting
1. AIX
I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Discussion started by: wtofu
6 Replies
2. UNIX for Dummies Questions & Answers
Hi
On solaris, when I press Ctrl+S on an XTERM, the window normally freezes. But today on the same machine, the Ctrl+S key results in (i-search) !! I understand that it has got something to do with emacs (may be not). But I do not use emacs at all. Other specific keys including <backspace>,... (3 Replies)
Discussion started by: balaji280283
3 Replies
3. UNIX for Dummies Questions & Answers
I'm going through "learning the bash shell" by newham and rosenblatt. I'm trying to ctro-O to execute and then go on to the next command in the history list, ctrl-o again, etc. (I'm just trying to get a feel for it in case I want to use it). But ctrl-o does nothing. Can someone help me out as to... (5 Replies)
Discussion started by: Straitsfan
5 Replies
4. Shell Programming and Scripting
H! I have written script where it need to invoke the perl script in background, then write the pid in temp file then bring back the job to foreground. whenever the Ctrl-C or Ctrl-Z is pressed in the script has to exit and prompt should be dispalyed. but this script causing exit from shell session... (2 Replies)
Discussion started by: jramesh1
2 Replies
5. Shell Programming and Scripting
None of the aliases that I set are available if I switch to a different shell.
How can I export aliases and make them available in any shell that I switch to like ksh or bash ?
I tried these
$>alias godata='cd /home/kc/app/data'
$>alias -x godata='cd /home/kc/app/data'
$>alias |... (2 Replies)
Discussion started by: kchinnam
2 Replies
6. Shell Programming and Scripting
Hi All,
I need to place a ctrl-c interrupt in a bash script, there is no other way, it has to be done :)
can someone please advise how would I go about this?
i want to use ctrl c in below code, after the code excution of just 1 min or 1sec
java Cspsamp 111.19.5.172 7025 rd1... (6 Replies)
Discussion started by: aish11
6 Replies
7. Shell Programming and Scripting
Hi,
while executing shell script, in the middle of the process, if we kill the shell script( ctrl+z or ctrl+c), script will be killed and the files which using for the script will be in the folder.
How to handle those scenarios. Is there any possibilities, if user breaks the script, I need to... (3 Replies)
Discussion started by: ckchelladurai
3 Replies
8. UNIX for Dummies Questions & Answers
Hi friends,
I am trying to add a newline char ('\n') between the query and the commit statement in the following shell script.
#! /bin/sh
echo "select * from tab; commit;" > data.sql
I have tried typing in "Ctrl-V + Ctrl-J" combination which has inserted ^@ (NUL) character but the commit... (1 Reply)
Discussion started by: royalibrahim
1 Replies
9. Shell Programming and Scripting
Hi..!
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..
So i'm trying to use command 'screen'. which is doing exactly what i wanted, But the problem is automation of the same.
i will have to press Ctrl+a and Ctrl+d for... (2 Replies)
Discussion started by: chandana hs
2 Replies
10. Shell Programming and Scripting
declare -a array=( "LLC-load-misses" "LLC-loads" "LLC-store-misses" "LLC-stores" "branch-load-misses" "branch-loads" "dTLB-load-misses" "dTLB-loads" "dTLB-store-misses" "dTLB-stores" "iTLB-load-misses" "iTLB-loads" "branch-instructions" "branch-misses" "bus-cycles" "cache-misses" "cache-references"... (2 Replies)
Discussion started by: BHASKAR JUPUDI
2 Replies
LEARN ABOUT SUSE
gtk2::treepath
Gtk2::TreePath(3) User Contributed Perl Documentation Gtk2::TreePath(3)
NAME
Gtk2::TreePath
HIERARCHY
Glib::Boxed
+----Gtk2::TreePath
METHODS
treepath or undef = Gtk2::TreePath->new ($path=undef)
o $path (string)
Create a new path. For convenience, if you pass a value for $path, this is just an alias for "new_from_string".
treepath = Gtk2::TreePath->new_first
treepath or undef = Gtk2::TreePath->new_from_indices ($first_index, ...)
o $first_index (integer) a non-negative index value
o ... (list) of zero or more index values
The C API reference docs for this function say to mark the end of the list with a -1, but Perl doesn't need list terminators, so don't do
that.
This is specially implemented to be available for all gtk+ versions.
treepath or undef = Gtk2::TreePath->new_from_string ($path=undef)
o $path (string)
$path->append_index ($index_)
o $index_ (integer)
integer = $a->compare ($b)
o $b (Gtk2::TreePath)
Compares two paths. If $a appears before $b in the three, returns -1. If $b appears before $a, returns 1. If the nodes are equal,
returns 0.
integer = $path->get_depth
$path->down
Moves $path to point to the first child of the current path.
list = $path->get_indices
Returns a list of integers describing the current indices of $path.
boolean = $path->is_ancestor ($descendant)
o $descendant (Gtk2::TreePath)
boolean = $path->is_descendant ($ancestor)
o $ancestor (Gtk2::TreePath)
$path->next
Moves $path to point to the next node at the current depth.
$path->prepend_index ($index_)
o $index_ (integer)
boolean = $path->prev
Moves $path to point to the previous node at the current depth, if it exists. Returns true if there is a previous node and $path was
modified.
string = $path->to_string
boolean = $path->up
Moves $path to point to its parent node; returns false if there is no parent.
SEE ALSO
Gtk2, Glib::Boxed
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::TreePath(3)