I have a 2x24 character HD44780 LCD that I want to use as a mini-terminal.
Basically I need something that can scroll up and down, position the cursor at a specific place, and ideally do some emphasis (like reverse video or underline.)
I've googled all over the place, but I haven't found anything promising...
I recall seeing something like that a long time ago, but I can't find it.....
Anyone know of anything like this?
Thanks,
--Yan
Didn't find your answer? Ask the community — no account required.
J
John-Paul Stewart
[snip]
Can the lcdproc code
formatting link
be adapted to suit your needs?
P
Patrick
...
Would it work to copy the ansi-generic entry in /etc/termcap (you'd have to verify the other tc values, of course, commenting out those that aren't applicable) to something like:
and then run an mgetty in /etc/inittab using that terminal spec. on ttyS[?] (assuming it's connected to a serial port)?
P
Patrick
...
Sorry, that should be mingetty or getty.
C
Captain Dondo
I found it shortly after I posted.... But it is overkill for my needs.
I really just need a small subset of ANSI so I think I'll just roll my own....
--Yan
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner, PE (_)\(_) ,>/'_ o__
Certified Personal Trainer (_)\(_) ,>/'_ o__
Licensed Professional Engineer (_)\(_) ,>/'_
Who says engineers have to be pencil necked geeks? (_)\(_)
T
The Natural Philosopher
Its not hard. Good luck.
S
Sven Geggus
Just generate yourself a terminfo file and you are done. This way you will be able to use ncurses or slang library for programming.
I did one for Matrix Orbital 202-25 and 204-25 some time ago:
Have a look at terminfo(5) and tic(1) for details. I don't know the appropriate commands for your Display, so I'm unable to setup a terminfo file for you.
Sven
"linux is evolution, not intelligent design"
(Linus Torvalds)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.