En bra gratis blogg
Lista bloggar Om Bloggis
Skapa konto Logga in

Senaste inläggen som handlar om terminal

alphanum3r1c

#notetoself

Copying and pasting in Elinks using only the keyboard, no mouse

  1. Launch elinks in screen
  2. Use screen cnp commands (more on that below)
  3. Possibly the functionality is built in now--haven't found a resource w/ directions though.
  4. Note: keybindings (from 2005)

bind "main" "Ctrl-W" = "move-cursor-up"
bind "main" "Ctrl-S" = "move-cursor-down"
bind "main" "Ctrl-A" = "move-cursor-left"
bind "main" "Ctrl-D" = "move-cursor-right"
or similar in ~/.elinks/elinks.conf

  • Copy and paste in elinks w/ mouse requires holding down the SHIFT key.

Elinks in Screen - 256 color

  • assuming that screen is set up for 256 colors
  • ESC --> Setup --> Terminal options
  • Select 256 color
  • save and close

256 colors in screen

  1. add the following to .screenrc (if there is no .screenrc, copy /etc/screenrc to ~/.screenrc)

# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
# terminfo and termcap for nice 256 color terminal
# set TERM
term screen-256color-bce

Copy and paste in screen

(Inga kommentarer än)

Nästa inlägg