Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!cernvax!chx400!chx400!sicsun!siihp1.epfl.ch!root From: root@siihp1.epfl.ch Newsgroups: comp.sys.apollo Subject: Re: twm & apollo keys Message-ID: <1991Apr18.145002@siihp1.epfl.ch> Date: 18 Apr 91 20:50:02 GMT References: <9104171236.AA00634@cml.unl.edu> Sender: news@sicsun.epfl.ch Reply-To: root@siihp1.epfl.ch () Organization: Ecole Polytechnique Federale de Lausanne Lines: 70 In article <9104171236.AA00634@cml.unl.edu>, gah@CML.UNL.EDU (Glen A. Hansen) writes: > I am presently running x11r4 @ SR10.3 on a network of Apollo's, using > twm as a window manager. I have some questions concerning twm and xterm: > -- The problem is that DM keys have no name for the X server, so you have to name them before twm (or any other X client) can use them. You can use xmodmap for this. Here is my .xmodmaprc : ! ins mark keycode 129 = F11 ! line del keycode 130 = F12 ! char del keycode 131 = F13 ! copy / cut keycode 132 = F14 ! undo / paste keycode 133 = F15 ! mode / grow keycode 134 = F16 ! debut de ligne keycode 135 = F17 ! shell cmd keycode 136 = F18 ! fin de ligne keycode 137 = F19 ! left arrow box keycode 138 = F20 ! right arrow box keycode 140 = F21 ! next wndw keycode 142 = F22 ! up arrow box keycode 144 = F23 ! down arrow box keycode 146 = F24 ! pop keycode 157 = F25 ! again keycode 158 = F26 ! read keycode 159 = F27 ! save / edit keycode 160 = F28 ! abort / exit keycode 161 = F29 ! help / hold keycode 162 = F30 After loading this file, you can have this kind of line in .twmrc : "F18" = s : all : !"xterm &" # shell cmd "F25" = : all : f.raiselower # pop "F25" = s : all : f.iconify # shift pop "F29" = : all : f.delete # exit "F29" = s : all : f.destroy # abort It works for me. Claude Lecommandeur Service Informatique Central Ecole Polytechnique Federale de Lausanne 1015 LAUSANNE (SWITZERLAND) E-Mail : lecom@sic.epfl.ch Tel : (41 21) 693-45-86