Sponsored Content
Full Discussion: Change Console Title
Top Forums UNIX for Dummies Questions & Answers Change Console Title Post 52056 by medmonson on Wednesday 9th of June 2004 05:41:27 AM
Old 06-09-2004
Thanks for your help Ygor and Zazzybob.

However, I have been unable to get either method to work.

Ygor,

I created the title script using the VI editor. I modified the script to have rwx for all. When I ran the script just like you suggested...

# title New Window Title

it returned,

title: print: not found

Do you have any idea what I could be doing wrong? I am running on an emulator using the Exceed software. Would this have anything to do with my problem?

The OS is Solaris 6.


Zazzybob,

I also tried running your command from the command line. All it seems to do is echo back

^[]0;^G


The title bar still says console.
 

8 More Discussions You Might Find Interesting

1. Solaris

Change Terminal Title

Is it possible to change the title of a Terminal window on Solaris? For example, for a MS Windows command window, one can simply type "title NameofWindow" to change the title for a command window. I was looking for similar functionality for terminal windows. Thanks. (8 Replies)
Discussion started by: here2learn
8 Replies

2. UNIX for Advanced & Expert Users

Change putty title window?

Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies

3. UNIX for Advanced & Expert Users

Change title of aixterm window online

Is there any way to change title of aixterm window online? Also is it possible to freeze first/last few lines online? (1 Reply)
Discussion started by: Soham
1 Replies

4. AIX

How to change cronjob title?

Once I type "mail" command, I got to see the mail like below: > 1 daemon Thu Aug 12 17:31 31/938 "Output from cron job " My question is, how to do change the default title "Output from cron job " to be more customized title? Thanks. (4 Replies)
Discussion started by: ngaisteve1
4 Replies

5. Shell Programming and Scripting

How to change the title bar of the terminal screen

Hi, How to change the value after the symbol '@' ? $ i.e. @mac1 I want to change it to @prod2 Also need to change the same in the title bar on the top when we open a new terminal. (3 Replies)
Discussion started by: milink
3 Replies

6. UNIX for Dummies Questions & Answers

Change putty title name

Hello all, I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com) Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)... now my question is when i do ssh and logon to... (20 Replies)
Discussion started by: abdul.irfan2
20 Replies

7. UNIX for Beginners Questions & Answers

Delete columns with a specific title XXX, where the position change in each file

Goodmorning, I know how to cut a string and a column, and how to find a word. I have a file with over 100 columns. All columns have a title in the first line. I have to delete all columns with the XXX title. I can't use cut -f because the position of XXX columns change in each file, and in... (14 Replies)
Discussion started by: echo manolis
14 Replies

8. Post Here to Contact Site Administrators and Moderators

Change title of a thread after it is created

hi, how do we change the title of a thread after it is created? Thanks (5 Replies)
Discussion started by: milhan
5 Replies
DublinCore::Record(3pm) 				User Contributed Perl Documentation				   DublinCore::Record(3pm)

NAME
DublinCore::Record - Container for Dublin Core metadata elements SYNOPSIS
use DublinCore::Record; my $record = DublinCore::Record->new(); # later ... # print the title print $record->element( 'title' )->content; ## list context will retrieve all of a particular element foreach my $element ( $record->element( 'Creator' ) ) { print "creator: ", $element->content(), " "; } ## qualified dublin core my $creation = $record->element( 'Date.created' )->content(); DESCRIPTION
DublinCore::Record is an abstract class for manipulating DublinCore metadata. The Dublin Core is a small set of metadata elements for describing information resources. For more information on embedding DublinCore in HTML see RFC 2731 <http://www.ietf.org/rfc/rfc2731> or <http://www.dublincore.org/documents/dces/> METHODS
new() The constructor. Takes no arguments. $record = DublinCore::Record->new(); add( @elements ) Adds valid DublinCore::Element objects to the record. remove( @elements ) Removes valid DublinCore::Element object from the record. element() This method will return a relevant DublinCore::Element object. When called in a scalar context element() will return the first relevant element found, and when called in a list context it will return all the relevant elements (since Dublin Core elements are repeatable). ## retrieve first title element my $element = $record->element( 'Title' ); my $title = $element->content(); ## shorthand object chaining to extract element content my $title = $record->element( 'Title' )->content(); ## retrieve all creator elements @creators = $record->element( 'Creator' ); You can also retrieve qualified elements in a similar fashion. my $date = $record->element( 'Date.created' )->content(); In order to fascilitate chaining element() will return an empty DublinCore::Element object when the requested element does not exist. You can check if you're getting an empty empty back by using the is_empty() method. if( $record->element( 'title' )->is_empty ) { # no title } elements() Returns all the Dublin Core elements found as DublinCore::Element objects which you can then manipulate further. foreach my $element ( $record->elements() ) { print "name=", $element->name(), " "; print "content=", $element->content(), " "; } title() Returns a DublinCore::Element object for the title element. You can then retrieve content, qualifier, scheme, lang attributes like so. my $title = $record->title(); print "content: ", $title->content(), " "; print "qualifier: ", $title->qualifier(), " "; print "scheme: ", $title->scheme(), " "; print "language: ", $title->language(), " "; Since there can be multiple instances of a particular element type (title, creator, subject, etc) you can retrieve multiple title elements by calling title() in a list context. my @titles = $record->title(); foreach my $title ( @titles ) { print "title: ", $title->content(), " "; } creator() Retrieve creator information in the same manner as title(). subject() Retrieve subject information in the same manner as title(). description() Retrieve description information in the same manner as title(). publisher() Retrieve publisher information in the same manner as title(). contributor() Retrieve contributor information in the same manner as title(). date() Retrieve date information in the same manner as title(). type() Retrieve type information in the same manner as title(). format() Retrieve format information in the same manner as title(). identifier() Retrieve identifier information in the same manner as title(). source() Retrieve source information in the same manner as title(). language() Retrieve language information in the same manner as title(). relation() Retrieve relation information in the same manner as title(). coverage() Retrieve coverage information in the same manner as title(). rights() Retrieve rights information in the same manner as title(). SEE ALSO
* DublinCore::Element * Dublin Core <http://www.dublincore.org/> * RFC 2731 <http://www.ietf.org/rfc/rfc2731> * perl4lib <http://www.rice.edu/perl4lib> AUTHOR
* Ed Summers <ehs@pobox.com> * Brian Cassidy <bricas@cpan.org> COPYRIGHT AND LICENSE
Copyright 2007 by Ed Summers, Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2007-11-24 DublinCore::Record(3pm)
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy