05-27-2014
Quote:
Originally Posted by
Perderabo
This happens to me all the time on Solaris. I physically resize my window to make it smaller and then retry the vi command. It always works with the second try with the smaller window. It might be possible to get to run in a too-large window by artifically ignoring the surplus columns but that would lead to weird editing experience.
What he said. Just re-size the window.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies
2. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
3. Solaris
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
4. UNIX for Dummies Questions & Answers
Hi there,
I am unable to find solution to the following question.
1) How do you copy 10 lines starting from the current and paste at the end of file?
2) How do you delete five lines starting from the current and four lines above?
3) What is the command to remove all space... (1 Reply)
Discussion started by: grc
1 Replies
5. Shell Programming and Scripting
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
Discussion started by: jasperux
2 Replies
6. Red Hat
Hi Team
we have created a DNS server at RHEL6.2 environment in 10.20.203.x/24 network.
Everything is going well on linux client as nslookup, ping by host etc in entire subnet. We are getting problem in windows client as nslookup working as well but not ping. all the firewall is disabled and... (5 Replies)
Discussion started by: boby.kumar
5 Replies
7. Solaris
Hi,
We have file which is about 756 MB of size and vi/vim do not work when we try to edit this file. I'm looking for any editor ( ok if its NOT free ) which has the ability to open/edit a file of 1+GB seamlessly. The OS is SUN Solaris 10 ( Sparc )
Thanks in Advance
Maverick (13 Replies)
Discussion started by: maverick_here
13 Replies
8. Shell Programming and Scripting
I am trying to automate a script where I need to use pbrun /bin/su but for some reason it is not passing thru the pbrun as my code below.
. ~/.bash_profile
pbrun /bin/su - content
c h 1
hpsvn up file path
I am executing this from an external .sh file that is pointing to this scripts file... (14 Replies)
Discussion started by: jorgejac
14 Replies
9. Shell Programming and Scripting
Hello, Newbie here,
I have a perfectly well working web service call I can issue from chrome (PC Windows 10) and get the results I want (a dimmer being turned on in Fibaro Home Center 2 at level 40)
I am not allowed to post urls but the below works with http and :// and... (3 Replies)
Discussion started by: abigbear
3 Replies
10. Shell Programming and Scripting
Hi Team,
I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system.
df -h | awk -v host=`hostname` '
BEGIN {
print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
13 Replies
LEARN ABOUT CENTOS
xcb_reparent_window
xcb_reparent_window(3) XCB Requests xcb_reparent_window(3)
NAME
xcb_reparent_window - Reparents a window
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_reparent_window(xcb_connection_t *conn, xcb_window_t window, xcb_window_t parent, int16_t x, int16_t y);
REQUEST ARGUMENTS
conn The XCB connection to X11.
window The window to reparent.
parent The new parent of the window.
x The X position of the window within its new parent.
y The Y position of the window within its new parent.
DESCRIPTION
Makes the specified window a child of the specified parent window. If the window is mapped, it will automatically be unmapped before repar-
enting and re-mapped after reparenting. The window is placed in the stacking order on top with respect to sibling windows.
After reparenting, a ReparentNotify event is generated.
RETURN VALUE
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_reparent_window_checked. See xcb-requests(3) for details.
ERRORS
xcb_window_error_t
The specified window does not exist.
xcb_match_error_t
The new parent window is not on the same screen as the old parent window.
The new parent window is the specified window or an inferior of the specified window.
The new parent is InputOnly and the window is not.
The specified window has a ParentRelative background and the new parent window is not the same depth as the specified window.
SEE ALSO
xcb-requests(3), xcb_unmap_window(3), xcb_reparent_notify_event_t(3), xcb_map_window(3)
AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_reparent_window(3)