[clug] alias screen=screen -e^\`\` from putty

Andrew Janke a.janke at gmail.com
Mon Mar 22 02:42:07 MDT 2010

> On Sun, Mar 21, 2010 at 10:59 PM, Hal Ashburner <hal.ashburner at gmail.com> wrote:
>> I prefer to use screen -e^\`\` as my screen alias. I use the default
>> keybindings with my shell, which I think are emacs, ctrl+a is awfully useful
>> to edit the start of the line. This is all great. Except if I'm using putty
> ctrl-a a will send the "ctrl-a" keystroke to the shell. When you're
> not inside screen this will put an 'a' at the beginning of the line,
> but you quickly get used to that! ;)

Which is all just yet another reason for me to have this in my .inputrc :)

spencer:~$ cat .inputrc
# real men use vi
set editing-mode vi
set keymap vi

set page-completions off

# incremental searching up and down
"\e[A": history-search-backward
"\e[B": history-search-forward

# magic space for !:0 type completions
$if Bash
   Space: magic-space

# don't display hidden stuff unless I ask for it
set match-hidden-files off

# and make them pretty
set visible-stats on

set show-all-if-ambiguous on


Which then means that ^ and $ work just fine to bounce to the
start/end of a line.


In something completely unrelated has anyone else played with
autoconf/automake and pod2man in a package?  I came up with this in
order to build the man pages from a script:


if test "x$POD2MAN" = "x"; then
   AC_MSG_WARN([pod2man not installed, unable to build all manual pages])


# how to build man pages from POD
minccomplete.man1: minccomplete
   $(POD2MAN) --section=1 $< > $@

But that seems a bit dirty, is there a "better/inbuilt way"?


Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883

More information about the linux mailing list