home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!sdd.hp.com!hpscit.sc.hp.com!scd.hp.com!hpscdm!hplextra!hpcc05!okamoto
- From: okamoto@hpcc05.corp.hp.com (Jeff Okamoto)
- Newsgroups: comp.lang.tcl
- Subject: selecting text then moving scrollbar bombs (tk2.3/tcl6.4)
- Message-ID: <47950001@hpcc05.corp.hp.com>
- Date: 13 Nov 92 02:01:09 GMT
- Organization: HP Corporate Computing & Services
- Lines: 31
-
- Got a strange problem with Tk 2.3 and Tcl 6.4 on an HP 9000/852 running
- HP-UX A.08.00 displaying to a 9000/710 running A.08.07 under VUE 2.01.
-
- Here's my script:
-
- scrollbar .scroll -command ".text yview" -relief raised
- text .text -yscroll ".scroll set" -width 80 -height 24 -relief sunken
-
- pack append . .scroll {right filly} .text {left expand fill}
-
- if $argc>0 {set file [lindex $argv 0]} else {set file "file-name"}
-
- .text insert end [exec cat $file]
-
- The window pops up fine but if I do "certain things", my server will freeze
- up, then drop me back to the Vue login screen.
-
- After some experimentation, it *looks* like these "certain things" may be
- related to selecting a portion of text, then moving the scrollbar *before
- the selection is completely highlited*. Interestingly enough, with -sync
- turned on, this doesn't seem to bomb out from VUE/X.
-
- Does anyone have any suggestions on what to do to better nail down what's
- happening?
- --
- \ oo The New Number Who,
- \____|\mm Jeff Okamoto
- //_//\ \_\ HP Corporate Computing & Services
- /K-9/ \/_/ okamoto@ranma.corp.hp.com
- /___/_____\
- ----------- (415) 857-6236
-