Sponsored Content
Full Discussion: customizing xterm windows
Top Forums UNIX for Dummies Questions & Answers customizing xterm windows Post 1177 by toddy44 on Tuesday 13th of February 2001 05:19:25 PM
Old 02-13-2001
MySQL

This is what worked for me.

In my .cshrc file I added the following lines.
set system=`uname -n` # name of this system.
set myname=`/usr/ucb/whoami` # user name
set ip_addr=`ypmatch $system hosts` # IP address
set prompt="[$myname@($ip_addr)]$cwd-> " #command prompt.
alias cd 'cd \!* ; set prompt="[`whoami`@($ip_addr)]$cwd-> "; echo -n "2;`dirs`1;`dirs`"'

With a result of my command line looking like:
[username@(ip address nodename ]/home/username->

And the title of the xterm window dynamically changing to the dir I cd too.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Customizing CDE background

i have a question about setting the background in a workspace in CDE. I have CDE runnning on Solaris 8 here at work and I want to use some images I have as the background in or two of the workspaces. When I use xv on the image and choose the option the option from the Display Menu -> Root:... (1 Reply)
Discussion started by: Kanu77
1 Replies

2. Shell Programming and Scripting

customizing desktop

I need help editing my openwin file. I've got it all set up so the options I normally use (xman, cmdtools, xeyes, printtool) automatically come up when I log on, but it won't read my -geometry entries. I got them by right-clicking on the desktop, but apparently they need to be entered a certain... (0 Replies)
Discussion started by: sdienlin
0 Replies

3. Red Hat

Customizing RHEL OS

Hello Every One, I am not sure if this is the correct forum to post this question. But please help me with your ideas. I have got a work (proj) where i need to customize the RHEL OS . This would involve building packages, installing them , correcting privileges etc and all these... (4 Replies)
Discussion started by: shirsha
4 Replies

4. UNIX for Dummies Questions & Answers

Customizing UNIX

Hello i'm just wondering how to customize the color of unix's (or SSH) background, cursor, and letter? Thank you for your time (4 Replies)
Discussion started by: mgyeah
4 Replies

5. Shell Programming and Scripting

Xterm console windows at X,Y position

Hi all I want run Xterm and set it windows to a specific position ( inside Gnome display ) : may be I want run Xterm and set it at the low-right corner of screen... I know "geometry" parameter for windows size but for position is there something ? Thanks (4 Replies)
Discussion started by: jerold
4 Replies

6. UNIX for Dummies Questions & Answers

Customizing from address in mailx command

Currently I am using mailx command for sending mails. But the mail is sent as from userid@servername by default. Is it possible to customise the from mail address in mailx command? Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies

7. UNIX for Dummies Questions & Answers

customizing default file permission

By default, the files are creates with this permissions:-rw-rw-r-- Is it possible to customize that in such away that ,always created as 777. Where i need to make changes? Please guide me. Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies

8. Shell Programming and Scripting

Customizing ps command

Hi, I want to monitor our batch jobs at a specific interval for later analysis to see the performance and CPU utilization USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ps aux|grep dsadm|head xxxxx 386 0.0 0.0 103524 15448 pts/0 S Mar27 0:00... (6 Replies)
Discussion started by: ratheeshjulk
6 Replies

9. UNIX for Advanced & Expert Users

Customizing bash on AIX

AIX is really different from most distros I am used to. I am trying to set up my .bashrc so I did this in the file. I noticed when I ssh into the server or use the bash command for a new shell it was being ignored. #------------------------------------------------------------- # Source global... (2 Replies)
Discussion started by: cokedude
2 Replies
ext_file_userip_acl(8)					      System Manager's Manual					    ext_file_userip_acl(8)

NAME
ext_file_userip_acl - Restrict users to certain IP addresses, using a text file backend. Version 1.0 SYNOPSIS
ext_file_userip_acl [-dh] [-f file name ] DESCRIPTION
ext_file_userip_acl is an installed binary. An external helper for the Squid external acl scheme. It works by reading a pair composed by an IP address and an username on STDIN and matching it against a configuration file. OPTIONS
-d Write debug info to stderr. -f file Configuration file to load. -h Display the binary help and command line syntax info using stderr. CONFIGURATION
The squid.conf configuration for the external ACL should be: external_acl_type type-name %SRC %LOGIN /path/to/ext_file_userip_acl -f /path/to/config.file If the helper program finds a matching username/ip in the configuration file, it returns OK , otherwise it returns ERR . The configuration file format is as follows: ip_addr[/netmask] username|@group|ALL|NONE Where ip_addr is a dotted quad format IP address, the netmask must be in dotted quad format too. When the second parameter is prefixed with an @ , the program will lookup the /etc/group file entry for the specified username. There are other two directives, ALL and NONE , which mean AUTHOR
This program was written by Rodrigo Campos <rodrigo@geekbunker.org> This manual was written by Rodrigo Campos <rodrigo@geekbunker.org> Amos Jeffries <amosjeffries@squid-cache.org> COPYRIGHT
This program and documentation is copyright to the authors named above. Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org> REPORTING BUGS
Bug reports need to be made in English. See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. Report bugs or bug fixes using http://bugs.squid-cache.org/ Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org> Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org> SEE ALSO
squid(8), GPL(7), The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq The Squid Configuration Manual http://www.squid-cache.org/Doc/config/ ext_file_userip_acl(8)
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy