TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

#sys bash -- Tintin output?

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Script Help
View previous topic :: View next topic  
Author Message
andguent



Joined: 07 Jan 2011
Posts: 10

PostPosted: Tue May 31, 2011 2:40 pm    Post subject: #sys bash -- Tintin output? Reply with quote

I'm currently running 2.00.5 inside Gnome Terminal 2.22..1 (Ubuntu Hardy).

I'm attempting to run '#sys bash' and interact with my system command prompt as normal. My problem is that not everything is showing properly on my terminal.

It seems like everything that Tintin should be outputting is failing to show. Most things that bash wants to output does show. I want everything to show.

EX:
* When I type 'ls' I get a list of files back, but I don't get a local echo of what I've typed.
* When I type #help, I just get a new bash prompt without any newline inserted.

Output:
Code:

myuser@mylaptop:~/tt$ tt++ tester.tt

      ####################################################################
      #                     T I N T I N + +   2.00.5                     #
      #                                                                  #
      #           (T)he k(I)cki(N) (T)ickin d(I)kumud clie(N)t           #
      #                                                                  #
      #         Code by Peter Unold, Bill Reis, David A. Wagner,         #
      #      Rob Ellsworth, Jeremy C. Jack, and Igor van den Hoven.      #
      ####################################################################
#CONFIG {VERBOSE} HAS BEEN SET TO {ON}.
#CONFIG {LOG} HAS BEEN SET TO {HTML}.
#EVENT {SESSION DISCONNECTED} HAS BEEN SET TO {#end}.
#sys bash
#OK: EXECUTING 'bash'
myuser@mylaptop:~/tt$ truepos.tt
myuser@mylaptop:~/tt$ myuser@mylaptop:~/tt$ bash: xit: command not found
myuser@mylaptop:~/tt$ exit

#NO SESSION ACTIVE. USE: #session {name} {host} {port} TO START ONE.
#zap

#ZZZZZZZAAAAAAAAPPPP!!!!!!!!! LET'S GET OUTTA HERE!!!!!!!!

Goodbye from TinTin++

myuser@mylaptop:~/tt$




If a video capture would be easier to understand, let me know. I'd love it so be able to fully interact with bash as normal, and have all tintin there ready to help my screen be 100% more useful then before. Thanks.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Tue May 31, 2011 10:11 pm    Post subject: Reply with quote

#system leaves tt++ hanging while the command executes.

You probably want to use the #run command:

#run bash bash

By default character mode is enabled which works with bash's readline input mode, to enable tintin's input mode use: #cursor echo on.
Back to top
View user's profile Send private message Send e-mail
andguent



Joined: 07 Jan 2011
Posts: 10

PostPosted: Tue Jun 07, 2011 8:10 am    Post subject: Reply with quote

Wonderful. Thank you.
Back to top
View user's profile Send private message
andguent



Joined: 07 Jan 2011
Posts: 10

PostPosted: Thu Jun 09, 2011 1:09 pm    Post subject: Reply with quote

That works great, until I try an alias. Any ideas how to make those work to run various bash commands? Thank you.

Code:

myuser@mylaptop:~$ echo hi
hi
myuser@mylaptop:~$ echohi
bash: echohi: command not found
myuser@mylaptop:~$ #alias {echohi} {echo hi}
#OK. {echohi} NOW ALIASES {echo hi} @ {5}.
echohi
bash: echohi: command not found
myuser@mylaptop:~$
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Thu Jun 09, 2011 4:12 pm    Post subject: Reply with quote

Like I said previously you'll have to use: #cursor echo on

If you want to stay in character mode one alternative is:

#1 echohi
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Script Help All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group