Welcome to mirror list, hosted at ThFree Co, Russian Federation.

functions.sh « external_tools « remmina - gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f35914564e7ff1286e55f225679eba0f2f1cec63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# Waits for user key press.
pause ()
{
 echo "Hit a key to continue ..."
 OLDCONFIG=`stty -g`
 stty -icanon -echo min 1 time 0
 dd count=1 2>/dev/null
 stty $OLDCONFIG
}

# set terminal title for gnome-terminal and many others
settitle() {
  echo -ne "\033]0;${remmina_term_title}\007"
}