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

Re: osx / screen



Thanks but no, it was my mac terminal emulator somehow messed the session up. I looked at the environment for a bit but ended up doing what I should have done to begin with: ctrl+a d, exit, reconnect screen -r and everything is good.

On Jul 26, 2011 2:18 AM, "André Berger" <andre.berger@web.de> wrote:
> * shawn wilson (2011-07-25):
>> On Mon, Jul 25, 2011 at 13:31, shawn wilson <ag4ve.us@gmail.com> wrote:
>> > i'm on mac osx ssh'd into debian, running screen. some time yesterday
>> > i messed something up (i think within screen, but i don't really want
>> > to kill it since i've got tons of stuff going on). my problem is that:
>> > * i can't use arrows in vi - not really a big deal since jkl; still work
>> > * i can't use scroll back / copy+paste in screen - a biggy. i hit
>> > ctrl+a [ and it says 'Copy mode - blah' but then the arrow keys don't
>> > do anything. then it says 'Must be on a window layer' which is correct
>> > if i'm in copy mode.
>>
>> oh, if i hit ctrl+a [ and then arrow, it says 'Copy mode aborted'
>>
>> >
>> > my arrow keys work at the shell though.
>> >
>> > i don't know whether this is a screen issue, a debian issue, or a mac osx issue.
>
> You might find the following key-bindings useful. Uncomment the ones
> you need removing the leading double-quotes.
>
> $ echo $TERM
> xterm-color
>
>>From ~/.vimrc:
>
> " Valid names for keys are: <Up> <Down> <Left> <Right> <Home> <End>
> " <S-Left> <S-Right> <S-Up> <PageUp> <S-Down> <PageDown> <LeftMouse>
> "
> " Many shells allow editing in "Emacs Style".
> " Although I love Vi, I am quite used to this kind of editing now.
> " So here it is - command line editing commands in emacs style:
> "cnoremap <C-A> <Home>
> "cnoremap <C-B> <Left>
> " cnoremap <C-B> <Del>
> "cnoremap <C-E> <End>
> "cnoremap <C-F> <Right>
> "cnoremap <C-N> <End>
> "cnoremap <C-P> <Up>
> "cnoremap <ESC>b <S-Left>
> "cnoremap <ESC><C-B> <S-Left>
> "cnoremap <ESC>f <S-Right>
> "cnoremap <ESC><C-F> <S-Right>
> "cnoremap <ESC><C-H> <C-W>
>
> imap <C-A> <ESC>I
> imap <C-E> <ESC>A
> nmap <C-A> ^
> nmap <C-E> $
>
> imap <Esc>[3~ <C-H>
> imap ^? <C-H>
>
>
>
>
>
> -André
>
> --
> L'art d'ennuyer est de tout dire. [Voltaire]
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20110726055304.GA384@albedo.lan">http://lists.debian.org/[🔎] 20110726055304.GA384@albedo.lan
>

Reply to: