home *** CD-ROM | disk | FTP | other *** search
- 03-Dec-85 22:36:24
- Fm: Francis Lapeyre 70665,207
- To: All
-
- Volume 4, No. 26 of PC Magazine just arrived, and had the answer to my software
- problems: KEY-FAKE.COM. It allows you to "fake" a program into thinking it got
- just a few bytes of "keyboard" input from a batch file (or elsewhere). Problem
- is: (1) the BASIC program to create the .COM file is missing the last line,
- apparently. (2) PC's modem (212-696-0360) rings & rings -- I set the Hayes to
- ATS7=60 with no answer.
-
- 05-Dec-85 08:46:33
- Fm: dave rothman 70240,372
- To: Earle Robinson 70135,141 (X)
-
- if irecall correctly, keyfake lets u throw certain keystrokes into programs
- when the programs are called...its sorta like redirecting input but the
- difference is that when u redirect input, the entire 'session' of keystrokes
- must be in the auxilliary file. in other words, u can't redirect some input, u
- gotta put in everything including an exit commandto blow u back to dos.
-
- keyfake lets u throw in some keystrokes and then gives u back command in the
- program u r runnning.
-
- one reason i would like to get a copy of keyfake is for 123. u can't redirect
- input into 123 (plus even if u could, u wouldnt be able to do anything cuz u
- would have to includes a '/qy' so that u wouldnt hang).
-
- i have a pced syn called 'load':
-
- syn load 'cd\123^chmod -n %1.wks^123^chmod -h %1.wks'
-
- it lets me unprotect certain hidden 123 worksheets which contain certain
- sensitive financial data (i taught my girlfriend everything about the pc,
- except for hidden files). unfortunately, with this setup, the one thing i
- still have to type when i get into 123 is '/fr%1<r>' (obviously %1 is the now
- unprtected file). with keyfake, i should be able to import that char string
- into 123, thus having a working, totally integrated macro...dave
-
- 05-Dec-85 21:15:46
- Fm: Jim McKeown 74666,511
- To: Earle Robinson 70135,141 (X)
-
- I don't know exactly what KEY-FAKE does, but from the discussion it seemed to
- be very similar to KBSTAK. KBSTAK was written by Jim Kyle to trap int 16 and
- insert characters from a buffer in response to calls to that int. The buffer
- is filled from a file named in the invocation of KBSTAK. It seems to work
- beautifully with one minor quibble: it also picks up the CTRL-Z eof marker. I
- have taken to using DEBUG to pull that off the file, but that is definitely
- inconvenient -- although it is also proper given a strict interpretation of the
- function of KBSTAK.
- jcm
-
- 05-Dec-85 17:33:22
- Fm: dave rothman 70240,372
- To: er 70135,141 (X)
-
- i got a copy pf keyfake and stuck it in that syn i mentioned. here it is:
-
- syn load 'cd\123^chmod -n %1.wks^keyfake "/fr%1" 13 ^123^chmod -h %1.wks'
-
- it basically unhides a .wks file and loads it into 123. then when i exit, it
- hides it again
-
- 06-Dec-85 16:00:39
- Fm: dave rothman 70240,372
- To: Nelson Ford 71355,470
-
- here are a coupla other 'slick' syns:
-
- syn add 'nsq %1.doc^lu -u c:\doc\docfils %1.dqc^*vdel %1.d?c'
- syn get 'lu -e c:\doc\docfils %1.dqc ^*nusq %1.dqc ^li %1.doc'
- syn help 'lq -qfp c:\doc\docfils %1.dqc'
- syn load 'cd\123^chmod -n %1.wks^keyfake "/fr%1" 13 ^123^chmod -h %1.wks'
- syn cis 'call cis'
- syn call 'b-off ^yam call %1^b-off'
-
- the add, get & help all help to manage my doc files. ie. 'help
- kbfix' gets it out of a packed lib and shows it to me...etc...
-
- 07-Dec-85 12:02:20
- Fm: dave rothman 70240,372
- To: Earle Robinson 70135,141
-
- following is that section of my script:
-
- syn call 'b-off ^yam call %1^b-off'
- syn cis 'call cis'
- syn fid 'call fid'
- syn stk 'call stk'
- syn hang 'call hang'
- syn mci 'call mci'
- syn morn 'call morn'
- syn fritz 'call fritz'
-
- by having the 'call' command and thus not having the b-on etc business
- repeated, i save something like 140 chars....dave
-
- 07-Dec-85 14:32:47
- Fm: Dave Hoagland 72365,42
- To: dave rothman 70240,372 (X)
-
- One other approach...I disable/enable burnout in a batch file when I run
- YAM. In addition, I have a couple of function keys defined in phones.t to
- toggle burnout on/off if I want to change while I'm in YAM. set fx "@!burnout
- 0" and set fy "@!burnout 10920" (where fx & fy are the respective function
- keys) does it nicely. ...DaveH
-
- 07-Dec-85 16:00:54
- Fm: dave rothman 70240,372
- To: Dave Hoagland 72365,42 (X)
-
- u bring up a pt that i discussed here a while ago. i set burnout both outside
- yam and inside yam. i turn it off before entering and then after dl'ing some
- msgs yam calls my editor:
- !burnout 15000
- obey "!edix /mail/cis%d" as u can c, i turn burnout back on
- just before calling the editor.
-
- i do it this way cuz sometimes i interupt scripts so i know that whenever
- INSIDE yam, burnout is off and whenever OUTSIDE yam (either after exiting or
- when calling something else) burnout is on).
-
- 07-Dec-85 17:30:59
- Fm: Ed Vielmetti 76174,2061
- To: dave rothman 70240,372
-
- In the spirit of CED synonym collection, here's my favorites:
- SYN go cd \%1
- SYN up cd ..
- SYN timer time<cr^%1 %2 %3 %4 %5^time<cr
- The first two are for navigating around the hard disk; the last is
- for benchmarking programs (the cr file contains a single carriage
- return and is put on a ramdisk).
- --Ed V, UMich
-
- 08-Dec-85 18:47:07
- Fm: dave rothman 70240,372
- To: all
-
- this may interest some of you. i put together a nice little application
- combining these utilities: chmod, keyfake, ced, 123 & yam. the specific
- application may not be useful 2 u, but a generalization may.
-
- the situation is 1 i have described previously on the sig. i call 1 of my
- investment services & get quotes (NAV's) & account info (#shares). i call &
- at a voice prompt, i hit the touch t1s on my phone & the voice computer @
- the other end 'talks' back the info. clearly this is a pain, so i had yam
- do it. the latest enhancement is that whereas i used to have 2 write down
- the info on a piece of paper, i can now type them back to yam which writes
- out a temp file that 123 will read.
-
- now the .wks file which has the financial data is hidden, so i have a CED
- syn, 'load' which unhides it & throws it into 123. keyfake lets me load it
- into 123 via the syn rather than having 2 type '/fr<filename>'. the syn,
- 'fix', adds the ^Z if it's missing from the temp data file. finally, there
- is an autostart macro in 123 (\0) which imports the tmp file.
- >>here are the syns:
- fix 'copy %1 + (026) >nul'
- load 'cd\123^chmod -n %1.wks^fix %1.prn^keyfake "/fr%1" 13^123^chmod -h %1.wks'
- >>here is yam script:
- fid: speed 1200;mput "ATM2DT18005446600;\r";sleep 120
- !del c:\123\fidtmp.prn
- >>c:\123\fidtmp.prn
- acceptl s1 "Hit <CR> when remote system is ready [(q)uit]: "
- set s2 "ATDT*1*21#;\r";set s3 "Magellan_NAV: "; gosub fidsub
- set s2 "ATDT*1*05#;\r";set s3 "Trend_NAV: "; gosub fidsub
- set s2 "ATDT*1*40#;\r";set s3 "Mrtg_NAV: ";gosub fidsub
- set s2 "ATDT*2*21*<acct num>*<pw>#;\r";set s3 "Mag_Shs:";gosub fidsub
- set s2 "ATDT*2*05*<acct num>*<pw>#;\r";set s3 "Trend_Shs:";gosub fidsub
- set s2 "ATDT*2*40*<acct num>*<pw>#;\r";set s3 "Mrtg_Shs:";gosub fidsub
- echo "\r"
- hangup: close; speed 1200; putw "ATZ\r";off
- fidsub: mput %s2; sleep 40
- obey "acceptl s1 %s3"
- if is1,q echo "Quittin..." goto hangup
- echo "%s1"
- return BTW, thanks to -er for a helpful yam suggestion!
-
- 08-Dec-85 23:35:27
- Fm: Basil Copeland 71656,472
- To: dave rothman 70240,372 (X)
-
- Thnx for the tips. I don't use yam, but keyfake is a great enhancement for
- ced. I don't like long filenames, even in syns, so I renamed keyfake to
- kf.com. Had a hard time getting keyfake to work under DoubleDOS. Found that
- if I loaded it in my autoexec.bat file before loading DD, it ran well in both
- memory partitions. Don't know if that would hold for other multitasking
- environments, but thought I would pass it on. --Basil
-
- 09-Dec-85 09:33:15
- Fm: Basil Copeland 71656,472
- To: dave rothman 70240,372 (X)
-
- Your msg reminded me of the one you left a couple of days ago with some of your
- other ced syns. Your syn for handling docs was novel, but I do it differently.
- Since I have plenty of hard disk space, I have no need to squeeze or library my
- docs. I just put them in a \dc subdir, and then access them with the following
- syn: syn h cd \dc^lf^list..... lf gives me a directory listing, and executing
- vern's list program without a command line parameter gives me an "Enter
- Filename:" prompt.
- The two--lf and list--are nifty together. And list, in my opinion, is more
- versatile than lqtype. One last trick. My docfiles in \dc have no filename
- extensions. No need to put a .doc at the end of the filename because it
- wouldn't be in \dc if it wasn't a doc. Saves a few more keystrokes. --Basil
-
- 11-Dec-85 09:16:44
- Fm: Stephen Sisler 72366,3724
- To: ALL
-
- For those who haven't yet picked up PC magazine's KEY-FAKE.COM, I would
- recommend doing so, as you'll probably find it will save you time and key
- strokes. I just started using it today, and find it very useful. I've always
- been annoyed by programs I use frequently, that won't accept file names, etc.
- on the command line, and KEY-FAKE solves this problem. For example, when using
- MSGVU5.COM to quickly read and sort CIS message downloads, I use a MV.BAT file
- consisting of: KEY-FAKE @59 "%1" 13 @60
- MSGVU5 /I
- which lets me type MV FILENAME and the sorted message directory appears
- without further key strokes. TP.BAT consisting of:
- KEY-FAKE "y" "e" "%1" 13
- TURBO
- lets me type: TP FILENAME and the named file appears ready for editing
- within TURBO PASCAL. These are very simple examples, but much more complex
- things can be done. Using KEY-FAKE in BAT files and the X O feature of QDOS,
- I can jump instantly from file to file, and DIR to DIR, carrying out
- operations with a minimum of keystrokes. KEY-FAKE can be found on some BBS,
- or entered from the listing in the December 24 issue of PC magazine.
- -----Stephen
-
- 11-Dec-85 12:05:08
- Fm: Basil Copeland 71656,472
- To: Stephen Sisler 72366,3724 (X)
-
- No doubt about it...keyfake.com is a great program. Better than what it does
- with .bat files is the way it enhances ced. Here's a ced synonym that takes
- your mv.bat file a few steps further: <syn mv kf @59 "%1" 13 @60 13 @68 13 @61
- "%2" 13 @68^msgvu /i /m^erase %1^rename %2 %1>. The command line <mv
- ibmsigm.ato ibmsigm.tmp> will take ibmsigm.ato, sort it, write it to a .tmp
- file, erase the old ibmsigm.ato file, and rename the .tmp file to ibmsigm.ato.
- PRESTO, ATO's ibmsigm.ato file has been sorted with msgvu. Hey...this is not
- meant to be one-upmanship. Your mv.bat was what gave me this idea! (Note that
- I have renamed keyfake.com to kf.com). Got any other ideas? Keyfake is great!
- --Basil
-
- 11-Dec-85 19:22:53
- Fm: Earle Robinson 70135,141
- To: Stephen Sisler 72366,3724
-
- For some reason, when I use keyfake I have to have to load the file and the
- commands on the same line. Perhaps this is because of the tsr's I have and I
- should load keyfake before kbfix, which I don't. Any ideas? -er
-
- 12-Dec-85 13:56:36
- Fm: Stephen Sisler 72366,3724
- To: Basil Copeland 71656,472
-
- Basil, I think you need to take some of those 13s out of your syn, because in
- MSGVU5, Function Keys execute without a <CR>. Looks like CED and KEY-FAKE make
- a great combination (judging from your's and some of the other syns I've seen),
- but I've never become a CED user because I like using a TSR called TALL SCREEN
- which already has some CED-like functions, and CED knocks out TALL SCREEN and
- takes over, so to use TALL SCREEN I have to stick with batch files. The MV.BAT
- in my previous message is what I use to call up presorted archive message files
- for searching through and viewing. For cleaning up an ATO file of several days
- of unsorted messages, I use: CISMSG %1 D:%1
- KEY-FAKE @59 "D:%1" 13 @60
- MSGVU5
- ERASE C:%1
- I use CISMSG for sorting, and deleting duplicate messages because it's faster,
- and seems pretty good at maintaining the correct message order within a thread.
- Then use MSGVU5 to read msgs, delete the unwanted ones, then write the cleaned
- up file to C: with a new name. I also use MSGVU5 to quickly mark msgs and
- threads to write to a single topic file (such as my Kedit.THD tutorial msg
- file). (D: is my VDISK in Extended memory). Thanks for the suggestion. I wish
- CED was compatible with TALL SCREEN. (P.S. I noticed I had made an error in my
- 1st reply to your msg, so I deleted it and sent this msg, so you might get both
- versions). -------Stephen
-
- 12-Dec-85 14:51:22
- Fm: Stephen Sisler 72366,3724
- To: Earle Robinson 70135,141
-
- Earle, I'm not sure I understand your question, but I'll give it a try. It's my
- understanding, based on the KEY-FAKE documentation, that you have to have
- KEY-FAKE and its parameters on the same command line, though CED SYN users
- might have more flexibility (I'm not a CED user). Does this answer your
- question? If you haven't already, read the DOCs in the December 24 PC magazine.
- -------Stephen
-
- 12-Dec-85 19:53:00
- Fm: Earle Robinson 70135,141
- To: Stephen Sisler 72366,3724
-
- Thx for the reply. However, I understood that one could do as follows:
-
- keyfake "parameter" 13 "whatever else,etc." 13
- progname
-
- I have to proceed thus: progname keyfake "parameter" 13 "whatever else,etc." 13
-
- This may be due to the tsr's I have though I don't know.
- -er
-
- 12-Dec-85 20:44:04
- Fm: Bill Higgins 70575,307
- To: Earle Robinson 70135,141
-
- Not supposed to work that way, Earle. You must have a problem elsewhere. In
- fact, in doing 'foo keyfake "mumble" 13 ', I don't understand how foo gets any
- benefit from keyfake since it wouldn't be called until after foo was exited,
- what? Which of your TSR's mess with the kbd buffer?
-
- 12-Dec-85 23:05:04
- Fm: Dennis Wiener 76505,2040
- To: Earle Robinson 70135,141
-
- Earl,
- I tried loading keyfake before kbfix at one point and it didn't work and
- or locked up the keyboard on me. But then it could have been a combination of
- everything else I have loaded as well. Anyway I find loading kbfix first
- prevents this. Dennis
-
- 13-Dec-85 00:20:38
- Fm: Earle Robinson 70135,141
- To: Bill Higgins 70575,307 (X)
-
- I have: kbfix2, pro-ced, keyfake, superkey, lightning and superkick. I tried
- keyfake before pro-ced and the same thing happens. -er
-
- 13-Dec-85 01:25:32
- Fm: Stephen Sisler 72366,3724
- To: Earle Robinson 70135,141
-
- Yes, KEY-FAKE Parameter is how it's supposed to work.
- Programname
- Don't know why you should have to use: Programname KEY-FAKE Parameter.
- ----Stephen
-
- 13-Dec-85 02:52:04
- Fm: Ed Fitzgerald 72447,1631
- To: All
-
- Just want to report an apparent incompatibility between Key-fake and XTREE, a
- harddisk management program by Executive Systems Inc of Sherman Oaks, CA. When
- Key-fake is resident, XTREE loads, reads the disk information, opens its main
- display, and then locks up, necessitating a cold-reboot (a warm on if you try
- to use its F2 key to return to DOS, as you normally can. When you press F2,
- the area below the main display goes blank [not colored as is normal] and a
- warm-boot is needed.) I've eliminated most of the other TSRs I have as the
- villain, although XTREE *will* run with key-fake resident if I unload Turbo
- Lighting using CTRL-HOME CTRL-END. The program doesn't lock up with only
- Lightning and no key-fake. This is on a Kaypro-16.
- ed f
-
- 13-Dec-85 09:57:56
- Fm: David Turcotte 70150,540
- To: Earle Robinson 70135,141 (X)
-
- Earle, this is my autoexec showing the order of utilities. It works.
- path c:\;c:\util;\msdos30;d:\wp ;
- mode lpt1: >nul ;
- mode co80 >nul ;
- prompt $p $g ;
- wht_blu q >nul ;set screen color/color magic
- burnout 65000 F10 V- C+ H- >nul ;screen blanker
- nuepsn >nul ;tsr printer control prgm
- superspl lpt1:/m=40/b >nul ;ast print spooler
- key dos.mac /ml >nul ;superkey
- kf ;key-fake
- e: ;
- cd light ;
- light ;turbo lightning
- envi h ;set lightning evironment to dos
- c: ;
- cd \ ;
- sk >nul ;sidekick
- kbfix2 /kb0 /kt1 /d0 /b0 /s1 >nul ;keyboard speed enhancer
- ced -fced.cfg ;command line editor
- set mjogdir=c:\ ;set memory jogger default directory
- mjog -60 -l ;mem jog for 60 days + calendar
- space c: ;list available space on drive
- space d: ; " " " " "
- space e: ; " " " " "
- mem ;show memory available
-
- 13-Dec-85 13:18:04
- Fm: Earle Robinson 70135,141
- To: N. Arley Dealey 70130,177
-
- kbfix, keyfake, pro-ced, skey, lightning and sk. -er
-
- 13-Dec-85 13:18:24
- Fm: Earle Robinson 70135,141
- To: Stephen Sisler 72366,3724 (X)
-
- Actually, since I would really only use it from within a pro-ced definition, or
- more remotely, from a batch file, it doesn't really make that much difference.
- However, I am intrigued as to why I have this problem. -er
-
- 13-Dec-85 16:47:21
- Fm: Stephen Sisler 72366,3724
- To: Earle Robinson 70135,141
-
- Might be interesting to see if your version of Key-fake works normally on
- another PC, to make sure you don't have a modified version (if you got your
- copy off someone's BBS). Otherwise, I can't figure out how it could work the
- way you say it does. ----Stephen
-
- 14-Dec-85 03:30:16
- Fm: Dennis Wiener 76505,2040
- To: Earle Robinson 70135,141
-
- Earle,
- That doesn't sound right at all. It looks to me like your using key-fake
- as a parameter to progname? The first method you listed as in the PC Mag docs,
- works fine in all my applications. The only way I've used it similar to yours
- is to run debug to call the program in my disk controller rom to park my hard
- disk, but even that runs key-fake "debug" 13 "g=c800: etc.
- Dennis
-