shortcut key and expect behaviour

Help
Coque
2012-11-03
2013-04-23
  • Coque
    Coque
    2012-11-03

    Hi

    First, I want to congrulate David for Pac, it's a great program

    I have two question:

    1) Is it possible to create an option to choose the shortcut key for open local shell terminal? Ctrl-t is a combination used in some terminal programs like aptitude, so each time I want to open the aptitude menu in pac, I also open a local shell terminal tab.

    2) Does the expect feature support a "if-else" condicionals? When I connect to any machine by ssh, I want to do different things if It's the first time that I connect with it from the last boot of machine, from I've already connected previously to this machine from last boot

    Thank you

    Coque

     
  • Hi Coque!!

    Thank you very much for your interest in PAC! :)

    Q1: nice idea. Will work on it
    Q2: PAC already has that "If-then-else" functionality for "Expect" entries (ON MATCH would be 'if' and ON FAIL would be 'else')

    -David.

     
  • Coque
    Coque
    2012-11-12

    Hi David

    Thank you very much for your help

    A continuar el fantástico trabajo que haces

    Coque

     
  • Coque
    Coque
    2012-11-20

    Hi again

    I'd just tested the new 4.4.1.2 version on Ubuntu 12.04 and the <ctrl><t> shortcut still opens a new terminal tab. If I use <Ctrl><Alt><t>, it opens the gnome terminal (I had configured this bindkey in gnome setings to lauch gnome terminal from long time ago).

    Also, I'd used the ON MATCH and ON FAIL and it works like a charm.

    Thank you very much

    Coque