Terminal - character spacing

Hello,
Leopard has changed my carefully arranged terminal windows and now they overlap.
No problem, I thought, there is a character spacing option to correct this.
If the multiplier is set to 0.99, the windows are far too wide.
If the multiplier is set to 0.98, the windows are far too narrow.
Well, anything in-between (e.g. 0.988) reverts to 0.99 :-[
Does anyone know a workaround?
Thank you,
Mike-oz

Eldanen wrote:Tried something different with urxvt, which I know does xft...  Came up with this, and still some odd character spacing:
http://img264.imageshack.us/img264/5003 … iv1.th.png
It happens with some font sizes/types...
Try putting something like this in your .Xdefaults:
xft.dpi:: 96
xft.antialias:: true
xft.hinting:: true
xft.rgba:: rgb
and then either
urxvt*font:: xft:Monospace:pixelsize=11
or
urxvt*font:: xft:Terminus:pixelsize=14
reload .Xdefaults with
xrdb ~/.Xdefaults
You'll have to experiment a bit and figure out what works best on your screen.
Last edited by fwojciec (2007-09-10 15:54:40)

Similar Messages

  • How can I define more than one termination character for RS-232 interface communication?

    Hi,
    I have to communicate through the PC's RS-232 interface with a microprocessor board. I am using the "Advanced Serial Write and Read.vi" out of the LabVIEW examples and it works on principle.
    My problem is the termination character: It looks like I just can set one termination character, EITHER 0xA (so LF / newline) OR 0xD (CR / carriage return), but I have the need to react on various termination characters like "<CR> <LF> <CR> <LF> OK <CR> <LF>" or "<CR> <LF> <LF>"; which I would like to set in a control (this VI will be used in a TestStand sequence).
    Is there a way to do that, so that I can set wichever termination character(s) I need? The property node in "VISA configure serial port" just accepts an unsigned integer, nothing else. Sure I can get it running with the timeout - but this is not very nice and extends testing time unnecessarily.
    Thanks & Regards!
    Regards,
    gedi
    Solved!
    Go to Solution.

    That would be for the write. The poster is asking about the read. For the read you will need to write your own read routine. You will basically need to use a loop and inside the loop use the VISA Bytes at Serial Port to see if there's any bytes available. Read that many bytes, and append them to a string that you build up in a shift register. After concatenation check to see if you've got the termination characters. If so, the read is done. Fairly simple. Be sure to turn off the termination character enable in the VISA Configure.

  • Why do I get a "termination character was read" warning with VISA read and TCPIP?

    I am using VISA Reads with TCPIP raw sockets without issue with NI-VISA 3.0.1 but when I moved to NI-VISA 4.4 I was getting timeout errors.   The timeout errors went away when I set the termination character enable property to true (which seemed to be default in NI-VISA 3.0.1), but now I get a warning stating that the "termination character was read".   
    Can I disable this warning?   Can I set the termination character enable to default?   How can I get rid of this annoying warning?
    Solved!
    Go to Solution.

    Hey Dagwood,
    Unfortunately there isn't a way to globally change the attribute VI_ATTR_TERMCHAR_EN to VI_TRUE.  I spoke with R&D about possible use of the registries and they say it's not accessible through that.  To address why this change was made, the developer who made the switch isn't around anymore so I can't find his reasoning as an explanation for you.  The best this for you to do in your code would be while initializing, use the VISA Property Node to make the change and until that VISA Resource is closed, this change will remain set to the value you assign.  I'm sorry we cannot provide any other solution for this inconvenience.  Also, if you feel this is a large burden on your programming practice you can definitely submit a product suggestion for the ability to change global default values for VISA attributes.
    Thanks,
    David Pratt
    AES - Test Side Products
    NIC

  • IWeb 09 + Snow Leopard = Character Spacing / Tracking Disaster!

    I have a big problem. Upgraded to Snow Leopard, all went fine... but now much of the text in my iWeb 09 pages are all bunched on top of each other, where they looked fine before. This is primarily a problem with title text, and happens with all new text as well. It seems like at a standard size font, the letters are just a little too close together. But as you increase the size of the font... the letters do not get any more space between them, so the larger titles look like just a pile of letters on top of each other, and are completely and 100% unreadable.
    I have tried using the "Character Spacing" slider in Inspector and it literally does nothing, I have tried using the "Loosen Tracking" option in the Format\Font menu and it similarly does nothing at all. I have tried switching fonts and have tried starting new text boxes, and nothing has any effect whatsoever.
    I cannot update any of my sites until this gets resolved. Can anybody help?
    Screenshot here: http://img22.yfrog.com/i/exampletrackingproblemi.tif/

    Try quitting iWeb. deleting the preference file - Home Folder/Library/Preferences/com.apple.iWeb.plist, restarting your Mac, running Disk Utility to repair permissions and then relaunching the application.
    iWeb troubleshooting is covered here.....
    http://www.iwebformusicians.com/WebMusic/iWebTips.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Send/receive data without a terminating character

    I am trying to use the visa driver to send hex data over a serial port. I have tried to disable terminating characters but when I read from the port the trasnmission still terminates with a 0x0A character. How can I send/receive data without a terminating character???

    You need to call viSetAttribute with VI_ATTR_ASRL_END_IN set to VI_ASRL_END_NONE. In LabVIEW, use a write property node with the Serial End In mode set to None (0).
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National Instruments

  • Error in character spacing when exporting to pdf from word 07

    I am having trouble with exporting to pdf from MS Word 07.  The character spacing throughout the document is wacky.  This also happens when exporting to pdf from a GIS program.
    Any help?

    I use the term export because that is how it is done in the GIS software that I use - ArcMap 10.
    In MS Word I access Adobe Acrobat Pro 9 through the print menu. I am using Windows 7.
    I do not always have this trouble, but it started yesterday on a 30 page word doc and then after that, it started on an ArcMap doc.
    As for embedding fonts, when I check the Word doc as you suggested, i see many different fonts listed.  Some are embedded, some embedded subset, some are not embedded at all.  I use styles to manage font types and heading levels.  There is nothing fancy about it - all Times New Roman.

  • Character Spacing Question

    Hi There,
    I work in print and we use our own GUI to create documents based on InDesign files, however the issue I'm having is that this one file has a font that uses -40 character spacing. I understand that these are in ems, so how would I go about translating that into mm which is what our GUI is using or can I change the settings in InDesign so that character spacing is shown in mm's or is that not how it works?
    Any help would be greatly appreciated!
    Kind Regards,
    Matthew

    The whole reason for using a relative unit, like ems, for tracking and kerning is it adjusts as you change the size of the type to maintain the specified spacing. If you switch to an absolute unit and adjust the type size your glyphs will either drift apart or pile up on each other.
    And I don't think anyone here can even begin to tell you how you might accomplish such a feat in your custom GUI.

  • Termination character

    Hello,
    I'm communicating with an 20 years old optical spectrum analyzer with GPIB connection using VISA.
    I having trouble reading the entire data. I've try to use the termination character options to solve this but my instrument use both line feed and EOI termination codes.
    I've found this help text: http://www.ni.com/white-paper/4256/en/
    but could understand it to the end.
    what is the symbol accepting the arrow symbol at and zero constant at the end? where should I put this property node in case I want to read many bytes ending with the above characters? before VISA - WRITE? after VISA read? and how can I combine two termination character? how do I represent two EOI?
    thanks, Avishay

    Specify too many bytes to read and the visa read wil stop on the first end character or eoi that appears.
    For two eoi's read twice.
    greetings from the Netherlands

  • Character spacing messes printing and PDF exporting

    I'm having problems printing and exporting to PDF from Pages.
    The problem is that when I'm using Character spacing (ie. -7%) they display different on screen, on paper and in PDF. They display right on the screen. But PDF and printing get messed up, the spacing is not right and it adds more space to the fonts.
    I'm using:
    Mac OS X 10.5.1
    Pages 3.0.1
    Thanks,
    Fannar

    I was having the very same problem. I was trying to make a business card with my name centered and character spacing at 40%. The character spacing seemed to only work for the first character. When it came to print or export, the text had shifted left as if it were centered with the spacing applied.
    Fear not! I found a solution. Instead of directly printing or exporting as a pdf, I chose to save as a PostScript file in the print dialog. I could then open this file in Preview and save as a pdf or print with the designed character spacing.
    File>Print>PDF>Save as PostScript..
    This work flow also fixed some nasty degradation of smaller fonts.
    Pages Developers take note!

  • Character spacing  URGENT

    hi
    i have to create a report that fils a pre-printed form with litle boxes (something like this)
    |_|_|_|_|_|_|_|_|_|_|
    with characters and numbers
    i tried to use one field that covers all the boxes in one row but i can not manage to fit each character into one box.
    I think that enlarging character spacing( a a a instead of aaa ) would solve the problem but i couldnt find a way to do this !
    also if someone has any other sugestions the are very wellcomed
    I am using oracle 10g on windows xp
    thanks and regards
    Rade Supica

    hello,
    this is a very tricky requirement. i have a feeling that this will not be too easy to overcome. in fact, if those pre-printed forms do not follow any regular character spacing it will be impossible to fit it exactly.
    oracle reports does not provide any sophisticated character spacing manipulation beyond regular kerning as defined in the font definition of the OS.
    regards,
    ph.

  • Character spacing when print

    Hi,
    How can I set the character spacing when I printing?
    eg. 10 CPI or 12 CPI etc. /CPI=Character Per Inch/
    thx.

    Hi,
    How can I set the character spacing when I printing?
    eg. 10 CPI or 12 CPI etc. /CPI=Character Per Inch/
    thx.Printing on what? Console or a UI component?

  • Character Spacing on Pages 05

    Hi,
    I have a problem, I have been using Pages for many years and I am now using Pages 05, I would like to know if there is a way to adjust the character spacing like in the previous version.
    Any answers?
    Thanks in advance for helping me,
    Rgds.

    there is an option to set the character spacing see the attached image. in red is where it can be adjusted.

  • Problem with Character spacing with RTF

    I currently have this problem:
    We have a RTF template, displaying a kind of sticker for our company including several lines of text (Company name, Service, Address, email, tel/fax, Internet website)
    To mimic a justification, our users, who prepared the template, for each line of text in the sticker , formatted the text including character spacing (extended spacing of 3.1 pt, scale 100%,in Font Times size 10; extended spacing of 6.8 pt, scale 100%,in Font Times size 8; ...)
    We save the template, reopen it for testing purposes: all is correct, nothing has been lost.
    But when testing from BI Publish tool, using the RTF view for the template, or when testing in real conditions (fusion with Data, output format being RTF), all these formattings (characters psacing) have been lost.
    Any idea?
    Thanks

    Hi Laurent
    Can you post the template and data to the TAR.
    Im double checking but I do not believe we currently support the character spacing you are setting through the font dialog.
    tim

  • How can I change the termination character (Hex 00) in LabVIEW?

    I'm talking to a 3rd party device over USB where I make function calls to their DLL. I send and receive Hex commands as Strings data type. I can send without problem however when I read back a string that should be Hex "FF 00 FF", I get back "FF" because LabVIEW sees 00 as a termination character so I don't get any data past the 00.  Likewise if I'm supposed to read "00 FF", I get back nothing!   The following KB linked below explains that LabVIEW sees 00 as a termination character.  It shows where using Serial to change the termination character to something else.  I don't have this option using my 3rd party USB device.  Is there a way to change what LabVIEW sees as it's termination character?
     http://digital.ni.com/public.nsf/allkb/9A3589A05F21A1B186256CE9006448D4

    That article is talking about two things. The first has to do with the fact that in C strings are terminated using 0x00. The second part has to do with a serial port read terminating once it sees 0x00. Based on what you described, I don't believe the second part does not apply to you since you are calling a third-party DLL, so it's doing the serial port read. Is this correct? Or, are you actually doing the serial port read yourself using VISA functions? If you are just calling their DLL, then the issue has to do with the string being passed back from the DLL to LabVIEW. You're probably passing in a string datatype. You should simply change this to a byte array so you get all the values.

  • Serial port termination character status?

    Hello,
    I need to read a message from a serial port and I'm having some problems. I used the advanced serial communication example and came up with the attached program. Everything works perfectly fine except for the fact that if no message is sent for 10 seconds as designed the serial read outputs an error. I know normally I can check to make sure there are bytes at the port before I do a read operation which solves this problem. However, when using the buffer to terminate the read once a termination character is provided the bytes at port property always returns 0 so I can't use this as a conditional for reading the port.
    Is there a way to prevent the serial read from timing out in the attached program? Thank you.
    Attachments:
    serial_buffer.gif ‏19 KB
    serial.vi ‏15 KB

    Let me maybe give a bit more details about the application. I want to be able to get any amount of characters as a string that someone inputs in to the serial port. This will be a computer so I can expect the commands to usually be valid but I want to provide some additional redundency incase a person at a terminal is writing commands. The commands might be "measure 110" or it might be "set 23 34". So the amount of bytes being sent will depend on the command. I used 1000 as the byte count on the read just to provide as much room as possible, setting it to 100 doesn't really make a difference in this application, the same thing happens. If someone starts typing in a terminal "measure 110" (for example) but forgets to hit enter for the termination character the program will time out since the error cluster is connected to the stop button of the loop. When this happens the entire program needs to be restarted. Not really ideal.
    If I disconnect the error cluster from the stop button I noticed it works perfectly fine. After 10 seconds of the terminator character not being entered the buffer clears and the loop simply restarts. What I worry about is if there is some other fatal error (such as not being able to connect to the serial device) that the program will keep running. Is this something I even need to worry about?
    Attached is a screenshot of my latest program which works great but like I said I'm just worried about not wiring the status from the error cluster to the stop button since that seems to be what I've always been taught to do. If I wire the byte count to the number of bytes property it will only collect the number of bytes I set, since this will vary based on the command that won't really work in this application.
    Attachments:
    serial_buffer.gif ‏20 KB

Maybe you are looking for