From: "Hartman, John (St. Paul)" <jhartman@trane.com>
To: "'insight@sources.redhat.com'" <insight@sources.redhat.com>
Subject: RE: Is it possible to save window size and position preferences?
Date: Thu, 01 Aug 2002 14:13:00 -0000 [thread overview]
Message-ID: <20020801141300.XTIzYOWUGqcYatfsUrQbGGK28bsEgX6fUQXuD-u7j7A@z> (raw)
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
On Thu, 1 Aug 2002, Keith Seitz wrote:
>Ah, I see what's going on (and I don't really like it, either)... We save
>the geometry of any _open_ windows when Insight is exited. Once they are
>saved like this, these settings will never go away (unless you delete your
>preferences file). So even if you close them, they will show up the
>"right" way next time.
I deleted gdbtk.ini and then ran Insight. The behavior I get is
1) open, size and place Register and Locals windows
2) close Insight
3) run Insight again - and get only the source window, open to its original
dimensions
If I open gdbtk.ini (attached) after step 2, it contains for these windows
only:
[reg]
highlight_fg=blue
rows=16
[locals]
What do the commands in the ini file look like for windows open and sized?
As a brute-force hack, I could hand edit my ini file for the placement I
want.
[-- Attachment #2: gdbtk.ini --]
[-- Type: application/octet-stream, Size: 2334 bytes --]
# GDBtk Init file
# GDBtkInitVersion: 1
[global]
font/bold=-family windows-caption
font/default=-family windows-message
font/menu=-family windows-menu
font/status=-family windows-status
font/fixed=-family fixedsys
font/italic=-size 8 -weight normal -overstrike 0 -underline 0 -slant italic -family {MS Sans Serif}
[gdb]
session=args dirs executable target pwd
font italic=-size 8 -weight normal -overstrike 0 -underline 0 -slant italic -family {MS Sans Serif}
session=/xygdrive/d/MicroBlaze/examples/testcpp
font_cache=
main_names=MAIN___ MAIN__ main
session=sim
use_icons=1
B1_behavior=1
session=$cdir:$cwd
recent-projects=/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out
ImageDir=images2
mode=0
session=/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out
session=$cdir:$cwd
control_target=1
[load]
sim-portname=1000
sim-verbose=0
default-portname=1000
sim-runlist=1 1 1 0
default-port=com1
main=1
verbose=0
baud=38400
default-verbose=0
exit=1
port=com1
check=0
target=sim
default-runlist=0 0 1 0
bp_at_func=0
[console]
wrap=0
prompt=(gdb)
prompt_fg=DarkGreen
log_fg=green
font=src-font
target_fg=blue
error_fg=red
deleteLeft=1
[src]
tab_size=8
run_attach=1
trace_fg=magenta
thread_fg=pink
font=src-font
top_control=1
bp_fg=red
run_run=1
run_cont=0
source2_fg=navy
break_fg=black
handlebg=red
disabled_fg=black
run_load=1
temp_bp_fg=orange
PC_TAG=green
variableBalloons=1
STACK_TAG=gold
BROWSE_TAG=#9595e2
linenums=1
[reg]
highlight_fg=blue
rows=16
[stack]
font=src-font
[locals]
[watch]
[bp]
show_threads=0
[search]
filter_mode=starts with
[process]
xtermtty=no
[geometry]
[help]
browser=0
[browser]
top_height=0
view_height=-1
width=0
view_is_open=0
hide_h=0
[kod]
show_icon=0
[window]
[session]
/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out/all-keys=args dirs executable target pwd
/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out/pwd=/xygdrive/d/MicroBlaze/examples/testcpp
/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out/target=sim
/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out/executable=/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out
/xygdrive/d/MicroBlaze/examples/testcpp/testcpp_db.out/dirs=$cdir:$cwd
[mem]
size=4
ascii_char=.
numbytes=0
color=green
format=x
ascii=1
bytes_per_row=16
next reply other threads:[~2002-08-01 21:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-01 14:13 Hartman, John (St. Paul) [this message]
[not found] <200208012101.g71L11l15815@mx1.redhat.com>
2002-08-01 14:25 ` Keith Seitz
[not found] <200208011739.g71Hdel25222@mx1.redhat.com>
2002-08-01 11:29 ` Keith Seitz
-- strict thread matches above, loose matches on Subject: below --
2002-08-01 10:52 Hartman, John (St. Paul)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020801141300.XTIzYOWUGqcYatfsUrQbGGK28bsEgX6fUQXuD-u7j7A@z \
--to=jhartman@trane.com \
--cc=insight@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).