Using sftp With Konqueror

FAIL (the browser should render some flash content, not this).

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

It's in .profile

Mitch Frazier's picture

I added this to my .profile:

read -p "Start screen? " ans
ans=$(echo $ans | tr A-Z a-z)

if [[ "$ans" = y || "$ans" = yes ]]; then
    n=$(echo $(ps xa | grep SCREEN | wc) | cut -f 1 -d ' ')
    if [[ $n -gt 2 ]]; then
        read -p "Grab existing screen session? " ans
        ans=$(echo $ans | tr A-Z a-z)

        if [[ "$ans" = y || "$ans" = yes ]]; then
            screen -D -RR
        else
            screen
        fi
    else
        screen -D -RR
    fi
fi

This starts "screen" if I want and asks if I want to use the existing screen instance if there is one.

Mitch Frazier is an Associate Editor for Linux Journal.

start screen

AprilCoolsDay's picture

How did you do the "Start screen?" thing?