Solved

Using xconfirm to display motd?

Posted on 1999-01-08
2
367 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 50 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

728 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