mintz@hpindda.HP.COM (Ken Mintz) (05/15/88)
Is there some way to enter an arbitrary control character, or at least an ESC character, into Wordstar text? I'm using Wordstar 3.3. I need to enter escape sequences to control a new printer. I'd prefer not to WINSTALL again, if I can avoid it. Ken Mintz ARPA: mintz%hpda@hplabs.hp.com UUCP: hplabs!hpda!mintz
mintz@hpindda.HP.COM (Ken Mintz) (05/18/88)
Thanks to everyone who noted that ^P followed by ESC will put the ESC char into the text file. Unfortunately, that doesn't appear to solve my problem of getting arbitrary esc seqs sent to the printer. ^KP appears to translate the ESC char to the literal "^[" (2 chars), at least in document mode. I can use TYPE, but that doesn't give me the formatting ^KP does. Am I missing the obvious (besides WINSTALLing again)? I'm just certain I solved this problem 5 years ago, but too many brain cells have died in the interim. Ken Mintz
mintz@hpindda.HP.COM (Ken Mintz) (05/19/88)
> It's been a while, but I think the way I did this was to assign ESC to > one of the "user patch" commands. This is done with WINSTALL. There are > four such patches available, and each can hold up to four characters. You > just need an ESC, since the rest of the sequence should be ascii and can go > in your file. I think ^PQ is one of these patches, but it's been a > long time, folks! Yes, along with ^PW, ^PE and one other. (Long time for me, too.) I was trying to avoid WINSTALL, but your response and some others have convinced me that's the only way to go. I'll probably have one for ESC, as you suggest. But I'll set up the other 3 with common esc seq so as not to throw off the formatting. Thanks for the feedback. Ken Mintz
madd@bu-cs.BU.EDU (Jim Frost) (05/23/88)
In article <4330080@hpindda.HP.COM> mintz@hpindda.HP.COM (Ken Mintz) writes: |Is there some way to enter an arbitrary control character, or at least an ESC |character, into Wordstar text? I'm using Wordstar 3.3. I need to enter |escape sequences to control a new printer. I'd prefer not to WINSTALL again, |if I can avoid it. You're probably not going to like the answer.... It turns out that you can define up to four printer escape sequences which can be bound to (if I recall correctly) ^P^Q, ^P^W, ^P^E, and ^P^R. You're limited to only four sequences, and these are limited in length (can't remember just how long). I'm pretty sure WINSTALL lets you do this, but I can't recall exactly because I played with the object deck on odd occasions to play with the things that were in the code but not "available". If you play with WINSTALL and can't find anything referring to this type of configuration, email me and I'll look it up. jim frost madd@bu-it.bu.edu
wb8foz@cucstud.UUCP (David Lesher) (05/25/88)
- -- Why not use the [here I will spell it out to avoid (or magnify :-}) any confusion] Control p, then control left bracket, key sequence?