Sponsored Content
Full Discussion: Unix environment issues
Top Forums UNIX for Advanced & Expert Users Unix environment issues Post 48736 by Eff on Monday 15th of March 2004 10:35:43 AM
Old 03-15-2004
Unix environment issues

I'm having a problem with AIX 4.3.3 and I figured someone here might be able to help me.
I'm running a program 24/7 and I want to handle the day light savings issue without restarting the program since my users won't like it.
I don't have the option of setting the time for the DLS in advance, so I need to change the TZ (and basically tell the computer I'm somewhere else). Unfortunatly, once I change the TZ the application, which has already started needs to be restarted in order to get the new settings.
I'm using C and/or ada in this program and I figure there must be a way for me to request the environment setting again from within the aplication.
I'd appriciate any help I can get on this,
Eff
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

MixWindows UNIX environment

I was wondering if anyone has had any experience in this area. The company that I work at is trying to bring a Windows 2000 server online and have the UNIX workstations and Clients connect to it like it is anothe UNIX box. They have been using Windows Services for UNIX to do this but are having... (1 Reply)
Discussion started by: kaikara1
1 Replies

2. UNIX for Dummies Questions & Answers

personalizing my unix environment

I share a login id/password with several folks so I don't like to change the .profile or other environment variables (e. g., set ignorecase in vi) that other users may expect to be set. Any suggestions to tailor my environment that will not affect other users (2 Replies)
Discussion started by: artjaniger
2 Replies

3. Post Here to Contact Site Administrators and Moderators

Java Programming in UNIX Environment

A suggetion: Don't we need to start Java Programming in UNIX Environment Forum ? (1 Reply)
Discussion started by: cub
1 Replies

4. UNIX for Dummies Questions & Answers

unix develop environment

hi! i am Carlos i study @ UABC (Autonomy University of Baja California)... i have a final project.... i need to make a presentation of the new... unix develop environment... but... i have some problems with that.... could you tell me something to help me? (0 Replies)
Discussion started by: Nx GT-R
0 Replies

5. Shell Programming and Scripting

Unix Environment Script

Hi, I was wondering what is the best way to write a centralized unix environment script. This script would set the application environment variables per specific environment. e.g. dev, qa, test or prod. We currenlty have 2 types of env files e.g. .envfile and set.env per environment. These... (4 Replies)
Discussion started by: acheepi
4 Replies

6. Shell Programming and Scripting

programming for unix environment

i have to make a menu based program to allow iusers to select the system information about their machine that they want. All i have been taught is how to enter commands at the command prompt like simple commands such as pwd and cd directory to change directory (not even sure if that is right). But... (1 Reply)
Discussion started by: carlvernon
1 Replies

7. Programming

New to C Programming in UNIX environment

Hi all, I know the basics of C programming, but I dont know a single thing about how to write, compile and run C code in UNIX, also where liberaris are stored, how .headers files are being managed in unix, how to debug c code and what are the available GNU tools for c programming in linux env,... (6 Replies)
Discussion started by: patras
6 Replies

8. UNIX for Dummies Questions & Answers

unix environment

Hi, Can anyone recommend a site where one can practise UNIX scripting . I don't have UNIX on my machine however I have heard there are some sites which let you log on to their servers for free. Thanks Rohit (2 Replies)
Discussion started by: rohitv
2 Replies

9. UNIX for Dummies Questions & Answers

Package release on UNIX environment

Hi, Can some one tell what is Package release on UNIX environment. Thanks, Nag (1 Reply)
Discussion started by: nag_sathi
1 Replies
SETLEDS(1)						      General Commands Manual							SETLEDS(1)

NAME
setleds - set the keyboard leds SYNOPSIS
setleds [-v] [-L] [-D] [-F] [{+|-}num] [{+|-}caps] [{+|-}scroll] DESCRIPTION
Setleds reports and changes the led flag settings of a VT (namely NumLock, CapsLock and ScrollLock). Without arguments, setleds prints the current settings. With arguments, it sets or clears the indicated flags (and leaves the others unchanged). The settings before and after the change are reported if the -v flag is given. The led flag settings are specific for each VT (and the VT corresponding to stdin is used). By default (or with option -F), setleds will only change the VT flags (and their setting may be reflected by the keyboard leds). With option -D, setleds will change both the VT flags and their default settings (so that a subsequent reset will not undo the change). This might be useful for people who always want to have numlock set. With option -L, setleds will not touch the VT flags, but only change the leds. From this moment on, the leds will no longer reflect the VT flags (but display whatever is put into them). The command setleds -L (without further arguments) will restore the situation in which the leds reflect the VT flags. One might use setleds in /etc/rc to define the initial and default state of NumLock, e.g. by INITTY=/dev/tty[1-8] for tty in $INITTY; do setleds -D +num < $tty done OPTIONS
-num +num Clear or set NumLock. (At present, the NumLock setting influences the interpretation of keypad keys. Pressing the NumLock key com- plements the NumLock setting.) -caps +caps Clear or set CapsLock. (At present, the CapsLock setting complements the Shift key when applied to letters. Pressing the CapsLock key complements the CapsLock setting.) -scroll +scroll Clear or set ScrollLock. (At present, pressing the ScrollLock key (or ^S/^Q) stops/starts console output.) BUGS
In keyboard application mode the NumLock key does not influence the NumLock flag setting. SEE ALSO
loadkeys(1) 24 Sep 1994 SETLEDS(1)
All times are GMT -4. The time now is 06:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy