Sponsored Content
Top Forums Programming Terminal emulator from scratch. Post 302442240 by mghis on Tuesday 3rd of August 2010 07:35:36 PM
Old 08-03-2010
Thanks for the answers.
I wanna write a basic terminal emulator: no color, no bold, no double-width.
I wanna wrote the terminal emulator only for learning propouses!

I'm using KERMIT (the dos version), but I'd prefere to the /dev/pts/x files, just like a basic version of the gnome-terminal.

Thanks for the link, Corona688. The file is really useful! Smilie But i have a problem! I compiled with 'gcc -o vterm vterm.c' but there are some errors!
Code:
> gcc -o vtterm vterm.c 
vterm.c: In function ‘system_noshell’:
vterm.c:162: warning: passing argument 2 of ‘execvp’ from incompatible pointer type
/usr/include/unistd.h:545: note: expected ‘char * const*’ but argument is of type ‘const char **’
/tmp/ccMAPeR5.o: In function `main':
vterm.c:(.text+0x257): undefined reference to `login_tty'
collect2: ld returned 1 exit status
>

Thanks for any help

PS: I started learning the FLTK toolkit! It may be useful!

Last edited by mghis; 08-03-2010 at 08:40 PM.. Reason: Adding
 

5 More Discussions You Might Find Interesting

1. Linux

how to use terminal emulator???

hello, can any body tell how to use terminal emulator.... i want to check he serial port communication with the help of that terminal emmulator.... also tell me how to open terminal emmulator.....and how to configure it........and how to use it... I am using fedora core 6..... (1 Reply)
Discussion started by: arunchaudhary19
1 Replies

2. UNIX for Advanced & Expert Users

unix from scratch

hi all, i'm trying to write a unix system from scratch (not re-writing the kernel) does anyone have information about that? tips and stuff...?i would appreciate every help, thnks :) (9 Replies)
Discussion started by: elzalem
9 Replies

3. UNIX for Advanced & Expert Users

Filesystem from scratch

Hey, Had anyone tried with writing a new FS - file system ( whether its useful or not, that doesn't matter ) ? I tried one couple of years ago, but that was a fatal failure :( and can't continue working on it since then. :( Anybody got some experience with writing file system from the... (4 Replies)
Discussion started by: matrixmadhan
4 Replies

4. Solaris

Tera Terminal Emulator

Hello Expert! :b: Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
Discussion started by: katsloko
2 Replies

5. UNIX for Dummies Questions & Answers

Terminal Emulator

Hi, I was just wondering how to distinguish between the two terms: 1. Terminal emulator (vt100, vt220 and so on) 2. shell command line Then i decided to conclude myself that these 2 are very equivalent. am I right? this actually came to my mind when I was using my HP-UX terminal. I am... (1 Reply)
Discussion started by: messi777
1 Replies
libvte(3)							   User Commands							 libvte(3)

NAME
libvte - Virtual Terminal Emulator library DESCRIPTION
libvte provides a terminal emulator control for GTK+. To access the API documentation, you must install the developer version of the package. FILES
The following files are used by this application: /usr/lib/libvte.so Virtual Terminal Emulator shared library /usr/share/gtk-doc/html/vte Location of developer documentation ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-terminal | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gnome-terminal(1), vte(1), attributes(5), gnome-interfaces(5) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2004, 2006. SunOS 5.11 7 Sep 2004 libvte(3)
All times are GMT -4. The time now is 11:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy