Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!bruce!merlin!tim From: tim@bhpmrl.oz.au (Tim Monks) Newsgroups: comp.sys.sgi Subject: Alternatives to /usr/sbin/bindkey for window pop/push ? Keywords: key bindings bindkey tcsh vi alternatives Message-ID: <1991Jan8.015407.22178@bhpmrl.oz.au> Date: 8 Jan 91 01:54:07 GMT Sender: usenet@bhpmrl.oz.au (USEnet nntp account) Organization: BHP Melbourne Research Laboratories, AUSTRALIA Lines: 41 Is there any way of popping/pushing windows without touching the mouse ? I have been using /usr/sbin/bindkey and the following key-bindings for a while : /usr/sbin/bindkey -l f1,push /usr/sbin/bindkey -l f2,pop and have become quite accustomed to using the F1/F2 keys to toggle overlapping windows. It saves a lot of mousework. I have just started using tcsh, (tcsh 5.20.02 Cornell, 240GTX, Irix 3.3.1.) and love the command line editing. But there is an incompatibility somewhere between vi, tcsh and bindkey (the /usr/sbin/bindkey not, tcsh's bindkey). If I try any command in vi which requires variable expansion, then I get an error message. For example, under csh the following command in vi : :r $tlib/abort.c works quite happily and reads in the file /ipada/tim/tomography/abort.c but under tcsh I get the following message : "^[P103;146.ypush^[\^[P103;147.ypop^[\/ipada/tim/tomography/lib/abort" No such file or directory The problem is caused by /usr/sbin/bindkey, since if I remove the two lines from my .cshrc which bind F1/F2 to window pop/push, vi under tcsh does variable expansion quite happily. So can anyone suggest alternative ways to bind pop/push facilities to the F keys without breaking vi under tcsh ? I shall post a summary of replies if warranted. -- Dr. Tim Monks Image Processing & Data Analysis Group | (direct) (+61-3)566-7448 BHP Research - Melbourne Laboratories | (switch) (+61-3)560-7066 245 Wellington Rd, Mulgrave, 3170, | (fax) (+61-3)561-6709 AUSTRALIA | (EMAIL) tim@bhpmrl.oz.au