View unanswered posts | View active topics It is currently 27 Aug 2014 12:55



Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
show text in top right (like ansi.sys?) 
Author Message
Expert

Joined: 16 May 2011 08:21
Posts: 1261
Location: Flanders_(Belgium)
Post Re: show text in top right (like ansi.sys?)
'
I remember Nitt's project,

Assembly Tutorial 16 - More On Cursor Positioning
http://www.youtube.com/watch?v=nQ5lx3YKqWc&feature=relmfu


18 Apr 2012 10:38
Profile WWW

Joined: 01 Aug 2011 13:48
Posts: 147
Post Re: show text in top right (like ansi.sys?)
There was a program called goto.exe that may have used a similar technique to the assembly thing that was mentioned here, but the text it writes would then scroll off the screen. The text would have to be rewritten. Hence a previous poster mentioned that it'd have to be a TSR. (or somehow a version of cmd.exe with an updated prompt).

A batch file displaying IP is nice, I use one but I want to be able to glance at the screen and see it. Not re-entering a command each time I forget.

And as mentioned, I am not keen on using the TITLE to do it 'cos I already use the title to summarise what i'm doing there so if I have to bring a cmd window back up I know what cmd prompt i'm opening.


18 Apr 2012 20:33
Profile

Joined: 03 Apr 2010 20:27
Posts: 109
Location: Wellington, New Zealand
Post Re: show text in top right (like ansi.sys?)
Taripo, I wrote a program that moves the cursor to a certain position - it's called gotoxy. It's on the page at: http://batchbin.ueuo.com/programs.php but as you mentioned, you'd have to keep re-writing the text.....

Thanks
Phillid


EDIT: removed title command thing.


19 Apr 2012 01:23
Profile WWW

Joined: 03 Apr 2010 20:27
Posts: 109
Location: Wellington, New Zealand
Post Re: show text in top right (like ansi.sys?)
Maybe a batch file that emulates CMD and uses gotoxy after each command to re-display the ip address at the top of the screen, like:

Code:
@echo off
rem Code to get IP address into variable %ip%
:loop
set "cmd="
set /p "cmd=%cd%>"
%cmd%
gotoxy 0 0
echo %ip%
goto loop


Or, I could write an EXE that's like CMD but dedicates a few lines at the top of the screen to user-defined information like IP addresses or anything? Any takers?

Thanks
Phillid


19 Apr 2012 01:27
Profile WWW

Joined: 23 Dec 2011 13:59
Posts: 1799
Post Re: show text in top right (like ansi.sys?)
Why not just set your cmd prompt to be your IP address.


19 Apr 2012 07:30
Profile

Joined: 10 Feb 2012 02:20
Posts: 4102
Post Re: show text in top right (like ansi.sys?)
That's an easy solution!


19 Apr 2012 07:38
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2


Who is online

Users browsing this forum: Aacini, einstein1969, Google [Bot], Yahoo [Bot] and 22 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.