Python script to have a "curse" compatible client for linux