--------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFA00001 Date: 11/05/97 From: JORJ STRUMOLO Time: 10:17am \/To: ALL (Read 0 times) Subj: Address Offset From: Jorj Strumolo fred.holmes@mix.cpcug.org (Fred Holmes) writes: FH> When editing a file in hex/binary mode: E -b -h > > can one display the address/offset, either in the "wasted" > columns in the main editing area, or as a single value (for the > cursor location) on the status line? Has anyone worked this out? /*****************************************************************/ /** mShowOffset() ********** 1994-95 by David Daniel Anderson **/ /*****************************************************************/ proc mShowOffset() string FilePos[8]='' integer LineLen=BinaryMode() if LineLen and (DisplayMode()==_display_hex_) and Query(ShowStatusLine) and Query(StatusLineUpdating) LineLen=LineLen*(CurrLine()-1)+(CurrPos()-1) FilePos=Format(Str(LineLen,16):8:'0') VGotoXY(1,Query(StatusLineRow)) Set(Attr,Query(StatusLineAttr)) PutStr('Offset '+FilePos[1:4]+':'+FilePos[5:8]+' ') endif end The above in TSE.UI near the start somewhere, and this line Hook(_after_update_statusline_,mShowOffSet) at WhenLoaded() with the other hooks. Produces a status line like: Offset 0000:0170 AW 150k d:\sr$reply\chowda\refer.sr If you comment out the line that says "and (DisplayMode()==_display_hex_)" it works both in bin+hex mode and in plain binary mode. I use that alot, and use ShowChar() on the status line to show what the hex part of the screen would, so I can use longer lines. 64-character ones work well logically with the Offset display. FH> It would be nice to have a display that is similar to > that which LIST.COM provides in the "hex" viewing mode. That's much more complex, and I've never seen such a macro. BTW, this if not Hook(_after_update_statusline_,mShowOffSet) UnHook(mShowOffSet) UpdateDisplay(_statusline_refresh_) endif toggles the status line bewteen the two appearances: Offset 0000:0170 AW ... L 49 C 2 AW ... -- Jorj.Strumolo@chowda.com * Fido 1:323/140 * jorj@wsii.com --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFA00002 Date: 11/05/97 From: SAMMY MITCHELL Time: 05:12am \/To: ALL (Read 0 times) Subj: RE: what is this echo about?? From: Sammy Mitchell Wayne Delisle = Sr.[SMTP:1-379-33-0!Wayne.Delisle.Sr.@sawasdi.apana.org.au] wrote: > I got the demo, haven't tried it yet. Don't know if I will. >=20 > It's a little expensive for my setup. >=20 > Thanks anyway, > --- > | Fidonet: Wayne Delisle Sr. 1:379/33 > | Internet: 1-379-33-0!=09 >=20 Keep in mind, that if you are a licensed user of a previous version of = one of our products, there is a *BIG* discount on getting any other = product. It is on the order of %50 or so. --=20 Sammy Mitchell, SemWare Corp., www.semware.com Want to make better use of TSE? Join the TSEPro mailing list! --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFA00003 Date: 11/05/97 From: DAVID MARCUS Time: 05:19am \/To: ALL (Read 0 times) Subj: Doing Stuff and then starting spellchk i05:19:0611/05/97 From: DavidMarcus@MindSpring.com (David Marcus) hi, Is there a way to record a keyboard macro and have recording stop after you start a process such as spell checking? For instance, i want to record a macro that closes my current file, does a search and replace on the next file, and starts spell checking it. Is there any way to do this? tks --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFD00000 Date: 11/07/97 From: HS Time: 11:34pm \/To: ALL (Read 0 times) Subj: advice TSE 2.5 or 2.8? From: HS A few weeks ago I had to start using windows (win95). Yet I run my TSE 2.= 5 in a DOS box (after just start an audio CD in Windows :-( ) succsessful. = I am not sure if I should order the 2.8 windows version of tse or just the 2.5 maintenance release. Wich advantages would it have to install 2.8 and= run it in Windows instead of running 2.5 in a DOS box? As I run my system with a braille display and speech it is not an easy decision for me. I noticed for example that everything seems to be slower= on a braille display in Windows than in DOS. While reading a text with th= e standard Win editor or with Win Word it takes noticeable more time to update the display. So I wonder if this would happen also in TSE for Windows. - Is the working environment about the same as in DOS TSE 2.5? TIA Regards Hanspeter Schaffner --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFD00001 Date: 11/08/97 From: "KIENINGER,KARL @SILVERPLUME" Time: 02:32am \/To: ALL (Read 0 times) Subj: pausing a macro From: "Kieninger,Karl @Silverplume" I would like to be able to pause an error checking macro, allow the user to correct an error, and then restart the macro from that point. Any ideas? Thanks in advance, Karl Kieninger --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFD00002 Date: 11/08/97 From: RICHARD BLACKBURN Time: 03:40am \/To: ALL (Read 0 times) Subj: Re: pausing a macro From: Richard Blackburn Kieninger,Karl @Silverplume wrote: > > I would like to be able to pause an error checking macro, allow the user to > correct an error, and then restart the macro from that point. > > Any ideas? Yes, you need to use the Process() command: Process Invokes another editor process. Syntax: INTEGER Process() Returns: The result of the EndProcess() that terminated the call to Process(). If EndProcess() is not passed a parameter, the result is 0. Notes: This command invokes the editor recursively. Control is not returned to the macro that originally invoked Process() until the EndProcess() command is executed. Examples: /******************************************************** A simple browse only mode macro. In this example, the editor is re-entered at the call to Process(), and control is not returned to the Browse() macro until EndProcess() is called - in this particular case, by pressing ********************************************************/ keydef BrowseKeys() Up() Down() EndProcess() end proc Browse() if Enable(BrowseKeys, _EXCLUSIVE_) Message("Press to exit browse mode") Process() Disable(BrowseKeys) endif end See Also: EndProcess(), Enable(), Disable() -- Richard Blackburn | 6040 Sand Wedge Circle | (w) 770-434-8492 NSS 22940RL | Kennesaw, GA 30144-2076 | (h) 770-427-1890 SCCI 38 | rblackburn@mindspring.com | (f) 770-434-8714 --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFD00003 Date: 11/08/97 From: ERIC STORK Time: 08:33pm \/To: ALL (Read 0 times) Subj: Help on a Puzzler, Please From: Eric Stork I use TSE2.5e & WIN3.11. On the whole, TSE2.5e runs fine under WIN3.11. I've assigned WrapPara() to . That works in DOS. But when running TSE2.5 from WIN3.11, typing does NOT wrap the paragraph -- instead, the screen flashes briefly and nothing else happens. Questions: Is a "reserved key" in WIN 3.11? I've looked for but cannot find a list of "reserved keys" for WIN3.11--any pointers to such a list? Is there any other reason that might explain this? Ideas & advice will be most welcome. I suggest you send them to me instead of to the whole list, some of whom may not care to see responses. I'll summarize & post whatever I learn from the experts. Eric ---------- Eric Stork e-mail address: estork@erols.com --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFE00000 Date: 11/09/97 From: JORJ STRUMOLO Time: 03:40am \/To: ALL (Read 0 times) Subj: Re: Help on a Puzzler, Please From: Jorj Strumolo Eric Stork writes: ES> Questions: Is a "reserved key" in WIN 3.11? No, but it does get processed differently. Run ShowKey(). In DOS you get the first line, in Windows the next *three*. ASCII Scan Hex Dec Key Code Code Name 0 55 3700 14080 0 56 3800 14336 0 56 3800 14336 0 56 3800 14336 You get two from , and another when you release . It's that's a special key in Windows. And it's *not* one of the Reserve Shortcut keys you can turn off in the Advanced section of a PIF. I had thought of a possible way around that (since I, too, use , as "*" for me), by including it as one of the things I do when I test for Windows at startup, as in this one at Main(): if Length(GetEnvStr("windir")) LoadMacro('CUAmark') endif I never got it to work right, however. This *half* works for me: keydef WinAltKey // before Main() InsertText("*") end if Length(GetEnvStr("windir")) Enable(WinAltKey) endif // at Main() This correctly changes the first two s into "*" for me, but when I release the , I'm left with a two-key prompt of waiting for completion, and a PushKey() didn't clear that. There's probably a way to do it somehow. -- Jorj.Strumolo@chowda.com * Fido 1:323/140 * jorj@wsii.com --- * Origin: apana<<<<<<>>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13) --------------- FIDO MESSAGE AREA==> TOPIC: 152 QEDIT Ref: EFE00001 Date: 11/09/97 From: GDEBRUIN@CONCENTRIC.NET Time: 10:43pm \/To: ALL (Read 0 times) Subj: Re: advice TSE 2.5 or 2.8? From: gdebruin@concentric.net In <199711070904_MC2-2729-74D2@compuserve.com>, on 11/07/97 at 09:04 AM, HS said: >tse or just the 2.5 maintenance release. Wich advantages would it have to >install 2.8 and run it in Windows instead of running 2.5 in a DOS box? The biggest thing that you would probably notice right off is the ability to handle long file names in the editor. Instead of just having letter.doc you could have something like Letter_to_Wife.doc The second biggest thing you'd probably notice is the additional space that you get (something like a couple of gigs of space to work with). If you do anything with the macro language, there are lots of new commands and functions to play with. >the standard Win editor or with Win Word it takes noticeable more time to >update the display. So I wonder if this would happen also in TSE for >Windows. - Is the working environment about the same as in DOS TSE 2.5? A standard windows editor and Word are GUI applications. TSE 2.8 is a console application -- in other words, it still looks and acts like the DOS version of TSE. The display updating might be a bit slower, but on the whole it will be _very_ close to the speed of the DOS version. For you, I think the big decision really comes down to the increased file size, long file names, and the real Win32 implementation. There is one other factor that I can think of: macro size. Since we were able to increase the macro size in TSE Pro 2.8, there are some macros coming out with much greater capabilities than the 2.5 version -- just look at some of the macros that Chris Antos is putting out now. So, for the most part, I would say that the two are very close for your major needs. The extra bells and whistles are things that will depend on your preferences. I hope this helps. Either way you chose, I think you will be quite satisfied. >TIA >Regards >Hanspeter Schaffner -- ----------------------------------------------------------- gdebruin@concentric.net