Sponsored Content
Top Forums Programming do you believe X-application will "kill" the CDE and come back to login dialog Post 24736 by chenhao_no1 on Wednesday 17th of July 2002 07:15:53 AM
Old 07-17-2002
Question do you believe X-application will "kill" the CDE and come back to login dialog

1 . Thanks you for reading the letter
2 . I have programe a X-application .Sometimes, I run it from terminal of CDE ,it "kill" the CDE and I meet the login dialog . I debug it . I find that the SIGHUP caused the X-app died .I do not run it from terminal of CDE ,I run it "click button" from panel , it does the same .(the CDE is killed ,come back to login dialog,the X-app receive the SIGHUP)
3 . I wonder when I run X-app from panel ,it does not have a control terminal ,who send it SIGHUP .
I use "ps axj" find the X-app pid = 8874 ppid = 1 pgid = 8700 sessid = 8700 tty = ??
4 . How can I find the session leader use ps command or others
5 .My email is chenhao_no4@yahoo.com.cn
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No utpmx entry: you must exec "login" from lowest level "shell"

Hi I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message No utpmx entry: you must exec "login" from lowest level "shell" :confused: What i want is: open various... (0 Replies)
Discussion started by: peterpan
0 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. UNIX for Dummies Questions & Answers

HoHow to compile Linux dialog - "curses.h" missing ?

Hi, I tried native compile Linux dialog for Linux embedded device and got "curses.h" error message. As Linux dialog is already compiled and working as Debian .deb package (installed it). What is a way to import curses.h from other package sources to work for dialog sources compilation in my... (2 Replies)
Discussion started by: darius2
2 Replies

4. UNIX for Dummies Questions & Answers

how to install "source" command!/ broken "login.cl"!

Hello, I am new to this forums and this is my first "asking help" message! i have 2 problems: 1- for unknown reasons the "source" command is not avalable in my system (UBUNTU). i can't either see it in my bin directory! 2- again for unknown reasons the "login.cl" file in the home... (0 Replies)
Discussion started by: astrosona
0 Replies

5. Shell Programming and Scripting

Help on using "dialog" in shell

hello, i'm experimenting on "dialog" in shell scripting consider an example : dialog --passwordbox "password" 10 30 i need to take the password typed to a variable. how can i do it. i tried it in perl by backticking the command. but its not working. give me a solution ASAP......:) (2 Replies)
Discussion started by: sunjujohn
2 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
dtfilsys(file formats)													    dtfilsys(file formats)

NAME
dtfilsys -- CDE file system; directory tree structure DESCRIPTION
The CDE file system is divided into three parts: the root system, /usr/dt, the configuration directory, /etc/dt, and the temporary direc- tory, /var/dt. The root system, /usr/dt, is a read-only directory. It contains all the files that comprise the CDE. The configuration directory, /etc/dt, is the directory CDE applications will search to locate configuration files that have been modified by the system administrator. Default versions of these configuration files are typically located in /usr/dt. The temporary directory, /var/dt, contains temporary information or information that varies in size and existence. Below is a diagram of the directory tree structure for CDE. /etc/dt/appconfig/appmanager/<Lang> /help/<Lang> /icons/<Lang> /types/<Lang> /backdrops/<Lang> /config /palettes/<Lang> /usr/dt/app-defaults/<Lang> /appconfig/appmanager/<Lang> /help/<Lang> /icons/<Lang> /types/<Lang> /bin /config /lib /share/backdrops/<Lang> /include /examples /man /palettes/<Lang> /var/dt/appconfig/appmanager $HOME/.dt/appmanager /help /icons /palettes /sessions /types The following guidelines apply to the contents of these directories: /usr/dt This directory is for use by the CDE system. Applications should never create files in this directory although they may read and execute them. /usr/dt/app-defaults/<Lang> This directory contains the localized versions of the app-defaults files for the CDE clients. /usr/dt/appconfig/appmanager/<Lang> This directory contains the localized versions of the actions files used by the Application Manager. /usr/dt/appconfig/help/<Lang> This directory contains the localized versions of the CDE help volumes and help files. /usr/dt/appconfig/icons/<Lang> This directory contains the localized versions of the icons used by the CDE clients. /usr/dt/appconfig/types/<Lang> This directory contains the localized versions of the actions and data types used by the CDE clients. /usr/dt/bin This directory contains the CDE clients. /usr/dt/config This directory contains default configuration files. /usr/dt/lib This directory contains the shared libraries used by the CDE clients. /usr/dt/share This directory contains CDE elements, typically ASCII files, that are independent of the architecture. /usr/dt/share/backdrops/<Lang> This directory contains the localized versions of the backdrops used by the window manager workspaces and by the Style Manager. /usr/dt/share/examples This directory contains examples of CDE functionality. /usr/dt/share/include This directory is part of the developmewnt environment and includes header files associated with CDE. /usr/dt/share/man This directory contains the man pages for the CDE clients. /usr/dt/share/palettes/<Lang> This directory contains the localized versions of the palettes used by the Style Manager to determine the color scheme. /etc/dt This directory is specified as the CDE configuration directory. /etc/dt/appconfig This directory is used to hold system-administrator defined configuration files /etc/dt/appconfig/appmanager/<Lang> This directory is used to hold system-administrator defined configuration files for the Application Manager. /etc/dt/appconfig/help/<Lang> This directory is used to hold system-administrator defined configuration files for the Help system. /etc/dt/appconfig/icons/<Lang> This directory is used to hold system-administrator defined configuration files for icons. /etc/dt/appconfig/types/<Lang> This directory is used to hold system-administrator defined configuration files for the action and filetype database. /etc/dt/backdrops/<Lang> This directory contains backdrops provided by the system administrator. /etc/dt/config This directory is to contain modified versions of the CDE configuration files (installed in /usr/dt/config). /etc/dt/palettes/<Lang> This directory contains palettes provided by the system administrator. /var/dt This directory is used by CDE for some log files, temporary files, and files that vary in size. /var/dt/appconfig/appmanager This directory is created at login and is used by the Application Manager. $HOME/.dt This directory contains information specific to the user. $HOME/.dt/appmanager This directory is used to hold user-defined configuration files for the Application Manager. $HOME/.dt/backdrops This directory is used to hold user-customized backdrops for the Style Manager. $HOME/.dt/help This directory is used to hold user-defined configuration files for the Help system. $HOME/.dt/icons This directory is used to hold user-defined configuration files for icons. $HOME/.dt/palettes This directory is used to hold user-customized palettes for the Style Manager. $HOME/.dt/sessions This directory is used to store session information between CDE sessions. $HOME/.dt/tmp This directory is used to hold temporary information. $HOME/.dt/types This directory is used to hold user-defined configuration files for the action and filetypes database. The Minimum Runtime Environment The minimum environment required for a system to support CDE consists of the following files and directories: /usr/dt/app-defaults/C/ tpad Dtksh Dtterm /usr/dt/appconfig/tttypes/ types.xdr /usr/dt/bin/ dsdm dtaction dtappgather dtappintegrate dtexec dtksh dtpad dtspcd dtterm suid_exec rpc.ttdbserver tt_type_comp ttsession SEE ALSO
dtenvvar(5) dtfilsys(file formats)
All times are GMT -4. The time now is 06:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy