The autumn of 866, in the capital. The Imperial College, early morning.
An old man stood at a wall with a stack of papers in his arms, pasting them up one by one.
Thirty examination scripts, written that autumn by students of the college. He smoothed each sheet flat, stepped back to see if the row was straight, then went up again to fix a corner.
A crowd gathered. Students, clerks, people who had simply heard something was happening. News in the capital moved fast, and by noon half the city knew that there was something new on the wall of the college.
The man pasting them up was Wen Tingyun, sixty six years old, an assistant instructor at the college.
He probably did not think, while he was straightening that last corner, that thirty sheets of paper would be the end of him.
He had been in the capital for most of forty years by then, and had never once held a post worth the name.
Eight Crossed Hands
Wen Tingyun was from Qi in Taiyuan, and his courtesy name was Feiqing.
The family had been great once. Wen Yanbo, an ancestor, had been chancellor under the first Tang emperor. By this generation nothing was left of that but the surname. His original given name was Qi, and he changed it later.
He was an ugly man.
Not merely plain. His contemporaries gave him a nickname: Wen Zhongkui, after the demon queller in the paintings, the one with the slab of a face and the bulging eyes. A man who could write the line about cloudy hair about to cross a snow white cheek, and who looked like that, was a joke the capital enjoyed for years.
But his hand was quick.
The palace examination of the Tang required a poem and a rhymed prose piece, on assigned rhymes, against a water clock. Sun Guangxian, in a notebook of the period, says that Wen Tingyun would enter the hall, take the rhymes, and compose a piece in eight rhymes while crossing his hands eight times.
Crossing the hands was a small gesture of respect, the way a man might fold his arms to think. An ordinary candidate could cross his hands eight times and still not have the frame of the piece standing.
So they called him Wen Eight Crossings.
That face and that hand in one body made him good conversation. People asked him to write for them. People drank with him. When they were pleased they called him a genius, and when they were not they said he had talent and no conduct.
Talent and no conduct. The phrase followed him for forty years.
The Helper in the Hall
A man like that sat the examination all his life and never passed.
He first presented himself in 839, close to forty, and kept going until he was fifty five, with gaps in between.
The reason is not respectable.
He helped other people in the hall.
A Tang examination hall held several hundred men at close benches. Wen Tingyun had a reputation. They called him the man who saves a few, because in one session he could save several. He wrote fast. Once his own paper was done he filled in the papers of the men beside him.
Today this is called cheating. Then it was called disturbing the hall.
In 855 the ministry of rites appointed Shen Xun as examiner. Shen Xun knew who was coming. He made an arrangement: Wen Tingyun would be seated in front of the curtain, under the eye of the examiner himself, at a desk of his own.
Wen Tingyun refused to sit there quietly.
He made a scene at the curtain, loudly, until the whole hall was in disorder. Shen Xun could not restore quiet and let him finish the paper.
He did not pass that year either.
They say that in that session, watched from beginning to end, he still helped eight men in secret.
A man who made a craft out of writing the papers of other people could not get through the door himself. It says something about the Tang examination that has nothing to do with prose. The poem and the rhymed piece were only part of it. Before the hall there was the round of visits, the scrolls of your best work carried to the gates of the great, the sentence of recommendation from a man whose word counted. Three hours in a hall was never only three hours.
His poetry was excellent. Later readers put him beside Li Shangyin and called the pair Wen and Li. His verse in the old style is dense and gorgeous, his regulated verse clear and hard. Ten characters of his, the moon over a thatched inn, the frost on a plank bridge, have been copied as a model of the five character line for a thousand years.
Talent and passing are two different things.
A Book in the Chancellery
The best chance of his life came inside the household of Linghu Tao.
Linghu Tao was chancellor under Emperor Xuanzong, from a great family, a competent writer of the plain sort, and not much of a scholar. He liked the brilliance of Wen Tingyun and kept him close, on generous terms.
There was one errand.
The emperor loved a song form called Pusa Man, a tune of the period. Linghu Tao wanted to please him and could not write the words, so he asked Wen Tingyun to write twenty of them under the name of the chancellor and present them. He told him, very clearly, to say nothing about it.
Wen Tingyun told everyone.
There was another occasion. The emperor was composing a poem and had the words golden swaying ornament in one line with nothing to answer it in the next, so the unsuccessful candidates were invited to supply a match. Wen Tingyun offered a phrase from the old philosophers. The emperor was delighted and gave him a reward.
Linghu Tao did not know where the phrase came from and asked him.
Wen Tingyun said: it is in the Nanhua Jing. It is not an obscure book. When the business of state leaves you an hour, you might read something.
The words were polite. The meaning was not.
He said something worse to other people. He said that a general was sitting in the chancellery. The point was that Linghu Tao had no scholarship, that he belonged in command of troops, not in the writing of policy.
Linghu Tao hated him from then on. Later stories say that Wen Tingyun never passed because the chancellor stood behind him and reported that the man had talent and no conduct, and should not be given a degree.
A brilliant man turned the one person who could lift him into an enemy, with a single sentence.
The twenty songs went up. The emperor liked them and the palace began to sing them. Then the emperor learned that the words were not the work of the chancellor but of a failed candidate lodging in the chancellor household.
What the chancellor did with his face after that can be imagined.
A Beating in Yangzhou
By 863 Wen Tingyun was in Yangzhou, over sixty, poor, and dependent on friends.
That night he had been drinking, and he was out after the curfew. The Tang cities closed at the drum. After that, no one walked the streets.
The night patrol stopped him.
What happened next is recorded in very few words. He was struck across the face. Several teeth broke.
An old man of sixty odd, held down in a Yangzhou street by soldiers, his teeth on the ground.
He went to Linghu Tao to complain. Linghu Tao happened to be military governor of Huainan at that moment, with his headquarters in Yangzhou.
Linghu Tao did nothing.
The soldiers, for their part, had a good deal to say about his habits. The story reached the capital in a worse form than the facts: Wen Tingyun, a man of no conduct, a frequenter of disreputable places, beaten for it in the street. He had to go back to the capital himself and write, one after another, to the great men of the court, explaining what had actually happened.
That year he wrote a long letter to a chancellor setting out the whole business, the drinking, the curfew, the patrol, the teeth.
A man whom an emperor had once rewarded had to petition a chancellor about his teeth.
Thirty Essays on a Wall
In 865 he was given a post as assistant instructor at the Imperial College.
It was a minor academic office, teaching in the college. For a man who had failed the examination for thirty years the position had a certain irony. The door he could never enter now had him standing inside it.
The next autumn it fell to him to run the college examination.
He did something that is still remembered in the history of the Tang examination system.
By custom the examiner decided in private which candidates would pass, and the papers did not leave the room. Wen Tingyun had the thirty best scripts copied out and pasted on the wall of the college, with a notice in his own hand. The notice said, in effect: these papers show a serious mind, their tone is urgent, they could improve public morals. I will not decide such things alone. I put them up for all of you to see, so that no one can say I was not fair.
This was a startling thing to do. The selection of officials had always been settled behind a closed door. He put it out in the street.
The scholars of the capital applauded.
For several days the wall was crowded. People copied the scripts, memorised them, came specifically to read the passages that criticised the government. The gate of the college was busier than an examination hall.
The chancellor Yang Shou was not pleased.
Two reasons. A teaching assistant should not be making his own rules. And among the thirty scripts were pieces that attacked current policy and exposed corruption, and Wen Tingyun had praised them in his notice for exactly that, for an urgent tone and for carrying the voice of the people.
A few days later the order came down. Wen Tingyun was demoted to a post as district defender in Fangcheng.
Fangcheng is in what is now Henan, a small county then. A district defender was a rank at the bottom of the nine.
His friend Ji Tangfu saw him off at the gate of the city and wrote two lines about him: the phoenix decree has come down and touched your life, but the parrot is ruined by his own talent.
Ruined by his own talent. Four characters, and the whole life is inside them.
In the winter of 866 he died at Fangcheng, or on the road to it.
The Tang Caizi Zhuan gives four characters: he drifted and died.
Sixty years after his death, in the kingdom of Later Shu, a man named Zhao Chongzuo compiled an anthology of songs. He called it Among the Flowers. It holds five hundred pieces by eighteen writers. Open the first page and it is Wen Tingyun, sixty six songs.
The anthology gave its name to a whole school, and Wen Tingyun is called the founder of the school of Among the Flowers.
That is a strange ending. What he wanted all his life was office. What he wrote was rhyme prose, poetry, policy essays. The songs were the words he wrote at banquets so that other people could sing.
The song form in the Tang began in the entertainment quarters, set to tunes that had come in from Central Asia, sung over and over at drinking parties. Writers looked down on it at first. It belonged to the musicians. Wen Tingyun was the first serious poet to treat it as work of its own. He understood music, he played the lute and the flute, and he fitted his characters to the tune so exactly that not one was too many and not one was missing.
Small hills of gold, light and dark. Cloud hair about to cross a snow white cheek. That is the first line of one of his songs. A woman wakes, the gold paint on the screen flickers, her hair has fallen across her face.
Paulownia tree, rain at the third watch, and no way to say how bitter parting is. That is another. Rain on the leaves from midnight until dawn.
Cockcrow, thatched inn, moon. Frost on the plank bridge, a footprint. Ten characters, no verb at all, only things.

Ouyang Xiu, a century later, loved those ten characters and wrote his own pair in imitation. When he had finished he knew they were not as good.
Eleven hundred years have passed and the first page of Among the Flowers is still there.
The old man pasting thirty sheets of paper on a wall in the capital, the old man whose teeth were broken in a Yangzhou street, the old man who could finish eight rhymes while crossing his hands eight times, left behind a few lines for singing girls.
Most people could not tell you where Fangcheng is.
Almost everyone who has read Chinese poetry knows the line about combing her hair, and leaning alone on the river tower.