Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] metalog + ccze + /dev/vc/12
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
bacouch
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 168
Location: Szczecin/Poland

PostPosted: Mon Mar 08, 2004 9:46 pm    Post subject: [SOLVED] metalog + ccze + /dev/vc/12 Reply with quote

Czy komus sie udalo takie lub podobne polaczenie, albo ma chociaz jakies pomysly ? Poki co w consolelog.sh mam
Code:
echo "$1 [$2] $3" | /usr/bin/ccze >> /dev/vc/12
ale jak sie okazuje ccze na poczatku dodaje ^[[H^[[J czyli to samo co polecenie clear. Ma ktos moze jakis pomysl jak by mozna bylo usunac to?

Last edited by bacouch on Wed Mar 10, 2004 6:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
bacouch
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 168
Location: Szczecin/Poland

PostPosted: Wed Mar 10, 2004 6:12 pm    Post subject: Reply with quote

Udalo mi sie to zrobic samemu, lecz troche na okolo. ccze z funkcja -A juz nie czyscil ekranu, ale za to nie przechodzil do poczatku lini po przechodzeniu do nowej, wiec w pliku ccze.c zamienilem linijke 377 (w funkcji ccze_newline (void) ) na
Code:
printf ("\n\r");
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
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