Sponsored Content
Operating Systems AIX Is there virc or exrc for saving vi configuration settings in AIX? Post 302997918 by Don Cragun on Monday 22nd of May 2017 01:33:50 PM
Old 05-22-2017
Quote:
Originally Posted by Chinggis6
Thank you, Robin, it helped, but it's user-specific, I'd like to find system-wide solution that would apply to all users.

I already tried creating, editing, and adding into `/etc/exrc` and `/etc/vi.exrc` as suggested in other forums but with no success.
No, you don't. You have no right to decide how other people on your system want to use vi. You should just use $HOME/.exrc to set the defaults you want when you use vi and ex (and view, rview, etc.) and not assume that you know how I want those utilities to behave when I log in to your system.
This User Gave Thanks to Don Cragun For This Post:
 

8 More Discussions You Might Find Interesting

1. Solaris

Saving Desktop configuration

How can I save my desktop configurations?? (background, wallpaper, etc) (2 Replies)
Discussion started by: ulisses0205
2 Replies

2. AIX

P520 AIX com port (tty0) settings

I have software running under AIX 5.3 that should communicate with a special device using standard communication protocol (Modbus) using serial RS-232 line The settings are correct in both sides, But I can't establish a connection. I suspect that there's something that I should do regarding the... (3 Replies)
Discussion started by: ayman metwally
3 Replies

3. Solaris

Saving Font Settings

I've written some tools that don't like the default font setting that come up with the Common Desktop Environment. (The text on the buttons looks like the dingbat character set.) The work around is to go into the style manager and set the font to anything other than 'medium' which is the default.... (2 Replies)
Discussion started by: scottwevans
2 Replies

4. AIX

default settings of security password in AIX

Hi Guy's Just I want to know the default settings of security password in AIX there is some changes happened in my machine when I try to change my password I'm getting this message Changing password for "root" root's New password: a minimum of 1 elapsed week between changes.... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

5. AIX

Settings change in aix

Hi Can any one tell the procedure to change the maxpout and minpout settings on AIX (1 Reply)
Discussion started by: newtoaixos
1 Replies

6. UNIX for Dummies Questions & Answers

Terminal emulation settings help rlogin AIX to SCO

I use a program called TinyTerm to access our AIX machine. It works fine except for when I rlogin into our SCO unix server. Backspace doesn't delete, ctrl-c doesn't work (delete key does same thing), and the most annoying thing is vi acts very wierd. I have to press the down arrow like 3 times to... (11 Replies)
Discussion started by: herot
11 Replies

7. Red Hat

Saving TTY settings

I have 4 digi etherlite boards that allow Wyse and VT100 terminals to connect to our network (stop laughing) :) We are switching from an older version of redhat where we have these running to: Red Hat Enterprise Linux Server release 6.5 (Santiago) I finally got them working and copied the tty... (5 Replies)
Discussion started by: mp99
5 Replies

8. AIX

What are the ideal ulimit settings for root user in AIX?

Hi, what are the ideal/best/recommended ulimit settings for a root user in AIX? I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance. default: fsize = 2097151 core = 2097151 ... (8 Replies)
Discussion started by: System Admin 77
8 Replies
updatehome(1M)						  System Administration Commands					    updatehome(1M)

NAME
updatehome - update the home directory copy and link files for the current label SYNOPSIS
/usr/bin/updatehome [-cirs] DESCRIPTION
updatehome reads the user's minimum-label copy and link-control files (.copy_files and .link_files). These files contain a list of files to be copied and symbolically linked from the user's minimum-label home directory to the user's home directory at the current label. The Solaris Trusted Extensions dtsession program performs an updatehome whenever a newly labeled workspace is created so that the user's favorite files are available for use. For example, the user probably wants a symbolic link to such files as .profile, .login, .cshrc, .exrc, .mailrc, and ~/bin. The updatehome command provides a convenient mechanism for accomplishing this symlink. The user can add files to those to be copied (.copy_files) and to those to be symbolically linked (.link_files). OPTIONS
-c Replace existing home-directory copies at the current label. The default is to skip over existing copies. -i Ignore errors encountered. The default aborts on error. -r Replace existing home-directory copies or symbolic links at the current label. This option implies options -c and -s. The default is to skip over existing copies or symbolic links. -s Replace existing home-directory symbolic links at the current label. The default is to skip over existing symbolic links. EXIT STATUS
Upon success, updatehome returns 0. Upon failure, updatehome returns 1 and writes diagnostic messages to standard error. EXAMPLES
Example 1 A Sample .copy_files File The files that are listed in .copy_files can be modified at every user's label. .cshrc .mailrc .mozilla/bookmarks.html Example 2 A Sample .link_files File The files that are listed in .link_files can be modified at the lowest label. The changes propagate to the other labels that are available to the user. ~/bin .mozilla/preferences .xrc .rhosts Example 3 Updating the Linked and Copied Files The .copy_files and .link_files were updated by the user at the minimum label. At a higher label, the user refreshes the copies and the links. No privileges are required to run the command. % updatehome -r FILES
$HOME/.copy_files List of files to be copied $HOME/.link_files List of files to be symbolically linked ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWtsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) .copy_files and .link_files Files in Solaris Trusted Extensions Administrator's Procedures NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions. SunOS 5.11 20 Jul 2007 updatehome(1M)
All times are GMT -4. The time now is 06:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy