wjb@moss.ATT.COM (02/16/88)
Could the person who just posted a macro to bind a scroll-up macro to ^N post an equivalent macro to scroll-down on ^P? I'm just getting started with MicroEMACS, and I don't have any documentation on how to write macros myself, so if anybody has a public domain copy on-line that they could mail to me, please do so and accept my thanks. --Bill Buie
kwok@iris.ucdavis.edu (Conrad Kwok) (02/17/88)
Here is the macro for scroll-down. You may use any macro number you want (as long as that macro is not being used). The microemacs documentation should be available from where you get the program. It is posted somewhere before. Look at the archives of comp.sources.unix or comp.sources.misc. It is also available by ftp from j.cc.purdue.edu. ----------------- bind-to-key execute-macro-32 ^P 32 store-macro !if &equal $cwline 1 move-window-up previous-line !else previous-line !endif !endm -------------------- --Conrad internet: kwok@iris.ucdavis.edu csnet: kwok@ucd.csnet csnet: kwok%iris.ucdavis.edu@csnet.relay uucp: {ucbvax, uunet, lll-lcc, ...}!ucdavis!iris!kwok