Sponsored Content
Top Forums Shell Programming and Scripting Xterm console windows at X,Y position Post 302552002 by dude2cool on Thursday 1st of September 2011 10:12:51 AM
Old 09-01-2011
the -geometry also take positions. See below or you can google search based on this.


Code:
Windows can be placed in the four corners of the screen using the following specifications:

       +0+0    upper left hand corner.

       -0+0    upper right hand corner.

       -0-0    lower right hand corner.

       +0-0    lower left hand corner.

So something like this:
Code:
sherlock GNU/Linux$ xterm -fn 6x10 -geometry 96x24-0+0

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

customizing xterm windows

Does anyone now how to customize an xterm window in solaris to dynamically 'pwd' in the banner. I know how to launch with xterm -n 'cwd' but it does not change when I change dir's. (4 Replies)
Discussion started by: toddy44
4 Replies

2. UNIX for Dummies Questions & Answers

xterm vs console

May be a simple question --->whats the difference between Xterm and console? (2 Replies)
Discussion started by: param
2 Replies

3. Shell Programming and Scripting

how to find a position and print some string in the next and same position

I need a script for... how to find a position of column data and print some string in the next line and same position position should find based on *HEADER8* in text for ex: ord123 abs 123 987HEADER89 test234 ord124 abc 124 987HEADER88 test235 ... (1 Reply)
Discussion started by: naveenkcl
1 Replies

4. UNIX for Advanced & Expert Users

xterm console

Is it possible to connect an xterm session to the console .. ie. `tty` returns /dev/console from a script (Ksh)? (Execute script within an xterm) If so, how? (I take it that C-shell is not possible) (2 Replies)
Discussion started by: sreyes27
2 Replies

5. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

:confused:Hi This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons. I get a whole bunch of errors when starting the service too: Tue Feb 23 14:29:45 2010 ... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

6. Shell Programming and Scripting

Remove text from n position to n position sed/awk

I want to remove text from nth position to nth position couple of times in same line my line is "hello is there anyone can help me with this question" I need like this ello is there anyone can help me with question 'h' is removed and 'this' removed from the line. I want to do this... (5 Replies)
Discussion started by: elamurugu
5 Replies

7. Shell Programming and Scripting

Need command or script to print all lines from 2nd position to last but one position

hi guys, i want command or script to display the content of file from 2nd position to last but one position of a file abcdefghdasdasdsd 123,345,678,345,323 434,656,656,656,656 678,878,878,989,545 4565656667,65656 i want to display the same above file without first and... (2 Replies)
Discussion started by: hemanthsaikumar
2 Replies

8. UNIX for Dummies Questions & Answers

Can we build a tool for Windows to retrieve data from UNIX servers (putty console)

Hi Friends, Is it possible to build a windows tool ( a java applet maybe? ) which can retrieve data and display after performing certain commands on unix servers ( simple grep / script output) after logging into putty console. I am on a company server so please bear that in mind. I might have... (23 Replies)
Discussion started by: srkmish
23 Replies

9. Shell Programming and Scripting

Search for a string at a particular position and replace with blank based on position

Hi, I have a file with multiple lines(fixed width dat file). I want to search for '02' in the positions 45-46 and if available, in that lines, I need to replace value in position 359 with blank. As I am new to unix, I am not able to figure out how to do this. Can you please help me to achieve... (9 Replies)
Discussion started by: Pradhikshan
9 Replies

10. Shell Programming and Scripting

Inserting value at a particular position without changing the position of other characters

Hi All, I wanted a sed/awk command to add a value/character on a particular position without disturbing the position of other characters. I have file a.txt OL 10031 Day Black Midi Good Value P01 P07 OL 10031 Day Black Short Good Value P01 P07 I want to get the output as... (2 Replies)
Discussion started by: rahulsk
2 Replies
PS_ADD_LAUNCHLINK(3)							 1						      PS_ADD_LAUNCHLINK(3)

ps_add_launchlink - Adds link which launches file

SYNOPSIS
bool ps_add_launchlink (resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $filename) DESCRIPTION
Places a hyperlink at the given position pointing to a file program which is being started when clicked on. The hyperlink's source posi- tion is a rectangle with its lower left corner at (llx, lly) and its upper right corner at (urx, ury). The rectangle has by default a thin blue border. The note will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distillertm or Ghostview. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $llx - The x-coordinate of the lower left corner. o $lly - The y-coordinate of the lower left corner. o $urx - The x-coordinate of the upper right corner. o $ury - The y-coordinate of the upper right corner. o $filename - The path of the program to be started, when the link is clicked on. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ps_add_locallink(3), ps_add_pdflink(3), ps_add_weblink(3). PHP Documentation Group PS_ADD_LAUNCHLINK(3)
All times are GMT -4. The time now is 07:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy