Change rtm to stm
This commit is contained in:
@@ -10,9 +10,14 @@ namespace Network {
|
||||
class Transport
|
||||
{
|
||||
private:
|
||||
Connection<typename MyState::Conveyance, typename RemoteState::Conveyance> connection;
|
||||
Connection connection;
|
||||
|
||||
uint64_t last_acknowledged_state;
|
||||
typedef dense_hash_map< uint64_t, MyState > StateMapper;
|
||||
|
||||
dense_hash_map< uint64_t, MyState > sent;
|
||||
dense_hash_map< uint64_t, RemoteState > received;
|
||||
|
||||
uint64_t known_receiver_state;
|
||||
uint64_t assumed_receiver_state;
|
||||
uint64_t last_sent_state;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ int main( int argc __attribute__((unused)),
|
||||
}
|
||||
|
||||
if ( strcmp( nl_langinfo( CODESET ), "UTF-8" ) != 0 ) {
|
||||
fprintf( stderr, "rtm requires a UTF-8 locale.\n" );
|
||||
fprintf( stderr, "stm requires a UTF-8 locale.\n" );
|
||||
exit( 1 );
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -40,8 +40,8 @@ Parser::UTF8Parser::UTF8Parser()
|
||||
: parser(), buf_len( 0 )
|
||||
{
|
||||
if ( strcmp( nl_langinfo( CODESET ), "UTF-8" ) != 0 ) {
|
||||
fprintf( stderr, "rtm requires a UTF-8 locale.\n" );
|
||||
throw std::string( "rtm requires a UTF-8 locale." );
|
||||
fprintf( stderr, "stm requires a UTF-8 locale.\n" );
|
||||
throw std::string( "stm requires a UTF-8 locale." );
|
||||
}
|
||||
|
||||
assert( BUF_SIZE >= MB_CUR_MAX );
|
||||
|
||||
+2
-2
@@ -44,7 +44,7 @@ int main( void )
|
||||
}
|
||||
|
||||
if ( strcmp( nl_langinfo( CODESET ), "UTF-8" ) != 0 ) {
|
||||
fprintf( stderr, "rtm requires a UTF-8 locale.\n" );
|
||||
fprintf( stderr, "stm requires a UTF-8 locale.\n" );
|
||||
exit( 1 );
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ int main( void )
|
||||
}
|
||||
}
|
||||
|
||||
printf( "[rtm is exiting.]\n" );
|
||||
printf( "[stm is exiting.]\n" );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ std::string Display::new_frame( Framebuffer &f )
|
||||
if ( (!initialized)
|
||||
|| (f.get_window_title() != last_frame.get_window_title()) ) {
|
||||
/* set window title */
|
||||
frame.append( "\033]0;[rtm] " );
|
||||
frame.append( "\033]0;[stm] " );
|
||||
std::vector<wchar_t> window_title = f.get_window_title();
|
||||
for ( std::vector<wchar_t>::iterator i = window_title.begin();
|
||||
i != window_title.end();
|
||||
|
||||
@@ -7,7 +7,7 @@ std::string UserInput::input( Parser::UserByte *act,
|
||||
{
|
||||
char translated_str[ 2 ] = { act->c, 0 };
|
||||
|
||||
/* The user will always be in application mode. If rtm is not in
|
||||
/* The user will always be in application mode. If stm is not in
|
||||
application mode, convert user's cursor control function to an
|
||||
ANSI cursor control sequence */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user