Changeset 10321


Ignore:
Timestamp:
Apr 7, 2011, 9:51:54 PM (9 years ago)
Author:
tbretz
Message:
Display only the basename of the program.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ReadlineColor.cc

    r10313 r10321  
    77// **************************************************************************
    88#include "ReadlineColor.h"
     9
     10#include <boost/filesystem.hpp>
    911
    1012#include "Time.h"
     
    2628    out << kBlue << " ENCOM MX 16-923 USER # 0" << int(Time().Mjd()) << Time::fmt(" %H:%M:%S") << Time() << Time::reset << " INFORMATION" << endl;
    2729    out << endl;
    28     out << kBlue << " TELESCOPE CONTROL PROGRAM: " << name << endl;
     30    out << kBlue << " TELESCOPE CONTROL PROGRAM: " << boost::filesystem::basename(name) << endl;
    2931    out << kBlue << " ANNEXED BY FACT COLLABORATION" << endl;
    3032    out << kBlue << " ORIGINAL PROGRAM WRITTEN BY T.BRETZ" << endl;
Note: See TracChangeset for help on using the changeset viewer.