By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1956

Summary: starttde: invalid 'trap' command
Product: TDE Reporter: Francois Andriot <albator78>
Component: tdebaseAssignee: Francois Andriot <albator78>
Status: RESOLVED FIXED    
Severity: normal CC: albator78, bugwatch, darrella
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: tdebase: fix trap command in starttde

Description Francois Andriot 2014-02-22 09:25:30 CST
http://git.trinitydesktop.org/cgit/tdebase/tree/starttde
Line 84

  trap '[starttde] echo GOT SIGHUP' HUP


This causes the following error message when stopping TDE:
  /opt/trinity/bin/starttde: ligne1: [starttde] : commande introuvable
(which means "command not found" in english)

The "[starttde] word should be AFTER the echo command, not before.

  trap 'echo [starttde] GOT SIGHUP' HUP
Comment 1 Darrell 2014-02-23 15:28:33 CST
How are you invoking this? I don't see the message with a normal exit or when using Ctrl+Alt+Backspace.

I am using run level 3 and startx.
Comment 2 Francois Andriot 2014-02-23 15:49:07 CST
I'm running nested TDE session using Xephyr.

From a terminal:
  xinit /opt/trinity/bin/starttde -- /usr/bin/Xephyr :1 -screen 1024x768

This allows  to see all TDE messages in terminal.

Note: avoid doing this from inside TDE, it causes strange behaviour in main TDE session. I personnaly run Xephyr from KDE4 session.
Comment 3 Francois Andriot 2014-04-20 12:15:34 CDT
Created attachment 2037 [details]
tdebase: fix trap command in starttde

Patch to fix the invalid trap command.
Comment 4 Darrell 2014-06-01 14:22:57 CDT
Patch was pushed to git in commit 8155652c 2014-05-01.