Display running 'app' in terminal titlebar?


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Display running 'app' in terminal titlebar?
# 1  
Old 05-06-2009
Display running 'app' in terminal titlebar?

Hi.

I was, not too long ago, an OS X home user. One of the things I remember from using the Apple-installed Terminal is: whenever an executable that took more than a split second to do its thing was running, its name would appear in the title bar in a way similar to "Terminal: ssh" or "Terminal: vim" (oc without the quotes).

Is there a way to do the same, for instance in rxvt in Cygwin? If so, how would one have to edit .Xdefaults (or whichever other configuration file) to do so?

BZT
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

How to play a song in terminal app in os x?

Just wondering -- is there a way to play a song in iTunes from the terminal app? (1 Reply)
Discussion started by: Straitsfan
1 Replies

2. UNIX for Dummies Questions & Answers

Renaming terminal window titlebar

Could someone please inform me of how to permanently change the titlebar name in terminal windows on solaris. I know how to do the xterm and all that but I need it so anytime anyone opens the terminal window it says something i want it too instead of "terminal". Thanks for any help. (1 Reply)
Discussion started by: amason0508
1 Replies

3. Shell Programming and Scripting

Need Mac .sh to run command line app in seperate terminal

Hello, currently we are executing a .sh from terminal. The current .sh looks like this: #!/usr/bin/env bash /Users/user/my.app/Contents/MacOS/my & -- Now, we also need to run a third line in the .sh - It's a command line application that I need to run when I execute the above .sh... (0 Replies)
Discussion started by: yoyoyo777
0 Replies

4. AIX

AIX 6.1 app running on 5.x?

Hi, A quick question. If I build an application on AIX 6.1 TL3 using XL C/C++ 8.0 and Oracle 10g, can I then take those binaries and run them on AIX 5.3 and previous? Regards Kevin (3 Replies)
Discussion started by: KevB
3 Replies

5. OS X (Apple)

Terminal.app keeps creating copies of my settings files

Under Leopard, I like to conveniently open Terminal windows onto remote systems. I've created several settings files in Terminal, one for each remote system that I want to access. To open window, I right-click on the Terminal icon in the Dock, expand the "New Window" menu item, and select the... (0 Replies)
Discussion started by: siemsen
0 Replies

6. UNIX for Advanced & Expert Users

Cygwin <--> CMD App Problem (Terminal Type?)

I'm not sure if this is the right place to post this, but here it is. We have a nightly process that runs on an HP-UX box to stop our application and backend database servers, unmount their SAN hosted file systems, and then snapshot the SAN LUNs for backup and refresh of data on "report" and... (1 Reply)
Discussion started by: deckard
1 Replies

7. UNIX for Dummies Questions & Answers

Terminal titlebar

I find website that give solution about changing terminal titlebar: 32) How can I change the titlebar of my terminal window? but I use SCO Unix openserver 5.0.5, I can't find xterm or maybe I don't know where xterm locate. Anyone knows how to change terminal titlebar for my unix terminal. (2 Replies)
Discussion started by: wendyz
2 Replies

8. Programming

Running app after logout and monitoring

Hello! I just programmed a very simple app, it's function is to report every minute the state of the memory and cpu and put it to and xml. All this stuff is working ok since I'm logged in into the machine, but i want it to run as a service, how can I do that?? P.S: Any one knows how can I... (1 Reply)
Discussion started by: ncatdesigner
1 Replies

9. Programming

Need help with C app on Oracle running on Solaris 6

Hello, I would really appreciate some help with a problem my current client is having. He has an old legacy app that does his company's financial accounting and ERP for manufacturing, etc. The app was written by a company called "Just in time" in Austin, TX, and they are no longer in business. ... (2 Replies)
Discussion started by: w0lf
2 Replies

10. UNIX for Dummies Questions & Answers

terminal display

I want to display a system warning message at the prompt of every live terminal on a sun solaris 8 machine using CDE. I know this can be done on a console, but what about dtterm and xterm regular windows? Does anyone know how this is done? What about a single terminal? Clear skies,... (2 Replies)
Discussion started by: seismic_willy
2 Replies
Login or Register to Ask a Question
Mojolicious::Plugin::Config(3pm)			User Contributed Perl Documentation			  Mojolicious::Plugin::Config(3pm)

NAME
Mojolicious::Plugin::Config - Perl-ish configuration plugin SYNOPSIS
# myapp.conf { foo => "bar", music_dir => app->home->rel_dir('music') }; # Mojolicious my $config = $self->plugin('Config'); # Mojolicious::Lite my $config = plugin 'Config'; # Reads "myapp.conf" by default my $config = app->config; # Everything can be customized with options my $config = plugin Config => {file => '/etc/myapp.stuff'}; DESCRIPTION
Mojolicious::Plugin::Config is a Perl-ish configuration plugin. The application object can be accessed via $app or the "app" function. You can extend the normal configuration file "myapp.conf" with "mode" specific ones like "myapp.$mode.conf". A default configuration filename will be generated by decamelizing the application class with "decamelize" in Mojo::Util or from the application filename. The code of this plugin is a good example for learning to build new plugins, you're welcome to fork it. OPTIONS
Mojolicious::Plugin::Config supports the following options. "default" # Mojolicious::Lite plugin Config => {default => {foo => 'bar'}}; Default configuration, making configuration files optional. "ext" # Mojolicious::Lite plugin Config => {ext => 'stuff'}; File extension for generated configuration filenames, defaults to "conf". "file" # Mojolicious::Lite plugin Config => {file => 'myapp.conf'}; plugin Config => {file => '/etc/foo.stuff'}; Full path to configuration file, defaults to the value of the "MOJO_CONFIG" environment variable or "myapp.conf" in the application home directory. METHODS
Mojolicious::Plugin::Config inherits all methods from Mojolicious::Plugin and implements the following new ones. "load" $plugin->load($file, $conf, $app); Loads configuration file and passes the content to "parse". sub load { my ($self, $file, $conf, $app) = @_; ... return $self->parse($content, $file, $conf, $app); } "parse" $plugin->parse($content, $file, $conf, $app); Parse configuration file. sub parse { my ($self, $content, $file, $conf, $app) = @_; ... return $hash; } "register" my $config = $plugin->register($app, $conf); Register plugin in Mojolicious application. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Plugin::Config(3pm)