Hi

This worked for me:

~> alias dock 'printf "\033[2t"'
~> dock

Thanks

Steve


On Tue, Aug 7, 2012 at 9:55 PM, Matthias Wiesmann <
matthias.wiesm...@gmail.com> wrote:

> Hi,
>
> I started using fish, a really nice replacement for bash.
> One feature I was not able to reproduce using fish was docking and
> undocking of the window.
> Basically, in bash I had the following aliases defined:
>
> alias dock='echo -ne "\033[2t"'
> alias lower='echo -ne "\033[6t"'
> alias raise='echo -ne "\033[5t"'
> alias 42x80='echo -ne "\033[8;42;80t"'
> alias maxh='echo -ne "\033[8;0;80t"'
> alias maxw='echo -ne "\033[8;24;0t"'
>
> Those aliases let me dock the terminal window, lower it, raise, and change
> its dimensions.
> This worked with both Apple's terminal and xterm.
>
> Is there any way to reproduce this behaviour using Fish?
>
> Thanks in advance
>
> Cheers
>
> Matthias Wiesmann
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to