02-15-2002
This is most likely due to a reference to a missing definition in the front
panel description file. This could be /usr/dt/appconfig/types/C/dtwm.fp, but
if you have done any customization of the front panel, it could be
in /etc/dt/appconfig/types/C/dtwm.fp, $HOME/.dt/types/dtwm.fp,
or perhaps $HOME/.dt/types/fp_dynamic/*.fp.
For example, if the front panel description file references an action
that is not defined in the action database, then dtwm will dump core.
Setting the resource "dtwm*useFrontPanel: False" allows the window manager
to start. However, there will, of course, be no front panel.
To fix this, you will need to locate the reference being made that does
not exist in the appropriate database.
Often times it's the case where the sdtimage.dt file is corrupt. This file
is located under /usr/dt/appconfig/types/C . This file is in the SUNWdtim
package on the CDE cd. Just readd this package with the "pkgadd" command.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am trying to installing solaris on a intel PC, but I am unable to do it.
So my question is where can I find some good documents (I tried sun.com did not find any thing).
If I want to dual boot between Linux and Solaris, would I install solaris first if so why?
Thanks alot
... (5 Replies)
Discussion started by: chamkila
5 Replies
2. UNIX for Dummies Questions & Answers
I know it is a silly question, but when I tried to order or download some linux distributions, they have the options for i386, i486, i586, alpha, IA64, M68K, etc..
Does i386 mean intel-80386? Why when I told the webmaster that my pc is intel piii 933, he told me to download the i386 version?... (3 Replies)
Discussion started by: HOUSCOUS
3 Replies
3. BSD
I think i have messed up with the bios or something. i am seeing this message as soon as the system boots up
////////////////////////////////////////////
Password =
Please Enter The System Logon:
///////////////////////////////////////////
First i though that it was due to changing the... (1 Reply)
Discussion started by: hrk2006
1 Replies
4. Filesystems, Disks and Memory
UNIX -openbsd /i386
I think i have messed up with the bios or something. i am seeing this message as soon as the system boots up
////////////////////////////////////////////
Password =
Please Enter The System Logon:
///////////////////////////////////////////
First i though that it... (1 Reply)
Discussion started by: hrk2006
1 Replies
5. UNIX for Dummies Questions & Answers
Ok when i try to run the install the is what i get
How can i fix this can anyone help (8 Replies)
Discussion started by: Blackrose
8 Replies
6. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
7. Solaris
I want to configure my Network card. On solaris 9 i386.
How to know the good Network device. I use prtconf
to display the device list. I'm searching the device name.
Like ifconfig device_name plumb
thanks you (2 Replies)
Discussion started by: simquest
2 Replies
8. UNIX for Advanced & Expert Users
Greetings,
Please help me with the following :
Where can I find what means exactly and how to use each of the second
argument of the ioctl() system call in Linux/386 : FIOxxx (file IOCTL
requests), SIOxxx (socket IOCTL requests), TCxxx TIOxxx (terminal
IOCTL requests) ?
... (1 Reply)
Discussion started by: aigoia
1 Replies
9. Solaris
Hello guys,
I am trying to install ethereal in Solaris10 based on i386 system.
But i can find only packet for sparc.
Any idea?
Thanks a lot! (2 Replies)
Discussion started by: @dagio
2 Replies
10. SCO
need it to be able to run Seagate STT8000A tape drive. Any suggestions where to go. (5 Replies)
Discussion started by: Mike Gomes
5 Replies
LEARN ABOUT DEBIAN
moosex::attributehelpers::methodprovider::list
MooseX::AttributeHelpers::MethodProvider::List(3pm) User Contributed Perl Documentation MooseX::AttributeHelpers::MethodProvider::List(3pm)
NAME
MooseX::AttributeHelpers::MethodProvider::List - method generator for MooseX::AttributeHelpers::Collection::List
SYNOPSIS
package Stuff;
use Moose;
use MooseX::AttributeHelpers;
has 'options' => (
metaclass => 'Collection::List',
is => 'rw',
isa => 'ArrayRef[Str]',
default => sub { [] },
auto_deref => 1,
provides => {
elements => 'all_options',
map => 'map_options',
grep => 'filter_options',
find => 'find_option',
first => 'first_option',
last => 'last_option',
get => 'get_option',
join => 'join_options',
count => 'count_options',
empty => 'do_i_have_options',
sort => 'sorted_options',
}
);
no Moose;
1;
DESCRIPTION
This is a role which provides the method generators for MooseX::AttributeHelpers::Collection::List.
METHODS
meta
PROVIDED METHODS
count
Returns the number of elements in the list.
$stuff = Stuff->new;
$stuff->options(["foo", "bar", "baz", "boo"]);
my $count = $stuff->count_options;
print "$count
"; # prints 4
empty
If the list is populated, returns true. Otherwise, returns false.
$stuff->do_i_have_options ? print "Good boy.
" : die "No options!
" ;
find
This method accepts a subroutine reference as its argument. That sub will receive each element of the list in turn. If it returns true
for an element, that element will be returned by the "find" method.
my $found = $stuff->find_option( sub { $_[0] =~ /^b/ } );
print "$found
"; # prints "bar"
grep
This method accepts a subroutine reference as its argument. This method returns every element for which that subroutine reference
returns a true value.
my @found = $stuff->filter_options( sub { $_[0] =~ /^b/ } );
print "@found
"; # prints "bar baz boo"
map This method accepts a subroutine reference as its argument. The subroutine will be executed for each element of the list. It is
expected to return a modified version of that element. The return value of the method is a list of the modified options.
my @mod_options = $stuff->map_options( sub { $_[0] . "-tag" } );
print "@mod_options
"; # prints "foo-tag bar-tag baz-tag boo-tag"
sort
Sorts and returns the elements of the list.
You can provide an optional subroutine reference to sort with (as you can with the core "sort" function). However, instead of using $a
and $b, you will need to use $_[0] and $_[1] instead.
# ascending ASCIIbetical
my @sorted = $stuff->sort_options();
# Descending alphabetical order
my @sorted_options = $stuff->sort_options( sub { lc $_[1] cmp lc $_[0] } );
print "@sorted_options
"; # prints "foo boo baz bar"
elements
Returns all of the elements of the list
my @option = $stuff->all_options;
print "@options
"; # prints "foo bar baz boo"
join
Joins every element of the list using the separator given as argument.
my $joined = $stuff->join_options( ':' );
print "$joined
"; # prints "foo:bar:baz:boo"
get Returns an element of the list by its index.
my $option = $stuff->get_option(1);
print "$option
"; # prints "bar"
first
Returns the first element of the list.
my $first = $stuff->first_option;
print "$first
"; # prints "foo"
last
Returns the last element of the list.
my $last = $stuff->last_option;
print "$last
"; # prints "boo"
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to
cpan-RT.
AUTHOR
Stevan Little <stevan@iinteractive.com>
COPYRIGHT AND LICENSE
Copyright 2007-2009 by Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-02 MooseX::AttributeHelpers::MethodProvider::List(3pm)