After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 71569 - 'gdialog --clear-rc <file> ' command not working
'gdialog --clear-rc <file> ' command not working
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: gdialog
2.0.x
Other All
: High minor
: GNOME2.x
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-02-15 08:41 UTC by venkat
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Make --create-rc work (656 bytes, patch)
2002-12-07 12:03 UTC, MikeGTN
none Details | Review

Description venkat 2002-02-15 08:41:10 UTC
I have taken the latest source of gnome-utils (ver 1.99) from cvs on
tuesday (12/2/2002) along with all its dependencies. 

Reproducibility : always

Steps to be performed:

1) Open any gnome terminal.
2) Type the command 'gdialog --clear-rc <specify the path of any file>' in 
the command prompt.
3)gdialog usage is displayed as a result of executing the step 2.
Comment 1 Luis Villa 2002-03-01 00:57:58 UTC
That's probably because the usage file specifies 'create-rc' not
'clear-rc' :) But that option does not appear to work either.

It appears that this and --clear are provided mainly to make gdialog
drop in compatible with dialog; should this be made clear in the docs,
maintainers? i.e., replace 
---
       --clear
              The screen will be cleared to the screen attribute on exit.
       --create-rc file
              Since gdialog supports run-time configuration, this can
 be used to  dump  a  sample  configuration  file to the file
specified by file.
---

with
---
 --clear, --create-rc file 'null ops provided for compatibility with
dialog'
---

or something like that?

Marking High with reservations- it is basically non-operational and
completely broken, but overall is not a particularly big deal.
Comment 2 venkat 2002-03-02 12:13:42 UTC
*** Bug 71565 has been marked as a duplicate of this bug. ***
Comment 3 Glynn Foster 2002-04-29 12:08:45 UTC
This util is becoming a pain...but lets try and resolve this for 2.0.
Comment 4 Glynn Foster 2002-05-01 09:17:24 UTC
Punting gdialog
Comment 5 MikeGTN 2002-12-07 12:02:48 UTC
Hmm...seems like it will only ever create the rc file if DISPLAY is
not set, so running from an xterm is always going to fail. Nasty patch
to fix this follows.
Comment 6 MikeGTN 2002-12-07 12:03:58 UTC
Created attachment 12817 [details] [review]
Make --create-rc work
Comment 7 Glynn Foster 2002-12-08 19:11:59 UTC
can't say i can comment on whether it's nasty or not.
gdialog is generally nasty...feel free to commit.
Comment 8 MikeGTN 2002-12-11 13:39:38 UTC
done. can somebody close this bug? I don't have the necessary rights :(
Comment 9 Glynn Foster 2002-12-11 14:03:33 UTC
ROCK! Closing.