?
Solved

Using xconfirm to display motd?

Posted on 1999-01-08
2
Medium Priority
?
376 Views
Last Modified: 2013-12-26
I would like to use xconfirm to display either the message of the day, or some other message file that I create.  The problem I have is where to put it.  The users on my system (SGI O2 with Irix 6.5) use exclusively csh.  I would like to know where I can put the xconfirm command so that they get the message only once, disregarding the number of shells they might have open.  I tried putting it in Xsession which didn't work, but I don't know why.
0
Comment
Question by:BoB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
mliberi earned 200 total points
ID: 1295294
if your system uses CDE (Common Desktop Environment), you could append the command at $HOME/.dtprofile.
It will get executed only once at login time.
Beware of executing the command in background.

Example: xconfirm <inputfile &
0
 

Author Comment

by:BoB
ID: 1295295
Sorry for grading earlier
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month9 days, 4 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question