[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: modifier keys stop working [second try]

On Tue, 25 Aug 2009 19:34:48 -0400, I <skdeb@syrano.acb.uc.edu> wrote:

> 3. Finally, a fun puzzle (inspired by actual events).  If I have a window up
>    with text I want to save before shutting down the windows, how can I do
>    the save without modifier keys?  I can copy the text with the mouse, but
>    then what?  Redirect (< > << |) needs the SHIFT key.  I can't terminate
>    stdin with CTRL-d.  I'm hoping to do better than scrot + OCR.

On Tue, 25 Aug 2009 23:03:21 -0400, Celejar <celejar@gmail.com> replied:

> Why can't you just paste the text into an open editor in another
> window?  Have I misunderstood some aspect of the situation?

Now that you mention it, I could paste into good old "ed" and save it with
"w" and "q" - no modifier keys.  My usual editor (a custom job modeled after
vi, I think), writes with `:w', and I need the SHIFT key for the colon.  And
if I didn't happen to have an idle window with a command line prompt, I'd be
out of luck too.  Terminating a program to get to a shell prompt usually
takes a control key (:wq, CTRL-c, CTRL-d).  I have fvwm set to open an xterm
with CTRL-n, but that is out too.


Reply to: