Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 09.07.2002, 09:38   #1
4294967296
 
Boyov's Avatar
 
Join Date: 03 2002
Location: /proc/1
Age: 33
Posts: 379
Downloads: 4
Uploads: 0
Reputation: 0 | 0
Post Linux Console Programming

Narod

Pleaze skajite mne, kak ya mogu Linuxi Consoli vra inch vor mi ban "cout" aneluc im uzats guynov "cout" anem , ne ispolzuya graph.h (tak kak Linuxi standartni bibliotekayum et fil@ chka), kam gone consoli backgroundi guyn@ poxem.
Esli eto slojno , to pojaluysta dayte link , gde mojno ob etom prochitat'.

Shnorakalutyun
__________________
Free your mind and your OS will follow
Reply With Quote
Old 09.07.2002, 16:49   #2
The Reloaded
 
Aram Hambardzumyan's Avatar
 
Join Date: 01 2002
Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,387
Downloads: 4
Uploads: 0
Reputation: 146 | 4
Post

Quote:
Originally posted by Boyov:
Narod

Pleaze skajite mne, kak ya mogu Linuxi Consoli vra inch vor mi ban "cout" aneluc im uzats guynov "cout" anem , ne ispolzuya graph.h (tak kak Linuxi standartni bibliotekayum et fil@ chka), kam gone consoli backgroundi guyn@ poxem.
есть библиотеки для этого, я точно не знаю, но попробуй поискать ncurses
Reply With Quote
Old 09.07.2002, 17:04   #3
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Tiom jan nenado nikakx courses, prto posmotri primer
echo -e "\033[1;30mUNIX"

vivedet unix v serom cvete, anlogicno v cout-e, vse ravno na console vivodytsya
Reply With Quote
Old 09.07.2002, 18:30   #4
Guru Apprentice
 
Join Date: 02 2002
Location: /dev/null
Age: 41
Posts: 524
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Boyov: check this link out, might be helpful
http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/c341.html (it's all about escape sequences VX suggested to use).
Reply With Quote
Old 09.07.2002, 19:32   #5
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Enjoy my shell colors...
Reply With Quote
Old 09.07.2002, 20:02   #6
Guru Apprentice
 
Join Date: 02 2002
Location: /dev/null
Age: 41
Posts: 524
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

VX, а wizard это твой host? тогда вместо wizard почему бы не написать \h?

раз уж на то пошло - вот мой PS1: \[\033]0;\u@\h:\w\007\]\u@\h:\w$
Вся фигня про \033 помещает \u@\h:\w в Tittle Bar Xterm-a. Очень удобно
находить на каком десктопе какой терминал остался
Reply With Quote
Old 09.07.2002, 21:13   #7
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Thank you for comment, ya eto znau, prsoto mne ne xotelos' razoblachat' sebya )))))
Reply With Quote
Old 09.07.2002, 21:18   #8
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Kstati vmseto $ nado tsvit' \$ ctom pri euid == 0
bilobi # e ne $
Reply With Quote
Old 10.07.2002, 09:17   #9
4294967296
 
Boyov's Avatar
 
Join Date: 03 2002
Location: /proc/1
Age: 33
Posts: 379
Downloads: 4
Uploads: 0
Reputation: 0 | 0
Post

Lyudi jan

Spasibo !!!
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 05:34.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.