Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ATerm

 
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed
View previous topic :: View next topic  
Author Message
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sun Mar 23, 2008 1:32 pm    Post subject: ATerm Reply with quote

I did not find this in the forum either, but has anyone noticed when you have created mulitple accounts on the system and you login with su in Aterm and you type past the end of the line it does not wrap down to the next line but back to the beginning of the current line and overtypes. It never does this with the account you login in from with dlogin and then open Aterm. I hope I explained it correctly.
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2207
Location: Friesland

PostPosted: Sun Mar 23, 2008 2:27 pm    Post subject: Reply with quote

This has been fixed in CVS a short while ago. It was a subtle effect of the time when $TERMINFO was initialised.
Back to top
View user's profile Send private message Visit poster's website
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sun Mar 23, 2008 2:48 pm    Post subject: Reply with quote

I am just curious, where in CVS is that fix located?
Back to top
View user's profile Send private message
Vanders
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 849

PostPosted: Sun Mar 23, 2008 5:31 pm    Post subject: Reply with quote

[quote="aritc02"]I am just curious, where in CVS is that fix located?[/quote]

It's tricky to point you at a file and say "That's it, there". Basically, if I remember correctly now, TERMINFO was being set during the system boot process I.e. during init.sh. When su was run that environment was lost. We've moved it to /etc/profile instead, which [i]is[/i] run as part of the process when a new user shell is started with su.
Back to top
View user's profile Send private message Send e-mail
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sun Mar 23, 2008 6:01 pm    Post subject: Reply with quote

Ok, never mind it then.
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2207
Location: Friesland

PostPosted: Mon Mar 24, 2008 8:12 am    Post subject: Reply with quote

What Vanders says is correct. I tried to move the setting of $TERMINFO to an /usr/ncurses/early-init/ncurses script to make it more Syllable-like, but it turned out that this only works for the first terminal that is started. As you found out, if you change users, $TERMINFO needs to be set earlier, so I moved it back to /etc/profile. I made the same fix for Syllable Server.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed All times are GMT - 6 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


Powered by phpBB © 2001, 2005 phpBB Group